Get bank account balance
GET/api/balances
Returns the balance of the company's bank account for the given provider.
Request
Query Parameters
provider stringrequired
Possible values: [Zro Global, Pay4Fun]
Bank provider to fetch the balance from
type stringrequired
Possible values: [transactional, owner]
Balance operation type
Responses
- 200
- 400
- 401
- 422
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
balance float
Account balance, in BRL
currency currency (string)
Balance currency
{
"balance": 1500.75,
"currency": "BRL"
}
Bad Request or unable to get balance
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Validation error
Loading...