Overview
Cross-ramp transactions convert one fiat currency into another without the user needing to interact with cryptocurrency. Capa handles the conversion internally and delivers the target currency to the specified bank account. Supported currencies: MXN (Mexican Peso), DOP (Dominican Peso), USD (US Dollar), and EUR (Euro). The source and target currencies must differ.How to do a Cross-Ramp Operation
To successfully execute a cross-ramp operation, follow these steps:-
Select Source and Target Currencies:
Choose the fiat currencies for the conversion. For example, MXN to USD or EUR to MXN. The source and target currencies must be different. -
Quoting:
- To show a real-time estimate of how much the user will receive, use the Get Cross-Ramp Quote Rate endpoint with
sourceCurrency,targetCurrency, and eithersourceAmountortargetAmount. - To lock a guaranteed exchange rate, use the Create Cross-Ramp Quote endpoint. This returns a
quoteIdwith an expiration time (expiresAt). Pass thequoteIdwhen creating the transaction to use the locked rate. - You can specify either
sourceAmountortargetAmount, not both.
- To show a real-time estimate of how much the user will receive, use the Get Cross-Ramp Quote Rate endpoint with
-
Target Bank Account:
Provide the bank account where the target currency will be delivered. You can either:- Pass
targetBankAccountinline in the request body with the bank details. - Use a previously saved bank account ID (
targetBankAccountId).
TheCountry Required Fields MX accountIdentifier(18-digit CLABE)DO accountIdentifier,bankName,accountType,documentIdentifier,documentTypeUS accountIdentifier,bankName,routingNumber(9-digit ABA),accountHolder(type,firstName/lastNameorbusinessName),address(streetLine1,city,postalCode,country)SEPA iban,bic,bankName,accountHolder(type,firstName/lastNameorbusinessName)targetCurrencymust match the currency of the target bank accountβs country. - Pass
-
Create the Cross-Ramp Transaction:
With all required information gathered, create the transaction using the Create Cross-Ramp endpoint. Key parameters:userId(required): The userβs Capa IDsourceCurrency(required): The fiat currency the user will deposittargetCurrency(required): The fiat currency to be deliveredsourceAmountortargetAmount: The amount to convert (provide one, not both)targetBankAccount: Inline bank account details for the targetquoteId(optional): A locked quote ID from the Create Cross-Ramp Quote endpointpremiumSpread(optional): A spread percentage to apply to the exchange ratereceiverId(optional): A previously created receiver for third-party payouts (see Receivers Guide)
-
User Deposits Source Currency:
After the transaction is created, the response includessourceBankAccountwith the bank details where the user must deposit the source fiat currency. Share this information with the user so they can complete the deposit.
Integration Flow
Create a user and complete KYC
Create User, then KYC verification
Get a cross-ramp quote (optional)
Create Cross-Ramp Quote to lock the exchange rate
Create cross-ramp transaction
Transaction Lifecycle
Cross-ramp transactions go through the following statuses:- PENDING_FUNDS: Transaction created, waiting for the user to deposit source fiat
- FUNDS_RECEIVED: Source fiat has been received
- IN_PROGRESS: Conversion is being processed
- AWAITING_FUND_TRANSFER: Conversion complete, awaiting delivery to target bank
- COMPLETED: Target fiat has been delivered
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. Webhooks
- Ensure that your webhook settings are correctly configured to receive timely notifications and stay informed about the status of transactions. Webhook Settings