Request crypto payment
This is an authenticated endpoint
Last updated
Was this helpful?
This is an authenticated endpoint
Last updated
Was this helpful?
An endpoint for initiating a crypto payment request. Upon success, a unique paymentUrl
is provided in the response which can be served within an iframe.
Alternatively, you can redirect to the payment URL and if you have supplied a redirectUrl
in the request, we will navigate the end-user back to your website upon payment completion (when we have received a deposit against this payment request). There is also a button which the end-user can use if they wish to get redirected back sooner.
/api/v1/payments
Payment identifier provided in the request.
Amount in displayCurrency
that the user wants to deposit. Required if displayCurrency
is provided.
Amount in depositCurrency
that the user wants to deposit. Required if depositCurrency
is provided.
ONE_TIME
payments: Indicates the timeframe in which the deposit should happen. A value of 0 will set the payment expiry to 7 days. Defaults to 30 min.REUSABLE
payments: You can omit this parameter. Reusable payments are set to non-expiry.IETF BCP 47 language tag, e.g. 'en-US', 'fr-FR'. Alternatively, the locale string can be submitted with an '_' instead of '-', e.g. 'en_US' or 'fr_FR' or as an ISO 639-1 language code, e.g. 'en' or 'fr'. Supported languages:
Custom URL where the user will be redirected after payment completion.
ONE_TIME
, REUSABLE
Fiat currency. You should provide this or depositCurrency
.
AED
, ARS
, AUD
, BDT
, BGN
, BRL
, CAD
, CHF
, CLP
, CNY
, CZK
, DKK
, EUR
, GBP
, HKD
, HRK
, HUF
, IDR
, ILS
, INR
, ISK
, JPY
, KES
, KRW
, MXN
, MYR
, NGN
, NOK
, NZD
, PEN
, PHP
, PLN
, QAR
, RON
, RUB
, SEK
, SGD
, THB
, TRY
, USD
, VND
, ZAR
Cryptocurrency. You should provide this or displayCurrency
.
BCH
, BTC
, ETH
, LINK
, LTC
, SOL
, USDC
, XLM
, XRP
Cryptocurrency network. Required if depositCurrency
is provided.
BCH
, BTC
, LTC
, XLM
, XRP
, ETH
, BSC
, SOL
, TRX
ONE_TIME
payments: FIXED
or FLOATING
.REUSABLE
payments: You can omit this parameter. Reusable payments are set to FLOATING
.FIXED
, FLOATING