Skip to main content
POST
/
billableEvents
curl --request POST \
     --url https://api.tryaqueduct.com/v1/billableEvents \
     --header 'Authorization: null' \
     --header 'Content-Type: application/json'
curl --request POST \
     --url https://api.tryaqueduct.com/v1/billableEvents \
     --header 'Authorization: null' \
     --header 'Content-Type: application/json'

Authorizations

Authorization
string
header
required

Body

application/json
eventName
string

This is the name that's referenced by the price function that billing against this event. You can create billable events and then apply a price function to the event.

eventType
string

Determines the schema enum for the event. Possible values are "count"

customerId
string

The id of the account owner that should be billed in association with this billable event.

data
object

Batch events expect count which is a number, optionally a description

Response

204

Billing event received successfully