Spend tokens (debit)

Spend tokens in a loyalty program e-wallet. This API is used to debit the customers e-wallet. Authentication Key Type: SalesChannelApiKey

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Spend tokens example

{
    "amount":100
}

The above will spend 1.00 tokens which will be debited from the customers ewallet.

Example response:

{
    "id": "z4DY9CcKuJeZYTVoR8YJuZLH",
    "object_name": "e_wallet",
    "balance": 300
}
Path Params
string
required

Program ID

string
required

Wallet ID

Body Params

Spend tokens in a loyalty program e-wallet. This API is used to debit the customers e-wallet. Authentication Key Type: SalesChannelApiKey

int32
required

The spend amount that will be debited. We express amounts in minor units according to the ISO 4217 standard. That means they are expressed in the smallest unit of currency. 100 = 1.00

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json