Record bulk usage events
Same persistence rules as POST /sdk/usages for each item: validate batch first, then one insert per event.
Request body
Response
Bulk usage events processed
Example response
{
"inserted": 2,
"results": [
{
"creditDebit": {
"amount": 100,
"autoRecharge": {
"triggered": true
},
"unitsRemaining": 99
},
"reference": "usage_A1B2C3D4"
}
],
"success": true
}Changes
Changed in 10 of the 27 revisions of this API.112728
- ●
the
//request property's maxLength was set to20request-property-max-length-set
- ●
the
//request property's maxLength was set to20request-property-max-length-set
- ●
the
//request property's maxLength was set to20request-property-max-length-set
- ●
- ○
the endpoint scheme security
SecretKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
bearerwas removed from the APIapi-security-removed
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added the new required request property
//new-required-request-property
- ●
removed the request property
//request-property-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ●
- ▲
the request property
//became requiredrequest-property-became-required
- ▲
the
request property's minItems was increased to1request-property-min-items-increased
- ▲
the
//request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
//request property type changed fromnumbertointegerrequest-property-type-changed
- ●
the
//request property's exclusiveMaximum was set tofalserequest-property-exclusive-max-set
- ●
the
//request property's exclusiveMinimum was set tofalserequest-property-exclusive-min-set
- ●
the
//request property's maxLength was set to256request-property-max-length-set
- ●
the
//request property's max was set to100000.00request-property-max-set
- ●
the
//request property's min was set to0.00request-property-min-set
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
the
request property default valueapi_callwas addedrequest-property-default-value-added
- ○
the
request property default valuesuccesswas addedrequest-property-default-value-added
- ○
the
request property default value1was addedrequest-property-default-value-added
This revision also has 44 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new required request property
//new-required-request-property
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new required request property
//new-required-request-property
- ▲
added the new required request property
//new-required-request-property
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ○
added the new optional request property
//new-optional-request-property
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new required request property
//new-required-request-property
- ▲
the
//request property format changed from no format todate-timerequest-property-type-changed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new required request property
//new-required-request-property
- ●
removed the request property
//request-property-removed
- ●
removed the request property
//request-property-removed
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○