Skip to main content

Frequently Asked Questions

KYC & User Verification

  1. Create the User via the Create User endpoint.
  2. Verify the User using one of three options:
  3. Get the result via webhooks (VERIFIED_USER, REJECTED_KYC, REVIEW_NEEDED_KYC) or by polling.
The documents field in the KYC endpoint is for ADDRESS_PROOF only — government ID front/back goes in the identity object (frontIdUrl, backIdUrl). The selfie is a separate top-level selfieUrl field.
For the direct KYC API (identity.type), the accepted values are GOVERNMENT_ID, RESIDENT_CARD, and TAX_ID for all countries.For the file-based KYC upload flow, the accepted document types are NATIONAL_ID, VOTER_ID, PASSPORT, and TAX_ID for all countries including Mexico.
The taxId field expects an RFC (Registro Federal de Contribuyentes), not a CURP. The format must match:
Example: LOZG7802117B9CURP is not accepted.
No. The documents array with ADDRESS_PROOF is required only if the identity document used is not an INE. If the user submits an INE and their address matches their current address, ADDRESS_PROOF can be omitted.
All URLs must be publicly accessible or pre-signed with a minimum TTL of 30 minutes. Short-lived signed URLs (a few seconds) will fail with a download error such as SELFIE_DOWNLOAD_FAILED or FRONT_ID_DOWNLOAD_FAILED.
No. In the sandbox environment, KYC verification does not perform real identity checks. You can submit random or test data — documents do not need to be genuine.
There are approximately 150 valid values. See the full list in the Submit KYC Data API reference. Common examples include DESARROLLO DE SOFTWARE, CONSULTORIA, FINANCIERA, EDUCACION, RESTAURANTE.
These are optional MX-only fields. They are only needed when the person performing the transaction is different from the user — for example, if someone else is the beneficial owner of the funds. If the user is both the sender and the recipient, these fields can be omitted.
All countries listed in the API spec are live: MX, DO, US, and EU/SEPA countries (AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, IS, LI, NO, CH, GB, MC, SM, AD, VA). CN (China) is coming soon for off-ramps only.

User Management

It is not an error. If a user with the same externalUserId already exists under your partner account, the API returns a success response with that user’s existing userId; the email in the request is ignored. Use externalUserId to make user creation safe to retry.
There are currently no API endpoints to update or delete users. For user deletion requests, contact derechosarco@capa.fi.

Webhooks

Capa makes up to 5 delivery attempts per notification, at about +0, +1, +6, +16 and +31 minutes. If all of them fail, the notification is marked FAILED, and you can retry it manually up to 3 times.Any 2xx response counts as delivered. Any other status code (including redirects), a timeout or a connection error is retried. See Delivery Semantics.
Yes, per notification. List Webhook Notifications (filter status=FAILED or NOT_SENT) and call Retry Webhook Notification, up to 3 times per notification. The retried delivery keeps the same capa-delivery-id. As a fallback, poll the List Transactions or Get KYC Details endpoints to check the latest status.
No. Each partner can register a single webhook URL per environment. Use the Webhook Settings endpoint to update it.
Yes. If a webhook URL is configured in the sandbox environment, webhooks will fire during mock testing, allowing you to test your webhook handling end-to-end.
Yes. When you receive the COMPLETED_ON_RAMP event, the crypto has been sent and is already in the user’s destination wallet.
FIAT_RECEIVED_ON_RAMP means that fiat has been received and the conversion to crypto has started — but the crypto has not been sent yet. Wait for COMPLETED_ON_RAMP to confirm delivery.
No. If a user is already verified, re-submitting KYC does not trigger a new webhook event.
Two events fire when bank account verification completes:
  • VERIFIED_BANK_ACCOUNT — The bank account was successfully verified.
  • REJECTED_BANK_ACCOUNT — The bank account verification was rejected.
These use type: "USER" and include the userBankInfoId in the payload.

Quotes & Transactions

