Webhook exchange
Last updated
Last updated
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.
x-signature
string
SHA-256 encrypted signature
Content-Type
string
application/json
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 .
paymentToId
integer
Currency ID. You can get the list of currency IDs .
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.