Configure your Card Ramp URL
BoomFi Card Ramp is being retired on 13 November 2025The BoomFi Card Ramp will be sunset on 13 November 2025 as we streamline our product suite and focus on enhancing our core crypto payments infrastructure.
After this date, the Card Ramp will no longer be available for new or existing transactions. Merchants and partners currently using the feature are encouraged to complete or migrate any active payment flows before the sunset date to ensure a smooth transition.
Support for reconciliation and reporting of historical transactions will remain available through the BoomFi Dashboard and API until further notice. For assistance with migration or alternative on-ramp solutions, please contact your BoomFi account manager or reach out to [email protected]
The following query parameters can be added to the https://swap.boomfi.xyz/ URL to customize BoomFi's Card Ramp solution:
Parameter Name | Description | Valid Values |
|---|---|---|
| The fiat currency code that the user wants to sell. | Refer to the Supported Fiat Currencies table. |
| The amount of fiat currency to sell. Required if | Any positive number. |
| The payment method to be used as default (if supported). |
|
| The identifier of the blockchain network for the cryptocurrency token. Examples include Ethereum (ETH), Binance Smart Chain (BSC), Polygon, Arbitrum, Solana, and Tron. | Refer to the Supported Blockchain Networks table. |
| The symbol of the cryptocurrency to buy. Optional; must correspond with | Must match the |
| The amount of cryptocurrency to buy. Applied only if | Any positive number. |
| The contract address of the cryptocurrency token to buy. Must be a valid, checksummed address specific to the token's blockchain. | Valid token contract address. |
| The wallet address to receive the cryptocurrency. The address must be compatible with the specified | Valid wallet address matching the |
| The URL to which the user will be redirected after a successful transaction. Ensure the URL is correct and functional; invalid URLs will be ignored. | Valid URL format. |
| A list of fields to lock, preventing the user from modifying them during the transaction. Locking ensures these fields remain fixed. See the Locked Fields use cases for examples. |
|
| Set |
|
| Your organization ID, found on the Merchant Dashboard under Settings > Merchant. If valid and a webhook URL is set, a payment webhook payload will be sent. | Valid Org ID. |
| An external reference string you choose, such as a session identifier. If set alongside a valid | Any string. |
| Allows the affiliate to add their organisation ID to get an affiliate fee. Get in contact with BoomFi to become an on-ramp affiliate. |
NoteIf both
buy_amountandsell_amountare provided and valid,buy_amountwill take priority.
Use cases
The following is an example URL using most parameters on the table:
https://swap.boomfi.xyz/?locked_fields=buy_amount&sell_ccy=GBP&sell_amount=10&chain_id=1&buy_ccy=USDC&buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&recipient_wallet=0x844Acef789989Cb6E21E0F07DD4e894709f92F96&redirect_to=https://www.youtube.com/watch?v=dQw4w9WgXcQ
Locked Fields
To lock a field, you need to add the locked_field parameter. The example below locks the sell amount to the value set in the sell_amount field:
https://swap.boomfi.xyz/?locked_fields=sell_amount&locked_fields=buy_token&sell_ccy=GBP&sell_amount=10&chain_id=1&buy_ccy=USDC&buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&recipient_wallet=0x844Acef789989Cb6E21E0F07DD4e894709f92F96&redirect_to=https://www.youtube.com/watch?v=dQw4w9WgXcQ
ConstraintsIt's important to note the following constraints:
- In order to lock the
sell_amount, you must also lock thesell_ccy.- In order to lock the
buy_amount, you need to lock thebuy_ccy.
Also, you can lock multiple fields in the URL. To do this, add multiple locked_fields query parameters to the URL, one for each field you need to be locked. Below, you will find an example of locking sell_amount and sell_ccy, making the option locked with a sell currency of GBP and a sell amount of 10:
https://swap.boomfi.xyz/?locked_fields=sell_amount&locked_fields=sell_ccy&sell_ccy=GBP&sell_amount=10&chain_id=1&buy_ccy=USDC&buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&recipient_wallet=0x844Acef789989Cb6E21E0F07DD4e894709f92F96&redirect_to=https://www.youtube.com/watch?v=dQw4w9WgXcQ
Skipping Quote Screen
Below, you find two examples to skip the quote screen by adding the skip_quote_screen=1 query parameter:
Buy 10000 USDC on Ethereum, Sell GBP
https://swap.boomfi.xyz/?chain_id=1&buy_amount=10000&buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&sell_ccy=GBP&locked_fields=buy_token&locked_fields=sell_ccy&locked_fields=buy_amount&skip_quote_screen=1
Here, the following required parameters were added:
chain_id=1buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48sell_ccy=GBPbuy_amount=10000
And, the following fields were locked:
locked_fields=buy_tokenlocked_fields=sell_ccylocked_fields=buy_amount
Buy 1000 GBP worth of USDC on Ethereum
https://swap.boomfi.xyz/?chain_id=1&sell_amount=1000&buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&sell_ccy=GBP&locked_fields=buy_token&locked_fields=sell_ccy&locked_fields=sell_amount&skip_quote_screen=1
In this example, the following required parameters are set:
chain_id=1buy_token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48sell_ccy=GBPsell_amount=1000
And, the following fields are locked:
locked_fields=buy_tokenlocked_fields=sell_ccylocked_fields=sell_amount
Updated 19 days ago
