LogoLogo
  • SWAPPLE API
    • Changelog
      • 2022, 26 January
      • 2022, 29 December
      • 2022, 14 June
      • 2024, 11 March
      • 2024, 27 June
      • 2024, 31 July
      • 2024, 27 August
      • 2024, 3 September
    • API Reference
      • Authorization
      • Orders
      • Statuses
      • Currencies
      • Webhook
      • Sandbox
    • Examples and sample usages
      • Sample usage
      • Merchant User Flow
      • Fixed Rate Order Guide
    • FAQ
  • CRYPTO ACQUIRING API
Powered by GitBook
On this page
  1. SWAPPLE API
  2. API Reference

Sandbox

PreviousWebhookNextExamples and sample usages

Last updated 8 months ago

sandbox endpoint -

You will need to generate a separate key pair for sandbox environment

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 .

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"
}

https://sandbox.api.swapple.org
https://sandbox.api.swapple.org/
Authorization