Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken
and extracts the necessary payment information to create a payment instrument.
The TagadaToken should contain:
type: ‘card’
token: BasisTheory token ID
provider: ‘basistheory’
nonSensitiveMetadata: Card details like last4, brand, expiry, etc.
Security & Permissions:
Requires org:admin role
Requires storeId - validates that the authenticated account owns the store
All operations are scoped to the authenticated user’s account
If customerId is provided, it must belong to the authenticated account
If customerData is provided, the instrument belongs to the store’s customer resolved by email
Customer Handling:
Provide either customerId (existing customer) OR customerData (find or create by email)
Cannot provide both customerId and customerData
With customerData, the store’s existing customer with the same email receives the instrument
(case-insensitive, surrounding spaces ignored); a customer is created only when none exists
Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled
An existing customer’s currency, locale and marketing consent are kept
Shopper context (customer):
Your server is the caller, so Tagada cannot see the shopper. Pass the shopper’s IP and User-Agent
as your server received them in customer: { ipAddress, userAgent }
Kept on the customer’s device record, returned as device by GET /customers/{customerId}
Every later POST /payments/process on this customer, rebills included, sends that IP to the
processor (Stripe Radar, Adyen risk) even when the call omits customer
The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the
processors that ask for it
Never your own server’s address. Tagada never substitutes it either; an invalid IP is refused (400)
The shopper behind this server-to-server call, as seen by YOUR server (IP, User-Agent). Kept on the customer's device record, returned as device by GET /customers/{customerId}. Every later POST /payments/process on this customer, rebills included, sends that IP to the processor even when that call omits customer; the User-Agent is stored, not sent to the processor except as 3-D Secure browser data to the processors that ask for it. Never your own server's address; an invalid IP is refused (400).
Show child attributes
Response
Successful response
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TagadaPay Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95","dark":"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95"},"favicon":"https://mintcdn.com/tagadapay/Ps9CiAHh3vY6Nvlu/favicon.svg?fit=max\u0026auto=format\u0026n=Ps9CiAHh3vY6Nvlu\u0026q=85\u0026s=efbc04eeaada7549e650570bcfc8ce6d","api":{"playground":{}},"navbar":{"links":[{"href":"https://help.tagada.io","label":"Help Center"},{"href":"https://feedback.tagada.io/roadmap","label":"Roadmap"},{"href":"https://feedback.tagada.io/changelog","label":"Changelog"},{"href":"mailto:api-support@tagadapay.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://crm.tagadapay.com"}},"footer":{"socials":{"website":"https://tagadapay.com","github":"https://github.com/tagadapay"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Help Center","icon":"book-open","href":"https://help.tagada.io"},{"anchor":"Roadmap","icon":"map","href":"https://feedback.tagada.io/roadmap"},{"anchor":"Changelog","icon":"list","href":"https://feedback.tagada.io/changelog"},{"anchor":"Dashboard","icon":"chart-line","href":"https://crm.tagadapay.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:api-support@tagadapay.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tagadapay","hasAudioNarration":false,"actualSubdomain":"tagadapay","customDomains":["docs.tagada.io"],"gitSource":{"type":"gitlab","owner":"tagadapay","repo":"tagadapay-app","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"projectId":61148103,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0008b6256cc058976bdd86","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Commerce API (V2)","count":189},{"language":"default","tag":"Developer Tools","count":98},{"language":"default","tag":"Payments API (V3)","count":64},{"language":"default","tag":"plugins-v2","count":31},{"language":"default","tag":"portal","count":22},{"language":"default","tag":"Node SDK","count":18},{"language":"default","tag":"Headless SDK","count":14},{"language":"default","tag":"Tagada Rx","count":14},{"language":"default","tag":"Plugin SDK","count":12},{"language":"default","tag":"plugins","count":11}]},"assistantConfig":{},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/payment-instruments/create-payment-instrument-from-tagadatoken","slug":"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken","pageMetadata":{"title":"Create payment instrument from TagadaToken","description":"\nCreate a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken \nand extracts the necessary payment information to create a payment instrument.\n\nThe TagadaToken should contain:\n- type: 'card'\n- token: BasisTheory token ID\n- provider: 'basistheory'\n- nonSensitiveMetadata: Card details like last4, brand, expiry, etc.\n\n**Security \u0026 Permissions:**\n- Requires org:admin role\n- Requires storeId - validates that the authenticated account owns the store\n- All operations are scoped to the authenticated user's account\n- If customerId is provided, it must belong to the authenticated account\n- If customerData is provided, the instrument belongs to the store's customer resolved by email\n\n**Customer Handling:**\n- Provide either customerId (existing customer) OR customerData (find or create by email)\n- Cannot provide both customerId and customerData\n- With customerData, the store's existing customer with the same email receives the instrument\n (case-insensitive, surrounding spaces ignored); a customer is created only when none exists\n- Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled\n- An existing customer's currency, locale and marketing consent are kept\n\n**Shopper context (`customer`):**\n- Your server is the caller, so Tagada cannot see the shopper. Pass the shopper's IP and User-Agent\n as your server received them in `customer: { ipAddress, userAgent }`\n- Kept on the customer's device record, returned as `device` by `GET /customers/{customerId}`\n- Every later `POST /payments/process` on this customer, rebills included, sends that IP to the\n processor (Stripe Radar, Adyen risk) even when the call omits `customer`\n- The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the\n processors that ask for it\n- Never your own server's address. Tagada never substitutes it either; an invalid IP is refused (400)\n ","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-instruments/create-from-token","href":"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken\\nand extracts the necessary payment information to create a payment instrument.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The TagadaToken should contain:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"type: ‘card’\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"token: BasisTheory token ID\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"provider: ‘basistheory’\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"nonSensitiveMetadata: Card details like last4, brand, expiry, etc.\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Security \u0026 Permissions:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Requires org:admin role\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Requires storeId - validates that the authenticated account owns the store\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"All operations are scoped to the authenticated user’s account\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"If customerId is provided, it must belong to the authenticated account\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"If customerData is provided, the instrument belongs to the store’s customer resolved by email\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Customer Handling:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Provide either customerId (existing customer) OR customerData (find or create by email)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Cannot provide both customerId and customerData\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"With customerData, the store’s existing customer with the same email receives the instrument\\n(case-insensitive, surrounding spaces ignored); a customer is created only when none exists\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"An existing customer’s currency, locale and marketing consent are kept\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsxs(_components.strong, {\n children: [\"Shopper context (\", _jsx(_components.code, {\n children: \"customer\"\n }), \"):\"]\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Your server is the caller, so Tagada cannot see the shopper. Pass the shopper’s IP and User-Agent\\nas your server received them in \", _jsx(_components.code, {\n children: \"customer: { ipAddress, userAgent }\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Kept on the customer’s device record, returned as \", _jsx(_components.code, {\n children: \"device\"\n }), \" by \", _jsx(_components.code, {\n children: \"GET /customers/{customerId}\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Every later \", _jsx(_components.code, {\n children: \"POST /payments/process\"\n }), \" on this customer, rebills included, sends that IP to the\\nprocessor (Stripe Radar, Adyen risk) even when the call omits \", _jsx(_components.code, {\n children: \"customer\"\n })]\n }), \"\\n\", _jsx(_components.li, {\n children: \"The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the\\nprocessors that ask for it\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Never your own server’s address. Tagada never substitutes it either; an invalid IP is refused (400)\"\n }), \"\\n\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create payment instrument from TagadaToken","description":"\nCreate a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken \nand extracts the necessary payment information to create a payment instrument.\n\nThe TagadaToken should contain:\n- type: 'card'\n- token: BasisTheory token ID\n- provider: 'basistheory'\n- nonSensitiveMetadata: Card details like last4, brand, expiry, etc.\n\n**Security \u0026 Permissions:**\n- Requires org:admin role\n- Requires storeId - validates that the authenticated account owns the store\n- All operations are scoped to the authenticated user's account\n- If customerId is provided, it must belong to the authenticated account\n- If customerData is provided, the instrument belongs to the store's customer resolved by email\n\n**Customer Handling:**\n- Provide either customerId (existing customer) OR customerData (find or create by email)\n- Cannot provide both customerId and customerData\n- With customerData, the store's existing customer with the same email receives the instrument\n (case-insensitive, surrounding spaces ignored); a customer is created only when none exists\n- Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled\n- An existing customer's currency, locale and marketing consent are kept\n\n**Shopper context (`customer`):**\n- Your server is the caller, so Tagada cannot see the shopper. Pass the shopper's IP and User-Agent\n as your server received them in `customer: { ipAddress, userAgent }`\n- Kept on the customer's device record, returned as `device` by `GET /customers/{customerId}`\n- Every later `POST /payments/process` on this customer, rebills included, sends that IP to the\n processor (Stripe Radar, Adyen risk) even when the call omits `customer`\n- The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the\n processors that ask for it\n- Never your own server's address. Tagada never substitutes it either; an invalid IP is refused (400)\n ","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-instruments/create-from-token","href":"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tagadapay/81c11c0e163f81a7/utm-forward.js","/_mintlify/custom/tagadapay/d423b707fd32127b/x-pixel.js"],"openApiReferenceData":{"operation":{"operationId":"post-api-public-v1-payment-instruments-create-from-token","summary":"Create payment instrument from TagadaToken","description":"\nCreate a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken \nand extracts the necessary payment information to create a payment instrument.\n\nThe TagadaToken should contain:\n- type: 'card'\n- token: BasisTheory token ID\n- provider: 'basistheory'\n- nonSensitiveMetadata: Card details like last4, brand, expiry, etc.\n\n**Security \u0026 Permissions:**\n- Requires org:admin role\n- Requires storeId - validates that the authenticated account owns the store\n- All operations are scoped to the authenticated user's account\n- If customerId is provided, it must belong to the authenticated account\n- If customerData is provided, the instrument belongs to the store's customer resolved by email\n\n**Customer Handling:**\n- Provide either customerId (existing customer) OR customerData (find or create by email)\n- Cannot provide both customerId and customerData\n- With customerData, the store's existing customer with the same email receives the instrument\n (case-insensitive, surrounding spaces ignored); a customer is created only when none exists\n- Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled\n- An existing customer's currency, locale and marketing consent are kept\n\n**Shopper context (`customer`):**\n- Your server is the caller, so Tagada cannot see the shopper. Pass the shopper's IP and User-Agent\n as your server received them in `customer: { ipAddress, userAgent }`\n- Kept on the customer's device record, returned as `device` by `GET /customers/{customerId}`\n- Every later `POST /payments/process` on this customer, rebills included, sends that IP to the\n processor (Stripe Radar, Adyen risk) even when the call omits `customer`\n- The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the\n processors that ask for it\n- Never your own server's address. Tagada never substitutes it either; an invalid IP is refused (400)\n ","tags":["payment-instruments"],"security":["28fbf23e-fac4-4983-8320-587350d6f8f6"],"requestBody":"39ea829e-f5c2-4f90-985c-31fcd433fcac","parameters":[],"responses":{"200":"3e29ba60-054c-4a87-b350-27eb540399a0","default":"4cf9c64e-b8fe-4c57-a27a-dd055f508fa8"},"method":"post","type":"path","servers":["633afdd7-c551-4109-a59a-3e87cb141518","4f277c85-90c2-40b2-b2b0-0783af332f36"],"path":"/api/public/v1/payment-instruments/create-from-token","baseUrlOptions":["https://api.tagada.io/","https://api.tagada.dev/"],"title":"Create payment instrument from TagadaToken","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tagadaToken":{"type":"string","isRequired":true,"uniqueKey":"tagadaToken","typeLabel":"string"},"storeId":{"type":"string","isRequired":true,"uniqueKey":"storeId","typeLabel":"string"},"customerId":{"type":"string","uniqueKey":"customerId","typeLabel":"string"},"customerData":{"type":"object","properties":{"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"customerData.email","typeLabel":"string\u003cemail>"},"firstName":{"type":"string","uniqueKey":"customerData.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"customerData.lastName","typeLabel":"string"},"currency":{"type":"string","default":"USD","uniqueKey":"customerData.currency","typeLabel":"string"},"locale":{"type":"string","default":"en","uniqueKey":"customerData.locale","typeLabel":"string"},"billingAddress":{"oneOf":[{}],"uniqueKey":"customerData.billingAddress","typeLabel":"any"},"shippingAddress":{"oneOf":[{}],"uniqueKey":"customerData.shippingAddress","typeLabel":"any"},"acceptsMarketing":{"type":"boolean","default":false,"uniqueKey":"customerData.acceptsMarketing","typeLabel":"boolean"}},"required":["email"],"additionalProperties":false,"uniqueKey":"customerData","typeLabel":"object"},"customer":{"type":"object","description":"The shopper behind this server-to-server call, as seen by YOUR server (IP, User-Agent). Kept on the customer's device record, returned as `device` by GET /customers/{customerId}. Every later POST /payments/process on this customer, rebills included, sends that IP to the processor even when that call omits `customer`; the User-Agent is stored, not sent to the processor except as 3-D Secure browser data to the processors that ask for it. Never your own server's address; an invalid IP is refused (400).","properties":{"ipAddress":{"type":"string","description":"Public IPv4 or IPv6 of the shopper. Refused (400) when it is not a valid IP.","uniqueKey":"customer.ipAddress","typeLabel":"string"},"userAgent":{"type":"string","maxLength":1024,"description":"User-Agent of the shopper's browser, as received by your server.","uniqueKey":"customer.userAgent","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"customer","typeLabel":"object"}},"required":["tagadaToken","storeId"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"withCustomer":{"title":"withCustomer","summary":"Create with existing customer","value":{"tagadaToken":"eyJ0eXBlIjoiY2FyZCIsInRva2VuIjoiYnRfdG9rZW5fMTIzIiwicHJvdmlkZXIiOiJiYXNpc3RoZW9yeSIsIm5vblNlbnNpdGl2ZU1ldGFkYXRhIjp7Imxhc3Q0IjoiNDI0MiIsImJyYW5kIjoidmlzYSIsImV4cGlyeU1vbnRoIjoxMiwiZXhwaXJ5WWVhciI6MjAyNX19","storeId":"store_eaa20d619f6b","customerId":"cus_123"}},"withoutCustomer":{"title":"withoutCustomer","summary":"Create with new customer","value":{"tagadaToken":"eyJ0eXBlIjoiY2FyZCIsInRva2VuIjoiYnRfdG9rZW5fMTIzIiwicHJvdmlkZXIiOiJiYXNpc3RoZW9yeSIsIm5vblNlbnNpdGl2ZU1ldGFkYXRhIjp7Imxhc3Q0IjoiNDI0MiIsImJyYW5kIjoidmlzYSIsImV4cGlyeU1vbnRoIjoxMiwiZXhwaXJ5WWVhciI6MjAyNX19","storeId":"store_eaa20d619f6b","customerData":{"email":"john@example.com","firstName":"John","lastName":"Doe"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3e29ba60-054c-4a87-b350-27eb540399a0":{"description":"Successful response","content":{"application/json":{"schema":{},"examples":{"success":{"title":"success","summary":"Successful creation","value":{"paymentInstrument":{"id":"pi_123","type":"card","customerId":"cus_123","accountId":"acc_123","isActive":true,"isDefault":false,"tokenizer":"basistheory","createdAt":"2024-03-20T10:30:00Z","card":{"last4":"4242","brand":"visa","expYear":2025,"expMonth":12}},"customer":{"id":"cus_123","email":"john@example.com","firstName":"John","lastName":"Doe","createdAt":"2024-03-20T10:30:00Z"}}},"storeNotFound":{"title":"storeNotFound","summary":"Store not found","value":{"error":"Store not found"}},"storeUnauthorized":{"title":"storeUnauthorized","summary":"Store does not belong to account","value":{"error":"You do not have permission to access this store"}},"customerNotFound":{"title":"customerNotFound","summary":"Customer not found or unauthorized","value":{"error":"Customer not found or does not belong to your account"}},"invalidInput":{"title":"invalidInput","summary":"Invalid input combination","value":{"error":"Cannot provide both customerId and customerData. Choose one."}}},"exampleType":"examples"}},"exampleType":"examples"},"4cf9c64e-b8fe-4c57-a27a-dd055f508fa8":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","issues":[{"message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"28fbf23e-fac4-4983-8320-587350d6f8f6":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your API key as: `Bearer your-api-key`","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"633afdd7-c551-4109-a59a-3e87cb141518":{"url":"https://api.tagada.io/","description":"Production"},"4f277c85-90c2-40b2-b2b0-0783af332f36":{"url":"https://api.tagada.dev/","description":"Sandbox / Development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your API key as: `Bearer your-api-key`","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your API key as: `Bearer your-api-key`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"tagadapay","siteName":"TagadaPay Documentation","title":"Create payment instrument from TagadaToken - TagadaPay Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T08:45:56.190Z","originalFileLocation":"api-reference/payment-instruments/create-payment-instrument-from-tagadatoken.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=\"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument. The TagadaToken should contain: - type: \u0026#x27;card\u0026#x27; - token: BasisTheory token ID - provider: \u0026#x27;basistheory\u0026#x27; - nonSensitiveMetadata: Card details like last4, brand, expiry, etc. Security \u0026amp; Permissions: - Requires org:admin role - Requires storeId - validates that the authenticated account owns the store - All operations are scoped to the authenticated user\u0026#x27;s account - If customerId is provided, it must belong to the authenticated account - If customerData is provided, the instrument belongs to the store\u0026#x27;s customer resolved by email Customer Handling: - Provide either customerId (existing customer) OR customerData (find or create by email) - Cannot provide both customerId and customerData - With customerData, the store\u0026#x27;s existing customer with the same email receives the instrument (case-insensitive, surrounding spaces ignored); a customer is created only when none exists - Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled - An existing customer\u0026#x27;s currency, locale and marketing consent are kept Shopper context (customer): - Your server is the caller, so Tagada cannot see the shopper. Pass the shopper\u0026#x27;s IP and User-Agent as your server received them in customer: { ipAddress, userAgent } - Kept on the customer\u0026#x27;s device record, returned as device by GET /customers/{customerId} - Every later POST /payments/process on this customer, rebills included, sends that IP to the processor (Stripe Radar, Adyen risk) even when the call omits customer - The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the processors that ask for it - Never your own server\u0026#x27;s address. Tagada never substitutes it either; an invalid IP is refused (400)\">\u003cmeta data-mint-head name=\"application-name\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create payment instrument from TagadaToken - TagadaPay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument. The TagadaToken should contain: - type: \u0026#x27;card\u0026#x27; - token: BasisTheory token ID - provider: \u0026#x27;basistheory\u0026#x27; - nonSensitiveMetadata: Card details like last4, brand, expiry, etc. Security \u0026amp; Permissions: - Requires org:admin role - Requires storeId - validates that the authenticated account owns the store - All operations are scoped to the authenticated user\u0026#x27;s account - If customerId is provided, it must belong to the authenticated account - If customerData is provided, the instrument belongs to the store\u0026#x27;s customer resolved by email Customer Handling: - Provide either customerId (existing customer) OR customerData (find or create by email) - Cannot provide both customerId and customerData - With customerData, the store\u0026#x27;s existing customer with the same email receives the instrument (case-insensitive, surrounding spaces ignored); a customer is created only when none exists - Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled - An existing customer\u0026#x27;s currency, locale and marketing consent are kept Shopper context (customer): - Your server is the caller, so Tagada cannot see the shopper. Pass the shopper\u0026#x27;s IP and User-Agent as your server received them in customer: { ipAddress, userAgent } - Kept on the customer\u0026#x27;s device record, returned as device by GET /customers/{customerId} - Every later POST /payments/process on this customer, rebills included, sends that IP to the processor (Stripe Radar, Adyen risk) even when the call omits customer - The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the processors that ask for it - Never your own server\u0026#x27;s address. Tagada never substitutes it either; an invalid IP is refused (400)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tagadapay.mintlify.site/_mintlify/api/og/v2?division=payment-instruments\u0026amp;title=Create+payment+instrument+from+TagadaToken\u0026amp;description=%0ACreate+a+payment+instrument+from+a+base64+encoded+TagadaToken.+This+endpoint+decodes+the+TagadaToken+%0Aand+extracts+the+necessary+payment+information+to+create+\u0026amp;theme=ccdab24e135c4d290a86d3ab\u0026amp;signature=5e9ee46fe15e21ed497c089181dfeed96beb95001897a27f95adc9e4608d7214\">\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=\"Create payment instrument from TagadaToken - TagadaPay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument. The TagadaToken should contain: - type: \u0026#x27;card\u0026#x27; - token: BasisTheory token ID - provider: \u0026#x27;basistheory\u0026#x27; - nonSensitiveMetadata: Card details like last4, brand, expiry, etc. Security \u0026amp; Permissions: - Requires org:admin role - Requires storeId - validates that the authenticated account owns the store - All operations are scoped to the authenticated user\u0026#x27;s account - If customerId is provided, it must belong to the authenticated account - If customerData is provided, the instrument belongs to the store\u0026#x27;s customer resolved by email Customer Handling: - Provide either customerId (existing customer) OR customerData (find or create by email) - Cannot provide both customerId and customerData - With customerData, the store\u0026#x27;s existing customer with the same email receives the instrument (case-insensitive, surrounding spaces ignored); a customer is created only when none exists - Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled - An existing customer\u0026#x27;s currency, locale and marketing consent are kept Shopper context (customer): - Your server is the caller, so Tagada cannot see the shopper. Pass the shopper\u0026#x27;s IP and User-Agent as your server received them in customer: { ipAddress, userAgent } - Kept on the customer\u0026#x27;s device record, returned as device by GET /customers/{customerId} - Every later POST /payments/process on this customer, rebills included, sends that IP to the processor (Stripe Radar, Adyen risk) even when the call omits customer - The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the processors that ask for it - Never your own server\u0026#x27;s address. Tagada never substitutes it either; an invalid IP is refused (400)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tagadapay.mintlify.site/_mintlify/api/og/v2?division=payment-instruments\u0026amp;title=Create+payment+instrument+from+TagadaToken\u0026amp;description=%0ACreate+a+payment+instrument+from+a+base64+encoded+TagadaToken.+This+endpoint+decodes+the+TagadaToken+%0Aand+extracts+the+necessary+payment+information+to+create+\u0026amp;theme=ccdab24e135c4d290a86d3ab\u0026amp;signature=5e9ee46fe15e21ed497c089181dfeed96beb95001897a27f95adc9e4608d7214\">\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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tagada.io/#organization\",\"name\":\"TagadaPay Documentation\",\"url\":\"https://docs.tagada.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tagada.io#website\",\"name\":\"TagadaPay Documentation\",\"url\":\"https://docs.tagada.io\",\"publisher\":{\"@id\":\"https://docs.tagada.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken#webpage\",\"url\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken\",\"name\":\"Create payment instrument from TagadaToken\",\"description\":\"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument. The TagadaToken should contain: - type: 'card' - token: BasisTheory token ID - provider: 'basistheory' - nonSensitiveMetadata: Card details like last4, brand, expiry, etc. Security \u0026 Permissions: - Requires org:admin role - Requires storeId - validates that the authenticated account owns the store - All operations are scoped to the authenticated user's account - If customerId is provided, it must belong to the authenticated account - If customerData is provided, the instrument belongs to the store's customer resolved by email Customer Handling: - Provide either customerId (existing customer) OR customerData (find or create by email) - Cannot provide both customerId and customerData - With customerData, the store's existing customer with the same email receives the instrument (case-insensitive, surrounding spaces ignored); a customer is created only when none exists - Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled - An existing customer's currency, locale and marketing consent are kept Shopper context (customer): - Your server is the caller, so Tagada cannot see the shopper. Pass the shopper's IP and User-Agent as your server received them in customer: { ipAddress, userAgent } - Kept on the customer's device record, returned as device by GET /customers/{customerId} - Every later POST /payments/process on this customer, rebills included, sends that IP to the processor (Stripe Radar, Adyen risk) even when the call omits customer - The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the processors that ask for it - Never your own server's address. Tagada never substitutes it either; an invalid IP is refused (400)\",\"dateModified\":\"2026-11-20T08:45:56.190Z\",\"isPartOf\":{\"@id\":\"https://docs.tagada.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"payment-instruments\",\"item\":\"https://docs.tagada.io/api-reference/payment-instruments/list-payment-instruments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create payment instrument from TagadaToken\",\"item\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken#apireference\",\"headline\":\"Create payment instrument from TagadaToken\",\"name\":\"Create payment instrument from TagadaToken\",\"description\":\"Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument. The TagadaToken should contain: - type: 'card' - token: BasisTheory token ID - provider: 'basistheory' - nonSensitiveMetadata: Card details like last4, brand, expiry, etc. Security \u0026 Permissions: - Requires org:admin role - Requires storeId - validates that the authenticated account owns the store - All operations are scoped to the authenticated user's account - If customerId is provided, it must belong to the authenticated account - If customerData is provided, the instrument belongs to the store's customer resolved by email Customer Handling: - Provide either customerId (existing customer) OR customerData (find or create by email) - Cannot provide both customerId and customerData - With customerData, the store's existing customer with the same email receives the instrument (case-insensitive, surrounding spaces ignored); a customer is created only when none exists - Provided non-empty billing/shipping addresses replace the stored addresses; empty names are filled - An existing customer's currency, locale and marketing consent are kept Shopper context (customer): - Your server is the caller, so Tagada cannot see the shopper. Pass the shopper's IP and User-Agent as your server received them in customer: { ipAddress, userAgent } - Kept on the customer's device record, returned as device by GET /customers/{customerId} - Every later POST /payments/process on this customer, rebills included, sends that IP to the processor (Stripe Radar, Adyen risk) even when the call omits customer - The User-Agent is stored, not sent to the processor, except as 3-D Secure browser data to the processors that ask for it - Never your own server's address. Tagada never substitutes it either; an invalid IP is refused (400)\",\"url\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tagada.io/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken#webpage\"},\"dateModified\":\"2026-11-20T08:45:56.190Z\",\"publisher\":{\"@id\":\"https://docs.tagada.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tagada.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TagadaPay Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TagadaPay Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken.md","siteName":"TagadaPay Documentation","nav":{"global":{"anchors":[{"anchor":"Help Center","icon":"book-open","href":"https://help.tagada.io"},{"anchor":"Roadmap","icon":"map","href":"https://feedback.tagada.io/roadmap"},{"anchor":"Changelog","icon":"list","href":"https://feedback.tagada.io/changelog"},{"anchor":"Dashboard","icon":"chart-line","href":"https://crm.tagadapay.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:api-support@tagadapay.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Developer Tools","pages":[{"title":"Developer Tools","href":"/developer-tools"}]},{"tab":"Partners","hidden":true,"pages":[{"title":"Partners","href":"/developer-tools/partners/introduction"}]},{"tab":"Tagada Rx","pages":[{"title":"Tagada Rx","href":"/developer-tools/rx/introduction"}]},{"tab":"Payments API (V3)","pages":[{"title":"Payments API (V3)","href":"/payments-api/overview"}]},{"tab":"Commerce API (V2)","groups":[{"group":"Overview","pages":[{"title":"Commerce API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Guides","pages":[{"title":"IAM Overview","href":"/api-reference/iam-overview"}]},{"group":"auth","pages":[{"title":"Test authentication","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/auth/test","href":"/api-reference/auth/test-authentication"}]},{"group":"builder","pages":[{"title":"Create builder session token","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/builder/sessions","href":"/api-reference/builder/create-builder-session-token"},{"title":"Validate builder session token","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/builder/sessions/validate","href":"/api-reference/builder/validate-builder-session-token"}]},{"group":"checkout","pages":[{"title":"Initialize checkout session","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/checkout/init","href":"/api-reference/checkout/initialize-checkout-session"},{"title":"Pay checkout session V2","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/checkout/pay-v2","href":"/api-reference/checkout/pay-checkout-session-v2"}]},{"group":"payments","pages":[{"title":"List payments with transactions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments","href":"/api-reference/payments/list-payments-with-transactions"},{"title":"Refund payment","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/refund","href":"/api-reference/payments/refund-payment"},{"title":"Mark payment as disputed","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/mark-disputed","href":"/api-reference/payments/mark-payment-as-disputed"},{"title":"Update payment dispute status","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/dispute","href":"/api-reference/payments/update-payment-dispute-status"},{"title":"Get payment currencies","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/currencies","href":"/api-reference/payments/get-payment-currencies"},{"title":"Get available processors","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/processors","href":"/api-reference/payments/get-available-processors"},{"title":"Get payment by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/payments/{paymentId}","href":"/api-reference/payments/get-payment-by-id"},{"title":"Process payment","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/process","href":"/api-reference/payments/process-payment"},{"title":"Void payment","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/void","href":"/api-reference/payments/void-payment"},{"title":"Continue a paused payment","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payments/continue","href":"/api-reference/payments/continue-a-paused-payment"}]},{"group":"block-rules","pages":[{"title":"List block rules","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/block-rules/list","href":"/api-reference/block-rules/list-block-rules"},{"title":"Create block rule","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/block-rules","href":"/api-reference/block-rules/create-block-rule"},{"title":"Get block rule by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/block-rules/{id}","href":"/api-reference/block-rules/get-block-rule-by-id"},{"title":"Update block rule","deprecated":null,"version":null,"openapi":"/openapi.json put /api/public/v1/block-rules/{id}","href":"/api-reference/block-rules/update-block-rule"},{"title":"Delete block rule","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/public/v1/block-rules/{id}","href":"/api-reference/block-rules/delete-block-rule"}]},{"group":"plugins","pages":[{"title":"List plugins for a store","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/list","href":"/api-reference/plugins/list-plugins-for-a-store"},{"title":"Get public plugins","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/public/{id}","href":"/api-reference/plugins/get-public-plugins"},{"title":"Get plugin by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/{id}","href":"/api-reference/plugins/get-plugin-by-id"},{"title":"List plugin deployments","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/deployments","href":"/api-reference/plugins/list-plugin-deployments"},{"title":"Deploy plugin version from CLI","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/deploy","href":"/api-reference/plugins/deploy-plugin-version-from-cli"},{"title":"Deploy plugin from marketplace","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/deploy-from-marketplace","href":"/api-reference/plugins/deploy-plugin-from-marketplace"},{"title":"Deploy plugin from blob URL","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/deploy-from-blob","href":"/api-reference/plugins/deploy-plugin-from-blob-url"},{"title":"Undeploy plugin","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/undeploy","href":"/api-reference/plugins/undeploy-plugin"},{"title":"Promote plugin to custom domain","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/promote-to-custom-domain","href":"/api-reference/plugins/promote-plugin-to-custom-domain"},{"title":"Promote plugin deployment to alias","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/promote-to-alias","href":"/api-reference/plugins/promote-plugin-deployment-to-alias"},{"title":"Count public plugins by type","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins-count","href":"/api-reference/plugins/count-public-plugins-by-type"}]},{"group":"plugins-v2","pages":[{"title":"List all plugins (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/list","href":"/api-reference/plugins-v2/list-all-plugins-v2"},{"title":"Get available features (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/features","href":"/api-reference/plugins-v2/get-available-features-v2"},{"title":"List verified domains (V2)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/domains","href":"/api-reference/plugins-v2/list-verified-domains-v2"},{"title":"List mount points (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/mount-points","href":"/api-reference/plugins-v2/list-mount-points-v2"},{"title":"List instances (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/instances","href":"/api-reference/plugins-v2/list-instances-v2"},{"title":"Get plugin details (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/details","href":"/api-reference/plugins-v2/get-plugin-details-v2"},{"title":"Get deployment details (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deployment/details","href":"/api-reference/plugins-v2/get-deployment-details-v2"},{"title":"Mount plugin (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/mount","href":"/api-reference/plugins-v2/mount-plugin-v2"},{"title":"Remove route(s) from instance (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/unmount","href":"/api-reference/plugins-v2/remove-routes-from-instance-v2"},{"title":"Swap instance (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/swap","href":"/api-reference/plugins-v2/swap-instance-v2"},{"title":"Update route (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/route/update","href":"/api-reference/plugins-v2/update-route-v2"},{"title":"Instantiate plugin (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/instantiate","href":"/api-reference/plugins-v2/instantiate-plugin-v2"},{"title":"Update instance config (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/instance/config","href":"/api-reference/plugins-v2/update-instance-config-v2"},{"title":"Remove instance (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/instance/remove","href":"/api-reference/plugins-v2/remove-instance-v2"},{"title":"Fork for edit (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/fork","href":"/api-reference/plugins-v2/fork-for-edit-v2"},{"title":"Promote preview (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/promote","href":"/api-reference/plugins-v2/promote-preview-v2"},{"title":"Delete plugin (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/delete","href":"/api-reference/plugins-v2/delete-plugin-v2"},{"title":"Delete deployment (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deployment/delete","href":"/api-reference/plugins-v2/delete-deployment-v2"},{"title":"Set deployment visibility (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deployment/visibility","href":"/api-reference/plugins-v2/set-deployment-visibility-v2"},{"title":"Deploy plugin from URL (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deploy-from-url","href":"/api-reference/plugins-v2/deploy-plugin-from-url-v2"},{"title":"Sync deployment config (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deployment/sync-config","href":"/api-reference/plugins-v2/sync-deployment-config-v2"},{"title":"Validate plugin manifest (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/manifest/validate","href":"/api-reference/plugins-v2/validate-plugin-manifest-v2"},{"title":"Deploy plugin with inline assets (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/deploy","href":"/api-reference/plugins-v2/deploy-plugin-with-inline-assets-v2"},{"title":"Configure split testing (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/split","href":"/api-reference/plugins-v2/configure-split-testing-v2"},{"title":"Get deployment source data (V2)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/plugins/v2/source-data","href":"/api-reference/plugins-v2/get-deployment-source-data-v2"},{"title":"List plugins for a store","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/list/{storeId}","href":"/api-reference/plugins-v2/list-plugins-for-a-store"},{"title":"List instances for a store","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/instances/{storeId}","href":"/api-reference/plugins-v2/list-instances-for-a-store"},{"title":"Retrieve a single instance","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/instances/detail/{instanceId}","href":"/api-reference/plugins-v2/retrieve-a-single-instance"},{"title":"Retrieve a deployment","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/deployments/{deploymentId}","href":"/api-reference/plugins-v2/retrieve-a-deployment"},{"title":"List mount points for a store","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/mount-points/{storeId}","href":"/api-reference/plugins-v2/list-mount-points-for-a-store"},{"title":"Get plugin details","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/plugins/v2/details/{pluginId}","href":"/api-reference/plugins-v2/get-plugin-details"}]},{"group":"domains","pages":[{"title":"List custom domains","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/list","href":"/api-reference/domains/list-custom-domains"},{"title":"Add custom domain","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/add","href":"/api-reference/domains/add-custom-domain"},{"title":"Verify custom domain","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/verify","href":"/api-reference/domains/verify-custom-domain"},{"title":"Remove custom domain","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/remove","href":"/api-reference/domains/remove-custom-domain"},{"title":"Get domain configuration","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/config","href":"/api-reference/domains/get-domain-configuration"},{"title":"Lookup DNS records","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/domains/dns-lookup","href":"/api-reference/domains/lookup-dns-records"}]},{"group":"orders","pages":[{"title":"List orders","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/orders/list","href":"/api-reference/orders/list-orders"},{"title":"Get order by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/orders/{orderId}","href":"/api-reference/orders/get-order-by-id"}]},{"group":"subscriptions","pages":[{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/list","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Get subscription by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/subscriptions/{subscriptionId}","href":"/api-reference/subscriptions/get-subscription-by-id"},{"title":"Rebill subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/rebill","href":"/api-reference/subscriptions/rebill-subscription"},{"title":"Cancel subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/cancel","href":"/api-reference/subscriptions/cancel-subscriptions"},{"title":"Resume subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/resume","href":"/api-reference/subscriptions/resume-subscriptions"},{"title":"Update billing cycle","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/update-billing-cycle","href":"/api-reference/subscriptions/update-billing-cycle"},{"title":"Change subscription processor","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/change-processor","href":"/api-reference/subscriptions/change-subscription-processor"},{"title":"Change subscription price in place","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/change-price","href":"/api-reference/subscriptions/change-subscription-price-in-place"},{"title":"Apply a subscription discount in place","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/apply-discount","href":"/api-reference/subscriptions/apply-a-subscription-discount-in-place"},{"title":"Extend a subscription trial in place","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/extend-trial","href":"/api-reference/subscriptions/extend-a-subscription-trial-in-place"},{"title":"Create subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/subscriptions/create","href":"/api-reference/subscriptions/create-subscription"}]},{"group":"products","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/products/list","href":"/api-reference/products/list-products"},{"title":"Create product","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/products/create","href":"/api-reference/products/create-product"},{"title":"Get product by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/products/{productId}","href":"/api-reference/products/get-product-by-id"},{"title":"Update product","deprecated":null,"version":null,"openapi":"/openapi.json put /api/public/v1/products/{productId}","href":"/api-reference/products/update-product"},{"title":"Delete products","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/products/delete","href":"/api-reference/products/delete-products"}]},{"group":"events","pages":[{"title":"List app events (Admin Only)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/events/list","href":"/api-reference/events/list-app-events-admin-only"},{"title":"Get event by ID (Admin Only)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/events/{eventId}","href":"/api-reference/events/get-event-by-id-admin-only"},{"title":"Get event statistics (Admin Only)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/events/statistics","href":"/api-reference/events/get-event-statistics-admin-only"},{"title":"Get recent events (Admin Only)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/events/recent","href":"/api-reference/events/get-recent-events-admin-only"}]},{"group":"customers","pages":[{"title":"Create customer","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/customers/create","href":"/api-reference/customers/create-customer"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/customers/list","href":"/api-reference/customers/list-customers"},{"title":"Get customer by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/customers/{customerId}","href":"/api-reference/customers/get-customer-by-id"}]},{"group":"payment-instruments","pages":[{"title":"List payment instruments","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-instruments/list","href":"/api-reference/payment-instruments/list-payment-instruments"},{"title":"Get payment instrument by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/payment-instruments/{paymentInstrumentId}","href":"/api-reference/payment-instruments/get-payment-instrument-by-id"},{"title":"List customer payment instruments","description":"Get all active payment instruments for a customer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/customers/{customerId}/payment-instruments","href":"/api-reference/payment-instruments/list-customer-payment-instruments"},{"title":"Create payment instrument from TagadaToken","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-instruments/create-from-token","href":"/api-reference/payment-instruments/create-payment-instrument-from-tagadatoken"},{"title":"Raw card data capability (SDK internal)","description":"\nUsed by `@tagadapay/node-sdk` `paymentInstruments.createFromCard()`. Returns the public,\ncreate-only vault key the SDK uses to tokenize a card **from the merchant's server directly into\nTagada's PCI vault** — the card number never reaches the Tagada API. Not meant to be called by hand.\n\nThe capability is off by default and enabled per account by Tagada support. When it is not enabled\nthe endpoint answers `403` with `Please contact support to ask for raw card data enablement`.\n ","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/payment-instruments/raw-card/config","href":"/api-reference/payment-instruments/raw-card-data-capability-sdk-internal"}]},{"group":"3ds","pages":[{"title":"Create 3DS session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/threeds/create-session","href":"/api-reference/3ds/create-3ds-session"},{"title":"Create 3RI (merchant-initiated) 3DS session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/threeds/create-merchant-session","href":"/api-reference/3ds/create-3ri-merchant-initiated-3ds-session"},{"title":"Authenticate 3DS session (standalone)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/threeds/authenticate","href":"/api-reference/3ds/authenticate-3ds-session-standalone"},{"title":"Get 3DS challenge result","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/threeds/challenge-result","href":"/api-reference/3ds/get-3ds-challenge-result"},{"title":"Create 3DS session from external authentication values (bring your own 3DS)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/threeds/create-from-values","href":"/api-reference/3ds/create-3ds-session-from-external-authentication-values-bring-your-own-3ds"}]},{"group":"stores","pages":[{"title":"List stores","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/stores/list","href":"/api-reference/stores/list-stores"},{"title":"Create store","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/stores/create","href":"/api-reference/stores/create-store"},{"title":"Get store by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/stores/{storeId}","href":"/api-reference/stores/get-store-by-id"}]},{"group":"funnels","pages":[{"title":"List funnels for a store","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/stores/{storeId}/funnels","href":"/api-reference/funnels/list-funnels-for-a-store"},{"title":"Get funnel by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/funnels/{id}","href":"/api-reference/funnels/get-funnel-by-id"},{"title":"Create a new funnel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/funnels","href":"/api-reference/funnels/create-a-new-funnel"},{"title":"Update funnel with routing","deprecated":null,"version":null,"openapi":"/openapi.json put /api/public/v1/funnels/{funnelId}","href":"/api-reference/funnels/update-funnel-with-routing"},{"title":"Delete a funnel","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/public/v1/funnels/{funnelId}","href":"/api-reference/funnels/delete-a-funnel"},{"title":"Promote funnel to production","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/funnels/{funnelId}/promote","href":"/api-reference/funnels/promote-funnel-to-production"},{"title":"Create a preview session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/funnels/{funnelId}/preview-session","href":"/api-reference/funnels/create-a-preview-session"}]},{"group":"funnel-sessions","pages":[{"title":"Get funnel session data","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/funnel-sessions/{sessionId}","href":"/api-reference/funnel-sessions/get-funnel-session-data"}]},{"group":"funnel-tracking","pages":[{"title":"Track funnel step event","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/funnel-tracking/step","href":"/api-reference/funnel-tracking/track-funnel-step-event"}]},{"group":"health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/health","href":"/api-reference/health/health-check"}]},{"group":"webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/webhooks","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/webhooks","href":"/api-reference/webhooks/create-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/public/v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook-endpoint"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"}]},{"group":"promotions","pages":[{"title":"List promotions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotions/list","href":"/api-reference/promotions/list-promotions"},{"title":"Create promotion","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotions/create","href":"/api-reference/promotions/create-promotion"},{"title":"Update promotion","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotions/update","href":"/api-reference/promotions/update-promotion"},{"title":"Get promotion by ID","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotions/getById","href":"/api-reference/promotions/get-promotion-by-id"},{"title":"Delete promotions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotions/delete","href":"/api-reference/promotions/delete-promotions"}]},{"group":"promotion-codes","pages":[{"title":"List promotion codes","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotion-codes/list","href":"/api-reference/promotion-codes/list-promotion-codes"},{"title":"Create promotion code","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotion-codes/create","href":"/api-reference/promotion-codes/create-promotion-code"},{"title":"Update promotion code","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotion-codes/update","href":"/api-reference/promotion-codes/update-promotion-code"},{"title":"Delete promotion codes","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/promotion-codes/delete","href":"/api-reference/promotion-codes/delete-promotion-codes"}]},{"group":"processors","pages":[{"title":"List processors","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/processors","href":"/api-reference/processors/list-processors"},{"title":"Get processor by ID","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/get","href":"/api-reference/processors/get-processor-by-id"},{"title":"Create processor","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/create","href":"/api-reference/processors/create-processor"},{"title":"Update processor","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/update","href":"/api-reference/processors/update-processor"},{"title":"Delete processors","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/delete","href":"/api-reference/processors/delete-processors"},{"title":"Initiate Stripe Connect OAuth","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/stripe-connect/initiate","href":"/api-reference/processors/initiate-stripe-connect-oauth"},{"title":"Disconnect Stripe Connect account","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/stripe-connect/disconnect","href":"/api-reference/processors/disconnect-stripe-connect-account"},{"title":"Get Stripe Connect account details","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/processors/stripe-connect/account","href":"/api-reference/processors/get-stripe-connect-account-details"}]},{"group":"payment-flows","pages":[{"title":"List payment flows","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/payment-flows","href":"/api-reference/payment-flows/list-payment-flows"},{"title":"List payment flows with processor details","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/payment-flows/with-processors","href":"/api-reference/payment-flows/list-payment-flows-with-processor-details"},{"title":"Get payment flow by ID","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-flows/get","href":"/api-reference/payment-flows/get-payment-flow-by-id"},{"title":"Get payment flow with processor details","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-flows/get-with-processors","href":"/api-reference/payment-flows/get-payment-flow-with-processor-details"},{"title":"Create payment flow","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-flows/create","href":"/api-reference/payment-flows/create-payment-flow"},{"title":"Update payment flow","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-flows/update","href":"/api-reference/payment-flows/update-payment-flow"},{"title":"Delete payment flow","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/payment-flows/delete","href":"/api-reference/payment-flows/delete-payment-flow"}]},{"group":"offers","pages":[{"title":"List offers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/offers/list","href":"/api-reference/offers/list-offers"},{"title":"Get offer by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/offers/{id}","href":"/api-reference/offers/get-offer-by-id"},{"title":"Update offer","deprecated":null,"version":null,"openapi":"/openapi.json put /api/public/v1/offers/{id}","href":"/api-reference/offers/update-offer"},{"title":"Create offer","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/offers/create","href":"/api-reference/offers/create-offer"},{"title":"Delete offers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/offers/delete","href":"/api-reference/offers/delete-offers"}]},{"group":"checkout-offers","pages":[{"title":"Create checkout offer","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/checkout-offers/create","href":"/api-reference/checkout-offers/create-checkout-offer"},{"title":"List checkout offers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/checkout-offers/list","href":"/api-reference/checkout-offers/list-checkout-offers"},{"title":"Delete checkout offers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/checkout-offers/delete","href":"/api-reference/checkout-offers/delete-checkout-offers"},{"title":"Get checkout offer by ID","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/checkout-offers/{id}","href":"/api-reference/checkout-offers/get-checkout-offer-by-id"}]},{"group":"radar-sessions","pages":[{"title":"Create radar session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/radar-sessions","href":"/api-reference/radar-sessions/create-radar-session"}]},{"group":"email-templates","pages":[{"title":"List email templates","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/list","href":"/api-reference/email-templates/list-email-templates"},{"title":"Create email template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates","href":"/api-reference/email-templates/create-email-template"},{"title":"Update email template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/update","href":"/api-reference/email-templates/update-email-template"},{"title":"Delete email template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/delete","href":"/api-reference/email-templates/delete-email-template"},{"title":"Send test email","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/test","href":"/api-reference/email-templates/send-test-email"},{"title":"Preview email template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/preview","href":"/api-reference/email-templates/preview-email-template"},{"title":"List template types","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/email-templates/types","href":"/api-reference/email-templates/list-template-types"}]},{"group":"shipping","pages":[{"title":"Create a shipping rate","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/shipping-rates","href":"/api-reference/shipping/create-a-shipping-rate"}]},{"group":"tax-exemptions","pages":[{"title":"List tax exemptions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/public/v1/tax-exemptions","href":"/api-reference/tax-exemptions/list-tax-exemptions"},{"title":"Bulk create tax exemptions","deprecated":null,"version":null,"openapi":"/openapi.json post /api/public/v1/tax-exemptions","href":"/api-reference/tax-exemptions/bulk-create-tax-exemptions"},{"title":"Delete tax exemptions","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/public/v1/tax-exemptions","href":"/api-reference/tax-exemptions/delete-tax-exemptions"}]},{"group":"portal","pages":[{"title":"Get the published customer portal of the store with its retention, Membership and products","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/portal/config","href":"/api-reference/portal/get-the-published-customer-portal-of-the-store-with-its-retention-membership-and-products"},{"title":"Get the logged-in customer with orders, subscriptions, membership and credit ledger","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/portal/me","href":"/api-reference/portal/get-the-logged-in-customer-with-orders-subscriptions-membership-and-credit-ledger"},{"title":"Cancel a subscription or the membership at the end of the cancel flow, with the reason given","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/cancel-flow","href":"/api-reference/portal/cancel-a-subscription-or-the-membership-at-the-end-of-the-cancel-flow-with-the-reason-given"},{"title":"Apply the retention offer the customer took instead of cancelling","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/cancel-flow/accept","href":"/api-reference/portal/apply-the-retention-offer-the-customer-took-instead-of-cancelling"},{"title":"Move a subscription or the membership to another option now, charging the new price","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/switch","href":"/api-reference/portal/move-a-subscription-or-the-membership-to-another-option-now-charging-the-new-price"},{"title":"Get the upsell a signed email link offers","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/portal/offers/{token}","href":"/api-reference/portal/get-the-upsell-a-signed-email-link-offers"},{"title":"Accept the upsell of a signed email link and pay it","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/offers/accept","href":"/api-reference/portal/accept-the-upsell-of-a-signed-email-link-and-pay-it"},{"title":"Get the credit balance and ledger of the logged-in customer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/portal/credits","href":"/api-reference/portal/get-the-credit-balance-and-ledger-of-the-logged-in-customer"},{"title":"Spend credits on a product","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/credits/redeem","href":"/api-reference/portal/spend-credits-on-a-product"},{"title":"Set the quantity of a one-time item on the next renewal of a subscription (0 takes it off)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/next-order","href":"/api-reference/portal/set-the-quantity-of-a-one-time-item-on-the-next-renewal-of-a-subscription-0-takes-it-off"},{"title":"Buy a credit pack with the default saved card","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/credits/packs/buy","href":"/api-reference/portal/buy-a-credit-pack-with-the-default-saved-card"},{"title":"Update the customer's name, email and phone","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/profile","href":"/api-reference/portal/update-the-customers-name-email-and-phone"},{"title":"Email a code to a new address; the profile saves that email with it","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/profile/email-code","href":"/api-reference/portal/email-a-code-to-a-new-address;-the-profile-saves-that-email-with-it"},{"title":"Add an address to the address book, or replace the one with that id","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/addresses","href":"/api-reference/portal/add-an-address-to-the-address-book-or-replace-the-one-with-that-id"},{"title":"Remove an address that is not the default one","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/addresses/remove","href":"/api-reference/portal/remove-an-address-that-is-not-the-default-one"},{"title":"Make an address the default shipping address","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/addresses/default","href":"/api-reference/portal/make-an-address-the-default-shipping-address"},{"title":"Save a card tokenized in the browser, optionally as the default card","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/payment-methods","href":"/api-reference/portal/save-a-card-tokenized-in-the-browser-optionally-as-the-default-card"},{"title":"Remove a saved card that no live subscription is paid with","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/payment-methods/remove","href":"/api-reference/portal/remove-a-saved-card-that-no-live-subscription-is-paid-with"},{"title":"Make a card the default one, and the card of every live subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/payment-methods/default","href":"/api-reference/portal/make-a-card-the-default-one-and-the-card-of-every-live-subscription"},{"title":"Charge a past-due subscription again now, with its card","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/retry-payment","href":"/api-reference/portal/charge-a-past-due-subscription-again-now-with-its-card"},{"title":"Order products again at their one-time price, with the default card and address","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/buy-again","href":"/api-reference/portal/order-products-again-at-their-one-time-price-with-the-default-card-and-address"},{"title":"Buy the monthly or yearly Membership option with the default card","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/portal/membership/join","href":"/api-reference/portal/buy-the-monthly-or-yearly-membership-option-with-the-default-card"}]}]}]},"basePath":"","title":"Create payment instrument from TagadaToken - TagadaPay Documentation","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}