Sandbox
sandbox endpoint - https://sandbox.api.swapple.org
You will need to generate a separate key pair for sandbox environment Authorization
API Methods - Orders
Crypto deposit emulator
To test fiat > crypto flow, you should use everything the same way as on the production only with the link https://sandbox.api.swapple.org/.
To test crypto > fiat flow, you need an additional request to emulate a crypto deposit, for which you can use our crypto deposit emulator. That is described below:
POST https://sandbox.api.swapple.org/api/deposit/emulate
Header field api-key - your public key
Body:
currency
- currency name. (string)
amount
- amount of deposit. (string)
address
- target crypto address. (string)
Example:
{
"currency": "USDT",
"amount": "20",
"address": "TCoJkWjrpUhW8BSsRNfNnRF6TKrpbTJ2rP"
}
Last updated