Get Reserve Balance
Use this endpoint to get the current reserve balance.
Available Environments
- Production
https://api.gateway.com.br/core
Endpoint
- Method:
GET - Endpoint:
/reserve/balance - Authentication: Bearer token
Request Example
- cURL
- JavaScript
curl --request GET \
--url https://api.gateway.com.br/core/reserve/balance \
--header 'Authorization: Bearer your-jwt-token'
const response = await fetch('https://api.gateway.com.br/core/reserve/balance', {
method: 'GET',
headers: {
'Authorization': 'Bearer your-jwt-token'
}
});
const data = await response.json();
Success Response
| Field | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Reserve balance (integer, in cents) |
Response Example
{
"amount": 10000
}
Possible Errors
| Code | Description | Solution |
|---|---|---|
| 401 | Invalid credentials | Check your credentials |
| 403 | No permission/authorization | Contact support |
| 500 | Internal error | Contact support |