Authorization
Example:
Authorization | Bearer Paste-Your-API-Key-HereQuery Parameters
The unique identifier of the customer whose credit balance you want to retrieve.
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).
Response
Successful ResponseMain Structure (Root)
Status code from the API.
Status message that describes the status code.
The credit balance object. Shape depends on the product type (credit-usage vs membership).
data Structure (Object)
Total customer balance across all wallets.
Main wallet balance (credit-usage product only).
Membership wallet balance (membership product only).
Add-on wallet balance (merchant top-up credit).
Customer detail information (membership product only).
Membership customer detail including
nextPayment, expiredAt, and status (membership product only).Errors
Returned with
messages: "Invalid query parameters" when required parameters are missing or fail validation.Returned when the API key does not have access to the specified product.
