Fetch Balance
GET/v1/balance
Get entity balance information.
Using the entity secret API key will return balance information related to entity.
Responses
- 200
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
currency string
total integer
Total balance in smallest currency unit
available integer
Available balance in smallest currency unit
transferred integer
Total transferred amount in smallest currency unit
{
"currency": "string",
"total": 0,
"available": 0,
"transferred": 0
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [authentication_error]
message string
Possible values: [Invalid authorization credentials]
errors object
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [api_error]
message string
Possible values: [User not authorized]
errors object
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}
One of the record referenced in the request was not found
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [record_not_found]
message string
errors object
{
"type": "record_not_found",
"message": "The <object type> record you were looking for was not found.",
"errors": null
}
Loading...