Crypto exchange
Last updated
Last updated
Creating exchange via API
Create an exchange by using the method POST | Create exchange;
Get exchange details and state by using the method POST | Get exchange;
Scheme of information process interaction
Below is an example of creating a exchange from a client’s site or application.
Names of requests on the scheme indicate certain payment API methods.
Exchange statuses:
IN_PROGRESS
The exchange order has been created and is awaiting execution.
COMPLETED
The funds have been successfully exchanged on the account.
FAILED
Exchange statuses
Diagram indicate exchange statuses, arrows indicate processes a successful completion of which transfers an exchange from one status to another.
Create an exchange via API with additional functions (optional requests)
If you want to make sure that your account has enough assets for exchange and get available asset balances on the account, then use this function:
Check account balance and ensure enough assets for exchange are available by using the method POST | Get the account;
If you want to get a list of available currency pairs for exchanges, use this function:
Getting available pairs for exchange by using the method POST | Get currency pairs;
If you want to know the maximum and minimum available limits for currency exchange, use this function:
Get upper exchange limits for currencies by using the method POST | Get upper exchange limit by currency;
If you want to get a preliminary calculation of the exchange, then use this function:
Get a preliminary calculation of the exchange amounts by using the method POST | Pre-calculate
Create an exchange by using the method POST | Create exchange;
Get exchange details and state by using the method POST | Get exchange;
Scheme of information process interaction
Below is an example of creating a exchange from a client’s site or application.
Names of requests on the scheme indicate certain payment API methods.
An error occurred during the exchange. There may be many reasons for the error. You can follow the steps below to fix it: 1. Wait for a while and create a new exchange. 2. Contact our .