x-api-key: ********************
{
"amount": 0,
"description": "string",
"channel": "string",
"additionalData": {},
"referenceId": "string",
"userId": "string",
"storeId": "string",
"storeName": "string",
"accountNumber": "string",
"walletId": "string",
"currency": "string"
}
curl --location --request POST 'https://api.b2b.retter.io/5p1hp1d2t/CALL/WalletAPI/spend/-' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"amount": 0,
"description": "string",
"channel": "string",
"additionalData": {},
"referenceId": "string",
"userId": "string",
"storeId": "string",
"storeName": "string",
"accountNumber": "string",
"walletId": "string",
"currency": "string"
}'
{
"transaction": {
"transactionId": "string",
"type": "string",
"amount": 0,
"description": "string",
"channel": "string",
"createdAt": "string"
},
"balance": 0
}