Get Credit Balance and Liability
GET/v2/otc/conversions/credit-balance
Retrieve the user's liability (the sum of all negative balances in BRL across active currencies) and credit balance.
Request
Header Parameters
nonce stringrequired
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
- 401
- 422
Conversion credit success.
- application/json
- Schema
- Example (from schema)
Schema
liability numberrequired
Libability (Sum of all negative balances of all active currencies).
credit_balance numberrequired
Credit balance for user.
{
"liability": -1000,
"credit_balance": 10000
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.
Loading...