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
ed7c4941-a5ab-4f53-afb1-195f3a217a62addressToIdstringRequiredExample:
Identifier of the destination address where the coins will be credited after the swap
96acba77-e951-4be2-a95a-0dc4f29348abfeeTokenstringRequiredExample:
Commission Token
U2FsdGVkX18uAAWGbqwI/SqEoCCY09g2erW3YqYwVYyChxcv8hxBTHcvnNmpEBXodzW4r5xnmYFIT2/I3FnIoZPdXhcaU3RjUxREz4EidY1BASgOX458DKmnGLYNt+ZT/XxUt1vJpSzGwg6YNQ7UPAOcjr6aGNRUO7eJE/rD6J1VPJuAheqhj/yEgJ1p9cZQfqAep9bGq3ED/oqDsouKag==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