Creation of a cross-chain exchange
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
bd0b179d-6ae3-4516-bd85-243a82b2a87aaddressToIdstringRequiredExample:
Identifier of the destination address where the coins will be credited after the swap
1de0bedc-26e6-4b83-bd89-f307b6f80f7afeeTokenstringRequiredExample:
Commission Token
U2FsdGVkX1/YV+QnxA8TgLWJjfvQq84aWf0PEXGyftGjOa5MYop5FQ4p7D08CN6WL6p1pZMw2n6KZ5RxuTyzbC74vrUkewPBQFJIbZ3J5VpMb3j1qQDkdFVnF++C73c4K4trxS/hmtZRvgbEhPL+4HCast15E3waMCsu2Mfk3c0qnXa+NVYiG3g0fuoUjupWcdsgv4eJQA/M9qocf2O+wQ==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