Events

Ingest event

Ingests an event.

POST
/biller/events/ingest

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Ingest event payload

event_name*string

The name of the event.

properties*object

Properties associated with the event.

idempotency_key?string

Unique identifier for this event.

timestamp?string

Timestamp indicating the occurrence of the event.

Formatdate-time

Response Body

application/json

curl -X POST "https://api.sandbox.billingrails.com/v1/biller/events/ingest" \  -H "Content-Type: application/json" \  -d '{    "event_name": "API request",    "idempotency_key": "evt_12345",    "properties": {      "billingrails_account_id": "acc_IhMUl3rrZ3",      "endpoint": "/api/v1/accounts",      "method": "POST",      "request_size": 1024,      "response_code": 200,      "response_time_ms": 150    },    "timestamp": "2025-06-28T17:33:40.843Z"  }'
{
  "message": "Event queued for processing"
}