# VelaFi ## Get Started ### Get Started - [VelaFi API Docs](https://docs.velafi.com/index.md): One REST API to move money between local currencies and stablecoins. - [Introduction](https://docs.velafi.com/docs/introduction.md): VelaFi lets enterprise developers build fiat-to-crypto on-ramps, crypto-to-fiat off-ramps, and global fiat payment flows via stablecoin rails. - [Quickstart](https://docs.velafi.com/docs/quickstart.md): Set up your VelaFi account, generate an API key, and send your first authenticated API request in under 15 minutes with this step-by-step quickstart. - [Sandbox](https://docs.velafi.com/docs/sandbox.md): Use the VelaFi sandbox to build and validate your integration against simulated data — no real funds, no KYC, and no risk before you go to production. ### Core Use Cases - [Core Use Cases](https://docs.velafi.com/docs/use-cases/overview.md): End-to-end guides for the most common VelaFi integrations: collecting local payments, paying out, converting to and from stablecoins, and onboarding merchants. - [Collect Local Payments with Virtual Accounts](https://docs.velafi.com/docs/use-cases/collect-with-virtual-accounts.md): Give each payer their own local bank details, credit their payments to the merchant's fiat balance, and match every deposit to the payer with depositAlias. - [Pay Out Local Currency from the Balance](https://docs.velafi.com/docs/use-cases/payouts-from-balance.md): Send local-currency payouts from a merchant's fiat balance to a saved beneficiary, track them with FUNDING_WEBHOOK, and move balance between your merchants. - [Convert Local Currency to Stablecoins](https://docs.velafi.com/docs/use-cases/convert-to-stablecoins.md): Buy USDT or USDC with local currency through a fiat_to_crypto order, paid from your Pending Fund balance or by a payer for each order, and deliver the crypto to your wallet or an external address. - [Pay Out Local Currency Funded by Stablecoins](https://docs.velafi.com/docs/use-cases/payouts-funded-by-stablecoins.md): Fund a merchant wallet with USDT or USDC and pay local currency, USD or EUR to a registered beneficiary with crypto_to_fiat orders, including failure handling and reconciliation. - [Onboard Your Customers as Merchants](https://docs.velafi.com/docs/use-cases/onboard-your-customers.md): Register your own customers as VelaFi merchants through the API, send them through KYC/KYB, and activate their local currency accounts. - [Go-Live Checklist](https://docs.velafi.com/docs/use-cases/go-live-checklist.md): Check credentials, webhooks, idempotency, error handling, reconciliation, limits and monitoring before you move a VelaFi integration to production. ## Documentation ### Core Concepts - [Merchants](https://docs.velafi.com/docs/merchants.md): Create and verify individual or business merchants, choose a management mode, and activate fiat payment channels across seven currencies and countries. - [Supported Currencies](https://docs.velafi.com/docs/currencies.md): Full reference for every cryptocurrency and fiat currency VelaFi supports, including protocols, decimal precision, and the countries each fiat serves. - [Trading Pairs](https://docs.velafi.com/docs/pairs.md): Browse all supported fiat-to-crypto on/off ramp pairs and fiat-to-fiat global payment pairs, with direction support and decimal precision for each. - [Payment Methods](https://docs.velafi.com/docs/payment-methods.md): Complete reference for VelaFi payment method IDs — automatic and manual — with settlement times, bank partners, and sandbox ID mappings. - [Transaction Limits](https://docs.velafi.com/docs/limits.md): Understand VelaFi's default transaction limits for merchants, individual users, and business accounts by country — and how to request a higher limit. - [Order Statuses](https://docs.velafi.com/docs/order-statuses.md): What each orderStatus value means for fiat_to_crypto, crypto_to_fiat, and fiat_to_fiat orders, and which statuses end an order. ### Guides - [Create an Account](https://docs.velafi.com/docs/guides/creating-account.md): Sign up for a VelaFi account in minutes, then log in and complete the next steps to start accepting and sending payments globally. - [Create an API Key](https://docs.velafi.com/docs/guides/creating-api-key.md): Enable API access, create your API key and secret, whitelist your server IPs, and use them to get the token you send in the X-BH-TOKEN header. - [Create a Merchant](https://docs.velafi.com/docs/guides/creating-merchant.md): Register an individual or business merchant, initiate KYC/KYB verification, and receive a Merchant ID to use in all subsequent API calls. - [Activate a Merchant Account](https://docs.velafi.com/docs/guides/activating-merchant-account.md): Activate fiat currency payment channels for a merchant to enable local bank deposits and withdrawals across MXN, ARS, BRL, COP, PEN, USD, and EUR. - [Manage Beneficiaries](https://docs.velafi.com/docs/guides/managing-beneficiaries.md): Save payment destinations for off-ramp and global payments by fetching templates, adding beneficiaries, and managing them via the VelaFi API. - [On-Ramp (Fiat to Crypto)](https://docs.velafi.com/docs/guides/on-ramp.md): Accept local fiat payments from your users and automatically deliver crypto to their wallets using the VelaFi fiat-to-crypto on-ramp API. - [Off-Ramp (Crypto to Fiat)](https://docs.velafi.com/docs/guides/off-ramp.md): Accept crypto from your users and deliver local fiat currency directly to their bank accounts using the VelaFi crypto-to-fiat off-ramp API. - [Global Payments (Fiat to Fiat)](https://docs.velafi.com/docs/guides/global-payments.md): Send fiat currency across borders and deliver local fiat to any bank account using VelaFi's stablecoin-powered global payment rails. - [Webhooks](https://docs.velafi.com/docs/guides/webhooks.md): Register webhook endpoints to receive instant HTTP callbacks for order status changes, funding events, and global payment updates from VelaFi. ### Reference - [Error Codes](https://docs.velafi.com/docs/error-codes.md): Complete reference for all VelaFi API error codes and messages, organized by category to help you diagnose and resolve integration issues quickly. ## API Reference ### Overview - [API Overview](https://docs.velafi.com/api-reference/overview.md): Explore the VelaFi REST API: base URLs, JSON request format, standard response envelope, rate limits, and links to key resource sections. - [Authentication](https://docs.velafi.com/api-reference/authentication.md): Sign a request with your API key and secret to get a business token from GET /v2/token/generate, then send the token in the X-BH-TOKEN header. - [Generate a Token](https://docs.velafi.com/api-reference/generate-token.md): Sign a request with your API key and secret to get the business token that authenticates other VelaFi API calls in the X-BH-TOKEN header. ### Account - [Get Account Details](https://docs.velafi.com/api-reference/account/get-account-details.md): Retrieve basic account information for the authenticated user, including company name, country, KYC status, and monthly transaction limits. ### Configuration - [Base URLs](https://docs.velafi.com/api-reference/basic-configuration/api-endpoint.md): Reference for VelaFi's production and sandbox REST API base URLs. Point your HTTP client at the correct environment before making any requests. - [List Countries](https://docs.velafi.com/api-reference/basic-configuration/get-list-of-countries.md): Retrieve the full list of countries supported by VelaFi. Filter by validity status to return only active countries or include all records. - [List Fiat Currencies](https://docs.velafi.com/api-reference/basic-configuration/get-list-of-fiat-currencies.md): Retrieve all fiat currencies supported by VelaFi, including the associated country name and decimal precision used for each currency's trade amounts. - [List Cryptocurrencies](https://docs.velafi.com/api-reference/basic-configuration/get-list-of-crypto-currencies.md): Retrieve all cryptocurrencies supported by VelaFi, along with the decimal precision used for each asset when expressing trade amounts. - [List Fiat→Crypto Pairs](https://docs.velafi.com/api-reference/basic-configuration/get-fiat-crypto-pairs.md): Retrieve all supported fiat-to-crypto trading pairs for the on-ramp flow, including the country, fiat symbol, crypto symbol, and trade precision. - [List Crypto→Fiat Pairs](https://docs.velafi.com/api-reference/basic-configuration/get-crypto-fiat-pairs.md): Retrieve all supported crypto-to-fiat trading pairs for the off-ramp flow, including country, fiat symbol, crypto symbol, and trade decimal precision. - [List Fiat→Fiat Pairs](https://docs.velafi.com/api-reference/basic-configuration/get-fiat-fiat-pairs.md): Retrieve all supported fiat-to-fiat global payment pairs, including originating and recipient country, fiat symbols, and decimal trade precision. - [List Fiat→Crypto Payment Methods](https://docs.velafi.com/api-reference/basic-configuration/get-fiat-crypto-payment-methods.md): Retrieve the available payment methods for a fiat-to-crypto on-ramp pair, including fees and whether each method is automatic or manual. - [List Crypto→Fiat Payment Methods](https://docs.velafi.com/api-reference/basic-configuration/get-crypto-fiat-payment-methods.md): Retrieve the available payment methods for a crypto-to-fiat off-ramp pair, including fees and whether each method is automatic or manual. - [List Fiat→Fiat Payment Methods](https://docs.velafi.com/api-reference/basic-configuration/get-fiat-fiat-payment-methods.md): Retrieve payment methods for a fiat-to-fiat global payment corridor, including separate method lists for the sending and receiving currencies. - [Upload a File](https://docs.velafi.com/api-reference/basic-configuration/upload-file.md): Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format. ### Merchants - [Create a Merchant](https://docs.velafi.com/api-reference/merchant/create-merchant.md): Register a new individual or business merchant under VelaFi's compliance framework and receive a unique KYC/KYB verification link. - [List Merchants](https://docs.velafi.com/api-reference/merchant/get-a-list-of-merchants.md): Retrieve a paginated list of merchants with their KYC verification status, daily and monthly transaction limits, and current usage figures. - [Activate an Individual Merchant Account](https://docs.velafi.com/api-reference/merchant/activate-merchant-account-for-individual.md): Activate a fiat payment channel for an individual merchant supporting MXN, ARS, COP, BRL, PEN, USD, and EUR via local payment providers. - [Activate a Business Merchant Account](https://docs.velafi.com/api-reference/merchant/activate-merchant-account-for-business.md): Activate a fiat payment channel for a business merchant across MXN, ARS, COP, BRL, PEN, USD, and EUR currencies and payment providers. - [Create Virtual Accounts](https://docs.velafi.com/api-reference/merchant/create-multiple-virtual-account.md): Create an additional virtual sub-account for a merchant under an existing activated fiat payment channel to enable per-alias fund routing. - [List Merchant Accounts](https://docs.velafi.com/api-reference/merchant/get-a-list-of-merchant-accounts.md): Retrieve a paginated list of merchant fiat payment accounts with their activation status, current balances, and monthly transaction limits. - [Request a Limit Upgrade](https://docs.velafi.com/api-reference/merchant/upgrade-merchant-limit.md): Submit a merchant limit upgrade request to increase daily or monthly transaction caps via an additional compliance verification flow. - [Get Pending Fund Account](https://docs.velafi.com/api-reference/merchant/get-pending-fund-account.md): Retrieve banking credentials or a payment link for a merchant's Pending Fund account to pre-load available fiat balance before trading. - [List Virtual Accounts](https://docs.velafi.com/api-reference/merchant/get-multiple-virtual-account.md): Retrieve a paginated list of virtual sub-accounts and their banking credentials for a merchant across all supported fiat currencies. - [Claim Pending Funds](https://docs.velafi.com/api-reference/merchant/claim-pending-fund.md): Withdraw available balance from a merchant's Pending Fund account to a registered payment method and receive a trackable transaction ID. - [Get Transfer Fee](https://docs.velafi.com/api-reference/merchant/get-transfer-pending-funds-fee.md): Look up the applicable inter-merchant transfer fee for a fiat currency before initiating a Pending Fund transfer — fixed or percentage model. - [Transfer Pending Funds](https://docs.velafi.com/api-reference/merchant/transfer-pending-funds.md): Move fiat balance from one merchant's Pending Fund account to another merchant within the VelaFi platform instantly and without a bank transfer. - [List Funding Records](https://docs.velafi.com/api-reference/merchant/retrieve-funding-records.md): List all Pending Fund account activity for a merchant including deposits, withdrawals, crypto purchases, refunds, and internal transfers. - [List Fiat Flows](https://docs.velafi.com/api-reference/merchant/get-a-list-merchant-fiat-flow.md): Retrieve a double-entry ledger view of all fiat balance movements for a merchant, including trade lines, fee entries, and rollback events. - [Get Crypto Balance](https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance.md): Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key. - [Get Crypto Deposit Address](https://docs.velafi.com/api-reference/merchant/get-crypto-deposit-address.md): Retrieve the on-chain deposit address for a specific token and blockchain network for a merchant wallet, including confirmation requirements. - [Create a Crypto Transfer](https://docs.velafi.com/api-reference/merchant/crypto-transfer.md): Transfer crypto assets instantly between two VelaFi merchant custody wallets as an internal transfer without incurring on-chain gas fees. - [List Crypto Transfers](https://docs.velafi.com/api-reference/merchant/query-crypto-transfers.md): Query the full history of internal crypto transfers between merchant wallets, filterable by token symbol, date range, and client ID. - [Get Woovi Liveness URL](https://docs.velafi.com/api-reference/merchant/get-woovi-liveness-url.md): Retrieve or regenerate the Woovi liveness verification URL required to complete BRL Pix - Woovi account activation for individual merchants. ### Crypto Wallet - [Get Withdrawal Quota](https://docs.velafi.com/api-reference/crypto-wallet/get-withdrawal-quota.md): Look up the minimum withdrawal amount, the supported networks, and the configured network fee for a crypto token before you create a withdrawal. - [Create a Crypto Withdrawal](https://docs.velafi.com/api-reference/crypto-wallet/create-crypto-withdrawal.md): Withdraw crypto from a merchant's VelaFi custody wallet to an address on your withdrawal whitelist. - [List Crypto Deposits](https://docs.velafi.com/api-reference/crypto-wallet/get-crypto-deposit-history.md): List on-chain crypto deposits into your VelaFi merchant wallets, newest first, filtered by token, transaction hash, merchant, and time range. - [List Crypto Withdrawals](https://docs.velafi.com/api-reference/crypto-wallet/get-crypto-withdrawal-history.md): List crypto withdrawals from a VelaFi merchant wallet, newest first, filtered by token, clientId, and time range. - [Add a Whitelist Address](https://docs.velafi.com/api-reference/crypto-wallet/add-whitelist-address.md): Add a destination address to your crypto withdrawal whitelist. API withdrawals can only go to whitelisted addresses. - [List Whitelist Addresses](https://docs.velafi.com/api-reference/crypto-wallet/get-whitelist-addresses.md): List the addresses on your crypto withdrawal whitelist, with optional filters and pagination. - [Delete a Whitelist Address](https://docs.velafi.com/api-reference/crypto-wallet/delete-whitelist-address.md): Remove an address from your crypto withdrawal whitelist so it can no longer receive API withdrawals. ### Beneficiaries - [List Supported Payment Methods](https://docs.velafi.com/api-reference/beneficiary/get-supported-payment-methods.md): List the payout payment methods available for a country and fiat currency, each with its template fields. - [Get Payment Templates](https://docs.velafi.com/api-reference/beneficiary/get-payment-templates.md): Retrieve the required field template for any payment method. Use the returned keys as fieldJson keys when adding a new beneficiary. - [Get Template Metadata](https://docs.velafi.com/api-reference/beneficiary/get-payment-templates-metamessage.md): Retrieve rich field-level metadata for a payment method template, including validation rules, text types, and dropdown option lists. - [Add a Beneficiary](https://docs.velafi.com/api-reference/beneficiary/add-beneficiary.md): Register a new payment beneficiary for a merchant. Supply payment method fields from the template endpoint and receive a beneficiary ID on success. - [List Beneficiaries](https://docs.velafi.com/api-reference/beneficiary/get-beneficiary.md): Retrieve a paginated list of registered beneficiaries, optionally filtered by country, status, fiat currency, and merchant ID to locate a specific record. - [Delete a Beneficiary](https://docs.velafi.com/api-reference/beneficiary/delete-beneficiary.md): Permanently remove a registered beneficiary by its user payment ID. Deleted beneficiaries cannot be used in future off-ramp or global payment orders. - [Set the Refund Account](https://docs.velafi.com/api-reference/beneficiary/set-refund-account.md): Designate a validated beneficiary as the refund account for a merchant. When an order is reversed, VelaFi sends the funds to this account automatically. - [Check an Alias (ARS)](https://docs.velafi.com/api-reference/beneficiary/check-alias.md): Look up the CBU/CVU, status, and account holders behind an Argentine account alias. - [Check a CVU/CBU (ARS)](https://docs.velafi.com/api-reference/beneficiary/check-cvu.md): Look up the holder CUIT and name registered for an Argentine CVU or CBU. ### Quotes - [Get a Crypto/Fiat Quote](https://docs.velafi.com/api-reference/quote/get-user-quote-for-crypto-fiat.md): Fetch a real-time crypto-to-fiat or fiat-to-crypto price quote. Optionally reserve the rate with a quoteId for order creation. - [Get a Fiat/Fiat Quote](https://docs.velafi.com/api-reference/quote/get-user-quote-for-fiat-fiat.md): Fetch a real-time exchange rate for a fiat-to-fiat global payment corridor. Optionally lock the rate using a single-use quoteId. ### Orders - [Create an On-Ramp Order](https://docs.velafi.com/api-reference/order/create-a-fiat-to-crypto-order.md): Create a fiat-to-crypto on-ramp order. A user pays in local fiat and receives cryptocurrency to their wallet at the current exchange rate. - [Create an Off-Ramp Order](https://docs.velafi.com/api-reference/order/create-a-crypto-to-fiat-order.md): Create a crypto-to-fiat off-ramp order. The crypto is debited from the merchant's crypto balance and local fiat is paid out to a registered beneficiary. - [Create a Global Payment Order](https://docs.velafi.com/api-reference/order/create-a-fiat-to-fiat-order.md): Create a fiat-to-fiat global payment order. Funds are collected in one country's fiat and paid out in another's via stablecoin rails. - [Confirm an Order](https://docs.velafi.com/api-reference/order/confirm-a-specific-order.md): Confirm an order from your side: mark a manual-payment order as paid, or complete a paid off-ramp order. The effect depends on orderType. - [Get an Order](https://docs.velafi.com/api-reference/order/retrieve-a-specific-order.md): Retrieve full details and current status for a single order by its ID. Supports fiat-to-crypto, crypto-to-fiat, and fiat-to-fiat order types. - [List Orders](https://docs.velafi.com/api-reference/order/retrieve-a-list-of-orders.md): Retrieve a paginated list of orders of one order type per request. Filter by status and date range. Supports all three order types. - [Upload Order Documents](https://docs.velafi.com/api-reference/order/upload-invoice-documents-for-a-specific-order.md): Attach invoice or supporting documents to a specific order. Required when an order is in RFI status or pending document submission before release. ### Webhooks - [Webhook Setup](https://docs.velafi.com/api-reference/webhooks/webhook-setup.md): Configure your server to receive VelaFi webhook events and validate RSA-SHA256 payload signatures with sample code in Java, Python, and JavaScript. - [Create a Webhook](https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints.md): Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals. - [List Webhooks](https://docs.velafi.com/api-reference/webhooks/get-webhook-endpoints.md): Retrieve all webhook endpoints registered on your account, optionally filtered by status to find active, disabled, or deleted hooks. - [Update a Webhook](https://docs.velafi.com/api-reference/webhooks/update-a-webhook.md): Update the callback URL or enable/disable an existing webhook endpoint by supplying its webhookId as a path parameter in the request. - [Delete a Webhook](https://docs.velafi.com/api-reference/webhooks/delete-a-webhook.md): Permanently remove a registered webhook endpoint by its webhookId. VelaFi stops all further event delivery to the callback URL immediately. - [Order Event](https://docs.velafi.com/api-reference/webhooks/fiat-crypto-order-message-push.md): Reference for the ORDER_WEBHOOK event payload VelaFi sends to your endpoint when a fiat-to-crypto or crypto-to-fiat order status changes. - [Global Payment Event](https://docs.velafi.com/api-reference/webhooks/fiat-fiat-order-message-push.md): Reference for the GLOBAL_PAYMENT_WEBHOOK event payload VelaFi sends when a fiat-to-fiat cross-border payment order status changes. - [Funding Event](https://docs.velafi.com/api-reference/webhooks/funding-records-message-push.md): Reference for the FUNDING_WEBHOOK payload VelaFi sends for fiat activity on a merchant's Pending Fund account, such as a fiat deposit, fiat withdrawal, or refund. - [Stablecoin Payment Event](https://docs.velafi.com/api-reference/webhooks/stablecoin-payment-order-message-push.md): Reference for the STABLE_COIN_PAYMENT_WEBHOOK payload VelaFi sends to your endpoint when a stablecoin payment order is confirmed. - [On-Ramp Withdrawal Event](https://docs.velafi.com/api-reference/webhooks/on-ramp-withdraw-message-push.md): Reference for the ON_RAMP_WITHDRAW_WEBHOOK payload VelaFi sends when the crypto from a completed API on-ramp order has been withdrawn to the order's destination wallet. - [Crypto Withdrawal Event](https://docs.velafi.com/api-reference/webhooks/crypto-withdraw-message-push.md): Reference for the CRYPTO_WITHDRAW_WEBHOOK payload VelaFi sends when a crypto withdrawal from a merchant wallet succeeds, fails, or is cancelled. ## Developer Tools ### Developer Tools - [Build with AI](https://docs.velafi.com/docs/developer-tools/build-with-ai.md): Connect Claude, ChatGPT, Cursor, VS Code and other AI tools to the VelaFi docs through the VelaFi MCP server, so their answers come from the current documentation. - [Agent Skills](https://docs.velafi.com/docs/developer-tools/agent-skills.md): Install VelaFi agent skills so Claude Code, Codex, Cursor and other AI coding assistants follow tested steps, rules and self-checks when they build a VelaFi integration. ## Changelog ### Changelog - [Changelog](https://docs.velafi.com/docs/changelog.md): A complete history of VelaFi API releases — new endpoints, updated workflows, webhook additions, and documentation improvements across all versions. > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Chinese (100 pages)](https://docs.velafi.com/_llms/cn.txt): 快速入门, 文档, API 参考, 开发者工具, 更新日志. - [Spanish (100 pages)](https://docs.velafi.com/_llms/es.txt): Primeros pasos, Documentación, Referencia de API, Herramientas, Registro de cambios. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.