curl --request GET \
--url https://staging-api.getpartna.com/v4/user/balances \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"customer": {
"availableBalance": 0,
"pendingDebit": 0
},
"merchant": {
"availableBalance": 0,
"pendingDebit": 0
}
},
"message": "success"
}
Get merchant and customer balances.
curl --request GET \
--url https://staging-api.getpartna.com/v4/user/balances \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"customer": {
"availableBalance": 0,
"pendingDebit": 0
},
"merchant": {
"availableBalance": 0,
"pendingDebit": 0
}
},
"message": "success"
}
get user balances ok
The response is of type object
.