Skip to content
Last updated

All parameters are optional. Any value not provided will default to customer preferences or the defaults configured in your Partner Dashboard.


Parameters

ParameterTypeDescription
walletAddressstringCustomer's wallet address for the receiving crypto asset. Pre-populates the wallet field in checkout.
walletAddressTagstringCustomer's wallet tag or memo. Required for transacting on certain blockchains such as BNB and XRP.
blockchainstringBlockchain network for the wallet address (e.g., ETH, BTC, BNB). Required when walletAddress is provided for multi-chain assets.
coinTypestringCryptocurrency to purchase (e.g., ETH, BTC, USDT). Pre-selects the crypto asset in checkout.
fiatTypestringFiat currency for the transaction (e.g., AUD, USD, EUR). Pre-selects the fiat currency.
fiatAmountnumberAmount of fiat currency the customer wants to spend. Either fiatAmount or coinAmount can be provided, not both.
coinAmountnumberAmount of cryptocurrency the customer wants to receive. Either fiatAmount or coinAmount can be provided, not both.
orderTypestringPass sell to open the checkout in off-ramp (sell) mode. Omit for on-ramp (buy).
emailstringCustomer's email address. Pre-populates the email field, reducing friction at checkout.
paymentMethodIdstringPre-selects a payment method. See supported values.
returnUrlstringURL to redirect the customer to after the transaction is complete or cancelled. Must be URL-encoded. Also accepted as redirectUrl.
externalCustomerIdstringYour stable identifier for this customer. Used by Banxa to recognise returning customers and avoid repeat KYC collection. See externalCustomerId best practices.
backgroundColorstringHex colour value (without #) to override the checkout background colour, e.g. ffffff.
primaryColorstringHex colour value for active buttons.
secondaryColorstringHex colour value for button hover effects.
textColorstringHex colour value for all text in the checkout flow.
themestringlight or dark. Sets contrast mode to match your background colour.

Payment method IDs

ValuePayment method
debit-credit-cardDebit or credit card
apple-payApple Pay
google-payGoogle Pay
sepa-bank-transferSEPA bank transfer (EUR)
gbp-bank-transferBank transfer (GBP)
ach-bank-transferACH bank transfer (USD)
payid-bank-transferPayID bank transfer (AUD)
upiUPI (INR)
pixPIX (BRL)
paypalPayPal

Not all payment methods are available in all regions. Available methods are determined by your partner configuration and the customer's country.


Sell (off-ramp)

To open the checkout in sell mode, pass orderType=sell. All other parameters apply. Contact Banxa to confirm that off-ramp is enabled for your partner account.