A locked quote is valid for 10 seconds after creation (see the expiresAt field in the response) and can be used once: a second transaction with the same quoteId is rejected. Once a quote is used to create a transaction, the rate is locked for that transaction regardless of the 10-second window.
No. The quoteId parameter is optional when creating an on-ramp, off-ramp, or cross-ramp transaction. If no quote is provided, the exchange rate is set when the transaction is created and returned in exchangeRate; it does not change when the transaction is funded. A quote is useful for showing the user a guaranteed rate before they commit.
Yes. The Create Quote endpoint accepts either fiatAmount or cryptoAmount. Use fiatAmount to get how much crypto the user will receive, or cryptoAmount to get how much fiat is needed.
Set premiumSpread when you create the quote; the quote carries it into the transaction. What happens if you also send it when creating the transaction depends on the type:
  • On-ramp and off-ramp: the quote’s premiumSpread is used and any premiumSpread in the transaction request body is ignored.
  • Cross-ramp: sending premiumSpread together with a quoteId is rejected with 400. Omit it.
The valid range is 0 to 1 (representing 0% to 100%).
These limits may change. There is no per-partner variation.
No. Once a transaction is created, it does not have an expiration time or expires_at field. Transactions can only be cancelled via the Cancel Transaction endpoint or by an admin.
No. The API does not currently support idempotency keys. Sending the same request twice will create two separate transactions. Implement safeguards in your integration to prevent duplicate submissions.
  • Rounding: fiat amounts in REST responses are rounded half away from zero (1.005 becomes 1.01).
  • Which amount is exact: the one you send, after the rounding above (a crypto amount sent with more than 6 decimals is exact once rounded to 6). If you quote or create by fiat amount, the fiat side is exact and the crypto side is derived from the rate (after spread) and then adjusted by any fixed fee; quoting by crypto amount works the other way round. For cross-ramps, the same applies to sourceAmount and targetAmount.
  • Rates (rate, exchangeRate, marketRate) have no fixed number of decimals. From 2026-11-21 they have at most 6 (see the changelog); still don’t depend on a fixed number.
  • Off-ramp funding: if the user sends more crypto than the transaction amount, the difference stays in the user’s wallet.
  • Requests: send amounts as JSON numbers.
  • REST responses: amounts and rates are JSON numbers, except:
    • fees[].fee, which is a decimal string;
    • balance in Get Wallet Balances, which is a decimal string;
    • marketRate in List Transactions, which is currently a decimal string (for example "17.1234560000"), while the create endpoints return it as a number. It becomes a JSON number on 2026-11-21 (see the changelog).
  • Webhooks: amounts are decimal strings with 2 decimals for fiat and 6 for crypto; exchangeRate is a JSON number. See Transaction Events.
Parse every amount into a decimal type (not a binary float), and accept both a JSON number and a numeric string.
Quotes (on-ramp, off-ramp and cross-ramp), Create On-Ramp, Create Off-Ramp, Create Cross-Ramp and List Transactions return:
  • fees: an array of { fee, currency, type, name }. fee is a decimal string; type is amount or percentage; name is fixed_fee, variable_fee or spread_amount. The array is omitted when there are no fees to show.
  • spread: the spread applied, as a decimal fraction (0.005 = 0.5%).
  • marketRate: the reference rate before the spread (not returned by Create Cross-Ramp).
The fee currency is always MXN, DOP, USD or EUR: the transaction’s fiat currency, or the source currency for a cross-ramp. The spread is already applied inside the rate; the spread_amount item only shows it as money, so don’t deduct it again. The rate and marketRate exclude fixed fees: fixed fees are applied to the amounts, so always use the returned amounts.
The cross-ramp rate and exchangeRate are always expressed as a number of at least 1, whichever direction the money moves. For example, 500 MXN to 25 USD gives 20, and 25 USD to 500 MXN also gives 20. sourceCurrency and targetCurrency usually tell you the direction, but not for a near-parity pair (EUR and USD), where the spread can decide it. Before fees, the target amount is the source amount divided by the rate when the target currency is worth more per unit than the source after the spread (MXN to USD), and multiplied by it when it is worth less (USD to MXN). rate, exchangeRate and marketRate exclude fixed fees: fixed fees are applied to the amounts, so always use the returned sourceAmount and targetAmount rather than recomputing them.

On-Ramp

