Get Transaction Limits
A transaction limit is the current maximum or minimum amount allowed for a single operation (BUY, SELL, SWAP) and a given fiat currency.
Authorizations
B2B’s White Label API uses OAuth2. Currently there is only one supported authentication flow:
- clientCredentials allows you to access your own B2B account (First-Party Integration) and performs transactions against the public API. This oauth2 flow is well suited for this API, as it allows machine-to-machine communication.
Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.
Every request must be accompianed by an Authorization header with a value that follows the following schema: Bearer ACCESS_TOKEN
Response
Successful response
Keys follow the pattern {CURRENCY}_{OPERATION}_TRANSACTION_{MIN|MAX}_LIMIT. USD_SWAP_TRANSACTION_MIN_LIMIT and USD_SWAP_TRANSACTION_MAX_LIMIT are always present, but their values are null for accounts without swap enabled. Additionally, a BUY and SELL min/max pair is returned for each fiat currency enabled for the account (ARS shown here as an example).
Represents the minimum amount expressed in USD for a SWAP transaction. Always present; null for accounts without swap enabled.
Represents the maximum amount expressed in USD for a SWAP transaction. Always present; null for accounts without swap enabled.
Represents the minimum amount expressed in ARS for a BUY transaction. Returned for each fiat currency enabled for the account.
Represents the maximum amount expressed in ARS for a BUY transaction. Returned for each fiat currency enabled for the account.
Represents the minimum amount expressed in ARS for a SELL transaction. Returned for each fiat currency enabled for the account.
Represents the maximum amount expressed in ARS for a SELL transaction. Returned for each fiat currency enabled for the account.