Get Sell Redirect
Fetch the Transak widget redirect URL using the parameters supplied in Ledger's format.
Use this endpoint after quote generation when you are ready to send the user
into the hosted sell flow.
Authentication
x-api-keystring
Transak API key available from the Transak Dashboard.
Query parameters
accountId
Ledger account ID.
cryptoCurrency
Ledger ID for the selected crypto currency.
fiatCurrency
Selected fiat currency code.
cryptoAmount
Selected crypto amount.
paymentMethod
Selected Ledger payment method.
mode
Selected mode (buy or sell).
bankResidency
User country code in ISO 3166-1 alpha-2 format.
ledgerTransactionId
User’s Ledger transaction identifier (order ID).
Response
Redirect URL generated successfully.
rampRedirectUrl
Redirect URL for launching the Transak sell flow.
Errors
400
Bad Request Error
500
Internal Server Error