π΅ Off Ramp
The Off-Ramp feature provided by Capa allows users to sell cryptocurrencies to get local currencies. Currently, Capa supports off-ramp operations for MXN (Mexican Peso) and DOP (Dominican Peso).
How to do an Off-Ramp Operation
To successfully execute an off-ramp operation, follow these steps:
-
Select the Blockchain Token:
- That is necessary because is the identifier for the cryptocurrency token on the blockchain to which the conversion will be made. To find this ID, you will need to check the available tokens and their identifiers. Refer to the Available Tokens and Blockchain Assets for Off Ramp for details.
- The list of Blockchains supported in Capa are (This list can change frequently, refer to the BlockchainToToken Endpoint):
- Binance Smart Chain
- Polygon POS
- Optimism
- Arbitrum
- Base
- Solana
- Core
For faster completion time use USDC in Polygon POS
-
Select the Fiat Currency:
- Choose the supported fiat currency for the transaction. Capa currently supports the following fiat currencies:
- MXN (Mexican Peso)
- DOP (Dominican Peso)
- To view the complete list of supported fiat currencies, refer to the API documentation for that Fiat Currencies Supported
- Choose the supported fiat currency for the transaction. Capa currently supports the following fiat currencies:
-
Quoting:
- To show an estimate of how much crypto the user will get with the selected Blockchain Token, Fiat Currency and Amount use the Off Ramp Quote endpoint.
-
Create User Bank Information
- If this is the first time a users does an off ramp bank information needs to be created in order to complete the transaction. The following endpoint can be used to create the bank information or if a user wants to add another bank information Create Off Ramp User Bank Information If a user already has bank information and wants to use the previously create information this step can be skipped.
-
Get User Bank Information:
- Get a list of all of the bank information of an specific user Get Off Ramp User Bank Information. Make sure to get the Bank Information Id since you will need it to complete the Off Ramp transaction
-
After a successful KYC users get their own Wallet Address which is used as an intermediary to identify the user's off ramps on chain transaction. In order to show the user where the crypto must be sent to you must obtain the wallet with the Get Off Ramp User Wallet and providing the userId and the chainId.Obtain User Wallet Address: -
With all required information gathered, you can proceed to execute the off-ramp operation using the Capa API. See the documentation to execute the off ramp Execute Off RampExecute the Off-Ramp:
Available Platforms
Capa.fi : Users can perform off-ramp operations directly on the Capa.fi website.
Partner API: For partners, off-ramp operations can be performed via the API using the Partner API key. For instructions on generating and using the API key, refer to the π API Key Generation Guide.
Notifications
Capa sends notifications to keep you updated on transaction statuses:
- Webhooks for Partners: Capa posts updates to the configured partner webhooks to notify of transaction status changes.
Email Notifications for Users (Optional): Users receive email notifications regarding their transaction status and other relevant updates. Webhooks - Ensure that your webhook settings are correctly configured to receive timely notifications and stay informed about the status of transactions. Webhook Settings
Resources
Endpoints related to the off-ramp operation for the user /fiat, webhook-settings , /quote/off-ramp/partner
Updated 5 months ago
Whatβs Next