Account
Bank
Transfer
Discount
KYC
Supported
User
Get Balances
Get merchant and customer balances.
GET
/
user
/
balances
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/user/balances \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"data": {
"customer": {
"availableBalance": 0,
"pendingDebit": 0
},
"merchant": {
"availableBalance": 0,
"pendingDebit": 0
}
},
"message": "success"
}
Response
200 - application/json
get user balances ok
The response is of type object
.
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/user/balances \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"data": {
"customer": {
"availableBalance": 0,
"pendingDebit": 0
},
"merchant": {
"availableBalance": 0,
"pendingDebit": 0
}
},
"message": "success"
}
Assistant
Responses are generated using AI and may contain mistakes.