Update Customer Cash Balance
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"external_id": "string",
"cash_balance": 0
}
Request Code Samples
curl --location --request PATCH 'https://test.your-api-server.com/mintedapi/Balances/updateCustomerCashBalance' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"external_id": "string",
"cash_balance": 0
}'
Responses
application/json
{
"data": {
"customer_name": "Deneme deneme",
"currency_code": "GBP",
"balance": 1000,
"real_balance": 1000
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-12-30 14:34:31