Create a hosted checkout session from your backend. Pasteaza returns a checkout URL that you can redirect your customer to.You can also pass the returned reference to the Pasteaza browser SDK to open checkout in a modal.
Payment methods can be configured from your Pasteaza dashboard. You can choose the exact methods you want to offer on checkout, and Bank Transfer is enabled by default.
Create the checkout session from your backend using your secret key.
2
Redirect customer
Redirect your customer to the checkoutUrl returned by Pasteaza, or pass the reference to PasteAZA.checkout.
3
Customer pays
The hosted page displays enabled payment methods. In Phase 1, Bank Transfer generates a dedicated virtual account.
4
Receive webhook
Pasteaza confirms payment, credits your primary Pasteaza wallet, and sends checkout.payment.success.
Error responses
{ "status": false, "message": "amount must be a positive integer in kobo and divisible by 100.", "code": "validation_failed"}
Common errors include invalid API key, unsupported currency, invalid redirect URL, expired session, and disabled payment method.
Authorizations
Authorization
string
header
required
Use an sk_test_... key in the playground. Never enter a live key in shared environments.
Body
application/json
amount
integer
required
Amount in kobo. Must be divisible by 100.
Required range: x >= 100
Example:
50000
description
string
required
Example:
"Order"
currency
enum<string>
default:NGN
Available options:
NGN
customer
object
Show child attributes
redirectUrl
string<uri>
Example:
"https://merchant.example/payment-complete"
metadata
object
Example:
{ "orderId": "ORD-1042" }
expiresAt
string<date-time>
Response
Checkout session created.
status
boolean
required
message
string
required
data
object
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pasteaza API","colors":{"primary":"#26A69A","light":"#26A69A","dark":"#26A69A"},"logo":{"light":"https://mintcdn.com/pasteaza/W4QO_va5gEAJCE9H/logo/light.svg?fit=max\u0026auto=format\u0026n=W4QO_va5gEAJCE9H\u0026q=85\u0026s=767fbcdae461785d860546f850b06195","dark":"https://mintcdn.com/pasteaza/W4QO_va5gEAJCE9H/logo/dark.svg?fit=max\u0026auto=format\u0026n=W4QO_va5gEAJCE9H\u0026q=85\u0026s=a3f125c30ee2465938979dd8d762c650"},"favicon":"https://mintcdn.com/pasteaza/W4QO_va5gEAJCE9H/favicon.svg?fit=max\u0026auto=format\u0026n=W4QO_va5gEAJCE9H\u0026q=85\u0026s=643cbaae69f1a771c48ea706138791e1","api":{"openapi":"openapi.yaml","playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@oyapasteaza.com","label":"Support"}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pasteaza","hasAudioNarration":false,"actualSubdomain":"pasteaza","customDomains":["docs.oyapasteaza.com"],"gitSource":{"type":"github","owner":"pasteaza-ds","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ab638557e9a03c18a514fdd","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"Collections","count":14},{"language":"default","tag":"Disbursements","count":6},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Dedicated Crypto Wallets","count":4},{"language":"default","tag":"Bank Transfer","count":4},{"language":"default","tag":"Dedicated Bank Account","count":3},{"language":"default","tag":"Hosted Checkout","count":3},{"language":"default","tag":"Temporary Crypto Wallets","count":2},{"language":"default","tag":"Virtual Account","count":2},{"language":"default","tag":"Crypto Transfer","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"collections/hosted-checkout/create-checkout-session","slug":"/collections/hosted-checkout/create-checkout-session","pageMetadata":{"title":"Create checkout session","description":"Create a Pasteaza-hosted checkout page for a customer payment.","openapi":"openapi.yaml POST /v1/checkout/sessions","href":"/collections/hosted-checkout/create-checkout-session"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a Pasteaza-hosted checkout page for a customer payment.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Step,Steps,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create a hosted checkout session from your backend. Pasteaza returns a checkout URL that you can redirect your customer to.`}),`\n`,_jsxs(_components.p,{children:[`You can also pass the returned `,_jsx(_components.code,{children:`reference`}),` to the Pasteaza browser SDK to open checkout in a modal.`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Payment methods can be configured from your Pasteaza dashboard. You can choose the exact methods you want to offer on checkout, and Bank Transfer is enabled by default.`})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/checkout/sessions`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer sk_test_xxxxxxxxxxxxxxxxx`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Amount to collect in kobo. Must be divisible by 100.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Currency code. Only `,_jsx(_components.code,{children:`NGN`}),` is supported in Phase 1.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Product, service, invoice, or order description shown on checkout.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer.name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Customer display name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer.email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Customer email address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer.phone`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Customer phone number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`redirectUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL to send the customer to after successful payment.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Your custom metadata, such as order IDs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiresAt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ISO date string. Defaults to 30 minutes from creation.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.oyapasteaza.com/v1/checkout/sessions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk_test_xxxxxxxxxxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 50000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"NGN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Premium subscription\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"John Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"john@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"redirectUrl\": \"https://merchant.com/success\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": \"ORD_123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`successful-response`,children:`Successful response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Checkout session created successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ch_Fb8z7rX8r9w2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checkoutUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://checkout.oyapasteaza.com/ch_Fb8z7rX8r9w2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-22T12:30:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`integration-flow`,children:`Integration flow`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create session`,children:_jsx(_components.p,{children:`Create the checkout session from your backend using your secret key.`})}),_jsx(Step,{title:`Redirect customer`,children:_jsxs(_components.p,{children:[`Redirect your customer to the `,_jsx(_components.code,{children:`checkoutUrl`}),` returned by Pasteaza, or pass the `,_jsx(_components.code,{children:`reference`}),` to `,_jsx(_components.code,{children:`PasteAZA.checkout`}),`.`]})}),_jsx(Step,{title:`Customer pays`,children:_jsx(_components.p,{children:`The hosted page displays enabled payment methods. In Phase 1, Bank Transfer generates a dedicated virtual account.`})}),_jsx(Step,{title:`Receive webhook`,children:_jsxs(_components.p,{children:[`Pasteaza confirms payment, credits your primary Pasteaza wallet, and sends `,_jsx(_components.code,{children:`checkout.payment.success`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"amount must be a positive integer in kobo and divisible by 100.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"validation_failed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Common errors include invalid API key, unsupported currency, invalid redirect URL, expired session, and disabled payment method.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create checkout session","description":"Create a Pasteaza-hosted checkout page for a customer payment.","openapi":"openapi.yaml POST /v1/checkout/sessions","href":"/collections/hosted-checkout/create-checkout-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Successful response","slug":"successful-response","depth":2,"children":[]},{"title":"Integration flow","slug":"integration-flow","depth":2,"children":[]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Hosted Checkout"],"operationId":"createCheckoutSession","summary":"Create checkout session","description":"Create a Pasteaza-hosted checkout page for a customer payment.","requestBody":"be5b4229-6bb1-4568-b345-265fd3ebdd8a","responses":{"201":"2d4218bc-be4f-40b4-a9d1-cf6435fd3452","default":"2891f71b-bbba-4001-b66b-944f2be5471c"},"method":"post","type":"path","servers":["af5a8578-45ba-4b16-be6e-2d47d175c305"],"security":["d7adba15-67ce-4855-a032-af5c2c785590"],"path":"/v1/checkout/sessions","baseUrlOptions":["https://api.oyapasteaza.com"],"title":"Create checkout session","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","description"],"properties":{"amount":{"type":"integer","minimum":100,"description":"Amount in kobo. Must be divisible by 100.","example":50000,"isRequired":true,"uniqueKey":"amount","typeLabel":"integer"},"description":{"type":"string","example":"Order","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"currency":{"type":"string","enum":["NGN"],"default":"NGN","uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"customer":{"type":"object","properties":{"name":{"type":"string","example":"Ada Okafor","uniqueKey":"customer.name","typeLabel":"string"},"email":{"type":"string","format":"email","example":"ada@example.com","uniqueKey":"customer.email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","example":"+2348012345678","uniqueKey":"customer.phone","typeLabel":"string"}},"uniqueKey":"customer","typeLabel":"object"},"redirectUrl":{"type":"string","format":"uri","example":"https://merchant.example/payment-complete","uniqueKey":"redirectUrl","typeLabel":"string\u003curi>"},"metadata":{"type":"object","additionalProperties":true,"example":{"orderId":"ORD-1042"},"uniqueKey":"metadata","typeLabel":"object"},"expiresAt":{"type":"string","format":"date-time","uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":50000,"description":"Order","currency":"NGN","customer":{"name":"Ada Okafor","email":"ada@example.com","phone":"+2348012345678"},"redirectUrl":"https://merchant.example/payment-complete","metadata":{"orderId":"ORD-1042"},"expiresAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2d4218bc-be4f-40b4-a9d1-cf6435fd3452":{"description":"Checkout session created.","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"boolean","const":true,"isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":true,"message":"\u003cstring>","data":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"2891f71b-bbba-4001-b66b-944f2be5471c":{"description":"Request failed.","content":{"application/json":{"schema":{"type":"object","required":["status","message","code"],"properties":{"status":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d7adba15-67ce-4855-a032-af5c2c785590":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Pasteaza secret key","description":"Use an `sk_test_...` key in the playground. Never enter a live key in shared environments.","scopes":[]}}},"servers":{"af5a8578-45ba-4b16-be6e-2d47d175c305":{"url":"https://api.oyapasteaza.com","description":"Pasteaza API — the API key selects test or live mode"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Pasteaza secret key","description":"Use an `sk_test_...` key in the playground. Never enter a live key in shared environments.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Use an `sk_test_...` key in the playground. Never enter a live key in shared environments.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"pasteaza","siteName":"Pasteaza API","title":"Create checkout session - Pasteaza API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-28T11:23:49.306Z","originalFileLocation":"collections/hosted-checkout/create-checkout-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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 Pasteaza-hosted checkout page for a customer payment.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pasteaza API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_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/pasteaza/zLqKhTETlYUoi99H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create checkout session - Pasteaza API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a Pasteaza-hosted checkout page for a customer payment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pasteaza API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pasteaza.mintlify.site/_mintlify/api/og/v2?division=Hosted+Checkout\u0026amp;title=Create+checkout+session\u0026amp;description=Create+a+Pasteaza-hosted+checkout+page+for+a+customer+payment.\u0026amp;theme=6cb3049cc55ac4e040a42b4a\u0026amp;signature=7da00ac4c2056719cc562fa3299f3bf90949d490596c58b129053d6fa1a28ec2\">\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 checkout session - Pasteaza API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a Pasteaza-hosted checkout page for a customer payment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pasteaza.mintlify.site/_mintlify/api/og/v2?division=Hosted+Checkout\u0026amp;title=Create+checkout+session\u0026amp;description=Create+a+Pasteaza-hosted+checkout+page+for+a+customer+payment.\u0026amp;theme=6cb3049cc55ac4e040a42b4a\u0026amp;signature=7da00ac4c2056719cc562fa3299f3bf90949d490596c58b129053d6fa1a28ec2\">\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/pasteaza/zLqKhTETlYUoi99H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pasteaza API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26A69A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/collections/hosted-checkout/create-checkout-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oyapasteaza.com/#organization\",\"name\":\"Pasteaza API\",\"url\":\"https://docs.oyapasteaza.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pasteaza/W4QO_va5gEAJCE9H/logo/light.svg?fit=max\u0026auto=format\u0026n=W4QO_va5gEAJCE9H\u0026q=85\u0026s=767fbcdae461785d860546f850b06195\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oyapasteaza.com#website\",\"name\":\"Pasteaza API\",\"url\":\"https://docs.oyapasteaza.com\",\"publisher\":{\"@id\":\"https://docs.oyapasteaza.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session#webpage\",\"url\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session\",\"name\":\"Create checkout session\",\"description\":\"Create a Pasteaza-hosted checkout page for a customer payment.\",\"dateModified\":\"2026-06-28T11:23:49.306Z\",\"isPartOf\":{\"@id\":\"https://docs.oyapasteaza.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pasteaza API\",\"item\":\"https://docs.oyapasteaza.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create checkout session\",\"item\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session#apireference\",\"headline\":\"Create checkout session\",\"name\":\"Create checkout session\",\"description\":\"Create a Pasteaza-hosted checkout page for a customer payment.\",\"url\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oyapasteaza.com/collections/hosted-checkout/create-checkout-session#webpage\"},\"dateModified\":\"2026-06-28T11:23:49.306Z\",\"publisher\":{\"@id\":\"https://docs.oyapasteaza.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oyapasteaza.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pasteaza API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pasteaza API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/collections/hosted-checkout/create-checkout-session.md","siteName":"Pasteaza API","nav":{"global":null,"pages":[{"title":"Home","href":"/index"},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/getting-started/authentication"},{"title":"Base URL","href":"/getting-started/base-url"},{"title":"Idempotency","href":"/getting-started/idempotency"},{"title":"Errors","href":"/getting-started/errors"},{"title":"Webhooks","description":"Receive and verify real-time transaction notifications from Pasteaza.","href":"/getting-started/webhooks"}]},{"group":"Collections","pages":[{"group":"Hosted Checkout","pages":[{"title":"Create checkout session","openapi":"openapi.yaml POST /v1/checkout/sessions","href":"/collections/hosted-checkout/create-checkout-session"},{"title":"Checkout SDK and button","description":"Open Pasteaza hosted checkout in a responsive modal using the browser SDK.","href":"/collections/hosted-checkout/sdk-checkout"},{"title":"Retrieve checkout session","openapi":"openapi.yaml GET /public/checkout/{reference}","href":"/collections/hosted-checkout/retrieve-checkout-session"}]},{"group":"Virtual Account","pages":[{"title":"Create virtual account","openapi":"openapi.yaml POST /v1/collections/virtual-accounts","href":"/collections/virtual-accounts/create-virtual-account"},{"title":"Verify virtual account status","openapi":"openapi.yaml GET /v1/collections/virtual-accounts/{reference}/status","href":"/collections/virtual-accounts/verify-virtual-account-status"}]},{"group":"Temporary Crypto Wallets","pages":[{"title":"Create temporary crypto wallet","openapi":"openapi.yaml POST /v1/crypto/temporary-addresses","href":"/collections/crypto-temporary-wallets/create-crypto-temporary-wallet"},{"title":"Verify temporary crypto wallet","openapi":"openapi.yaml GET /v1/crypto/temporary-addresses/{reference}/status","href":"/collections/crypto-temporary-wallets/verify-crypto-temporary-wallet"}]},{"group":"Dedicated Bank Account","pages":[{"title":"Create dedicated account","openapi":"openapi.yaml POST /v1/collections/dedicated-accounts","href":"/collections/dedicated-accounts/create-dedicated-account"},{"title":"List dedicated accounts","openapi":"openapi.yaml GET /v1/collections/dedicated-accounts","href":"/collections/dedicated-accounts/list-dedicated-accounts"},{"title":"Retrieve dedicated account","openapi":"openapi.yaml GET /v1/collections/dedicated-accounts/{reference}","href":"/collections/dedicated-accounts/retrieve-dedicated-account"}]},{"group":"Dedicated Crypto Wallets","pages":[{"title":"Create crypto dedicated wallet","openapi":"openapi.yaml POST /v1/crypto/dedicated-addresses","href":"/collections/crypto-dedicated-accounts/create-crypto-dedicated-account"},{"title":"List crypto dedicated wallets","openapi":"openapi.yaml GET /v1/crypto/dedicated-addresses","href":"/collections/crypto-dedicated-accounts/list-crypto-dedicated-accounts"},{"title":"Retrieve crypto dedicated wallet","openapi":"openapi.yaml GET /v1/crypto/dedicated-addresses/{reference}","href":"/collections/crypto-dedicated-accounts/retrieve-crypto-dedicated-account"},{"title":"Disable crypto dedicated wallet","openapi":"openapi.yaml PATCH /v1/crypto/dedicated-addresses/{reference}/disable","href":"/collections/crypto-dedicated-accounts/disable-crypto-dedicated-account"}]}]},{"group":"Disbursements","pages":[{"group":"Bank Transfer","pages":[{"title":"List banks","openapi":"openapi.yaml GET /v1/banks","href":"/disbursements/bank-transfer/list-banks"},{"title":"Resolve account","openapi":"openapi.yaml POST /v1/banks/resolve","href":"/disbursements/bank-transfer/resolve-account"},{"title":"Create transfer","openapi":"openapi.yaml POST /v1/disbursements/bank-transfer","href":"/disbursements/bank-transfer/create-transfer"},{"title":"Verify transfer status","openapi":"openapi.yaml GET /v1/disbursements/bank-transfer/{reference}/status","href":"/disbursements/bank-transfer/verify-transfer-status"}]},{"group":"Crypto Transfer","pages":[{"title":"Create crypto transfer","openapi":"openapi.yaml POST /v1/disbursements/crypto","href":"/disbursements/crypto-transfer/create-crypto-transfer"},{"title":"Verify crypto transfer status","openapi":"openapi.yaml GET /v1/disbursements/crypto/{reference}/status","href":"/disbursements/crypto-transfer/verify-crypto-transfer-status"}]}]},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Changelog","href":"/changelog"}]},"basePath":"","title":"Create checkout session - Pasteaza API","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BjA2hsCJ.js","snippetPresets-C-jpv5v8.js","utils--9e24gKv.js","style-to-object-BY3JEAdk.js","utils-CL8e03UA.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-O60MhfkU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C2_HxuTC.js","_Uint8Array-CSzKbEgF.js","isObject-FP1Yky1u.js","ApiExamples-DrqwMm0N.js","usePlaygroundInputsStore-HwhVROcI.js","shallow-CE0cbB33.js","isEqual-XgMGHHxA.js","CodeSnippets-DeoWIzOC.js","CodeSnippet-nteBoAUV.js","use-playground-group-access-YOcO7c2y.js","Page-B_BHXdim.js","api-description-markdown-CQA9NkQd.js","DynamicMarkdown-DpB7I7uN.js","SectionHeading-CW6J1gzG.js","MethodPill-CaKMlCid.js","getPastedJson-Dkd8F-mU.js","Check2Icon-DLlJR2en.js","axios-CsQoIw0U.js","Markdown-CaF3VJGb.js","AssistantPageLink-DXtHv8Vo.js","dist-BGepIklc.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}