Retrieve Merchant Balances
GET/pix/entities/{entity-id}/balances
Retrieves a merchant's balances from all PIX providers.
Request
Path Parameters
Possible values: <= 50 characters
Responses
- 200
- 400
- 401
- 403
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
balances
object[]
Possible values: [P1, P2, P3, P4, P5, P6]
Possible values: >= 3 characters and <= 3 characters
BRLStatus of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
result
object
required
Status of the request: success | error
Possible values: [success, error]
errors
object
Object describing the error in case such occurred during processing of the request.
Code of the error in case such occurred during processing of the request.
Possible values: <= 11 characters
Description of the error in case such occurred during processing of the request.
Possible values: <= 400 characters
{
"balances": [
{
"provider": "P1",
"accountId": "string",
"amount": 0,
"currency": "BRL",
"lastUpdated": "2024-07-29T15:51:28.071Z",
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
],
"result": {
"status": "success",
"errors": {
"code": "string",
"reason": "string"
}
}
}