# Lumx > Stablecoin infrastructure for global payments, treasury, and payouts - [Welcome](https://docs.lumx.io/get-started/welcome.md): Stablecoin infrastructure for global payments, treasury, and payouts - [Authentication](https://docs.lumx.io/get-started/authentication.md): Get your authentication credentials to start sending requests. - [Environments](https://docs.lumx.io/get-started/environments.md): Sandbox and production base URLs - [Coverage](https://docs.lumx.io/get-started/coverage.md): Explore payment rails and supported pairs - [Pay-in: BRL to USDC](https://docs.lumx.io/quickstarts/pay-in.md): Receive a Pix payment in BRL and deliver it as USDC to your customer's wallet, end to end in the sandbox. - [Payout: USDC to BRL](https://docs.lumx.io/quickstarts/payout.md): Pay out USDC from your customer's wallet to a Pix key in Brazil, end to end in the sandbox. - [Customers](https://docs.lumx.io/concepts/customers.md): Understand customer entities and verification workflows - [Stablecoin Wallets](https://docs.lumx.io/concepts/wallets.md): Hold stablecoin balances and trigger payouts in a single API call - [Accounts](https://docs.lumx.io/concepts/accounts.md): Send and receive fiat with virtual accounts tied to a customer - [Destinations](https://docs.lumx.io/concepts/destinations.md): Configure destinations and holder relationships for payouts - [Exchange Rates](https://docs.lumx.io/concepts/exchange-rates.md): Understand floating and locked exchange rates for currency conversions - [Partner Fees](https://docs.lumx.io/concepts/partner-fees.md): Earn revenue by adding fees to transactions processed through Lumx - [Transactions](https://docs.lumx.io/concepts/transactions.md): Understand transaction types and lifecycle for moving funds - [POBO and COBO](https://docs.lumx.io/concepts/pobo-cobo.md): Pay and collect for your customers in their own name, without nesting - [Terms of Service](https://docs.lumx.io/compliance/terms-of-service.md): How customers accept Lumx's terms of service before verification - [Identity Verification](https://docs.lumx.io/compliance/identity-verification.md): Required data for KYC/B verification processes - [Request for Information](https://docs.lumx.io/compliance/rfi.md): Respond to additional information requests during verification - [Source of Funds and Wealth](https://docs.lumx.io/compliance/source-of-funds.md): Documentation Lumx accepts to verify where a customer's funds and wealth come from - [Proof of Address](https://docs.lumx.io/compliance/proof-of-address.md): Documents Lumx accepts to verify business and individual addresses - [Transaction Limits](https://docs.lumx.io/compliance/transaction-limits.md): Understand transaction thresholds per transaction type and how to request higher limits - [Supported countries](https://docs.lumx.io/compliance/supported-countries.md): Where Lumx operates, where Enhanced Due Diligence applies, and where onboarding is restricted - [Prohibited business activities](https://docs.lumx.io/compliance/prohibited-activities.md): High-risk and prohibited industries under Lumx's AML/CFT, sanctions, and partner-bank policies - [Nested Payments](https://docs.lumx.io/compliance/nested-payments.md): Visibility rules for processing payments through Lumx - [Legal Documents](https://docs.lumx.io/compliance/legal-documents.md): Terms, policies, and legal requirements for using Lumx services - [Webhooks](https://docs.lumx.io/developer/webhooks.md): Receive real-time notifications when resource statuses change - [Idempotency](https://docs.lumx.io/developer/idempotency.md): Prevent duplicate operations with idempotency keys - [Errors](https://docs.lumx.io/developer/errors.md): Error response format and the full catalog of API error codes - [OpenAPI Specification](https://docs.lumx.io/developer/openapi.md): Download the Lumx API specification for use in your tools and workflows - [MCP Server](https://docs.lumx.io/developer/mcp-server.md): Connect AI tools to the Lumx documentation using the Model Context Protocol - [Payment rail cut-off times](https://docs.lumx.io/additional-information/sla-and-cutoffs.md): Daily deadlines and settlement windows for each supported payment rail - [Sender of Record](https://docs.lumx.io/additional-information/sender-of-record.md): Who appears as the sender on the recipient's bank statement - [Business Activities](https://docs.lumx.io/additional-information/company-types.md): Business categories collected on the businessActivity field during KYB onboarding - [Purpose Codes](https://docs.lumx.io/additional-information/purpose-codes.md): Transaction purpose values accepted on on-ramp and off-ramp requests - [Document Types](https://docs.lumx.io/additional-information/document-types.md): Accepted document types for KYC and KYB verification uploads - [Onboarding Fields](https://docs.lumx.io/additional-information/onboarding-fields.md): Self-disclosure enums collected on customer creation and additional information requests - [Tax IDs by Country](https://docs.lumx.io/additional-information/tax-ids-by-country.md): Identification numbers accepted in the taxId field for individual customers by country of residence - [Global accounts](https://docs.lumx.io/guides/use-cases/global-accounts.md): Provision local-currency accounts so each customer can be paid worldwide - [Payroll](https://docs.lumx.io/guides/use-cases/payroll.md): Run global payroll by funding employers in stablecoin and paying employees in local fiat - [Treasury management](https://docs.lumx.io/guides/use-cases/treasury-management.md): Hold working capital in stablecoin, sweep funds between entities, and settle to local fiat on demand - [Remittances](https://docs.lumx.io/guides/use-cases/remittances.md): Send money cross-border by funding senders in local currency and paying recipients on local rails - [Marketplaces](https://docs.lumx.io/guides/use-cases/marketplaces.md): Take a platform fee on every sale and settle sellers anywhere in their local currency - [Create a Customer](https://docs.lumx.io/guides/create-a-customer.md): Register individual and business customers on the Lumx platform - [Individual Verification (KYC)](https://docs.lumx.io/guides/individual-verification.md): Complete identity verification for individual customers - [Business Verification (KYB)](https://docs.lumx.io/guides/business-verification.md): Complete identity verification for business customers - [KYC Reuse](https://docs.lumx.io/guides/kyc-reuse.md): Reuse an existing Sumsub verification to onboard customers without repeating KYC - [Limit Increase Requests](https://docs.lumx.io/guides/limit-increase-requests.md): Request higher transaction limits for a customer through the API - [Autoconversion Rules](https://docs.lumx.io/guides/autoconversion-rules.md): Automatically convert incoming fiat deposits to stablecoin with a standing rule - [Open a Named BRL Account for a Business](https://docs.lumx.io/guides/named-brl-account-for-businesses.md): Create a BUSINESS customer with a BRL account through the Lumx API, pass KYB, and receive Pix in the company's name. Includes statuses and webhooks. - [Collect BRL via Pix and Settle in USDC or USDT](https://docs.lumx.io/guides/use-cases/collect-brl-via-pix-settle-in-stablecoins.md): Receive BRL through Pix with the Lumx API and settle in USDC or USDT on-chain, with an autoconversion rule or a one-off on-ramp. Webhooks included. - [Pay out stablecoins via Pix](https://docs.lumx.io/guides/pix-payout-from-stablecoins.md): Pay out USDC or USDT to a Pix key in Brazil: register the destination, create an off-ramp to BRL, and follow it with webhooks until it settles. - [Convert USDT to MXN and pay out over SPEI](https://docs.lumx.io/guides/use-cases/usdt-to-mxn-spei-payout.md): Register a SPEI destination with a CLABE, quote USDT to MXN, and send an off-ramp that pays a Mexican bank account. Webhooks, hours and errors. - [Lock an FX quote for USDC to BRL](https://docs.lumx.io/guides/locked-fx-quote-usdc-to-brl.md): Request a locked USDC to BRL quote with POST /exchange-rates, then settle the off-ramp at that exact rate with exchangeRateId before the lock expires. - [Pix limits and hours for businesses](https://docs.lumx.io/guides/use-cases/pix-limits-and-hours-for-businesses.md): Brazil's Central Bank sets no fixed Pix cap for companies: each institution sets a daily limit. On Lumx, Pix runs 24/7 within the customer's KYB limits. - [Ship with AI](https://docs.lumx.io/guides/build-with-ai/overview.md): Ship stablecoin payments in apps built with AI coding tools and agents. Lumx drops into any builder through copy-paste prompts, a docs MCP server, and a REST API. - [Build with Lovable](https://docs.lumx.io/guides/build-with-ai/lovable.md): Add cross-border payments to your Lovable app: customer onboarding, on-ramp deposits, and transaction tracking via the Lumx API and a copy-paste prompt. - [Build with v0](https://docs.lumx.io/guides/build-with-ai/v0.md): Generate a Lumx-powered Next.js app from v0: customer onboarding, on-ramp deposits, and transactions with server actions, Vercel env vars, and a copy-paste prompt. - [Build with Bolt.new](https://docs.lumx.io/guides/build-with-ai/bolt.md): Scaffold a Lumx integration in Bolt.new: customer onboarding, on-ramp deposits, and transactions via the Lumx API and a copy-paste prompt — with your key kept server-side. - [Build with Replit](https://docs.lumx.io/guides/build-with-ai/replit.md): Ship a Lumx-powered app from Replit Agent: customer onboarding, on-ramp deposits, and transactions with Replit Secrets and a copy-paste prompt. - [Build with Cursor](https://docs.lumx.io/guides/build-with-ai/cursor.md): Wire Lumx into any project from Cursor: customer onboarding, on-ramp deposits, and transactions via the docs MCP server and a copy-paste prompt. - [Build with Claude Code](https://docs.lumx.io/guides/build-with-ai/claude-code.md): Drop a Lumx integration into any codebase from the terminal: customer onboarding, on-ramp deposits, and transactions via the docs MCP server and a copy-paste prompt. - [Build with Codex](https://docs.lumx.io/guides/build-with-ai/codex.md): Add a Lumx integration to any codebase with OpenAI Codex: customer onboarding, on-ramp deposits, and transactions via the docs MCP server and a copy-paste prompt. - [Build with Grok](https://docs.lumx.io/guides/build-with-ai/grok.md): Connect Grok and Grok Build to the Lumx docs MCP server so answers and code about the Lumx API come from the official documentation. - [Prompts for coding agents](https://docs.lumx.io/prompts/overview.md): Copy-paste prompts that give your coding agent the exact Lumx endpoints, enums, and constraints for onboarding, payouts, webhooks, migrations, and go-live. - [Lumx sandbox quickstart](https://docs.lumx.io/prompts/sandbox-quickstart.md): A copy-paste prompt that takes your agent from an empty project to a full converted deposit in the Lumx sandbox, without a real bank transfer. - [Connect your agent to the Lumx docs MCP](https://docs.lumx.io/prompts/connect-lumx-docs-mcp.md): A copy-paste prompt that wires the Lumx documentation MCP server into your coding agent so it reads real schemas instead of inventing field names. - [Set up partner fees and revenue share](https://docs.lumx.io/prompts/setup-partner-fees.md): A copy-paste prompt that configures a Lumx partner fee, applies it correctly on locked and floating rates, and proves collection in sandbox first. - [Debug Lumx webhook delivery](https://docs.lumx.io/prompts/debug-webhooks.md): A copy-paste prompt that walks the real failure taxonomy of a Lumx webhook endpoint — raw body, rotated secret, replay window, retries, silent drops. - [Production readiness checklist](https://docs.lumx.io/prompts/sandbox-to-production-checklist.md): A copy-paste prompt that audits a working Lumx sandbox integration against everything that changes in production, before the first real payment. - [Audit an existing Lumx integration](https://docs.lumx.io/prompts/audit-lumx-integration.md): A copy-paste prompt that audits live Lumx code for what costs money — duplicate payments, unverified events, message matching, undisclosed parties. - [Integrate customer onboarding and verification](https://docs.lumx.io/prompts/integrate-customer-onboarding.md): A copy-paste prompt that builds Lumx KYC and KYB end to end — terms, documents, associated parties, RFI, and the sandbox sentinels to test it. - [Integrate local-currency virtual accounts](https://docs.lumx.io/prompts/integrate-virtual-accounts.md): A copy-paste prompt for named virtual accounts in your customer's own name — request the currencies, track provisioning, collect the deposit. - [Integrate on-ramps from fiat to stablecoin](https://docs.lumx.io/prompts/integrate-onramp.md): Give your coding agent the exact steps, endpoints and enums to build a Lumx on-ramp — quote, create, render payment details, settle on webhooks. - [Integrate off-ramps to local bank rails](https://docs.lumx.io/prompts/integrate-offramp.md): A copy-paste prompt that builds Lumx payouts end to end — register a destination with the right holder relationship, quote, off-ramp, settle. - [Integrate autoconversion rules](https://docs.lumx.io/prompts/integrate-autoconversion-rules.md): A copy-paste prompt for a standing fiat-to-stablecoin rule on a Lumx account — one setup call, no per-deposit API call, tested in sandbox. - [Integrate webhooks with signature checks](https://docs.lumx.io/prompts/integrate-webhooks.md): A copy-paste prompt that builds a Lumx webhook endpoint correctly — raw body, HMAC over the signed content, secret rotation, replay and retries. - [Integrate Lumx into a Next.js app](https://docs.lumx.io/prompts/integrate-lumx-nextjs.md): A copy-paste prompt that wires Lumx into a Next.js App Router app — server-only key, route handlers, and the raw-body webhook trap that bites everyone. - [Build the BRL corridor end to end](https://docs.lumx.io/prompts/integrate-brl-corridor.md): A copy-paste prompt that builds the whole Brazil corridor in code — PIX in, USDC out, standing conversion, webhooks and reconciliation against cut-offs. - [Build a stablecoin checkout](https://docs.lumx.io/prompts/build-stablecoin-checkout.md): A copy-paste prompt that builds a payment page in your own app where buyers pay in local currency over Pix, SPEI, ACH, SEPA or FPS and you receive stablecoin. - [Build global contractor payouts](https://docs.lumx.io/prompts/build-contractor-payouts.md): A copy-paste prompt that builds a payout run for contractors abroad — fund once in stablecoin, then settle each payee in their own local currency. - [Build marketplace seller payouts](https://docs.lumx.io/prompts/build-marketplace-payouts.md): A copy-paste prompt that builds a marketplace where each seller is onboarded, the platform takes a fee on every sale and sellers settle in local currency. - [Build a Lumx reconciliation ledger](https://docs.lumx.io/prompts/build-reconciliation-ledger.md): A copy-paste prompt that builds a ledger reconciling Lumx transactions against your own records, with late and failed treated as different states. - [Build a multi-currency neobank app](https://docs.lumx.io/prompts/build-neobank-app.md): A copy-paste prompt that builds the skeleton of a neobank app on Lumx — onboarding, named accounts in BRL, MXN, USD, EUR and GBP, balances, money in and out. - [Migrate manual bank payouts to the Lumx API](https://docs.lumx.io/prompts/migrate-from-spreadsheet-payouts.md): A copy-paste prompt that turns a spreadsheet and a bank portal into an API payout run — beneficiaries become destinations, with no double payment. - [Migrate SWIFT wires to local payout rails](https://docs.lumx.io/prompts/migrate-from-swift-wires.md): A copy-paste prompt that maps each SWIFT corridor to the local rail Lumx settles on, rebuilds beneficiaries as destinations and cuts over safely. - [Migrate from one PSP per country](https://docs.lumx.io/prompts/migrate-from-one-psp-per-country.md): A copy-paste prompt for teams running a different provider per country — collapse the clients, the reconciliations and the webhook formats into one. - [Read all customers](https://docs.lumx.io/api-reference/customers/read-all-customers.md): Reads all customers, newest first. - [Create a customer](https://docs.lumx.io/api-reference/customers/create-a-customer.md): Creates a customer with its wallets and virtual fiat accounts. The customer starts as `NOT_STARTED`. - [Read a customer](https://docs.lumx.io/api-reference/customers/read-a-customer.md): Reads a customer. - [Create TOS acceptance link](https://docs.lumx.io/api-reference/customers/create-tos-acceptance-link.md): Generates a terms of service acceptance link that covers the customer's accounts. - [Send additional information](https://docs.lumx.io/api-reference/customers/send-additional-information.md): Sends a customer's additional information (the KYC/KYB questionnaire). Sending it again replaces the previous answers. The body depends on the customer's creation date, so pick the body type that matches it. - [Read a verification](https://docs.lumx.io/api-reference/customers/read-a-verification.md): Reads one of a customer's verifications. - [Start a verification](https://docs.lumx.io/api-reference/customers/start-a-verification.md): Starts a customer's verification once the customer meets its requirements. See [Business verification](/guides/business-verification) and [Individual verification](/guides/individual-verification) for what each customer type needs. - [Upload a document](https://docs.lumx.io/api-reference/customers/upload-a-document.md): Uploads a document for a customer's or associated party's verification, or a supporting document for a limit-increase request. See [Document types](/additional-information/document-types) for the accepted types. - [Read all limit requests](https://docs.lumx.io/api-reference/customers/read-all-limit-requests.md): Reads all limit-increase requests for a customer, newest first. The list paginates by page number, so `cursor` is the page to fetch, not a resource ID. - [Request a limit increase](https://docs.lumx.io/api-reference/customers/request-a-limit-increase.md): Creates a limit-increase request for an `APPROVED` customer. See [Limit increase requests](/guides/limit-increase-requests) for the full flow, including the supporting document upload. - [Read a limit request](https://docs.lumx.io/api-reference/customers/read-a-limit-request.md): Reads a single limit-increase request for a customer. - [Read all associated parties](https://docs.lumx.io/api-reference/customers/read-all-associated-parties.md): Reads all associated parties of a business customer. List items leave out `address` and `requirements`; read an associated party by ID to get them. The list paginates by page number. - [Create an associated party](https://docs.lumx.io/api-reference/customers/create-an-associated-party.md): Creates an associated party (UBO, shareholder, or representative) for a business customer. Add associated parties before the customer is `APPROVED`. - [Read an associated party](https://docs.lumx.io/api-reference/customers/read-an-associated-party.md): Reads an associated party of a business customer. - [Read all accounts](https://docs.lumx.io/api-reference/accounts/read-all-accounts.md): Reads all accounts of the project's customers, newest first. - [Read all destinations](https://docs.lumx.io/api-reference/destinations/read-all-destinations.md): Reads all destinations of your project, newest first. - [Create a destination](https://docs.lumx.io/api-reference/destinations/create-a-destination.md): Creates a destination. - [Read a destination](https://docs.lumx.io/api-reference/destinations/read-a-destination.md): Reads a destination. - [Get an exchange rate](https://docs.lumx.io/api-reference/exchange-rates/get-an-exchange-rate.md): Returns an exchange rate quote between a fiat currency and a stablecoin. A `LOCKED` rate expires at `expiresAt`. See [Exchange rates](/concepts/exchange-rates) for how floating and locked rates work. - [Read all transactions](https://docs.lumx.io/api-reference/transactions/read-all-transactions.md): Reads all transactions in your project, newest first. - [Read a transaction](https://docs.lumx.io/api-reference/transactions/read-a-transaction.md): Reads a transaction. - [On-ramp](https://docs.lumx.io/api-reference/transactions/on-ramp.md): Creates an on-ramp, which converts **fiat to stablecoin**. See [Transaction lifecycle](/concepts/transactions#transaction-lifecycle) for the statuses it goes through. - [Off-ramp](https://docs.lumx.io/api-reference/transactions/off-ramp.md): Creates an off-ramp, which converts **stablecoin to fiat** from the customer's wallet and pays it out to a destination. See [Transaction lifecycle](/concepts/transactions#transaction-lifecycle) for the statuses it goes through. - [Transfer](https://docs.lumx.io/api-reference/transactions/transfer.md): Creates a **stablecoin transfer** from a customer's wallet to another customer or to an external wallet address. See [Transaction lifecycle](/concepts/transactions#transaction-lifecycle) for the statuses it goes through. - [Read all partner fees](https://docs.lumx.io/api-reference/partner-fees/read-all-partner-fees.md): Reads all active partner fees of your project, newest first. - [Create a partner fee](https://docs.lumx.io/api-reference/partner-fees/create-a-partner-fee.md): Creates a partner fee to charge your own fee on top of the Lumx fee. - [Read a partner fee](https://docs.lumx.io/api-reference/partner-fees/read-a-partner-fee.md): Reads an active partner fee of your project. - [Read all autoconversion rules](https://docs.lumx.io/api-reference/autoconversion-rules/read-all-autoconversion-rules.md): Reads all autoconversion rules of your project, newest first. - [Create an autoconversion rule](https://docs.lumx.io/api-reference/autoconversion-rules/create-an-autoconversion-rule.md): Creates an autoconversion rule. Every fiat deposit the rule matches is converted to the target asset and delivered on-chain. - [Read an autoconversion rule](https://docs.lumx.io/api-reference/autoconversion-rules/read-an-autoconversion-rule.md): Reads an active autoconversion rule, including its deposit details. - [Simulate a deposit](https://docs.lumx.io/api-reference/autoconversion-rules/simulate-a-deposit.md): Simulates a fiat deposit into an account to test autoconversion rules end to end. A matched deposit starts an on-ramp transaction, like a real deposit. **Sandbox only.** - [Changelog](https://docs.lumx.io/changelog.md): Stay up to date with the latest updates and improvements to Lumx ## OpenAPI Specs - [api-production](/openapi/api-production.yaml) - [api-staging](/openapi/api-staging.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.