POST /v1/usage/events
BillingService_IngestUsage
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
business_idstringdimensions_jsonstringexecution_statusstringfailure_codestringmeter_codestringoccurred_atstringoffer_idstringquantitystringsourcestringsource_event_idstringsubject_idstringsubject_typestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/usage/events' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"business_id": "<value>",
"dimensions_json": "<value>",
"execution_status": "<value>",
"failure_code": "<value>",
"meter_code": "<value>",
"occurred_at": "<value>",
"offer_id": "<value>",
"quantity": "<value>",
"source": "<value>",
"source_event_id": "<value>",
"subject_id": "<value>",
"subject_type": "<value>"
}'Response contract
200 · OK
billablebooleanduplicatebooleanexecution_statusstringfailure_charge_policy_sourcestringidstringstatusstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.