SWIG provides robust support for both credit and debit card payment flows through its authority system and authorization locks feature. Watch our quick demo to see it in action:
SWIG can handle both debit and credit card flows in a way that’s both elegant and compliant. Our authority system forms the foundation, giving you complete control over who can spend what and when, while our authorization locks enable sophisticated payment flows that traditional finance demands.
When it comes to debit cards, things are pretty straightforward. Using our standard spending limits, you can pull funds directly into your treasury account. Think of it as an instant transfer – the money moves right away, and you can start using it immediately. Our authority system ensures that only authorized parties can initiate these transfers, and you can set custom limits that make sense for your business.
Credit cards are where things get interesting. Instead of immediately pulling funds, our authorization locks system lets you place a hold on the funds first. This is perfect for situations where you need to verify a card’s validity and ensure funds are available, but aren’t ready to complete the transaction yet. The authorization lock is incredibly fast and cost-effective, and it keeps the funds reserved until the credit card provider is ready to process the payment according to their jurisdiction’s rules and requirements.This approach is particularly valuable in industries with complex payment flows. For example, if you’re running a car rental service, you can authorize a security deposit without actually charging it, then only capture the final amount once the rental period is complete. Hotels, travel companies, and any business dealing with delayed or variable charges will find this especially useful.
Our payment infrastructure isn’t just about moving money – it’s about giving you the tools to build sophisticated financial products. With our authority system handling permissions and our authorization locks managing holds, you can focus on building your product while we handle the complex payment orchestration behind the scenes.Ready to revolutionize your payment flows? Get in touch with our team, and we’ll help you get started with SWIG’s credit card processing capabilities.contact: info@onswig.com
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Swig","colors":{"primary":"#000","light":"#fff","dark":"#000"},"logo":{"light":"https://mintcdn.com/swig/8Hu9swmb2xUpt1pY/swiglogodark.png?fit=max\u0026auto=format\u0026n=8Hu9swmb2xUpt1pY\u0026q=85\u0026s=0876c3088948017bf51107a48ad37722","dark":"https://mintcdn.com/swig/8Hu9swmb2xUpt1pY/swiglogolight.png?fit=max\u0026auto=format\u0026n=8Hu9swmb2xUpt1pY\u0026q=85\u0026s=bc77ee7c382cb96413a6d9b8019c5b89"},"favicon":"https://mintcdn.com/swig/8Hu9swmb2xUpt1pY/favicon.png?fit=max\u0026auto=format\u0026n=8Hu9swmb2xUpt1pY\u0026q=85\u0026s=69934f547d31cc97d9e8b1767edfb009","footer":{"socials":{"github":"https://github.com/anagrambuild/swig-wallet"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"swig","hasAudioNarration":false,"actualSubdomain":"swig","customDomains":["build.onswig.com"],"gitSource":{"type":"github","owner":"anagrambuild","repo":"swig-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abd4281425d877573afc449","collectionId":"deaddb09-52c4-422f-aa92-04301e9b8c06","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abd4281425d877573afc449"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6abd4281425d877573afc449","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Protocol SDK","count":44},{"language":"default","tag":"Solana","count":35},{"language":"default","tag":"Developer SDK","count":28},{"language":"default","tag":"Examples \u0026 Recipes","count":16},{"language":"default","tag":"Overview","count":12},{"language":"default","tag":"Developer API","count":8},{"language":"default","tag":"EVM","count":8},{"language":"default","tag":"Protocol","count":8},{"language":"default","tag":"Build Wallet Flows","count":7},{"language":"default","tag":"IDP SDK","count":7}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"examples/credit_card","slug":"/examples/credit_card","pageMetadata":{"title":"Credit Card Processing with SWIG","description":null,"href":"/examples/credit_card"},"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`,p:`p`,..._provideComponents(),...props.components},{Heading,OptimizedFrame}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`SWIG provides robust support for both credit and debit card payment flows through its authority system and authorization locks feature. Watch our quick demo to see it in action:`}),`\n`,_jsx(OptimizedFrame,{src:`https://www.loom.com/embed/faea0d83990e463ba6e62e12902332b0?sid=d7708a10-0851-4b62-a50e-3155e1ee25c3`,frameborder:`0`,webkitallowfullscreen:true,mozallowfullscreen:true,allowfullscreen:true}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsx(_components.p,{children:`SWIG can handle both debit and credit card flows in a way that’s both elegant and compliant. Our authority system forms the foundation, giving you complete control over who can spend what and when, while our authorization locks enable sophisticated payment flows that traditional finance demands.`}),`\n`,_jsx(Heading,{level:`3`,id:`debit-card-processing`,children:`Debit Card Processing`}),`\n`,_jsx(_components.p,{children:`When it comes to debit cards, things are pretty straightforward. Using our standard spending limits, you can pull funds directly into your treasury account. Think of it as an instant transfer – the money moves right away, and you can start using it immediately. Our authority system ensures that only authorized parties can initiate these transfers, and you can set custom limits that make sense for your business.`}),`\n`,_jsx(Heading,{level:`3`,id:`credit-card-magic`,children:`Credit Card Magic`}),`\n`,_jsx(_components.p,{children:`Credit cards are where things get interesting. Instead of immediately pulling funds, our authorization locks system lets you place a hold on the funds first. This is perfect for situations where you need to verify a card’s validity and ensure funds are available, but aren’t ready to complete the transaction yet. The authorization lock is incredibly fast and cost-effective, and it keeps the funds reserved until the credit card provider is ready to process the payment according to their jurisdiction’s rules and requirements.`}),`\n`,_jsx(_components.p,{children:`This approach is particularly valuable in industries with complex payment flows. For example, if you’re running a car rental service, you can authorize a security deposit without actually charging it, then only capture the final amount once the rental period is complete. Hotels, travel companies, and any business dealing with delayed or variable charges will find this especially useful.`}),`\n`,_jsx(Heading,{level:`2`,id:`why-choose-swig`,children:`Why Choose SWIG`}),`\n`,_jsx(_components.p,{children:`Our payment infrastructure isn’t just about moving money – it’s about giving you the tools to build sophisticated financial products. With our authority system handling permissions and our authorization locks managing holds, you can focus on building your product while we handle the complex payment orchestration behind the scenes.`}),`\n`,_jsx(_components.p,{children:`Ready to revolutionize your payment flows? Get in touch with our team, and we’ll help you get started with SWIG’s credit card processing capabilities.`}),`\n`,_jsxs(_components.p,{children:[`contact: `,_jsx(_components.a,{href:`mailto:info@onswig.com`,children:`info@onswig.com`})]})]})}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":"Credit Card Processing with SWIG","description":null,"href":"/examples/credit_card"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[{"title":"Debit Card Processing","slug":"debit-card-processing","depth":3,"children":[]},{"title":"Credit Card Magic","slug":"credit-card-magic","depth":3,"children":[]}]},{"title":"Why Choose SWIG","slug":"why-choose-swig","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"swig","siteName":"Swig","title":"Credit Card Processing with SWIG - Swig","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T17:10:31.098Z","originalFileLocation":"examples/credit_card.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=\"application-name\" content=\"Swig\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_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/swig/He3fxxR-xFhxux8v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Credit Card Processing with SWIG - Swig\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Swig\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://build.onswig.com/examples/credit_card\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://swig.mintlify.app/_mintlify/api/og/v2?division=Wallet+Basics\u0026amp;title=Credit+Card+Processing+with+SWIG\u0026amp;theme=cb996e20bce5709919c330e1\u0026amp;signature=252a51e9818784aaa9cfb8375bf4beb8dcd620058eeb2c80b9fa2d2c318ef74e\">\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=\"Credit Card Processing with SWIG - Swig\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://swig.mintlify.app/_mintlify/api/og/v2?division=Wallet+Basics\u0026amp;title=Credit+Card+Processing+with+SWIG\u0026amp;theme=cb996e20bce5709919c330e1\u0026amp;signature=252a51e9818784aaa9cfb8375bf4beb8dcd620058eeb2c80b9fa2d2c318ef74e\">\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/swig/He3fxxR-xFhxux8v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Swig\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://build.onswig.com/examples/credit_card\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/examples/credit_card.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://build.onswig.com/#organization\",\"name\":\"Swig\",\"url\":\"https://build.onswig.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/swig/8Hu9swmb2xUpt1pY/swiglogodark.png?fit=max\u0026auto=format\u0026n=8Hu9swmb2xUpt1pY\u0026q=85\u0026s=0876c3088948017bf51107a48ad37722\"}},{\"@type\":\"WebSite\",\"@id\":\"https://build.onswig.com#website\",\"name\":\"Swig\",\"url\":\"https://build.onswig.com\",\"publisher\":{\"@id\":\"https://build.onswig.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://build.onswig.com/examples/credit_card#webpage\",\"url\":\"https://build.onswig.com/examples/credit_card\",\"name\":\"Credit Card Processing with SWIG\",\"dateModified\":\"2026-09-30T17:10:31.098Z\",\"isPartOf\":{\"@id\":\"https://build.onswig.com#website\"},\"breadcrumb\":{\"@id\":\"https://build.onswig.com/examples/credit_card#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://build.onswig.com/examples/credit_card#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Examples \u0026 Recipes\",\"item\":\"https://build.onswig.com/examples/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wallet Basics\",\"item\":\"https://build.onswig.com/examples/transfer\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Credit Card Processing with SWIG\",\"item\":\"https://build.onswig.com/examples/credit_card\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://build.onswig.com/examples/credit_card#article\",\"headline\":\"Credit Card Processing with SWIG\",\"name\":\"Credit Card Processing with SWIG\",\"url\":\"https://build.onswig.com/examples/credit_card\",\"mainEntityOfPage\":{\"@id\":\"https://build.onswig.com/examples/credit_card#webpage\"},\"dateModified\":\"2026-09-30T17:10:31.098Z\",\"publisher\":{\"@id\":\"https://build.onswig.com/#organization\"},\"isPartOf\":{\"@id\":\"https://build.onswig.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Swig\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Swig","nav":{"global":null,"products":[{"product":"Overview","icon":"book-open","description":"Use this section to choose the right Swig product and docs path","pages":[{"title":"Overview","href":""}]},{"product":"Protocol","icon":"shield","description":"The on-chain wallet protocol in swig-wallet","pages":[{"title":"Protocol","href":"/protocol"}]},{"product":"Protocol SDK","icon":"terminal","description":"Direct Solana and EVM wallet integrations from TypeScript, Rust, and Python","tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/reference"}]},{"tab":"Solana","groups":[{"group":"Start here","pages":[{"title":"Swig on Solana","sidebarTitle":"Solana Overview","mode":"wide","href":"/solana"}]},{"group":"Quickstarts","pages":[{"title":"TypeScript Quickstart","href":"/tutorials/typescript/index"},{"title":"Environment Setup","href":"/tutorials/typescript/env"},{"title":"Create a Wallet","href":"/tutorials/typescript/create"},{"title":"Manage Authorities and Actions","href":"/tutorials/typescript/managing_authorities"},{"title":"Sign Transactions","href":"/tutorials/typescript/sign"},{"title":"Build an Embedded Wallet with Swig and Para","href":"/tutorials/embeded_wallet_para/index"}]},{"group":"TypeScript Packages","pages":[{"title":"TypeScript Packages","href":"/reference/typescript/index"},{"title":"Swig Kit Package (Web3.js 2.0)","href":"/reference/typescript/kit"},{"title":"Actions","sidebarTitle":"Actions","href":"/reference/typescript/actions"}]},{"group":"Rust Packages","pages":[{"title":"Rust Packages","href":"/reference/rust/index"},{"title":"Instruction Builder","href":"/reference/rust/instruction_builder"},{"title":"Rust Wallet","href":"/reference/rust/rust_wallet"}]},{"group":"AI \u0026 MCP","pages":[{"title":"Getting Started with Swig MCP","href":"/tutorials/mcp/index"},{"title":"Swig MCP Server","href":"/reference/mcp-server"},{"title":"Swig Docs MCP Support","href":"/mcp-support"}]},{"group":"Examples \u0026 Recipes","pages":[{"title":"Examples \u0026 Recipes","href":"/examples/index"},{"group":"Wallet Basics","pages":[{"title":"Transferring stuff with Swig","href":"/examples/transfer"},{"title":"Jupiter Swapping with Swig","description":null,"href":"/examples/swap"},{"title":"Credit Card Processing with SWIG","href":"/examples/credit_card"},{"title":"Subscriptions with Swig","description":null,"href":"/examples/subscription"}]},{"group":"Wallet Integrations","pages":[{"title":"Using Ethereum Keys with Swig","href":"/examples/ethereum_keys"},{"title":"Passkey Integration","href":"/examples/passkeys"},{"title":"Using Paymaster SDK","href":"/examples/paymaster/index"},{"title":"Sponsoring Transactions","href":"/examples/paymaster/sponsor-transactions"},{"title":"Advanced Paymaster Usage","href":"/examples/paymaster/advanced-usage"}]},{"group":"Advanced Wallet Patterns","pages":[{"title":"Using Secp256r1 (P-256) Authorities in Swig","href":"/examples/secp256r1_authority"},{"title":"Working with Sessions in Swig","href":"/examples/sessions"},{"title":"Sub Accounts in Swig","href":"/examples/sub_accounts"},{"title":"V2 Protocol Features","href":"/examples/v2_features"},{"title":"Adding Multiple Authorities Efficiently","href":"/examples/multi_authority"},{"title":"Migrating from Squads multisig","href":"/examples/migrating-from-squads"}]}]},{"group":"Error Types","pages":[{"title":null,"href":"/reference/error-types/index"}]},{"group":"Migration \u0026 Releases","pages":[{"title":"Migration Guide: Beta to v1.0","href":"/tutorials/typescript/migration-v1"},{"title":"Swig TypeScript SDK v1.0 Release Notes","href":"/v1-release-notes"}]}]},{"tab":"EVM","pages":[{"title":"EVM","href":"/evm"}]}]},{"product":"Developer SDK","icon":"building","description":"Prepare wallet creation, transfers, swaps, reads, ramps, and sponsored submission from a trusted TypeScript or Python server","pages":[{"title":"Developer SDK","href":"/developer-sdk"}]},{"product":"Developer API","icon":"code","description":"REST reference for Swig's API-key guarded runtime APIs","pages":[{"title":"Developer API","href":"/developer-api"}]},{"product":"IDP SDK","icon":"fingerprint","description":"Sign users in and return a Swig session for the wallet layer that follows","pages":[{"title":"IDP SDK","href":"/idp-sdk"}]}]},"title":"Credit Card Processing with SWIG - Swig","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}