Skip to main content
Endpoint:

Authorization

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

Request Body

string
required
The unique identifier of the customer to add credit to.
string
required
The unique identifier of the credit-based or membership product.
string
The unique identifier of the membership tier (required when the product is a membership product with multiple tiers).
integer
required
The amount of credit to add to the customer’s add-on wallet. Must be a positive integer.

Response

Successful Response

Main Structure (Root)

integer
Status code from the API.
string
Status message that describes the status code.
object
The top-up result object.
integer
The customer’s updated total balance after the top-up.

Errors

object
Returned when required fields are missing or the amount is invalid.
object
Returned when the API key does not have access to the specified product.