| HTTP status | Error code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Request validation failed |
| 401 | UNAUTHORIZED | Missing or invalid authorization token |
| 403 | FORBIDDEN | You do not have permission to access this resource |
| 500 | INTERNAL_ERROR | Unexpected server error |
curl --location 'https://api.paypaga.com/v2/balances?country=undefined'{
"as_of": "2024-08-06T21:10:41Z",
"reporting_currency": "USD",
"total": {
"currency_code": "USD",
"amount": 325000
},
"countries": [
{
"country": "BR",
"currency": "BRL",
"amount": 210000,
"available_for_payout": 82000
},
{
"country": "MX",
"currency": "MXN",
"amount": 115000,
"available_for_payout": 68000
},
{
"country": "CO",
"currency": "COP",
"amount": 0,
"available_for_payout": 0
}
]
}