Skip to main content
Endpoint:

Authorization

string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Request Body

string
The unique identifier of the customer whose credit will be spent.
string
The unique identifier of the member whose credit will be spent.
string
required
The unique identifier of the product associated with the credit.
string
required
The unique identifier of the membership tier associated with the credit.
integer
required
The amount of credit to deduct (positive integer).
At least one of customerId or memberId must be provided.

Response

Successful Response
integer
Status code form API.
string
Status message that describes the status code.