During onboarding, choose the currencies your platform will support. For prefunded models, Grid automatically creates per‑currency accounts for each new customer. You can add or remove supported currencies anytime in the Grid dashboard.
The base API path is consistent across environments; your credentials determine the environment.Base URL: https://api.lightspark.com/grid/2025-10-13 (same for Sandbox and Production; your keys select the environment).
Configure your webhook endpoint to receive payment lifecycle events. Webhooks use asymmetric (public/private key) signatures; verify each webhook using the Grid public key available in your dashboard.
Expose a public HTTPS endpoint (for development, reverse proxies like ngrok can help). You’ll also need to set your webhook endpoint in the Grid dashboard.
When receiving webhooks, verify the X-Grid-Signature header against the exact request body using the dashboard-provided public key
Process events idempotently and respond with 2xx on success
You can trigger a test delivery from the API to validate your endpoint setup. The public key for verification is shown in the dashboard; rotate and update it when instructed by Lightspark.
For more details about webhooks like retry policy and examples, take a look at our Webhooks documentation.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Lightspark Docs","description":"Lightspark Grid is an API for global payments across fiat, stablecoins, and Bitcoin. This documentation helps developers understand the Grid API and integrate with it.","colors":{"primary":"#1A1A1A","light":"#f0f0ee","dark":"#00B3E0"},"logo":{"light":"https://mintcdn.com/agents-docs/YKCmEU4MWMlPER9B/logo/light.svg?fit=max\u0026auto=format\u0026n=YKCmEU4MWMlPER9B\u0026q=85\u0026s=94c3cecafe700f5f98421f0d9a80ed22","dark":"https://mintcdn.com/agents-docs/YKCmEU4MWMlPER9B/logo/dark.svg?fit=max\u0026auto=format\u0026n=YKCmEU4MWMlPER9B\u0026q=85\u0026s=585939b913aba9ee29e0ec1fd334d026"},"favicon":{"light":"https://mintcdn.com/agents-docs/qL8kqlSYbvexR8cg/favicon-light.svg?fit=max\u0026auto=format\u0026n=qL8kqlSYbvexR8cg\u0026q=85\u0026s=80b3d230ea38ea7b571ddcc0474e21fa","dark":"https://mintcdn.com/agents-docs/qL8kqlSYbvexR8cg/favicon-dark.svg?fit=max\u0026auto=format\u0026n=qL8kqlSYbvexR8cg\u0026q=85\u0026s=25bab6c1495aa2f1d260567d46638ac0"},"api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","kotlin"],"prefill":true}},"background":{"color":{"light":"#F8F8F7","dark":"#000000"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/lightsparkdev/grid-api","label":"GitHub"},{"href":"https://www.lightspark.com/contact","label":"Book a live demo"},{"href":"https://app.lightspark.com/login","label":"Dashboard"}]},"footer":{},"seo":{},"fonts":{"heading":{"family":"Suisse Intl","weight":500,"source":"fonts/suisse-intl/SuisseIntl-Medium.woff2","format":"woff2"},"body":{"family":"Suisse Intl","weight":400,"source":"fonts/suisse-intl/SuisseIntl-Regular.woff2","format":"woff2"}},"integrations":{"amplitude":{"apiKey":"7f2e340589501177fa6f8a5cc7b6bc51"},"gtm":{"tagId":"GTM-5R5NP3DS"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/agents-docs/YKCmEU4MWMlPER9B/images/og/og-api-reference-generic.png?fit=max\u0026auto=format\u0026n=YKCmEU4MWMlPER9B\u0026q=85\u0026s=d99cb0beb6266d8bff4e9c34a1612ec6"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agents-docs","hasAudioNarration":false,"actualSubdomain":"agents-docs","customDomains":["agents-docs.lightspark.com"],"gitSource":{"type":"github","owner":"lightsparkdev","repo":"grid-api","deployBranch":"lightspark-agents","contentDirectory":"mintlify","isPrivate":false,"mountPath":"","label":"","_id":"6af61615a14da7b1b52e01b9"},"entitlements":{},"buildId":"6af61cf818df279b9709c450","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API reference","count":267},{"language":"default","tag":"API documentation","count":261},{"language":"default","tag":"Agent Operations","count":47},{"language":"default","tag":"Cards","count":35},{"language":"default","tag":"Payouts \u0026 B2B","count":30},{"language":"default","tag":"Overview","count":28},{"language":"default","tag":"Global Accounts","count":25},{"language":"default","tag":"Agent Management","count":25},{"language":"default","tag":"Global P2P","count":23},{"language":"default","tag":"Strong Customer Authentication","count":22}]},"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":"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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/agents-docs/1d0cf883a2567caa/style.css"}],"page":{"pagePath":"payouts-and-b2b/onboarding/platform-configuration","slug":"/payouts-and-b2b/onboarding/platform-configuration","pageMetadata":{"title":"Platform Configuration","description":"Configuring credentials, webhooks and currencies for your platform","icon":"/images/icons/settings-gear2.svg","og:image":"/images/og/og-payouts-b2b.png","href":"/payouts-and-b2b/onboarding/platform-configuration"},"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: \"Configuring credentials, webhooks and currencies for your platform\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`supported-currencies`,children:`Supported currencies`}),`\n`,_jsx(_components.p,{children:`During onboarding, choose the currencies your platform will support. For prefunded models, Grid automatically creates per‑currency accounts for each new customer. You can add or remove supported currencies anytime in the Grid dashboard.`}),`\n`,_jsx(Heading,{level:`2`,id:`api-credentials-and-authentication`,children:`API credentials and authentication`}),`\n`,_jsx(_components.p,{children:`Create API credentials in the Grid dashboard. Credentials are scoped to an environment (Sandbox or Production) and cannot be used across environments.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Authentication: Use HTTP Basic Auth with your API key and secret in the `,_jsx(_components.code,{children:`Authorization`}),` header.`]}),`\n`,_jsx(_components.li,{children:`Keys: Sandbox keys only work against Sandbox; Production keys only work against Production.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Never share or expose your API secret. Rotate credentials periodically and restrict access.`})}),`\n`,_jsx(Heading,{level:`3`,id:`example-http-basic-auth-in-curl`,children:`Example: HTTP Basic Auth in cURL`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using cURL's Basic Auth shorthand (-u):`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -sS`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.lightspark.com/grid/2025-10-13/config\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$GRID_CLIENT_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$GRID_CLIENT_SECRET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`base-api-path`,children:`Base API path`}),`\n`,_jsx(_components.p,{children:`The base API path is consistent across environments; your credentials determine the environment.`}),`\n`,_jsxs(_components.p,{children:[`Base URL: `,_jsx(_components.code,{children:`https://api.lightspark.com/grid/2025-10-13`}),` (same for Sandbox and Production; your keys select the environment).`]}),`\n`,_jsx(Heading,{level:`2`,id:`webhooks-and-signature-verification`,children:`Webhooks and signature verification`}),`\n`,_jsx(_components.p,{children:`Configure your webhook endpoint to receive payment lifecycle events. Webhooks use asymmetric (public/private key) signatures; verify each webhook using the Grid public key available in your dashboard.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Expose a public HTTPS endpoint (for development, reverse proxies like ngrok can help). You’ll also need to set your webhook endpoint in the Grid dashboard.`}),`\n`,_jsxs(_components.li,{children:[`When receiving webhooks, verify the `,_jsx(_components.code,{children:`X-Grid-Signature`}),` header against the exact request body using the dashboard-provided public key`]}),`\n`,_jsx(_components.li,{children:`Process events idempotently and respond with 2xx on success`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You can trigger a test delivery from the API to validate your endpoint setup. The public key for verification is shown in the dashboard; rotate and update it when instructed by Lightspark.`}),`\n`,_jsx(Heading,{level:`3`,id:`test-your-webhook-endpoint`,children:`Test your webhook endpoint`}),`\n`,_jsx(_components.p,{children:`Use the webhook test endpoint to send a synthetic event to your configured endpoint.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -sS`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.lightspark.com/grid/2025-10-13/webhooks/test\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$GRID_CLIENT_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$GRID_CLIENT_SECRET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example test webhook payload:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-08-15T14:32:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhookId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Webhook:019542f5-b3e7-1d02-0000-000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEST\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For more details about webhooks like retry policy and examples, take a look at our Webhooks documentation.`})]})}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":{"config":{},"pageMetadata":{"title":"Platform Configuration","description":"Configuring credentials, webhooks and currencies for your platform","icon":"/images/icons/settings-gear2.svg","og:image":"/images/og/og-payouts-b2b.png","href":"/payouts-and-b2b/onboarding/platform-configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Supported currencies","slug":"supported-currencies","depth":2,"children":[]},{"title":"API credentials and authentication","slug":"api-credentials-and-authentication","depth":2,"children":[{"title":"Example: HTTP Basic Auth in cURL","slug":"example-http-basic-auth-in-curl","depth":3,"children":[]}]},{"title":"Base API path","slug":"base-api-path","depth":2,"children":[]},{"title":"Webhooks and signature verification","slug":"webhooks-and-signature-verification","depth":2,"children":[{"title":"Test your webhook endpoint","slug":"test-your-webhook-endpoint","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/agents-docs/da7b02c7798913d5/corridor-fields.js","/_mintlify/custom/agents-docs/46fa8cc4a502b704/css-perf-patch.js","/_mintlify/custom/agents-docs/7ebeec8d40dffb19/homepage.js","/_mintlify/custom/agents-docs/50899f73f3824d7c/sidebar-toggle.js"],"subdomain":"agents-docs","siteName":"Lightspark Docs","title":"Platform Configuration - Lightspark Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T19:49:49.292Z","originalFileLocation":"payouts-and-b2b/onboarding/platform-configuration.mdx"},"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=\"system\"}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=\"Configuring credentials, webhooks and currencies for your platform\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lightspark Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_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/agents-docs/e3zkJp4JfPOIuMQu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Platform Configuration - Lightspark Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configuring credentials, webhooks and currencies for your platform\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lightspark Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agents-docs.mintlify.site/images/og/og-payouts-b2b.png\">\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=\"Platform Configuration - Lightspark Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configuring credentials, webhooks and currencies for your platform\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agents-docs.mintlify.site/images/og/og-payouts-b2b.png\">\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/agents-docs/e3zkJp4JfPOIuMQu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lightspark Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A1A1A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/payouts-and-b2b/onboarding/platform-configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://agents-docs.lightspark.com/#organization\",\"name\":\"Lightspark Docs\",\"url\":\"https://agents-docs.lightspark.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agents-docs/YKCmEU4MWMlPER9B/logo/light.svg?fit=max\u0026auto=format\u0026n=YKCmEU4MWMlPER9B\u0026q=85\u0026s=94c3cecafe700f5f98421f0d9a80ed22\"}},{\"@type\":\"WebSite\",\"@id\":\"https://agents-docs.lightspark.com#website\",\"name\":\"Lightspark Docs\",\"url\":\"https://agents-docs.lightspark.com\",\"publisher\":{\"@id\":\"https://agents-docs.lightspark.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration#webpage\",\"url\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration\",\"name\":\"Platform Configuration\",\"description\":\"Configuring credentials, webhooks and currencies for your platform\",\"dateModified\":\"2026-11-12T19:49:49.292Z\",\"isPartOf\":{\"@id\":\"https://agents-docs.lightspark.com#website\"},\"breadcrumb\":{\"@id\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lightspark Docs\",\"item\":\"https://agents-docs.lightspark.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Platform Configuration\",\"item\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration#article\",\"headline\":\"Platform Configuration\",\"name\":\"Platform Configuration\",\"description\":\"Configuring credentials, webhooks and currencies for your platform\",\"url\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration\",\"mainEntityOfPage\":{\"@id\":\"https://agents-docs.lightspark.com/payouts-and-b2b/onboarding/platform-configuration#webpage\"},\"image\":\"https://agents-docs.lightspark.com/images/og/og-payouts-b2b.png\",\"dateModified\":\"2026-11-12T19:49:49.292Z\",\"publisher\":{\"@id\":\"https://agents-docs.lightspark.com/#organization\"},\"isPartOf\":{\"@id\":\"https://agents-docs.lightspark.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lightspark Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lightspark Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/payouts-and-b2b/onboarding/platform-configuration.md","siteName":"Lightspark Docs","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"Build your flow","pages":[{"title":"Build your flow","href":"/flow-builder"}]},{"tab":"Global Accounts","pages":[{"title":"Global Accounts","href":"/global-accounts/demo"}]},{"tab":"Agent Accounts","pages":[{"title":"Agent Accounts","href":"/demo"}]},{"tab":"Payouts \u0026 B2B","groups":[{"group":"Overview","pages":[{"title":"Payouts \u0026 B2B","sidebarTitle":"Introduction","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/paper-plane-top-right.svg","mode":"wide","href":"/payouts-and-b2b"},{"title":"Core Concepts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/file-text.svg","href":"/payouts-and-b2b/terminology"},{"title":"Implementation Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/code.svg","href":"/payouts-and-b2b/onboarding/implementation-overview"},{"title":"Quickstart","description":"Send your first cross-border payment","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/rocket.svg","href":"/payouts-and-b2b/quickstart"}]},{"group":"Onboarding","pages":[{"title":"Platform Configuration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/settings-gear2.svg","href":"/payouts-and-b2b/onboarding/platform-configuration"},{"title":"Configuring Customers","description":"Configuring customers for Payouts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/people.svg","href":"/payouts-and-b2b/onboarding/configuring-customers"},{"title":"Disclosures","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/shield.svg","href":"/payouts-and-b2b/onboarding/disclosures"}]},{"group":"Managing accounts","pages":[{"title":"Internal Accounts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/wallet1.svg","href":"/payouts-and-b2b/depositing-funds/internal-accounts"},{"title":"Rule-Based Accounts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/arrow-path-right.svg","href":"/payouts-and-b2b/depositing-funds/rule-based-accounts"},{"title":"External Accounts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/bank.svg","href":"/payouts-and-b2b/depositing-funds/external-accounts"},{"title":"Required Fields by Corridor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/IconSquareChecklistMagnifyingGlass.svg","mode":"wide","href":"/payouts-and-b2b/depositing-funds/required-fields"}]},{"group":"Sending payments","pages":[{"title":"Depositing Funds","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/arrow-inbox.svg","href":"/payouts-and-b2b/depositing-funds/depositing-funds"},{"title":"ACH Pull","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/arrow-inbox.svg","href":"/payouts-and-b2b/depositing-funds/ach-pull"},{"title":"Sending Payments","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/paper-plane-top-right.svg","href":"/payouts-and-b2b/payment-flow/send-payment"},{"title":"What Recipients See","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/receipt-check.svg","href":"/payouts-and-b2b/payment-flow/recipient-descriptors"},{"title":"Assessing Fees","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/coins.svg","href":"/payouts-and-b2b/payment-flow/assessing-fees"},{"title":"List Transactions","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/file-text.svg","href":"/payouts-and-b2b/payment-flow/list-transactions"},{"title":"Periodic statements","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/statement.svg","href":"/payouts-and-b2b/payment-flow/statements"},{"title":"Receipts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/receipt-check.svg","href":"/payouts-and-b2b/payment-flow/receipts"},{"title":"Reconciliation","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/checkmark1.svg","href":"/payouts-and-b2b/payment-flow/reconciliation"},{"title":"Error Handling","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/shield.svg","href":"/payouts-and-b2b/payment-flow/error-handling"}]},{"group":"Global Accounts","pages":[{"title":"Global Accounts","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/crypto-wallet.svg","href":"/payouts-and-b2b/global-accounts/overview"},{"title":"Client keys \u0026 signing","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/key2.svg","href":"/payouts-and-b2b/global-accounts/client-keys"},{"title":"Authentication","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/shield.svg","href":"/payouts-and-b2b/global-accounts/authentication"},{"title":"Sessions","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/arrows-repeat-circle.svg","href":"/payouts-and-b2b/global-accounts/managing-sessions"},{"title":"Exporting a wallet","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/arrow-path-right.svg","href":"/payouts-and-b2b/global-accounts/exporting-wallet"}]},{"group":"Platform tools","pages":[{"title":"Webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/bell.svg","href":"/payouts-and-b2b/platform-tools/webhooks"},{"title":"Sandbox Testing","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/hammer.svg","href":"/payouts-and-b2b/platform-tools/sandbox-testing"},{"title":"Postman Collection","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/IconPostman.svg","href":"/payouts-and-b2b/platform-tools/postman-collection"}]},{"group":"Launch","pages":[{"title":"Launch checklist","icon":"https://mintlify.s3.us-west-1.amazonaws.com/agents-docs/images/icons/rocket.svg","href":"/payouts-and-b2b/launch/checklist"}]}]},{"tab":"Ramps","pages":[{"title":"Ramps","href":"/ramps"}]},{"tab":"Global P2P","pages":[{"title":"Global P2P","href":"/global-p2p"}]},{"tab":"Cards","pages":[{"title":"Cards","href":"/cards/demo"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/environments"}]}]},"basePath":"","title":"Platform Configuration - Lightspark Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}