curl --request POST \
--url https://api.example.com/api/v2/billing-events/ \
--header 'Content-Type: application/json' \
--data '
{
"eventSlug": "<string>",
"quantity": 1,
"occurredAt": "2023-11-07T05:31:56Z",
"workflowRunId": "<string>",
"metadata": {}
}
'{
"idempotentReplay": true,
"billingEvent": "<unknown>"
}curl --request POST \
--url https://api.example.com/api/v2/billing-events/ \
--header 'Content-Type: application/json' \
--data '
{
"eventSlug": "<string>",
"quantity": 1,
"occurredAt": "2023-11-07T05:31:56Z",
"workflowRunId": "<string>",
"metadata": {}
}
'{
"idempotentReplay": true,
"billingEvent": "<unknown>"
}A unique identifier for the billing event. Reusing the same key for the same organization returns the existing billing event.