For Mexico, a dedicated CLABE (bank account identifier) is automatically created when the user’s KYC is verified — no separate API call is needed. The CLABE is returned in the on-ramp creation response under bankAccount.accountIdentifier and can also be retrieved via the Get Bank Info endpoint.
Yes. The CLABE is permanent and reusable across all on-ramp transactions for the user. It does not expire or change unless the user is deactivated or the partner migrates banks.
Yes. An on-ramp transaction must be created before making the fiat deposit. Deposits received without a matching active on-ramp order will be refunded at end of business day.
For MXN (SPEI) deposits, include the transaction ID (with or without dashes) in the SPEI concepto field. This matches the deposit to the correct order. If no transaction ID is in the concepto, the deposit is matched by amount + CLABE. If multiple orders share the same amount, the oldest order is matched first. If neither method matches an open order, the deposit is refunded at end of business day. For DOP, USD, and EUR deposits, matching is handled internally by Capa.
Yes. Multiple on-ramp transactions can be created simultaneously for a single user.
No. The CLABE alone is sufficient. The account holder name auto-populates in the sender’s banking app when they enter the CLABE.

Off-Ramp

The excess crypto remains in the user’s wallet and is not included in the off-ramp transaction.
For MXN off-ramp payouts via SPEI:
  • Under 50,000 MXN: ~2–3 minutes
  • Over 50,000 MXN: 10–30 minutes
For forwarded OTC quotes using forwardingDays (1–4), the payout is scheduled on settlement day T+N; the 10–30 minute window applies once that day arrives.
Yes. The off-ramp fiat payout includes the sanitized transaction ID (with dashes, the - character, removed) in the SPEI concepto field, allowing you 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.
This error means the Execute Off-Ramp feature has not been enabled for your partner account. This feature is required for forwards-enabled partners. Contact the Capa development team to request enablement.
Forwards allow partners to lock a rate now and settle the transaction T+N days later. Use the forwardingDays parameter (0–4) when creating a locked quote for MXN OTC orders. This feature requires the manual off-ramp execution flow to be enabled — all off-ramps must be explicitly executed via the Execute Off-Ramp endpoint.

Response Fields

Fields marked as required in the API reference are always present. A field that doesn’t apply is usually omitted from the JSON rather than sent as null; the reference marks the few fields that are sent as null (for example completedAt on Create On-Ramp and Create Off-Ramp before completion or clabe on non-MX bank accounts). Treat a missing field and a null field the same way.Some fields depend on the transaction type. In List Transactions, ON_RAMP and OFF_RAMP items carry tokenSymbol, blockchainSymbol, fiatCurrency, fiatAmount, cryptoAmount and bankAccount, while CROSS_RAMP items carry sourceCurrency, targetCurrency, sourceAmount, targetAmount, sourceBankAccount (omitted while WAITING_INVOICE) and targetBankAccount instead.
Timestamps such as createdAt, updatedAt, completedAt, expiresAt and verifiedAt are ISO 8601 date-times in UTC with milliseconds, for example 2026-11-05T14:03:12.345Z.Date fields in Get KYC Details (birthDate, idExpiryDate, idIssueDate, and the OCR dates) are passed through from our KYC provider as strings with no guaranteed format. Parse them defensively.
Treat response enums such as blockchainSymbol, tokenSymbol and cancellationReason as open: values can be added, so ignore values you don’t recognise instead of failing. The supported values are USDC and USDT for tokenSymbol, and POL, SOL, ETH, BSC and TRX for blockchainSymbol.
cancellationReason is one of USER_CANCELLED, ADMIN_CANCELLED, QUOTE_EXPIRED, NAME_VERIFICATION_FAILED, AMOUNT_VERIFICATION_FAILED, POST_VERIFICATION_FAILED, WALLET_RISK_CHECK_FAILED or INTERNAL_ERROR. It is never free text. It is present only on cancelled transactions, in List Transactions and in the CANCELLED_* webhooks.

Rate Limits & Errors

All API endpoints are rate-limited to 10 requests per second per partner. Exceeding this limit returns a 429 Too Many Requests response. The limits are the same across all endpoints. Rate limit information is not included in response headers.
All errors follow this structure:
Common HTTP status codes: 400 (validation), 401 (unauthorized), 403 (forbidden), 404 (not found), 409 (conflict/duplicate), 429 (rate limit).

Sandbox & Testing

Use the Mock Testing Guide to simulate transaction flows with special amounts — 1000.0x for on-ramp and off-ramp, and 2000.0x for cross-ramp. Webhooks fire during mock testing if a webhook URL is configured.

Refunds

No. There is no self-service refund endpoint. If a refund is needed (e.g., a deposit without a matching on-ramp order), Capa’s FX agents will get in contact to handle the refund process.

KYB & Third-Party Payments

KYB is available as a link-based flow only. Use the Generate KYB Link endpoint to create a verification link for business users. Full API-driven KYB is not available due to the complexity of MX regulations.