Async withdrawal
The method allows you to create a request to withdraw coins from an address and get the execution result to the specified webhookUrl
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
Output request body
addressIdstringRequiredExample:
Identifier of the address from which the coins should be withdrawn
ed7c4941-a5ab-4f53-afb1-195f3a217a62addressstringRequiredExample:
Address for sending coins
0x00000005707bf50efa35a2db020ede9ac08ae226tagstring | nullOptional
Tag (memo) address (relevant for networks that support the tag, such as Ripple)
amountstringRequiredExample:
Withdrawal amount
123.12feeTokenstringRequiredExample:
Fee token that was not created when requesting /request-fee
U2FsdGVkX1/Svz+vEVmzbD6FVaREPH+i+qOinAsY84yzj/XDXZyDf5Ag2SFQ4jGun7rQ65Yh0jh0roAaSBU470q/p8Lo4Oi5YVEwbUhFzIqNwhKcwIvRhmp/k+pfTmbiS88XR1z5fzBcgbq8E3oMtgj6rJcUQwGN2ku9Kdi0DXg=feeInAmountbooleanOptional
(Relevant for withdrawing coins) Deduct the network commission from the withdrawal amount or from the payer's funds. By default, the network commission is deducted from the withdrawal amount.
webhookUrlstringOptionalExample:
URL to send webhook when output status changes
https://merchant.domain/webhooks/withdrawResponses
200Success
application/json
post
/api-gateway/make-withdrawal-async200Success
Last updated