Two step withdrawal - refresh

It allows to refresh initial exchange rate for market pair specified in outgoing payment identified by UUID returned in first step

Response details

Key

Type

Description

status

String

Status for the made payment: ok / fail.

data

array

Default: null.

outgoingPaymentId

UUID

The ID of the payout you created.

expirationTimestamp

Unix Timestamp

Payout expiration time (the time until when you can provide an address - perform the second step).

sourceCurrency

String

Source currency.

destinationCurrency

String

Destination currency.

channelName

String

Channel through which the
destination currency will be sent.

sourcePrice

decimal

The initial value of the funds in the source currency.

transferPrice

decimal

Source currency value of funds to be debited from the wallet.

chargePrice

decimal

The value of the commission for making a withdrawal.

destinationTransferAmount

decimal

The amount of funds needed to complete the withdrawal.

amountToWithdraw

decimal

The amount of funds that will be received.

Notes:

  • When 90% of the time from expiration timestamp pasted refresh endpoint can accept refresh request
  • Refresh endpoint doesn’t accept refresh requests after 24h since the withdrawals has been generated
  • If after 24hr since withdrawals has been generated user still wants to withdrawal funds they need to send new withdrawal request (start process over)
  • If user wants to refresh withdrawal before 90% time defined in expiration timestamp pasted we return error :OUTGOING_PAYMENT_IS_NOT_REFRESHABLE_YET
Language
Credentials
Query