/offramp/initiate endpoint creates an off-ramp transaction where the customer sends stablecoin and receives British Pound (GBP) instantly.
Switch returns a deposit address — once the customer sends the amount in the speicifed asset to that address, the GBP payout is processed automatically.
Before calling this endpoint to create a payment, call
GET /requirement to
retrieve the required beneficiary fields based on the country and channel.Example request
Frequently Asked Questions
Exact destination amount
Exact destination amount
Add exact_output and amount if you want an exact amount to be received at the destination. e.g; if you want 10,000 GBP
Webhook URL
Webhook URL
Add callback_url to set the URL to receive webhook notifications when the payment status changes.
Developer fee
Developer fee
Add developer_fee and developer_recipient to set the developer fee you wish to charge from the payment amount.
Beneficiary type
Beneficiary type
Include
holder_type on beneficiary depending on the payout recipient; if Business, set to BUSINESS else INDIVIDUAL.Payment reason
Payment reason
Add reason to set the purpose of the payment. This is mostly required for transfers out of Nigeria.Allowed values are listed under Reason.
Refund address
Refund address
Add refund_address to set the wallet address to refund the stablecoin deposit to if the payment fails for any reason.
Settlement channel
Settlement channel
Add channel to set the specific channel or settlement method to use for the payment, if not set, the default channel for the country will be used.Allowed values are listed under Countries.
Reusable deposit address
Reusable deposit address
Add static if you want to always generate the same deposit address for the same local currency beneficiary details.
Example response
Completing the Deposit
After initiating, you are expected to send exactlydeposit.amount of deposit.asset to deposit.address. Check deposit.note for specific instructions.
If less or more amount than specified in deposit.amount is sent, the deposit will be processed based on the amount sent, so long as it is within the limits and the asset (deposit.asset) sent is supported.
Need Help?
Email Support
Send us a message and we’ll get back to you shortly.
Book a Demo
Hop on a call with our team.