Ingest charge events
Requires the METER_DATA.INGEST permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
product_item_id
The resource ID of the associated product item.
pricing_id
The resource ID of the associated pricing.
pricing_item_id
The resource ID of the associated pricing item.
pricing_item_config_id
The resource ID of the associated pricing item config.
customer_id
The resource ID of the associated customer.
customer_reference
A custom reference assigned to the customer.
pricing_plan_subscription_id
The resource ID of the associated pricing plan subscription.
pricing_plan_subscription_reference
A custom reference assigned to the pricing plan subscription.
pricing_plan_subscription_selector
A selector to dynamically determine the subscription to use.
reference
description
value
The value/ number for the related product item.
period
timestamp
The associated timestamp presented in the ISO 8601 standard of the charge event, if not provided it will be set to 'now'.
Response
Created
product_item_id
The resource ID of the associated product item.
pricing_id
The resource ID of the associated pricing.
pricing_item_id
The resource ID of the associated pricing item.
pricing_item_config_id
The resource ID of the associated pricing item config.
object_type
id
customer_id
The resource ID of the associated customer.
customer_reference
A custom reference assigned to the customer.
pricing_plan_subscription_id
The resource ID of the associated pricing plan subscription.
pricing_plan_subscription_reference
A custom reference assigned to the pricing plan subscription.
pricing_plan_subscription_selector
A selector to dynamically determine the subscription to use.
reference
description
value
The value/ number for the related product item.
period
timestamp
The associated timestamp presented in the ISO 8601 standard of the charge event, if not provided it will be set to 'now'.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error