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.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
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.
Transaction Limits
The same minimum amounts apply as for on-ramp and off-ramp transactions:| Currency | Minimum | Maximum |
|---|---|---|
| MXN | 50 MXN | No maximum |
| DOP | 150 DOP | No maximum |
| USD | 20 USD | No maximum |
| EUR | 20 EUR | No maximum |
Funding a Cross-Ramp
After creating the transaction, the response includessourceBankAccount with the bank details where the user must deposit the source fiat currency. The transaction starts in PENDING_FUNDS status.
- For MXN source: The user deposits via SPEI to Capaβs bank account (same flow as on-ramp).
- For non-MXN source (USD, EUR, DOP): A deposit intent is created with instructions for the user to include in their transfer.
Multiple Concurrent Orders
You can have multiple cross-ramp transactions open at the same time for a single user.Quoting and Premium Spread
When usingpremiumSpread, note that if a quoteId is provided in the cross-ramp request, the quoteβs premiumSpread is used and any premiumSpread value in the request body is ignored. To ensure consistent pricing, always set premiumSpread when creating the quote. The valid range is 0 to 1.
A locked quote is valid for 10 seconds after creation (expiresAt field in the response). Once the quote is used to create a transaction, the rate is locked for that transaction.
A quote is optional β if no quoteId is provided, provide sourceAmount or targetAmount along with sourceCurrency and targetCurrency. You cannot specify both sourceAmount and targetAmount.
When using
quoteId, do not pass sourceAmount, targetAmount, sourceCurrency, or targetCurrency β these values are taken from the quote.Transaction Status Progression
| Status | Description |
|---|---|
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 account |
COMPLETED | Target fiat has been delivered to the bank account |
CANCELLED | Transaction was cancelled (can occur at PENDING_FUNDS stage) |
Notifications
Capa sends webhook notifications for each status change. The following events are emitted during a cross-ramp transaction lifecycle:| Event | Triggered When |
|---|---|
CREATED_CROSS_RAMP | Transaction created |
FUNDS_RECEIVED_CROSS_RAMP | Source fiat received |
STARTED_PROCESSING_CROSS_RAMP | Conversion processing begins |
AWAITING_FUND_TRANSFER_CROSS_RAMP | Awaiting delivery to target bank |
COMPLETED_CROSS_RAMP | Target fiat delivered |
CANCELLED_CROSS_RAMP | Transaction cancelled |