Sandbox
Last updated
Last updated
sandbox endpoint -
You will need to generate a separate key pair for sandbox environment
API Methods - Orders
To test fiat > crypto flow, you should use everything the same way as on the production only with the link .
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: