API Reference
Log In
API Reference

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

Response details

KeyTypeDescription
statusStringStatus for the made payment: ok / fail.
dataarrayDefault: null.
outgoingPaymentIdUUIDThe ID of the payout you created.
expirationTimestampUnix TimestampPayout expiration time (the time until when you can provide an address - perform the second step).
sourceCurrencyStringSource currency.
destinationCurrencyStringDestination currency.
channelNameStringChannel through which the
destination currency will be sent.
sourcePricedecimalThe initial value of the funds in the source currency.
transferPricedecimalSource currency value of funds to be debited from the wallet.
chargePricedecimalThe value of the commission for making a withdrawal.
destinationTransferAmountdecimalThe amount of funds needed to complete the withdrawal.
amountToWithdrawdecimalThe 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