Integration Flow
1
Create a user and complete KYC
Create User, then KYC verification
2
Get an off-ramp quote (optional)
Create Quote to lock the exchange rate
3
Create off-ramp transaction
4
User sends crypto
The user sends crypto to the wallet address returned in the transaction response
How to do an Off-Ramp Operation
To successfully execute an off-ramp operation, follow these steps:-
Select the Blockchain and Token:
- The following is a list of the Blockchains and Tokens
- The list of Blockchains - Tokens symbols supported in Capa are:
- POL - USDC, USDT
- ETH - USDC, USDT
- SOL - USDC
- BSC - USDT
- TRX - USDT
-
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)
- Choose the supported fiat currency for the transaction. Capa currently supports the following fiat currencies:
-
Quoting:
- To show a real-time estimate of how much fiat the user will get with the selected Blockchain Token, Fiat Currency and Amount use the Get Quote Rate endpoint.
- To lock a guaranteed exchange rate, use the Create Quote endpoint. This returns a
quoteIdwith an expiration time (expiresAt). Pass thequoteIdwhen creating the transaction to use the locked rate. - You can specify either
fiatAmountorcryptoAmountin the quote request. - Forward Settlement (MXN only): For MXN orders, the locked quote supports a
forwardingDaysparameter (0-4) that lets you lock the rate now but settle the transaction T+N days later.
-
User Bank Information:
-
The user bank information can be provided in multiple ways:
- Inline bank details: Pass
userBankInformationdirectly in the off-ramp request body. - Saved bank account: Use a previously saved bank account ID.
- Inline bank details: Pass
-
Bank account requirements vary by country:
- For MX accounts, the bank information will go through a penny testing process to ensure that the KYC’d user is the actual owner. If the user is successfully verified the transaction will go through, otherwise it will be CANCELLED and the crypto will be reimbursed.
-
The user bank information can be provided in multiple ways:
-
Obtain User Wallet Address:
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 by creating the Off Ramp transaction, the response would have the wallet address. -
Execute the Off-Ramp:
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 Create Off Ramp Key parameters:userId(required): The user’s Capa IDfiatCurrency,blockchainSymbol,tokenSymbol: The selected currency, blockchain, and token (required whenquoteIdis not provided)fiatAmountorcryptoAmount: The amount to convertuserBankInformation(optional): Inline bank account detailsquoteId(optional): A locked quote ID from the Create Quote endpointpremiumSpread(optional): A spread percentage to apply to the exchange rate
Transaction Status Progression
CRYPTO_NOT_RECEIVEDis not final: a deposit that arrives after the window closed moves the off-ramp back toCRYPTO_RECEIVED.FAILEDmeans the crypto could not be sent on after it was received. Capa still holds it, so the off-ramp can move into a refund.AWAITING_REFUNDcan also be entered from every status above exceptCRYPTO_NOT_RECEIVED,CANCELLED,EXPIREDandREFUNDED; only the edges fromFAILEDandCOMPLETEDare drawn. A refund fromCOMPLETEDhappens when the payout provider reverses a payment it had reported as delivered.AWAITING_MANUAL_FIAT_TRANSFERmeans Capa’s operations team sends the fiat payout manually. Operations can also intervene manually in other cases.statusis an open enum. See Transaction Statuses for every value and the full transition table.
Settlement Times
Expected settlement times for MXN off-ramp fiat payouts:The times above apply to same-day settlements. For forwarded OTC quotes that use the
forwardingDays parameter (1–4), the fiat payout is scheduled on settlement day T+N and the 10–30 minute window applies once that day arrives.Over-Funding
If a partner sends more crypto than the quoted amount, the excess remains in the user’s wallet and is not included in the off-ramp transaction.SPEI Payout Reference
Off-ramp fiat payouts via SPEI include the sanitized transaction ID (with dashes, the- character, removed) in the concepto field, allowing partners to match payouts to specific off-ramp orders.
For example, a transaction ID of f51f2332-c7d4-40eb-8fb2-11e1608bc24c appears in the concepto as f51f2332c7d440eb8fb211e1608bc24c.
Rounding
Fiat amounts are returned with 2 decimal places, rounded half away from zero. Crypto amounts have up to 6 decimal places; a crypto amount you send with more decimals is rounded to 6. The amount you send is exact once rounded, and the transaction amount you fund and reconcile against is that rounded value; the other side is derived from the rate. If the user sends more crypto than the transaction amount, the difference stays in the user’s wallet. See the FAQ for the JSON types of amounts and fees.Execute Off-Ramp (Forwards-Enabled Partners)
This section only applies to partners enabled for forwards who hold crypto in their wallet. To enable this feature, contact the Capa development team.
transactionId.
This call triggers the CRYPTO_RECEIVED_OFF_RAMP webhook event and starts the fiat payout process.
"partner is not configured for manual off-ramp execution", this feature has not been enabled for your partner account. Contact the Capa team to request enablement.
Available Platforms
- Partner API: Off-ramp operations are 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.
- Sandbox: Test and manage off-ramp transactions, users, quoting, and webhook configuration in the sandbox environment.
- Dashboard: Manage off-ramp transactions, users, quoting, and webhook configuration in production.
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
Dominican Republic Banks
JSON