curl --request GET 'https://api.mayar.id/credit/v1/credit/customer/balance?customerId=9de4b4b4-525c-4ee0-ac9c-b29c3e10fe55&productId=2b649982-411e-42e0-9b9c-0a17f9a55d44' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--data ''
{
"statusCode": 200,
"message": "success",
"customerBalance": 30001,
"customerMainBalance": 29801,
"customerBalanceAddon": 500
}
Credit Based Product
Get Customer Balance
This is endpoint is used to get a customer credit balance.
Was this page helpful?
