Creation of a cross-chain exchange
The method allows you to create a cross-chain exchange. Cross-chain exchange allows you to exchange one asset for another
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/jsonBody
clientIdstringOptionalExample:
Unique exchange identifier in the merchant system (to prevent duplicate requests)
merchant_unique_idaddressFromIdstringRequiredExample:
Identifier of the outgoing address from which the specified amount will be debited
c4179377-b199-455b-ab08-16c517bb3f1baddressToIdstringRequiredExample:
Identifier of the destination address where the coins will be credited after the swap
fd7b36c8-ff3f-4bdb-85d5-0e91e938bf7ffeeTokenstringRequiredExample:
Commission Token
U2FsdGVkX18gNxdwlBIJd5VipZO5oHRKfaGyRUVg7/FmIVhvyfuzPHXkpy3SiEGyf5pvsynU3jhAqyEU2ZozbempdZgdlQHzadKVRSzMRRs8TvcXyDg8XLqmppekgxz+cn0H2/UzR62zveNm0vMn4gNvOnLm6xt0OvujZz57yg8Hl7oOYHHvzQ4Z9jDJmVdkScdnXk1WBD5NRNniCcynHA==webhookUrlstringOptionalExample:
URL address for notifying about the change in the status of the swap operation
https://merchant.domain/webhooks/swapResponses
200Success
application/json
post
/api-gateway/swaps/create200Success
Last updated