The end-to-end flows of a typical integration, with step-by-step sequence diagrams
This page connects the products into complete business flows: what to
call, what to expect and which webhook closes each cycle. Every flow links
to its product’s detailed guide.
QR variant (Bolivia, Brazil PIX): POST /v1/payouts/qr/scan (free,
decodes) → show the data → POST /v1/payouts/qr/confirm (charged like a
normal payout). Details: payouts ·
QR payout.
Save the card once (with the payer’s consent) and charge it later —
one-click, merchant-initiated (MIT) or on a recurring schedule:Details: stored cards & subscriptions.
One call converts between USDT, USDC, BTC, GOLD, SILVER and PLATINUM at your account’s
rate — no money leaves the account, so no OTP is required. Details:
swaps.
Banking balances live in your bank accounts (separate from USDT); CBPay
only charges the configured fixed fees. Details:
banking.
First integration? Follow the quickstart (fund → payout
→ webhook) and come back here as you add products.
Last modified on September 17, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CBPay","description":"CBPay developer documentation - fiat payouts and collections across Latin America, internal transfers, on-chain USDT and KYC.","colors":{"primary":"#A16207","light":"#FBC140","dark":"#2E2E2E"},"logo":{"light":"https://mintcdn.com/grupocbllc/SWDKbKuhTe1qSJCg/logo/light.svg?fit=max\u0026auto=format\u0026n=SWDKbKuhTe1qSJCg\u0026q=85\u0026s=6c11bf39224e37f896f230a0be8e6bcb","dark":"https://mintcdn.com/grupocbllc/SWDKbKuhTe1qSJCg/logo/dark.svg?fit=max\u0026auto=format\u0026n=SWDKbKuhTe1qSJCg\u0026q=85\u0026s=0caba7a1ca5705864a86b1cb2afe20aa"},"favicon":"https://mintcdn.com/grupocbllc/SWDKbKuhTe1qSJCg/favicon.svg?fit=max\u0026auto=format\u0026n=SWDKbKuhTe1qSJCg\u0026q=85\u0026s=091a2e9ff992ec6e76ee61b140ee3e4c","appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"dark":"#1C1C1C"}},"navbar":{"primary":{"type":"button","label":"cbpayapp.com","href":"https://cbpayapp.com"}},"footer":{"socials":{"website":"https://cbpayapp.com"}},"search":{"prompt":"Search the docs / Busca en la documentación / 搜索文档…"},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","default":true,"href":"en/introduction"},{"language":"es","href":"es/introduction"},{"language":"zh","href":"zh/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"grupocbllc","hasAudioNarration":false,"actualSubdomain":"grupocbllc","customDomains":["docs.cbpayapp.com"],"gitSource":{"type":"github","owner":"cbpayapp","repo":"cbpay-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af5139c2881c20577b2e3bd","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"en","tag":"API Reference","count":500},{"language":"es","tag":"API Reference","count":500},{"language":"zh","tag":"API 参考","count":455},{"language":"en","tag":"Guides","count":77},{"language":"es","tag":"Guías","count":77},{"language":"zh","tag":"指南","count":77},{"language":"en","tag":"Products","count":53},{"language":"es","tag":"Productos","count":53},{"language":"zh","tag":"产品","count":53},{"language":"zh","tag":"API Reference","count":50},{"language":"en","tag":"Account","count":45},{"language":"en","tag":"Qscore","count":38},{"language":"es","tag":"Qscore","count":38},{"language":"zh","tag":"Qscore","count":38},{"language":"en","tag":"KYC / KYB","count":34},{"language":"es","tag":"KYC / KYB","count":34},{"language":"zh","tag":"KYC / KYB","count":34},{"language":"es","tag":"Cuenta","count":33},{"language":"zh","tag":"账户","count":33},{"language":"en","tag":"Banking","count":32},{"language":"zh","tag":"银行服务","count":32},{"language":"en","tag":"Payins","count":25},{"language":"es","tag":"Payins","count":25},{"language":"es","tag":"Banking","count":23},{"language":"default","tag":"API Reference","count":21},{"language":"en","tag":"Authentication","count":18},{"language":"es","tag":"Autenticación","count":16},{"language":"zh","tag":"身份认证","count":16},{"language":"en","tag":"Identity \u0026 compliance","count":15},{"language":"es","tag":"Identidad y compliance","count":15},{"language":"zh","tag":"身份与合规","count":15},{"language":"default","tag":"Support","count":5},{"language":"default","tag":"Banking","count":4},{"language":"default","tag":"Cards","count":2},{"language":"default","tag":"Corridors","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#assistant-entry,#assistant-entry-mobile,#chat-assistant-sheet,#ask-assistant-code-block-button{display:none!important}"}],"page":{"pagePath":"en/flows","slug":"/en/flows","pageMetadata":{"title":"Integration flows","icon":"route","description":"The end-to-end flows of a typical integration, with step-by-step sequence diagrams","href":"/en/flows"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Mermaid,Table,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page connects the products into `,_jsx(_components.strong,{children:`complete business flows`}),`: what to\ncall, what to expect and which webhook closes each cycle. Every flow links\nto its product’s detailed guide.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-funding-the-account`,children:`1. Funding the account`}),`\n`,_jsx(_components.p,{children:`Three paths for money to come in; all end with a USDT credit and a\nwebhook:`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant App as Your app\n participant CB as CBPay\n participant Pagador as Payer / Network\n App->>CB: POST /v1/payins (or crypto wallet)\n CB-->>App: pending + payment data (QR, URL, reference, address)\n App->>Pagador: share the payment method\n Pagador->>CB: pays (transfer, QR, on-chain USDT)\n CB->>CB: converts at your payin_rate − fee (fiat)\n CB-->>App: webhook payin_credited / crypto_deposit_credited\n App->>CB: GET /v1/balances (verify)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Closing webhook`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Fiat collection (QR, transfer, payment page, pull)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/payins`}),` / `,_jsx(_components.code,{children:`/collect`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`payin_credited`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`On-chain USDT deposit`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/crypto/wallets`}),` (fixed address)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`crypto_deposit_credited`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Internal transfer from another account`}),_jsx(_components.td,{children:`— (the sender initiates it)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`transfer_received`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/guides/payins`,children:`payins`}),` · `,_jsx(_components.a,{href:`/en/guides/crypto`,children:`crypto`}),` ·\n`,_jsx(_components.a,{href:`/en/guides/transfers`,children:`transfers`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-dispersing-payout`,children:`2. Dispersing (payout)`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant App as Your app\n participant CB as CBPay\n participant Banco as Local rail\n App->>CB: POST /v1/payouts (idempotency_key)\n CB-->>App: 202 processing (fx_rate, total_debit; debit sits in held)\n CB->>Banco: executes the dispersal\n alt paid\n Banco-->>CB: confirmation\n CB-->>App: webhook payout_status_changed (completed)\n else rejection\n Banco-->>CB: rejection\n CB->>CB: refunds the FULL debit to available\n CB-->>App: webhook payout_status_changed (failed + status_code)\n end\n App->>CB: GET /v1/payouts/{id} (verify final state)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`QR`}),` variant (Bolivia, Brazil PIX): `,_jsx(_components.code,{children:`POST /v1/payouts/qr/scan`}),` (free,\ndecodes) → show the data → `,_jsx(_components.code,{children:`POST /v1/payouts/qr/confirm`}),` (charged like a\nnormal payout). Details: `,_jsx(_components.a,{href:`/en/guides/payouts`,children:`payouts`}),` ·\n`,_jsx(_components.a,{href:`/en/guides/qr-payout`,children:`QR payout`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-collecting-from-a-customer`,children:`3. Collecting from a customer`}),`\n`,_jsx(_components.p,{children:`Pick the mode based on the country and the experience you want:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Countries`}),_jsx(_components.th,{children:`Payer experience`}),_jsx(_components.th,{children:`Confirmation`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Hosted payment page`}),_jsx(_components.td,{children:`CL`}),_jsx(_components.td,{children:`Opens a URL and pays from their bank`}),_jsx(_components.td,{children:`Automatic`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`QR`}),_jsx(_components.td,{children:`BO, BR (PIX)`}),_jsx(_components.td,{children:`Scans with their banking app`}),_jsx(_components.td,{children:`Automatic`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Announced transfer`}),_jsx(_components.td,{children:`CL, PE, MX, BR`}),_jsx(_components.td,{children:`Transfers including the reference`}),_jsx(_components.td,{children:`Automatic by reference (or amount)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Dedicated CLABE / CVU`}),_jsx(_components.td,{children:`MX, AR`}),_jsx(_components.td,{children:`Transfers to a fixed account of yours`}),_jsx(_components.td,{children:`Automatic, no references`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Card payment`}),_jsx(_components.td,{children:`BO (BOB/USD)`}),_jsx(_components.td,{children:`Enters their card on a secure hosted page (3DS)`}),_jsx(_components.td,{children:`Automatic`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Universal checkout link`}),_jsx(_components.td,{children:`Every live country + crypto + cards`}),_jsx(_components.td,{children:`Opens one link and picks how to pay`}),_jsx(_components.td,{children:`Automatic`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`All close with `,_jsx(_components.code,{children:`payin_credited`}),` and the net credit in your balance.\nDetails: `,_jsx(_components.a,{href:`/en/guides/payins`,children:`payins`}),` · `,_jsx(_components.a,{href:`/en/guides/checkout`,children:`checkout`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-checkout-end-to-end`,children:`4. Checkout end-to-end`}),`\n`,_jsx(_components.p,{children:`One link, every rail, settled in the balance you choose:`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant App as Your app\n participant CB as CBPay\n participant Pagador as Payer\n App->>CB: POST /v1/payins (method: checkout, amount, settlement_asset)\n CB-->>App: checkout_url (branded public page)\n App->>Pagador: share the link\n Pagador->>CB: picks fiat / crypto / card / CBPay app and pays\n CB->>CB: credits and auto-converts to your settlement_asset\n CB-->>App: webhook payin_credited (settled_via, conversion_status)`}),`\n`,_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/guides/checkout`,children:`checkout`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-saved-cards-and-subscriptions`,children:`5. Saved cards and subscriptions`}),`\n`,_jsx(_components.p,{children:`Save the card once (with the payer’s consent) and charge it later —\none-click, merchant-initiated (MIT) or on a recurring schedule:`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant App as Your app\n participant CB as CBPay\n participant Pagador as Payer\n App->>CB: POST /v1/payins (method: card, save_card: true)\n Pagador->>CB: pays with 3DS and ticks \"save my card\"\n CB-->>App: webhook card_stored (stored_card_id)\n App->>CB: POST /v1/stored-cards/{id}/charges (MIT, payer absent)\n CB-->>App: webhook payin_credited\n App->>CB: POST /v1/subscriptions (interval + amount)\n CB-->>App: payin_credited per period + subscription_status_changed`}),`\n`,_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/guides/stored-cards-subscriptions`,children:`stored cards \u0026 subscriptions`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`6-qr-pos-charge-processors`,children:`6. QR POS charge (processors)`}),`\n`,_jsx(_components.p,{children:`For companies operating physical points of sale:`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant POS as Your POS\n participant CB as CBPay\n participant Cliente as Customer\n POS->>CB: POST /v1/pos/merchants (verified merchant, once)\n POS->>CB: POST /v1/pos/charges (amount, idempotency_key)\n CB-->>POS: exclusive crypto address + QR + quoted due\n Cliente->>CB: pays in crypto (partial payments accumulate)\n CB-->>POS: webhook payin_credited (pos_merchant attribution)`}),`\n`,_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/guides/qr-pos`,children:`QR POS`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`7-converting-balances-swaps`,children:`7. Converting balances (swaps)`}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n Q[\"GET /v1/swaps/quote\u003cbr/>(indicative, free)\"] --> S[\"POST /v1/swaps\u003cbr/>(idempotency_key)\"]\n S --> B[\"Instant credit in the\u003cbr/>target balance\"]`}),`\n`,_jsxs(_components.p,{children:[`One call converts between USDT, USDC, BTC, GOLD, SILVER and PLATINUM at your account’s\nrate — no money leaves the account, so no OTP is required. Details:\n`,_jsx(_components.a,{href:`/en/guides/swaps`,children:`swaps`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`8-reconciling`,children:`8. Reconciling`}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n webhooks[\"Webhooks\u003cbr/>(push, per event)\"] --> interno[\"Your internal records\u003cbr/>(by idempotency_key)\"]\n movements[\"GET /v1/movements\u003cbr/>(immutable ledger)\"] --> interno\n cartola[\"Period statement\u003cbr/>(JSON/PDF/Excel)\"] --> cierre[\"Accounting close\u003cbr/>with balance check\"]\n interno --> cierre`}),`\n`,_jsxs(_components.p,{children:[`Full recipe in\n`,_jsx(_components.a,{href:`/en/concepts/movements-reconciliation`,children:`movements and reconciliation`}),` and\n`,_jsx(_components.a,{href:`/en/guides/statement`,children:`statement`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`9-end-to-end-international-banking`,children:`9. End-to-end international banking`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant App as Your app\n participant CB as CBPay\n App->>CB: POST /v1/banking/customers (profile, once)\n CB-->>App: webhook banking_customer_status_changed (approved)\n App->>CB: POST /v1/banking/accounts (USD/EUR account)\n App->>CB: POST /v1/banking/operations/prepare (quote, free)\n App->>CB: POST /v1/banking/operations (idempotency_key)\n CB-->>App: webhook banking_operation_status_changed (completed/failed)`}),`\n`,_jsxs(_components.p,{children:[`Banking balances live in your bank accounts (separate from USDT); CBPay\nonly charges the configured fixed fees. Details:\n`,_jsx(_components.a,{href:`/en/guides/banking`,children:`banking`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`First integration? Follow the `,_jsx(_components.a,{href:`/en/quickstart`,children:`quickstart`}),` (fund → payout\n→ webhook) and come back here as you add products.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Integration flows","icon":"route","description":"The end-to-end flows of a typical integration, with step-by-step sequence diagrams","href":"/en/flows"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Funding the account","slug":"1-funding-the-account","depth":2,"children":[]},{"title":"2. Dispersing (payout)","slug":"2-dispersing-payout","depth":2,"children":[]},{"title":"3. Collecting from a customer","slug":"3-collecting-from-a-customer","depth":2,"children":[]},{"title":"4. Checkout end-to-end","slug":"4-checkout-end-to-end","depth":2,"children":[]},{"title":"5. Saved cards and subscriptions","slug":"5-saved-cards-and-subscriptions","depth":2,"children":[]},{"title":"6. QR POS charge (processors)","slug":"6-qr-pos-charge-processors","depth":2,"children":[]},{"title":"7. Converting balances (swaps)","slug":"7-converting-balances-swaps","depth":2,"children":[]},{"title":"8. Reconciling","slug":"8-reconciling","depth":2,"children":[]},{"title":"9. End-to-end international banking","slug":"9-end-to-end-international-banking","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/grupocbllc/aa000a5c7b8c38f4/maida.js"],"subdomain":"grupocbllc","siteName":"CBPay","title":"Integration flows - CBPay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/flows","matchLevel":0},"es":{"href":"/es/flows","matchLevel":1},"zh":{"href":"/zh/flows","matchLevel":1}}},"lastModified":"2026-11-11T22:11:27.546Z","gitLastModified":"2026-09-17T08:16:23.000Z","originalFileLocation":"en/flows.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\">\u003cmeta data-mint-head name=\"application-name\" content=\"CBPay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Integration flows - CBPay\">\u003cmeta data-mint-head property=\"og:description\" content=\"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CBPay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cbpayapp.com/en/flows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://grupocbllc.mintlify.site/_mintlify/api/og/v2?division=Integration+flows\u0026amp;title=Integration+flows\u0026amp;description=The+end-to-end+flows+of+a+typical+integration%2C+with+step-by-step+sequence+diagrams\u0026amp;theme=dd4ec8e0453b0879bbb57790\u0026amp;signature=e42039d819ba3b4d2b017a39e8a6ab3a6981622bb140fcfbf4ad378a5c90f5b2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Integration flows - CBPay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://grupocbllc.mintlify.site/_mintlify/api/og/v2?division=Integration+flows\u0026amp;title=Integration+flows\u0026amp;description=The+end-to-end+flows+of+a+typical+integration%2C+with+step-by-step+sequence+diagrams\u0026amp;theme=dd4ec8e0453b0879bbb57790\u0026amp;signature=e42039d819ba3b4d2b017a39e8a6ab3a6981622bb140fcfbf4ad378a5c90f5b2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/grupocbllc/-bLpjr8iD9_lAZU4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CBPay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A16207\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cbpayapp.com/en/flows\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/flows.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.cbpayapp.com/en/flows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.cbpayapp.com/es/flows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.cbpayapp.com/zh/flows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.cbpayapp.com/en/flows\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cbpayapp.com/#organization\",\"name\":\"CBPay\",\"url\":\"https://docs.cbpayapp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/grupocbllc/SWDKbKuhTe1qSJCg/logo/light.svg?fit=max\u0026auto=format\u0026n=SWDKbKuhTe1qSJCg\u0026q=85\u0026s=6c11bf39224e37f896f230a0be8e6bcb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cbpayapp.com#website\",\"name\":\"CBPay\",\"url\":\"https://docs.cbpayapp.com\",\"publisher\":{\"@id\":\"https://docs.cbpayapp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cbpayapp.com/en/flows#webpage\",\"url\":\"https://docs.cbpayapp.com/en/flows\",\"name\":\"Integration flows\",\"description\":\"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\",\"dateModified\":\"2026-09-17T08:16:23.000Z\",\"isPartOf\":{\"@id\":\"https://docs.cbpayapp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cbpayapp.com/en/flows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cbpayapp.com/en/flows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CBPay\",\"item\":\"https://docs.cbpayapp.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integration flows\",\"item\":\"https://docs.cbpayapp.com/en/flows\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cbpayapp.com/en/flows#article\",\"headline\":\"Integration flows\",\"name\":\"Integration flows\",\"description\":\"The end-to-end flows of a typical integration, with step-by-step sequence diagrams\",\"url\":\"https://docs.cbpayapp.com/en/flows\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cbpayapp.com/en/flows#webpage\"},\"dateModified\":\"2026-09-17T08:16:23.000Z\",\"publisher\":{\"@id\":\"https://docs.cbpayapp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cbpayapp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CBPay\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CBPay\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/flows.md","siteName":"CBPay","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"rocket","href":"/en/introduction"},{"title":"Quickstart","icon":"bolt","href":"/en/quickstart"},{"title":"Authentication and account","sidebarTitle":"Authentication","icon":"key","href":"/en/authentication"},{"title":"Social login (Google, Apple, Microsoft, Meta)","icon":"fingerprint","href":"/en/guides/social-login"},{"title":"Environments and testing","icon":"flask","href":"/en/environment-testing"}]},{"group":"Concepts","pages":[{"title":"Money model","icon":"coins","href":"/en/concepts/money-model"},{"title":"Fees","icon":"percent","href":"/en/concepts/fees"},{"title":"Idempotency","icon":"rotate","href":"/en/concepts/idempotency"},{"title":"Persons and companies","icon":"user-group","href":"/en/concepts/persons-companies"},{"title":"Enabled services","icon":"toggle-on","href":"/en/concepts/services"},{"title":"Statuses and lifecycle","icon":"diagram-next","href":"/en/concepts/statuses"},{"title":"Movements and reconciliation","icon":"scale-balanced","description":"The immutable ledger (GET /v1/movements), every entry type and how to reconcile against the statement and webhooks","href":"/en/concepts/movements-reconciliation"}]},{"group":"Integration flows","pages":[{"title":"Integration flows","icon":"route","href":"/en/flows"}]},{"group":"Products","pages":[{"group":"Money in","pages":[{"title":"Payins","icon":"qrcode","description":"Collect in local currency and credit the account principal asset","href":"/en/guides/payins"},{"title":"Chile card payins","icon":"credit-card","href":"/en/guides/card-payins-chile"},{"title":"Cash payins","icon":"hand-holding-dollar","href":"/en/guides/cash-payins"},{"title":"Chile CLP: virtual deposit accounts and payouts","icon":"building-columns","href":"/en/guides/fintoc-business-accounts"},{"title":"Paraguay, Colombia, Ecuador and Brazil corridors","icon":"globe","href":"/en/guides/regional-payouts-payins"},{"title":"Ecuador manual USD payouts","icon":"landmark","href":"/en/guides/ecuador-manual-payouts"},{"title":"QR payins","icon":"qrcode","href":"/en/guides/payins-qr"},{"title":"Funding","icon":"wallet","href":"/en/guides/funding"},{"title":"Checkout","icon":"cart-shopping","href":"/en/guides/checkout"},{"title":"Stored cards \u0026 subscriptions","icon":"credit-card","href":"/en/guides/stored-cards-subscriptions"},{"title":"QR Crypto POS","icon":"store","href":"/en/guides/qr-pos"},{"title":"Payin refunds","icon":"rotate-left","href":"/en/guides/refunds"},{"title":"Support tickets","icon":"headset","href":"/en/guides/support-tickets"}]},{"group":"Money out","pages":[{"title":"Payouts","icon":"money-bill-transfer","href":"/en/guides/payouts"},{"title":"Destination rejection protection and safe payout retries","icon":"shield-halved","href":"/en/guides/payout-destination-retries"},{"title":"Fiat payout settlement","icon":"coins","href":"/en/guides/fiat-settlement"},{"title":"SEPA Instant payouts","icon":"landmark","href":"/en/guides/sepa-instant-payouts"},{"title":"Payout rate sources and indicative FIFO quotes","icon":"money-bill-transfer","href":"/en/guides/payout-rate-sources"},{"title":"QR payout","icon":"qrcode","href":"/en/guides/qr-payout"}]},{"group":"Accounts \u0026 balances","pages":[{"title":"My accounts","icon":"building-columns","href":"/en/guides/accounts"},{"title":"Internal transfers","icon":"arrows-left-right","href":"/en/guides/transfers"},{"title":"Swaps","icon":"arrow-right-arrow-left","href":"/en/guides/swaps"},{"title":"Crypto: wallets, deposits and withdrawals","icon":"link","href":"/en/guides/crypto"},{"title":"Company members and roles","sidebarTitle":"Members and roles","icon":"users","href":"/en/guides/members-roles"},{"title":"Segregated wallets","icon":"wallet","href":"/en/guides/segregated-wallets"},{"title":"Banking","icon":"building-columns","href":"/en/guides/banking"},{"title":"Fiat ledger assets","icon":"coins","href":"/en/guides/fiat-ledger-assets"}]},{"group":"Cards \u0026 records","pages":[{"title":"Grupo CB framework agreement","icon":"file-signature","href":"/en/guides/contract-agreement"},{"title":"Signature proofs","icon":"file-signature","href":"/en/guides/signature-proofs"},{"title":"Cards: virtual and physical","icon":"credit-card","href":"/en/guides/cards"},{"title":"Account statement","icon":"file-invoice","href":"/en/guides/statement"},{"title":"Pay slips","href":"/en/guides/pay-slips"},{"title":"Receipts","icon":"file-check","href":"/en/guides/receipts"},{"title":"Transaction tracking link","icon":"location-arrow","href":"/en/guides/tracking"},{"title":"Your account summary (analytics)","icon":"chart-line","href":"/en/guides/analytics"}]},{"group":"Identity \u0026 compliance","pages":[{"title":"KYC and KYB verification","icon":"user-check","href":"/en/guides/kyc"},{"title":"UBO and director child invites","icon":"users","href":"/en/guides/kyc-ubo-children"},{"title":"KYC/KYB remediation","icon":"file","href":"/en/guides/kyc-remediation"},{"title":"Wolfsberg CBDDQ v1.4","icon":"clipboard-check","href":"/en/guides/wolfsberg-cbddq"},{"title":"AML/CFT screening","icon":"shield-halved","href":"/en/guides/aml"},{"title":"Trust Center \u0026 NDA room","icon":"shield-check","href":"/en/guides/trust-center-nda"},{"title":"Wallet screening","icon":"magnifying-glass-dollar","href":"/en/guides/screenings"},{"title":"Qscore — API-first credit bureau","icon":"gauge-high","href":"/en/guides/qscore"},{"title":"Qscore batch (portfolio scoring)","icon":"layer-group","href":"/en/guides/qscore-batch"},{"title":"Consent links (holder authorization)","icon":"link","href":"/en/guides/qscore-consents"},{"title":"Qscore seal (verified badge)","icon":"award","href":"/en/guides/qscore-seal"},{"title":"Qscore fraud and identity reports","icon":"shield-check","href":"/en/guides/qscore-fraud"},{"title":"Qscore Index","icon":"chart-line","href":"/en/guides/qscore-index"},{"title":"Transaction reviews","icon":"shield-check","href":"/en/guides/transaction-reviews"},{"title":"Disputes and fraud cases","icon":"shield-check","href":"/en/guides/disputes"}]},{"group":"Experience","pages":[{"title":"Contacts","icon":"address-book","href":"/en/guides/contacts"},{"title":"Profile \u0026 security","icon":"user-shield","href":"/en/guides/profile"},{"title":"Locale and language","icon":"language","href":"/en/guides/locale"},{"title":"Referrer portal","icon":"users","href":"/en/guides/referrer-portal"}]}]},{"group":"Integration","pages":[{"title":"Security and 2FA (OTP)","icon":"shield-check","href":"/en/security-2fa"},{"title":"Webhooks","icon":"bell","href":"/en/webhooks"},{"title":"Product analytics","icon":"chart-line","href":"/en/guides/product-analytics"},{"title":"Account integrations","sidebarTitle":"Account integrations","icon":"plug","href":"/en/guides/integrations"},{"title":"Real-time events (SSE)","icon":"tower-broadcast","href":"/en/realtime-events"},{"title":"Service status \u0026 corridor availability","icon":"heart-pulse","href":"/en/service-status"},{"title":"Errors","icon":"triangle-exclamation","href":"/en/errors"},{"title":"FAQ","icon":"circle-question","href":"/en/faq"}]},{"group":"Resources","pages":[{"title":"Postman","icon":"download","href":"/en/postman"},{"title":"MCP Server","icon":"plug","href":"/en/mcp"},{"title":"Changelog","icon":"clock-rotate-left","href":"/en/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/consent/read-a-consent-request-public-holder"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/flows"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/flows"}]}]},"basePath":"","title":"Integration flows - CBPay","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}