Create credits usage
Create a usage entry for a credit product. This will impact the balance of the customer by usage_retained
.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
Value indicating the number of credits consumed.
x > 0
Event ID corresponding to the credit consumption.
Response
Credit transaction ID.
ID of the product related to the transaction.
Price details related to the transaction.
ID of the customer related to the transaction.
ID of the payment method related to the transaction.
ID of the invoice related to the transaction.
ID of the event related to the credit consumption.
Type of credit transaction.
topup
, usage
Type of credit transaction.
app
, portal
, api
Monetary amount. Expressed in currency's smallest unit.
Value of credits related to the transaction.
Credit balance after the transaction.
Credit transaction creation date.
Credit transaction last edition date.
Was this page helpful?