POST
/
v1
/
accounts
/
{account_id}
/
events

Authorizations

Authorization
string
headerrequired

To authenticate against the API, use HTTP Basic Authentication with your customer ID as the username and API key as the password.

Path Parameters

account_id
string
required

Body

application/json · object[]
type
string
required

A string that indicates the type of the event. This can be whatever you want, but cannot have spaces in it.

This string is used to match against any default event pricing you have set.

quantity
integer
metadata
object

You can fill in whatever you want in this object to attach things like your own internal IDs to the event.

cost_override_amount
integer

Force this event to be billed for a certain amount. Make sure the specify the denomination too if you use this

cost_override_denomination
string
gate_on_balance
boolean

Return an error if there is not enough balance to handle the event. The event will not be billed in this case, but we do track all gated events

Response

200 - application/json
events_submitted
integer