Optional key, 8 to 128 characters, that makes this request safe to retry. The first response is stored for 24 hours; a repeat returns it unchanged with X-Idempotent-Replayed: true.
Optional processor-specific parameters, keyed by gateway code. Only gateways that declare options accept a section, and each section is validated against that gateway's own schema; an unknown code or an unsupported option is rejected. The codes and options available to your project are listed in your dashboard.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orqex Orchestrate","description":"Orqex Orchestrate — developer documentation.","colors":{"primary":"#144419","light":"#cdf546","dark":"#144419"},"logo":{"light":"https://mintcdn.com/orqexorchestrate-88/06_-n2_BOcv6tYvd/images/orqex-logo-light.svg?fit=max\u0026auto=format\u0026n=06_-n2_BOcv6tYvd\u0026q=85\u0026s=edc1d7ebd6ade98d993366c147ddd404","dark":"https://mintcdn.com/orqexorchestrate-88/06_-n2_BOcv6tYvd/images/orqex-logo-dark.svg?fit=max\u0026auto=format\u0026n=06_-n2_BOcv6tYvd\u0026q=85\u0026s=303bdad5a590e013f5c7fec3064f0ef5"},"favicon":{"light":"https://mintcdn.com/orqexorchestrate-88/06_-n2_BOcv6tYvd/images/orqex-icon-light.svg?fit=max\u0026auto=format\u0026n=06_-n2_BOcv6tYvd\u0026q=85\u0026s=7308e713661d20063f326084474c7920","dark":"https://mintcdn.com/orqexorchestrate-88/06_-n2_BOcv6tYvd/images/orqex-icon-dark.svg?fit=max\u0026auto=format\u0026n=06_-n2_BOcv6tYvd\u0026q=85\u0026s=5169bf31271c0b01a06d87bfcdb80612"},"api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.orqex.com/v1"}},"navbar":{"links":[{"href":"https://github.com/orqex/orchestrate-php","label":"PHP SDK"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.orqex.com"}},"footer":{"socials":{"website":"https://orqex.com","github":"https://github.com/orqex"}},"seo":{"metatags":{"og:site_name":"Orqex Orchestrate Developers","og:type":"website","twitter:card":"summary_large_image"},"indexing":"all"},"fonts":{"heading":{"family":"Sang Bleu Republic","weight":400,"source":"https://fonts.axazara.com/sangbleu/SangBleuRepublic-Regular-WebS.woff2","format":"woff2"},"body":{"family":"Euclid Circular B","weight":400,"source":"https://fonts.axazara.com/euclid/EuclidCircularB-Regular-WebS.woff2","format":"woff2"}},"integrations":{"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orqexorchestrate-88","hasAudioNarration":false,"actualSubdomain":"orqexorchestrate-88","customDomains":["docs.orqex.com"],"gitSource":{"type":"github","owner":"orqex","repo":"orchestrate-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6adbdf4da2aa2b5dfd7367ed","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Guide","count":26},{"language":"default","tag":"API Reference","count":26},{"language":"default","tag":"Payments","count":10},{"language":"default","tag":"Payouts","count":10},{"language":"default","tag":"Payment intents","count":7},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Utilities","count":5},{"language":"default","tag":"Payment attempts","count":5},{"language":"default","tag":"Refunds","count":4},{"language":"default","tag":"SDK","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/payment-intents/create-a-payment-intent","slug":"/api-reference/payment-intents/create-a-payment-intent","pageMetadata":{"title":"Create a payment intent","description":"Creates a payment you will collect through the API. Pass `attempt` to start collecting straight away.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents","href":"/api-reference/payment-intents/create-a-payment-intent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a payment you will collect through the API. Pass \", _jsx(_components.code, {\n children: \"attempt\"\n }), \" to start collecting straight away.\"]\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 a payment intent","description":"Creates a payment you will collect through the API. Pass `attempt` to start collecting straight away.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents","href":"/api-reference/payment-intents/create-a-payment-intent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Payment intents"],"operationId":"createPaymentIntent","summary":"Create a payment intent","description":"Creates a payment you will collect through the API. Pass `attempt` to start collecting straight away.","parameters":["bd1bbe81-64be-44c3-aab3-9d065d3f5841"],"requestBody":"89d2f56a-b83e-4dcd-a988-bc1f838b1b99","responses":{"201":"0c2e5132-61a1-4537-ae58-87733bcfdf9a","401":"e0942fad-3042-42d5-8ae0-b547d8c35958","403":"ac1d7d40-4c88-4d01-9065-daad9ce4204f","409":"e909f3c8-bf6d-471f-88c7-f754eaf76325","422":"9b21a142-ec11-41af-ada1-4f7d964ad024","429":"ae057f6d-5bcc-41b3-9432-3566fbefab61"},"method":"post","type":"path","servers":["71f83360-01ba-4d5a-924a-1bac8bee81e5"],"security":["408f846f-6c4f-4502-b5bb-7242b173898b"],"path":"/payment/intents","baseUrlOptions":["https://api.orqex.com/v1"],"title":"Create a payment intent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"bd1bbe81-64be-44c3-aab3-9d065d3f5841":{"name":"X-Idempotency-Key","in":"header","required":false,"description":"Optional key, 8 to 128 characters, that makes this request safe to retry. The first response is stored for 24 hours; a repeat returns it unchanged with `X-Idempotent-Replayed: true`.","schema":{"type":"string","minLength":8,"maxLength":128,"isRequired":false,"description":"Optional key, 8 to 128 characters, that makes this request safe to retry. The first response is stored for 24 hours; a repeat returns it unchanged with `X-Idempotent-Replayed: true`.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","currency","description","customer"],"properties":{"amount":{"type":"number","minimum":1,"description":"Amount in **major units**. `50` means 50.00.","example":50,"isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"currency":{"type":"string","minLength":3,"maxLength":3,"description":"Uppercase ISO 4217 code.","example":"USD","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"description":{"type":"string","maxLength":500,"example":"Order #1042","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"customer":{"type":"object","required":["email","first_name","last_name"],"properties":{"email":{"type":"string","format":"email","example":"[email protected]","isRequired":true,"uniqueKey":"customer.email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","maxLength":100,"example":"Ada","isRequired":true,"uniqueKey":"customer.first_name","typeLabel":"string"},"last_name":{"type":"string","maxLength":100,"example":"Lovelace","isRequired":true,"uniqueKey":"customer.last_name","typeLabel":"string"},"address":{"oneOf":[{"type":"string","maxLength":200,"uniqueKey":"customer.address.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"uniqueKey":"customer.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.address","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","maxLength":100,"uniqueKey":"customer.city.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"uniqueKey":"customer.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","maxLength":100,"uniqueKey":"customer.state.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"uniqueKey":"customer.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.state","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","maxLength":5,"description":"ISO 3166-1 alpha-2 country code.","example":"US","uniqueKey":"customer.country.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5,"description":"ISO 3166-1 alpha-2 country code.","example":"US","uniqueKey":"customer.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.country","typeLabel":"string | null"},"zip":{"oneOf":[{"type":"string","uniqueKey":"customer.zip.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"customer.zip.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer.zip","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"customer","typeLabel":"object"},"reference":{"oneOf":[{"type":"string","maxLength":191,"description":"Your payment identifier. When provided, it must be unique within the project.","example":"ORDER-1042","uniqueKey":"reference.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":191,"description":"Your payment identifier. When provided, it must be unique within the project.","example":"ORDER-1042","uniqueKey":"reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference","typeLabel":"string | null"},"return_url":{"type":"string","format":"uri","maxLength":2048,"uniqueKey":"return_url","typeLabel":"string\u003curi>"},"webhook_url":{"type":"string","format":"uri","maxLength":2048,"description":"Deliveries to this URL are **not signed**. Re-read the payment before acting on one.","uniqueKey":"webhook_url","typeLabel":"string\u003curi>"},"statement_descriptor":{"type":"string","maxLength":22,"pattern":"^[A-Za-z0-9\\s.,\\-]+$","uniqueKey":"statement_descriptor","typeLabel":"string"},"receipt_email":{"type":"string","format":"email","maxLength":255,"uniqueKey":"receipt_email","typeLabel":"string\u003cemail>"},"entity_id":{"type":"string","maxLength":191,"description":"Your own identifier for the thing being paid for.","uniqueKey":"entity_id","typeLabel":"string"},"entity_created_at":{"type":"string","format":"date-time","description":"Must not be in the future.","uniqueKey":"entity_created_at","typeLabel":"string\u003cdate-time>"},"gateway_options":{"type":"object","additionalProperties":true,"description":"Optional processor-specific parameters, keyed by gateway code. Only gateways that declare options accept a section, and each section is validated against that gateway's own schema; an unknown code or an unsupported option is rejected. The codes and options available to your project are listed in your dashboard.","example":{},"uniqueKey":"gateway_options","typeLabel":"object"},"metadata":{"type":"object","maxProperties":10,"additionalProperties":true,"description":"Up to 10 key/value pairs of your own, returned unchanged.","example":{"order_id":"1042"},"uniqueKey":"metadata","typeLabel":"object"},"restriction":{"type":"object","description":"Narrow the methods this payment may use. Applies to every attempt on it, whoever creates them.","properties":{"payment_methods":{"type":"object","description":"Allow and deny lists of individual method codes. A denied code is never usable; when no allow list is given on either axis, everything not denied stays usable.","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"restriction.payment_methods.allow.items.[INDEX]","typeLabel":"string"},"description":"Method codes, as returned by the methods endpoint.","example":["momo_mtn"],"uniqueKey":"restriction.payment_methods.allow","typeLabel":"string[]"},"deny":{"type":"array","items":{"type":"string","uniqueKey":"restriction.payment_methods.deny.items.[INDEX]","typeLabel":"string"},"example":["card"],"uniqueKey":"restriction.payment_methods.deny","typeLabel":"string[]"}},"uniqueKey":"restriction.payment_methods","typeLabel":"object"},"payment_method_categories":{"type":"object","description":"Allow and deny lists of method categories. A category covers every method inside it, including ones added later.","properties":{"allow":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"],"uniqueKey":"restriction.payment_method_categories.allow.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["mobile_money"],"uniqueKey":"restriction.payment_method_categories.allow","typeLabel":"enum\u003cstring>[]"},"deny":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"],"uniqueKey":"restriction.payment_method_categories.deny.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["crypto"],"uniqueKey":"restriction.payment_method_categories.deny","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"restriction.payment_method_categories","typeLabel":"object"}},"uniqueKey":"restriction","typeLabel":"object"},"attempt":{"type":"object","description":"Start an attempt immediately, when you already know the method. Rejected with 422 when `restriction` forbids the method.","required":["method_code","country"],"properties":{"method_code":{"type":"string","description":"A code returned by the methods endpoint.","example":"test","isRequired":true,"uniqueKey":"attempt.method_code","typeLabel":"string"},"country":{"type":"string","minLength":2,"maxLength":2,"example":"US","isRequired":true,"uniqueKey":"attempt.country","typeLabel":"string"},"phone":{"type":"object","required":["number","country"],"properties":{"number":{"type":"string","maxLength":20,"example":"+15550000000","isRequired":true,"uniqueKey":"attempt.phone.number","typeLabel":"string"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code of the number.","example":"US","isRequired":true,"uniqueKey":"attempt.phone.country","typeLabel":"string"}},"uniqueKey":"attempt.phone","typeLabel":"object"}},"uniqueKey":"attempt","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":50,"currency":"USD","description":"Order #1042","customer":{"email":"[email protected]","first_name":"Ada","last_name":"Lovelace","address":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country":"US","zip":"\u003cstring>"},"reference":"ORDER-1042","return_url":"\u003cstring>","webhook_url":"\u003cstring>","statement_descriptor":"\u003cstring>","receipt_email":"[email protected]","entity_id":"\u003cstring>","entity_created_at":"2023-11-07T05:31:56Z","gateway_options":{},"metadata":{"order_id":"1042"},"restriction":{"payment_methods":{"allow":["momo_mtn"],"deny":["card"]},"payment_method_categories":{"allow":["mobile_money"],"deny":["crypto"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0c2e5132-61a1-4537-ae58-87733bcfdf9a":{"description":"Payment intent created.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","example":"pi_7Ba4Xq","uniqueKey":"data.id","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","maxLength":191,"description":"The caller-supplied payment identifier, unique within the project.","example":"ORDER-1042","uniqueKey":"data.reference.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":191,"description":"The caller-supplied payment identifier, unique within the project.","example":"ORDER-1042","uniqueKey":"data.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reference","typeLabel":"string | null"},"amount":{"type":"object","properties":{"value":{"oneOf":[{"type":"number","example":50,"uniqueKey":"data.amount.value.oneOf.0","typeLabel":"number"},{"type":"null","example":50,"uniqueKey":"data.amount.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.amount.value","typeLabel":"number | null"},"formatted":{"oneOf":[{"type":"string","example":"$50.00","uniqueKey":"data.amount.formatted.oneOf.0","typeLabel":"string"},{"type":"null","example":"$50.00","uniqueKey":"data.amount.formatted.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.amount.formatted","typeLabel":"string | null"},"short":{"oneOf":[{"type":"string","example":"$50","uniqueKey":"data.amount.short.oneOf.0","typeLabel":"string"},{"type":"null","example":"$50","uniqueKey":"data.amount.short.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.amount.short","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"string","example":"USD","uniqueKey":"data.amount.currency.oneOf.0","typeLabel":"string"},{"type":"null","example":"USD","uniqueKey":"data.amount.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.amount.currency","typeLabel":"string | null"}},"uniqueKey":"data.amount","typeLabel":"object"},"customer":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","example":"cus_2f8Kd1","uniqueKey":"data.customer.oneOf.0.id","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","example":"Ada","uniqueKey":"data.customer.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Ada","uniqueKey":"data.customer.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","example":"Lovelace","uniqueKey":"data.customer.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Lovelace","uniqueKey":"data.customer.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer.oneOf.0.last_name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"[email protected]","uniqueKey":"data.customer.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"[email protected]","uniqueKey":"data.customer.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer.oneOf.0.email","typeLabel":"string | null"},"avatar_url":{"oneOf":[{"type":"string","uniqueKey":"data.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer.oneOf.0.avatar_url","typeLabel":"string | null"}},"uniqueKey":"data.customer.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string","example":"cus_2f8Kd1"},"first_name":{"oneOf":[{"type":"string","example":"Ada"},{"type":"null","example":"Ada"}]},"last_name":{"oneOf":[{"type":"string","example":"Lovelace"},{"type":"null","example":"Lovelace"}]},"email":{"oneOf":[{"type":"string","example":"[email protected]"},{"type":"null","example":"[email protected]"}]},"avatar_url":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"data.customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer","typeLabel":"object | null"},"status":{"type":"string","enum":["pending","completed","failed","expired","refunded","partially_refunded"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","example":"Order #1042","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"Order #1042","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"return_url":{"oneOf":[{"type":"string","uniqueKey":"data.return_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.return_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.return_url","typeLabel":"string | null"},"webhook_url":{"oneOf":[{"type":"string","uniqueKey":"data.webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.webhook_url","typeLabel":"string | null"},"statement_descriptor":{"oneOf":[{"type":"string","uniqueKey":"data.statement_descriptor.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.statement_descriptor.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.statement_descriptor","typeLabel":"string | null"},"receipt_email":{"oneOf":[{"type":"string","uniqueKey":"data.receipt_email.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.receipt_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.receipt_email","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"data.metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"data.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata","typeLabel":"object | null"},"active_attempt":{"oneOf":[{"type":"object","description":"Present when the attempt has been loaded.","properties":{"id":{"type":"string","example":"att_9Kd12f","uniqueKey":"data.active_attempt.oneOf.0.id","typeLabel":"string"},"method":{"type":"object","description":"A payment method available for this payment. Method codes are discovered at runtime and must not be hard-coded.","properties":{"value":{"type":"string","description":"The code to send as `method_code`.","example":"test","uniqueKey":"data.active_attempt.oneOf.0.method.value","typeLabel":"string"},"label":{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.method.label","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.method.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.method.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.method.description","typeLabel":"string | null"},"icon_url":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.method.icon_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.method.icon_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.method.icon_url","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","description":"Broad family the method belongs to.","uniqueKey":"data.active_attempt.oneOf.0.method.category.oneOf.0","typeLabel":"string"},{"type":"null","description":"Broad family the method belongs to.","uniqueKey":"data.active_attempt.oneOf.0.method.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.method.category","typeLabel":"string | null"},"requires_phone":{"type":"boolean","description":"Whether a payer phone number must be supplied.","uniqueKey":"data.active_attempt.oneOf.0.method.requires_phone","typeLabel":"boolean"}},"uniqueKey":"data.active_attempt.oneOf.0.method","typeLabel":"object"},"amount":{"type":"object","properties":{"value":{"oneOf":[{"type":"number","example":50,"uniqueKey":"data.active_attempt.oneOf.0.amount.value.oneOf.0","typeLabel":"number"},{"type":"null","example":50,"uniqueKey":"data.active_attempt.oneOf.0.amount.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.amount.value","typeLabel":"number | null"},"formatted":{"oneOf":[{"type":"string","example":"$50.00","uniqueKey":"data.active_attempt.oneOf.0.amount.formatted.oneOf.0","typeLabel":"string"},{"type":"null","example":"$50.00","uniqueKey":"data.active_attempt.oneOf.0.amount.formatted.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.amount.formatted","typeLabel":"string | null"},"short":{"oneOf":[{"type":"string","example":"$50","uniqueKey":"data.active_attempt.oneOf.0.amount.short.oneOf.0","typeLabel":"string"},{"type":"null","example":"$50","uniqueKey":"data.active_attempt.oneOf.0.amount.short.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.amount.short","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"string","example":"USD","uniqueKey":"data.active_attempt.oneOf.0.amount.currency.oneOf.0","typeLabel":"string"},{"type":"null","example":"USD","uniqueKey":"data.active_attempt.oneOf.0.amount.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.amount.currency","typeLabel":"string | null"}},"uniqueKey":"data.active_attempt.oneOf.0.amount","typeLabel":"object"},"exchange_rate":{"oneOf":[{"type":"object","description":"The effective conversion applied between two currencies.","properties":{"value":{"type":"string","description":"Decimal exchange rate, with up to eight decimal places.","example":"0.92000000","uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.0.value","typeLabel":"string"},"from_currency":{"type":"string","example":"USD","uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.0.from_currency","typeLabel":"string"},"to_currency":{"type":"string","example":"EUR","uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.0.to_currency","typeLabel":"string"},"expression":{"type":"string","description":"Human-readable expression of the conversion.","example":"$1.00 ≈ €0.92","uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.0.expression","typeLabel":"string"}},"uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.exchange_rate","typeLabel":"object | null"},"correction_rate":{"oneOf":[{"type":"number","uniqueKey":"data.active_attempt.oneOf.0.correction_rate.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.correction_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.correction_rate","typeLabel":"number | null"},"status":{"type":"string","enum":["processing","action_required","completed","failed","expired"],"uniqueKey":"data.active_attempt.oneOf.0.status","typeLabel":"enum\u003cstring>"},"gateway":{"type":"object","properties":{"transaction":{"type":"object","properties":{"id":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.id","typeLabel":"string | null"},"reference":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.reference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.reference","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.external_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.external_id","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction.status","typeLabel":"string | null"}},"uniqueKey":"data.active_attempt.oneOf.0.gateway.transaction","typeLabel":"object"}},"uniqueKey":"data.active_attempt.oneOf.0.gateway","typeLabel":"object"},"next_action":{"oneOf":[{"type":"object","description":"What the payer must do next. The keys present depend on `type`; see the Next actions guide. Only `collect_otp` and `complete_with_sdk` require a call to confirm or authorize — the others resolve asynchronously.","required":["type"],"properties":{"type":{"type":"string","enum":["none","approve_on_phone","collect_otp","redirect_to_url","embed_iframe","scan_qr_code","display_payment_instructions","complete_with_sdk"],"isRequired":true,"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"message":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.message","typeLabel":"string | null"},"instructions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.instructions.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.instructions.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.instructions","typeLabel":"string[] | null"},"dial_code":{"oneOf":[{"type":"string","description":"Shortcode the payer can dial. `approve_on_phone`, `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.dial_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Shortcode the payer can dial. `approve_on_phone`, `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.dial_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.dial_code","typeLabel":"string | null"},"digits":{"oneOf":[{"type":"integer","description":"Expected OTP length. `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.digits.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Expected OTP length. `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.digits.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.digits","typeLabel":"integer | null"},"is_strict":{"oneOf":[{"type":"boolean","description":"Whether the OTP length is enforced. `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.is_strict.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the OTP length is enforced. `collect_otp`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.is_strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.is_strict","typeLabel":"boolean | null"},"fields":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.fields.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Inputs to collect, or key/value pairs to display.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.fields.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","additionalProperties":true},"description":"Inputs to collect, or key/value pairs to display.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.fields","typeLabel":"object[] | null"},"url":{"oneOf":[{"type":"string","description":"`redirect_to_url`, `embed_iframe`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"`redirect_to_url`, `embed_iframe`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.url","typeLabel":"string | null"},"method":{"oneOf":[{"type":"string","description":"HTTP method for the redirect. `redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.method.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTTP method for the redirect. `redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.method.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.method","typeLabel":"string | null"},"post_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Form body to post with the redirect. `redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.post_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Form body to post with the redirect. `redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.post_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.post_data","typeLabel":"object | null"},"can_auto_redirect":{"oneOf":[{"type":"boolean","description":"`redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.can_auto_redirect.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"`redirect_to_url`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.can_auto_redirect.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.can_auto_redirect","typeLabel":"boolean | null"},"content":{"oneOf":[{"type":"string","description":"QR payload. `scan_qr_code`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"QR payload. `scan_qr_code`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.content","typeLabel":"string | null"},"image_url":{"oneOf":[{"type":"string","description":"Rendered QR image. `scan_qr_code`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.image_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Rendered QR image. `scan_qr_code`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.image_url","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"`display_payment_instructions`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"`display_payment_instructions`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.title","typeLabel":"string | null"},"provider":{"oneOf":[{"type":"string","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.provider.oneOf.0","typeLabel":"string"},{"type":"null","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.provider","typeLabel":"string | null"},"sdk_url":{"oneOf":[{"type":"string","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.sdk_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.sdk_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.sdk_url","typeLabel":"string | null"},"public_key":{"oneOf":[{"type":"string","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.public_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.public_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.public_key","typeLabel":"string | null"},"client_params":{"oneOf":[{"type":"object","additionalProperties":true,"description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.client_params.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.client_params.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.client_params","typeLabel":"object | null"},"container_id":{"oneOf":[{"type":"string","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.container_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"`complete_with_sdk`.","uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.container_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0.container_id","typeLabel":"string | null"}},"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.0","typeLabel":"object"},{"type":"null","description":"What the payer must do next. The keys present depend on `type`; see the Next actions guide. Only `collect_otp` and `complete_with_sdk` require a call to confirm or authorize — the others resolve asynchronously.","required":["type"],"properties":{"type":{"type":"string","enum":["none","approve_on_phone","collect_otp","redirect_to_url","embed_iframe","scan_qr_code","display_payment_instructions","complete_with_sdk"]},"message":{"oneOf":[{"type":"string"},{"type":"null"}]},"instructions":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"dial_code":{"oneOf":[{"type":"string","description":"Shortcode the payer can dial. `approve_on_phone`, `collect_otp`."},{"type":"null","description":"Shortcode the payer can dial. `approve_on_phone`, `collect_otp`."}]},"digits":{"oneOf":[{"type":"integer","description":"Expected OTP length. `collect_otp`."},{"type":"null","description":"Expected OTP length. `collect_otp`."}]},"is_strict":{"oneOf":[{"type":"boolean","description":"Whether the OTP length is enforced. `collect_otp`."},{"type":"null","description":"Whether the OTP length is enforced. `collect_otp`."}]},"fields":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Inputs to collect, or key/value pairs to display."},{"type":"null","items":{"type":"object","additionalProperties":true},"description":"Inputs to collect, or key/value pairs to display."}]},"url":{"oneOf":[{"type":"string","description":"`redirect_to_url`, `embed_iframe`."},{"type":"null","description":"`redirect_to_url`, `embed_iframe`."}]},"method":{"oneOf":[{"type":"string","description":"HTTP method for the redirect. `redirect_to_url`."},{"type":"null","description":"HTTP method for the redirect. `redirect_to_url`."}]},"post_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Form body to post with the redirect. `redirect_to_url`."},{"type":"null","additionalProperties":true,"description":"Form body to post with the redirect. `redirect_to_url`."}]},"can_auto_redirect":{"oneOf":[{"type":"boolean","description":"`redirect_to_url`."},{"type":"null","description":"`redirect_to_url`."}]},"content":{"oneOf":[{"type":"string","description":"QR payload. `scan_qr_code`."},{"type":"null","description":"QR payload. `scan_qr_code`."}]},"image_url":{"oneOf":[{"type":"string","description":"Rendered QR image. `scan_qr_code`."},{"type":"null","description":"Rendered QR image. `scan_qr_code`."}]},"title":{"oneOf":[{"type":"string","description":"`display_payment_instructions`."},{"type":"null","description":"`display_payment_instructions`."}]},"provider":{"oneOf":[{"type":"string","description":"`complete_with_sdk`."},{"type":"null","description":"`complete_with_sdk`."}]},"sdk_url":{"oneOf":[{"type":"string","description":"`complete_with_sdk`."},{"type":"null","description":"`complete_with_sdk`."}]},"public_key":{"oneOf":[{"type":"string","description":"`complete_with_sdk`."},{"type":"null","description":"`complete_with_sdk`."}]},"client_params":{"oneOf":[{"type":"object","additionalProperties":true,"description":"`complete_with_sdk`."},{"type":"null","additionalProperties":true,"description":"`complete_with_sdk`."}]},"container_id":{"oneOf":[{"type":"string","description":"`complete_with_sdk`."},{"type":"null","description":"`complete_with_sdk`."}]}},"uniqueKey":"data.active_attempt.oneOf.0.next_action.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.next_action","typeLabel":"object | null"},"failure":{"type":"object","properties":{"code":{"oneOf":[{"type":"object","properties":{"value":{"type":"string","description":"Stable identifier for the failure.","uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0.value","typeLabel":"string"},"category":{"type":"string","description":"Branch on this rather than on `value`.","enum":["CUSTOMER_ERROR","GATEWAY_ERROR","TELCO_ERROR","MERCHANT_CONFIG_ERROR","PLATFORM_ERROR","SECURITY_ERROR"],"uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0.category","typeLabel":"enum\u003cstring>"},"message":{"oneOf":[{"type":"string","description":"Message written for the payer.","uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Message written for the payer.","uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0.message","typeLabel":"string | null"}},"uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"value":{"type":"string","description":"Stable identifier for the failure."},"category":{"type":"string","description":"Branch on this rather than on `value`.","enum":["CUSTOMER_ERROR","GATEWAY_ERROR","TELCO_ERROR","MERCHANT_CONFIG_ERROR","PLATFORM_ERROR","SECURITY_ERROR"]},"message":{"oneOf":[{"type":"string","description":"Message written for the payer."},{"type":"null","description":"Message written for the payer."}]}},"uniqueKey":"data.active_attempt.oneOf.0.failure.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failure.code","typeLabel":"object | null"},"message":{"oneOf":[{"type":"string","uniqueKey":"data.active_attempt.oneOf.0.failure.message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.failure.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failure.message","typeLabel":"string | null"}},"uniqueKey":"data.active_attempt.oneOf.0.failure","typeLabel":"object"},"failover":{"type":"object","description":"Diagnostic information about whether this attempt was retried automatically. Informational only — do not branch on it.","properties":{"is_failover":{"oneOf":[{"type":"boolean","uniqueKey":"data.active_attempt.oneOf.0.failover.is_failover.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.active_attempt.oneOf.0.failover.is_failover.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failover.is_failover","typeLabel":"boolean | null"},"decision":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"data.active_attempt.oneOf.0.failover.decision.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"data.active_attempt.oneOf.0.failover.decision.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failover.decision","typeLabel":"object | null"}},"uniqueKey":"data.active_attempt.oneOf.0.failover","typeLabel":"object"},"processing_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the attempt last entered the processing state.","uniqueKey":"data.active_attempt.oneOf.0.processing_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the attempt last entered the processing state.","uniqueKey":"data.active_attempt.oneOf.0.processing_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.processing_at","typeLabel":"string\u003cdate-time> | null"},"action_required_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the attempt last started waiting on a customer action.","uniqueKey":"data.active_attempt.oneOf.0.action_required_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the attempt last started waiting on a customer action.","uniqueKey":"data.active_attempt.oneOf.0.action_required_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.action_required_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.completed_at","typeLabel":"string\u003cdate-time> | null"},"failed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.failed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.failed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.failed_at","typeLabel":"string\u003cdate-time> | null"},"expired_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the attempt was expired after its waiting window ran out.","uniqueKey":"data.active_attempt.oneOf.0.expired_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the attempt was expired after its waiting window ran out.","uniqueKey":"data.active_attempt.oneOf.0.expired_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.expired_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.active_attempt.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.active_attempt.oneOf.0","typeLabel":"object"},{"type":"null","description":"Present when the attempt has been loaded.","uniqueKey":"data.active_attempt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.active_attempt","typeLabel":"object | null"},"restriction":{"oneOf":[{"type":"object","description":"Present only when the payment carries a method restriction. Each key appears only if you set it.","properties":{"payment_methods":{"type":"object","description":"Allow and deny lists of individual method codes. A denied code is never usable; when no allow list is given on either axis, everything not denied stays usable.","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"data.restriction.oneOf.0.payment_methods.allow.items.[INDEX]","typeLabel":"string"},"description":"Method codes, as returned by the methods endpoint.","example":["momo_mtn"],"uniqueKey":"data.restriction.oneOf.0.payment_methods.allow","typeLabel":"string[]"},"deny":{"type":"array","items":{"type":"string","uniqueKey":"data.restriction.oneOf.0.payment_methods.deny.items.[INDEX]","typeLabel":"string"},"example":["card"],"uniqueKey":"data.restriction.oneOf.0.payment_methods.deny","typeLabel":"string[]"}},"uniqueKey":"data.restriction.oneOf.0.payment_methods","typeLabel":"object"},"payment_method_categories":{"type":"object","description":"Allow and deny lists of method categories. A category covers every method inside it, including ones added later.","properties":{"allow":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"],"uniqueKey":"data.restriction.oneOf.0.payment_method_categories.allow.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["mobile_money"],"uniqueKey":"data.restriction.oneOf.0.payment_method_categories.allow","typeLabel":"enum\u003cstring>[]"},"deny":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"],"uniqueKey":"data.restriction.oneOf.0.payment_method_categories.deny.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["crypto"],"uniqueKey":"data.restriction.oneOf.0.payment_method_categories.deny","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"data.restriction.oneOf.0.payment_method_categories","typeLabel":"object"}},"uniqueKey":"data.restriction.oneOf.0","typeLabel":"object"},{"type":"null","description":"Present only when the payment carries a method restriction. Each key appears only if you set it.","properties":{"payment_methods":{"type":"object","description":"Allow and deny lists of individual method codes. A denied code is never usable; when no allow list is given on either axis, everything not denied stays usable.","properties":{"allow":{"type":"array","items":{"type":"string"},"description":"Method codes, as returned by the methods endpoint.","example":["momo_mtn"]},"deny":{"type":"array","items":{"type":"string"},"example":["card"]}}},"payment_method_categories":{"type":"object","description":"Allow and deny lists of method categories. A category covers every method inside it, including ones added later.","properties":{"allow":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"]},"example":["mobile_money"]},"deny":{"type":"array","items":{"type":"string","enum":["card","mobile_money","bank_transfer","wallet","ussd","qr_code","crypto","other"]},"example":["crypto"]}}}},"uniqueKey":"data.restriction.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.restriction","typeLabel":"object | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.completed_at","typeLabel":"string\u003cdate-time> | null"},"expired_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the payment was sealed as expired. A payment only expires when it was never attempted.","uniqueKey":"data.expired_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the payment was sealed as expired. A payment only expires when it was never attempted.","uniqueKey":"data.expired_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.expired_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","data":{"id":"pi_7Ba4Xq","reference":"ORDER-1042","amount":{"value":50,"formatted":"$50.00","short":"$50","currency":"USD"},"customer":{"id":"cus_2f8Kd1","first_name":"Ada","last_name":"Lovelace","email":"[email protected]","avatar_url":"\u003cstring>"},"status":"pending","description":"Order #1042","return_url":"\u003cstring>","webhook_url":"\u003cstring>","statement_descriptor":"\u003cstring>","receipt_email":"\u003cstring>","metadata":{},"active_attempt":{"id":"att_9Kd12f","method":{"value":"test","label":"\u003cstring>","description":"\u003cstring>","icon_url":"\u003cstring>","category":"\u003cstring>","requires_phone":true},"amount":{"value":50,"formatted":"$50.00","short":"$50","currency":"USD"},"exchange_rate":{"value":"0.92000000","from_currency":"USD","to_currency":"EUR","expression":"$1.00 ≈ €0.92"},"correction_rate":123,"status":"processing","gateway":{"transaction":{"id":"\u003cstring>","reference":"\u003cstring>","external_id":"\u003cstring>","status":"\u003cstring>"}},"next_action":{"type":"none","message":"\u003cstring>","instructions":["\u003cstring>"],"dial_code":"\u003cstring>","digits":123,"is_strict":true,"fields":[{}],"url":"\u003cstring>","method":"\u003cstring>","post_data":{},"can_auto_redirect":true,"content":"\u003cstring>","image_url":"\u003cstring>","title":"\u003cstring>","provider":"\u003cstring>","sdk_url":"\u003cstring>","public_key":"\u003cstring>","client_params":{},"container_id":"\u003cstring>"},"failure":{"code":{"value":"\u003cstring>","category":"CUSTOMER_ERROR","message":"\u003cstring>"},"message":"\u003cstring>"},"failover":{"is_failover":true,"decision":{}},"processing_at":"2023-11-07T05:31:56Z","action_required_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","failed_at":"2023-11-07T05:31:56Z","expired_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z"},"restriction":{"payment_methods":{"allow":["momo_mtn"],"deny":["card"]},"payment_method_categories":{"allow":["mobile_money"],"deny":["crypto"]}},"completed_at":"2023-11-07T05:31:56Z","expired_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e0942fad-3042-42d5-8ae0-b547d8c35958":{"description":"Missing, invalid, inactive or expired API key.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ac1d7d40-4c88-4d01-9065-daad9ce4204f":{"description":"The request address is not on the API key's allowlist.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e909f3c8-bf6d-471f-88c7-f754eaf76325":{"description":"The payment reference is already in use within this project.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9b21a142-ec11-41af-ada1-4f7d964ad024":{"description":"Validation failed or the operation was rejected.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"The given data was invalid.","uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"The given data was invalid.","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"ae057f6d-5bcc-41b3-9432-3566fbefab61":{"description":"Rate limit exceeded. Limits vary by operation and resource; respect the Retry-After header.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"408f846f-6c4f-4502-b5bb-7242b173898b":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your secret key, e.g. `sk_live_...` or `sk_sandbox_...`.","scopes":[]}}},"servers":{"71f83360-01ba-4d5a-924a-1bac8bee81e5":{"url":"https://api.orqex.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your secret key, e.g. `sk_live_...` or `sk_sandbox_...`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your secret key, e.g. `sk_live_...` or `sk_sandbox_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"orqexorchestrate-88","siteName":"Orqex Orchestrate","title":"Create a payment intent - Orqex Orchestrate","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-25T01:01:41.927Z","originalFileLocation":"api-reference/payment-intents/create-a-payment-intent.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=\"Creates a payment you will collect through the API. Pass attempt to start collecting straight away.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orqex Orchestrate\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a payment intent - Orqex Orchestrate\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a payment you will collect through the API. Pass attempt to start collecting straight away.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orqex Orchestrate Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orqexorchestrate-88.mintlify.site/_mintlify/api/og/v2?division=Payment+intents\u0026amp;title=Create+a+payment+intent\u0026amp;description=Creates+a+payment+you+will+collect+through+the+API.+Pass+%60attempt%60+to+start+collecting+straight+away.\u0026amp;theme=2313ed0dda63a6a5e6af2835\u0026amp;signature=7637391edc269a07bf369982abcda0c065af2991d9e1be6c129fc09484aa1569\">\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 a payment intent - Orqex Orchestrate\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a payment you will collect through the API. Pass attempt to start collecting straight away.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orqexorchestrate-88.mintlify.site/_mintlify/api/og/v2?division=Payment+intents\u0026amp;title=Create+a+payment+intent\u0026amp;description=Creates+a+payment+you+will+collect+through+the+API.+Pass+%60attempt%60+to+start+collecting+straight+away.\u0026amp;theme=2313ed0dda63a6a5e6af2835\u0026amp;signature=7637391edc269a07bf369982abcda0c065af2991d9e1be6c129fc09484aa1569\">\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/orqexorchestrate-88/PwEujbMsVIWQc-Yt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orqex Orchestrate\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#144419\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent\">\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-intents/create-a-payment-intent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.orqex.com/#organization\",\"name\":\"Orqex Orchestrate\",\"url\":\"https://docs.orqex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/orqexorchestrate-88/06_-n2_BOcv6tYvd/images/orqex-logo-light.svg?fit=max\u0026auto=format\u0026n=06_-n2_BOcv6tYvd\u0026q=85\u0026s=edc1d7ebd6ade98d993366c147ddd404\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.orqex.com#website\",\"name\":\"Orqex Orchestrate\",\"url\":\"https://docs.orqex.com\",\"publisher\":{\"@id\":\"https://docs.orqex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent#webpage\",\"url\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent\",\"name\":\"Create a payment intent\",\"description\":\"Creates a payment you will collect through the API. Pass attempt to start collecting straight away.\",\"dateModified\":\"2026-08-25T01:01:41.927Z\",\"isPartOf\":{\"@id\":\"https://docs.orqex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment intents\",\"item\":\"https://docs.orqex.com/api-reference/payment-intents/list-payment-intents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a payment intent\",\"item\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent#apireference\",\"headline\":\"Create a payment intent\",\"name\":\"Create a payment intent\",\"description\":\"Creates a payment you will collect through the API. Pass attempt to start collecting straight away.\",\"url\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.orqex.com/api-reference/payment-intents/create-a-payment-intent#webpage\"},\"dateModified\":\"2026-08-25T01:01:41.927Z\",\"publisher\":{\"@id\":\"https://docs.orqex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.orqex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orqex Orchestrate\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Orqex Orchestrate\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payment-intents/create-a-payment-intent.md","siteName":"Orqex Orchestrate","nav":{"global":null,"tabs":[{"tab":"Guide","icon":"book-open","pages":[{"title":"Guide","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Checkout","pages":[{"title":"Create a checkout session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/checkouts","href":"/api-reference/checkout/create-a-checkout-session"},{"title":"Retrieve a checkout session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/checkouts/{checkoutId}","href":"/api-reference/checkout/retrieve-a-checkout-session"}]},{"group":"Payment intents","pages":[{"title":"List payment intents","description":"Cursor-paginated, newest first.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents","href":"/api-reference/payment-intents/list-payment-intents"},{"title":"Create a payment intent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents","href":"/api-reference/payment-intents/create-a-payment-intent"},{"title":"Retrieve a payment intent","description":"The authoritative state of a payment. Re-read it before fulfilling.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}","href":"/api-reference/payment-intents/retrieve-a-payment-intent"},{"title":"List available countries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/countries","href":"/api-reference/payment-intents/list-available-countries"},{"title":"List available methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/countries/{countryCode}/methods","href":"/api-reference/payment-intents/list-available-methods"},{"title":"Authorize the active attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents/{paymentIntentId}/authorize","href":"/api-reference/payment-intents/authorize-the-active-attempt"},{"title":"Requery a payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents/{paymentIntentId}/requery","href":"/api-reference/payment-intents/requery-a-payment"}]},{"group":"Payment attempts","pages":[{"title":"List attempts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/attempts","href":"/api-reference/payment-attempts/list-attempts"},{"title":"Start a payment attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents/{paymentIntentId}/attempts","href":"/api-reference/payment-attempts/start-a-payment-attempt"},{"title":"Retrieve an attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/attempts/{attemptId}","href":"/api-reference/payment-attempts/retrieve-an-attempt"},{"title":"Inspect an attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/attempts/{attemptId}/inspect","href":"/api-reference/payment-attempts/inspect-an-attempt"},{"title":"Confirm an attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents/{paymentIntentId}/attempts/{attemptId}/confirm","href":"/api-reference/payment-attempts/confirm-an-attempt"}]},{"group":"Refunds","pages":[{"title":"List refunds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/refunds","href":"/api-reference/refunds/list-refunds"},{"title":"Create a refund","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payment/intents/{paymentIntentId}/refunds","href":"/api-reference/refunds/create-a-refund"},{"title":"Get refund availability","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/refunds/availability","href":"/api-reference/refunds/get-refund-availability"},{"title":"Retrieve a refund","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payment/intents/{paymentIntentId}/refunds/{refundId}","href":"/api-reference/refunds/retrieve-a-refund"}]},{"group":"Payouts","pages":[{"title":"List payouts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payouts","href":"/api-reference/payouts/list-payouts"},{"title":"Create a payout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /payouts","href":"/api-reference/payouts/create-a-payout"},{"title":"Retrieve a payout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payouts/{payoutId}","href":"/api-reference/payouts/retrieve-a-payout"},{"title":"Sync a payout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payouts/{payoutId}/sync","href":"/api-reference/payouts/sync-a-payout"},{"title":"Inspect a payout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /payouts/{payoutId}/inspect","href":"/api-reference/payouts/inspect-a-payout"}]},{"group":"Utilities","pages":[{"title":"Latest exchange rates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exchange-rates/latest/{baseCurrency}","href":"/api-reference/utilities/latest-exchange-rates"},{"title":"List quotable currencies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exchange-rates/currencies","href":"/api-reference/utilities/list-quotable-currencies"},{"title":"Payment method status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /utils/status/payment/method/{methodCode}/{countryCode}","href":"/api-reference/utilities/payment-method-status"}]}]},{"tab":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/sdk/php/installation"}]}]},"basePath":"","title":"Create a payment intent - Orqex Orchestrate","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}