Authorization
Example:
Authorization | Bearer Paste-Your-API-Key-HereRequest Body
The unique identifier of the customer whose credit will be spent.
The unique identifier of the credit-based or membership product.
The unique identifier of the membership tier (required when the product is a membership product with multiple tiers).
The amount of credit to spend. Must be a positive integer not exceeding the customer’s available balance.
Response
Successful ResponseMain Structure (Root)
Status code from the API.
Status message that describes the status code.
The spend result object.
The customer’s remaining balance after the spend operation.
Errors
Returned when the customer does not have enough credit to spend the requested amount.
Returned when required fields are missing or the amount is invalid.
