Neofin V1
english
  • latest
  • english
  1. Listing billings
Neofin V1
english
  • latest
  • english
  • Start your Neofin journey
  • Setup your environment
  • NeofinV1
    • Billing API
      • Upsert a billing
        • How to upsert a billing
        • Upsert a billing
          POST
      • Retrieve a billing
        • How to retrieve a single billing
        • Get billing by Integration Identifier
          GET
        • Get billing by Billing Number
          GET
      • Mark a billing as paid
        • How to mark a billing as paid
        • Mark a billing as paid
          PUT
      • Cancel a billing
        • How to cancel a billing
        • Cancel a billing
          PUT
      • Listing billings
        • How to list your billings
        • Billing by status
          GET
        • Billing by customer
          GET
        • Billing updated date
          GET
        • Billing Events
          GET
        • Billing Events by Integration Identifier
          GET
      • Upload attachments
        • How to upload attachments
        • Upload a Billing NF by Integration Identifier
          PUT
        • Upload a Billing Boleto by Integration Identifier
          PUT
    • Customer API
      • Upserting a customer
        • How to upsert a customer
        • Upsert a customer
          POST
      • Retrieve a customer
        • Get a customer by Integration Identifier
          GET
        • Get a customer by their document
          GET
    • Webhooks
      • How to setup your webhooks
  1. Listing billings

Billing Events

Sandbox
https://api.sandbox.neofin.services
Sandbox
https://api.sandbox.neofin.services
GET
https://api.sandbox.neofin.services
/billing/events
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sandbox.neofin.services/billing/events?next_page_token=&start_datetime=2025-01-01T00:00:00Z' \
--header 'api-key: ' \
--header 'secret-key: '
Response Response Example
200 - Example 1
{
    "events": [
        {
            "event_type": "string",
            "event_status": "string",
            "event_time": 0,
            "event_description": "string",
            "by": "string",
            "event_category": "string",
            "billing_number": "string"
        }
    ],
    "next_page_token": "string",
    "count": 0
}

Request

Query Params
next_page_token
string 
optional
Page token retrieved by this same request.
start_datetime
string 
optional
ISO Datetime string
Example:
2025-01-01T00:00:00Z
Header Params
api-key
string 
required
Your Neofin API Key
Example:
{{API_KEY}}
secret-key
string 
required
Your Neofin Secret Key
Example:
{{SECRET_KEY}}

Responses

🟢200200
application/json
Body
events
array[object (BillingEvent) {7}] 
required
event_type
string 
required
event_status
string 
required
event_time
integer 
required
event_description
string 
required
by
string 
required
event_category
string 
required
billing_number
string 
required
next_page_token
string  | null 
optional
count
integer 
required
🟠403Invalid API Keys
Previous
Billing updated date
Next
Billing Events by Integration Identifier
Built with