π On-Ramp
The On-Ramp feature provided by Capa allows users to purchase cryptocurrencies using local currencies. Currently, Capa supports on-ramp operations for MXN (Mexican Peso) and DOP (Dominican Peso).
How to do an On-Ramp Operation
To successfully execute an on-ramp operation, follow these steps:
-
Select the Blockchain Token:
- This 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 On 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 On Ramp Quote endpoint.
-
Obtain User Wallet Address:
- Ensure to ask the user for their wallet address where the crypto wants to be deposited. Make sure to verify that this is a valid EVM address, and save it for the step 5.
-
Show Bank Information:
- After KYC verification, users in Mexico get their own bank account information. On the other hand, for the Dominican Republic we use a single Capa bank account . For both countries you can get the bank with the following endpoint Get User Bank Info On Ramp
-
Execute the On-Ramp:
With all required information gathered, you can proceed to execute the on-ramp operation using the Capa API. See the documentation to execute the on ramp On Ramp Transaction
Available Platforms
Capa.fi : Users can perform on-ramp operations directly on the Capa.fi website.
Partner API: For partners, on-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 on-ramp operation for the user blockchain-to_token /fiat, webhook-settings , /quote/on-ramp/partner
Updated about 7 hours ago