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

Webhook

If you want to install a webhook, you can use the following endpoint: https://api.swapple.org/api/v3/webhook/create and specify your url where the callback will be sent to you.

Setting your WebHook the easy way

POST https://api.swapple.org/api/v3/webhook/create

It iis an endpoint that allows you to set links to the callbacks you want to receive.

Each request will overwrite the previous one.

In response to successful callback processing, status 200 is expected.

If there is no response to the callback or there is a non-200 response, then we will repeat sending this callback.

* Each time we increase the interval between sending the callback. The initial interval is 60 secs, but no longer than 24 hours (if you do not accept a callback within a day, it stops being sent).

Headers

Name
Type
Description

public-key*

timestamp*

String

Current timestamp that was used to generate the signature in milliseconds

signature*

String

HMAC SHA512 key/value signature

Request Body

Name
Type
Description

url*

String

the callback url

{
    "status": "SUCCESS"
}

PreviousCurrenciesNextSandbox

Last updated 8 months ago

Your public key.

The callback body the same as response and header contain a signature.

Authorization
#get-information-about-order.