Webhook exchange

The notification URL is specified in the platform settings in the personal account.

The notification is sent only after a successful incoming transaction.

After all actions are completed, a response with a 200 status must be returned. Otherwise, there will be 2 additional attempts to resend the notification.

Ensure that the signature is verified for security purposes.

Headers

Name
Type
Description

x-signature

string

SHA-256 encrypted signature

Content-Type

string

application/json

Request Body

Name
Type
Description

type

string

The type of callback, for example, exchange

platformId

integer

Your Platform ID

exchangeId

integer

The unique identifier of the created exchange order.

paymentFromId

integer

Currency ID. You can get the list of currency IDs here.

paymentToId

integer

Currency ID. You can get the list of currency IDs here.

give

string

The amount of currency you are providing for the exchange.

receive

string

The estimated amount of currency you will receive after the exchange.

Last updated