Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>
Headers
Idempotency-Key
string
required
This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.
Maximum string length: 64
Monime-Version
enum<string> | null
Specifies which version of the Monime API will handle this request.
Available options:
caph.2025-08-23,
caph.2025-06-20
Monime-Space-Id
string
required
The value is the tenancy parameter that Monime uses to determine which space the request is intended for.
Maximum string length: 64
Pattern: ^spc-.*$
Body
application/json
Creates a new checkout session to initiate a user payment experience.
name
string
required
Title or label for the checkout session. Used for display in customer-facing UIs.
Maximum string length: 150
lineItems
Custom Item (User Defined) · object[] | null
required
List of items to be displayed and charged in the session. Must include at least one item.
Required array length: 1 - 16 elements
Show child attributes
description
string | null
Optional long-form description explaining the purpose or context of the checkout session.
Maximum string length: 1000
cancelUrl
string<url>
The URL to redirect the customer to if they cancel the checkout process before completing payment. This typically returns the user to your site or app with context about the cancellation.
Maximum string length: 255
successUrl
string<url>
The URL to redirect the customer to after successfully completing the checkout. Typically used to confirm the order or show a success message on your site or app.
Maximum string length: 255
callbackState
string | null
Opaque value sent back via callback for correlating the session. Never exposed in read APIs.
Maximum string length: 255
reference
string | null
Optional external reference identifier (e.g., order ID) used to link this session with the developer’s backend system.
Maximum string length: 255
financialAccountId
string | null
Financial account where collected funds are settled. Defaults to the main account if omitted.
Maximum string length: 100
paymentOptions
PaymentOptions · object | null
Payment method configuration that controls which payment options (e.g., Banks, Cards, MOMO, Wallets) are enabled or restricted during checkout.
Show child attributes
brandingOptions
object | null
Visual customization options for the checkout UI, such as color schemes or logos.
Show child attributes
metadata
object | null
Key-value pairs for attaching contextual metadata.
Show child attributes
Response
200 - application/json
OK
success
boolean
Represents the status of the query operation, confirming if it was successful. This field is always true
messages
any[]
Contains a list of messages providing relevant information or feedback related to the query or operation
result
Checkout Session · object
A Checkout Session represents a Monime-hosted payment flow where customers complete purchases for a defined set of items.
It is designed for e-commerce and embedded payment scenarios where merchants want a simple, secure way to accept payments across multiple channels without building the payment UI themselves.
Unlike direct API-based payments, a Checkout Session aggregates multiple payment methods — such as Mobile Money, Card, and Bank Transfers — and presents them in a unified checkout experience.
Use Cases
E-Commerce Cart Checkout
A customer selects items in a cart. The merchant creates a Hosted Checkout Session, and Monime presents Mobile Money, Card, and Bank options in one unified flow.
Embedded SaaS Billing
A SaaS platform embeds a Hosted Checkout Session to bill users. Customers pick their preferred channel (Card, MoMo, Bank), and once payment is confirmed, the SaaS receives checkout_session.completed.
QR or Link-Based Payment
Merchants generate a checkout session link or QR code. Customers open the hosted page and choose any available payment method.
Fallback Across Methods
If a user’s card payment fails, they can seamlessly retry with Mobile Money — all within the same checkout session.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Monime","description":"Monime is an API-first payment platform that makes it easy to collect, transfer, and manage money across multiple channels. Whether you’re a startup or enterprise, Monime helps you power checkout sessions, recurring payments, wallet apps, and embedded financial services with reliability and speed.","colors":{"primary":"#0180ff","light":"#0180ff","dark":"#0180ff"},"logo":{"light":"https://mintcdn.com/monime/R8nwVWtpJYRvngoj/assets/logo/monime-light.svg?fit=max\u0026auto=format\u0026n=R8nwVWtpJYRvngoj\u0026q=85\u0026s=bf50f5864797af5d90a5aff2ee434b35","dark":"https://mintcdn.com/monime/R8nwVWtpJYRvngoj/assets/logo/monime-dark.svg?fit=max\u0026auto=format\u0026n=R8nwVWtpJYRvngoj\u0026q=85\u0026s=e4b9aa8f87a264b499162ddfe5d359be","href":"https://docs.monime.io"},"favicon":"https://mintcdn.com/monime/R8nwVWtpJYRvngoj/favicon.svg?fit=max\u0026auto=format\u0026n=R8nwVWtpJYRvngoj\u0026q=85\u0026s=ce689997e19d9b621823a0692e0266b2","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.monime.io"}},"background":{"decoration":"windows","color":{"light":"#F9FBFD","dark":"#000d1a"}},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://my.monime.io"}},"footer":{"socials":{"github":"https://github.com/monimesl","website":"https://monime.io/","instagram":"https://www.instagram.com/monimesl","facebook":"https://www.facebook.com/monimesl"},"links":[{"header":"Company","items":[{"label":"About Us","href":"https://monime.io"},{"label":"Careers","href":"https://monime.io"},{"label":"Partners","href":"https://monime.io"}]},{"header":"Legal","items":[{"label":"Privacy","href":"https://monime.io"},{"label":"Terms","href":"https://monime.io"}]}]},"search":{"prompt":"Search or ask AI"},"seo":{"metatags":{"og:site_name":"Monime Docs","og:title":"Monime Documentation","og:description":"Monime is an API-first payment platform that makes it easy to collect, transfer, and manage money across multiple channels. Whether you’re a startup or enterprise, Monime helps you power checkout sessions, recurring payments, wallet apps, and embedded financial services with reliability and speed.","og:image":"https://mintlify.s3-us-west-1.amazonaws.com/monime/assets/images/home.jpg","twitter:site":"Monime Docs","twitter:title":"Monime Documentation","twitter:description":"Monime is an API-first payment platform that makes it easy to collect, transfer, and manage money across multiple channels. Whether you’re a startup or enterprise, Monime helps you power checkout sessions, recurring payments, wallet apps, and embedded financial services with reliability and speed.","twitter:image":"https://mintlify.s3-us-west-1.amazonaws.com/monime/assets/images/home.jpg"},"indexing":"all"},"styling":{"eyebrows":"section","latex":false},"integrations":{"ga4":{"measurementId":"G-KDP38EMELJ"},"gtm":{"tagId":"GTM-TW6MFV77"}},"contextual":{"options":["copy","claude","chatgpt"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"monime","hasAudioNarration":false,"actualSubdomain":"monime","customDomains":["docs.monime.io"],"gitSource":{"type":"github","owner":"monimesl","repo":"documentation-site","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false,"thumbs":true},"entitlements":{},"buildId":"6aafe76fd7ed972041ddc59b","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API Reference","count":115},{"language":"default","tag":"Core Resources","count":40},{"language":"default","tag":"Developer Resources","count":39},{"language":"default","tag":"Payins","count":30},{"language":"default","tag":"Integrations","count":22},{"language":"default","tag":"Wordpress","count":16},{"language":"default","tag":"Checkout Session","count":13},{"language":"default","tag":"Utilities","count":13},{"language":"default","tag":"Financial Providers","count":12},{"language":"default","tag":"Internal Transfer","count":12}]},"assistantConfig":{"enableStarterQuestions":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6994c153d23f2c67908a4c39","deploymentId":"667e94d99adc83ab86ead682","questionText":"How do I create and manage payouts?","status":"active","generatedBy":"manual","createdAt":"2026-02-17T19:28:19.102Z","updatedAt":"2026-02-17T19:28:19.102Z","__v":0},{"_id":"6994c14ed23f2c67908a4bd4","deploymentId":"667e94d99adc83ab86ead682","questionText":"What are webhooks and how to set up?","status":"active","generatedBy":"manual","createdAt":"2026-02-17T19:28:14.881Z","updatedAt":"2026-02-17T19:28:14.881Z","__v":0},{"_id":"6994c147d23f2c67908a4bbf","deploymentId":"667e94d99adc83ab86ead682","questionText":"How do I integrate Monime checkout?","status":"active","generatedBy":"manual","createdAt":"2026-02-17T19:28:07.927Z","updatedAt":"2026-02-17T19:28:07.927Z","__v":0}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"apis/versions/caph-2025-08-23/checkout-session/create-checkout-session","slug":"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session","pageMetadata":{"openapi":"post /v1/checkout-sessions","title":"Create Checkout Session","description":"Creates a new checkout session to initiate a user payment experience.","href":"/apis/versions/caph-2025-08-23/checkout-session/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: \"Creates a new checkout session to initiate a user payment experience.\"\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":{"openapi":"post /v1/checkout-sessions","title":"Create Checkout Session","description":"Creates a new checkout session to initiate a user payment experience.","href":"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/monime/106ac8e1a9801a30/tailwind.config.js"],"openApiReferenceData":{"operation":{"tags":["Checkout Session"],"summary":"Create Checkout Session","description":"Creates a new checkout session to initiate a user payment experience.","operationId":"CreateCheckoutSession","parameters":["1d222f36-fa6f-4ceb-b247-3c01401ad3a4","796a9567-33e7-494b-b347-fe2c742d31d0","27aa463c-7c69-4984-a77a-3c765afab6a3"],"requestBody":"2e8e68eb-6ceb-4801-ad4f-cf971e567195","responses":{"200":"51a7191d-6364-4042-a764-b72c3025f8f6"},"method":"post","type":"path","servers":["b74ed17a-5cc3-4ca1-a3e0-6c5f43569260"],"security":["ab63a971-6cd8-4623-b7da-d6e67145ba1b"],"path":"/v1/checkout-sessions","baseUrlOptions":["https://api.monime.io/"],"title":"Create Checkout Session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1d222f36-fa6f-4ceb-b247-3c01401ad3a4":{"name":"Idempotency-Key","in":"header","description":"This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.","required":true,"schema":{"maxLength":64,"type":"string","description":"This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"796a9567-33e7-494b-b347-fe2c742d31d0":{"name":"Monime-Version","in":"header","description":"Specifies which version of the Monime API will handle this request.","schema":{"oneOf":[{"enum":["caph.2025-08-23","caph.2025-06-20"],"type":"string","description":"Specifies which version of the Monime API will handle this request.","uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"enum":["caph.2025-08-23","caph.2025-06-20"],"type":"null","description":"Specifies which version of the Monime API will handle this request.","uniqueKey":"oneOf.1","typeLabel":"null"}],"uniqueKey":"","typeLabel":"enum\u003cstring> | null"}},"27aa463c-7c69-4984-a77a-3c765afab6a3":{"name":"Monime-Space-Id","in":"header","description":"The value is the tenancy parameter that Monime uses to determine which space the request is intended for.","required":true,"schema":{"maxLength":64,"pattern":"^spc-.*$","type":"string","description":"The value is the tenancy parameter that Monime uses to determine which space the request is intended for.","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"title":"CreateCheckoutSession","required":["name","lineItems"],"type":"object","properties":{"name":{"maxLength":150,"type":"string","description":"Title or label for the checkout session. Used for display in customer-facing UIs.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"lineItems":{"oneOf":[{"maxItems":16,"minItems":1,"type":"array","items":{"type":"object","title":"Custom Item (User Defined)","description":"A user-defined line item with specified name, quantity, and price.","required":["name","price"],"properties":{"name":{"maxLength":100,"type":"string","description":"Name of the product or service represented by this line item.","isRequired":true,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].name","typeLabel":"string"},"price":{"type":"object","properties":{"currency":{"type":"string","description":"The [3-letter](https://en.wikipedia.org/wiki/ISO_4217) ISO currency code. Currently supported: 'SLE'","uniqueKey":"lineItems.oneOf.0.items.[INDEX].price.currency","typeLabel":"string"},"value":{"type":"integer","description":"The value representation in the currency's minor unit. E.g. For 1 Leone (SLE 1), the value should be 100, denoting cents, the minor unit.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].price.value","typeLabel":"integer"}},"additionalProperties":false,"description":"Monetary value representing the price per unit of this item.","isRequired":true,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].price","typeLabel":"object"},"type":{"type":"string","description":"Type of line item. This must be set to 'custom'.","default":"custom","enum":["custom"],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"quantity":{"maximum":100000,"minimum":1,"type":"integer","description":"Number of units being purchased. Must be between 1 and 100,000.","default":1,"uniqueKey":"lineItems.oneOf.0.items.[INDEX].quantity","typeLabel":"integer"},"reference":{"oneOf":[{"maxLength":100,"type":"string","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].reference.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].reference","typeLabel":"string | null"},"description":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional description providing additional details about the item.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Optional description providing additional details about the item.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"images":{"oneOf":[{"maxItems":3,"uniqueItems":true,"type":"array","items":{"type":"string","description":"A URL","uniqueKey":"lineItems.oneOf.0.items.[INDEX].images.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Up to 3 image URLs visually representing this item.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].images.oneOf.0","typeLabel":"string[]"},{"maxItems":3,"uniqueItems":true,"type":"null","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item.","uniqueKey":"lineItems.oneOf.0.items.[INDEX].images.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.oneOf.0.items.[INDEX].images","typeLabel":"string[] | null"}},"additionalProperties":false,"uniqueKey":"lineItems.oneOf.0.items.[INDEX]","typeLabel":"Custom Item (User Defined) · object"},"description":"List of items to be displayed and charged in the session. Must include at least one item.","isRequired":true,"uniqueKey":"lineItems.oneOf.0","typeLabel":"Custom Item (User Defined) · object[]"},{"maxItems":16,"minItems":1,"type":"null","items":{"type":"object","title":"Custom Item (User Defined)","description":"A user-defined line item with specified name, quantity, and price.","required":["name","price"],"properties":{"type":{"type":"string","description":"Type of line item. This must be set to 'custom'.","default":"custom","enum":["custom"]},"name":{"maxLength":100,"type":"string","description":"Name of the product or service represented by this line item."},"price":{"type":"object","properties":{"currency":{"type":"string","description":"The [3-letter](https://en.wikipedia.org/wiki/ISO_4217) ISO currency code. Currently supported: 'SLE'"},"value":{"type":"integer","description":"The value representation in the currency's minor unit. E.g. For 1 Leone (SLE 1), the value should be 100, denoting cents, the minor unit."}},"additionalProperties":false,"description":"Monetary value representing the price per unit of this item."},"quantity":{"maximum":100000,"minimum":1,"type":"integer","description":"Number of units being purchased. Must be between 1 and 100,000.","default":1},"reference":{"oneOf":[{"maxLength":100,"type":"string","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated."},{"maxLength":100,"type":"null","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated."}]},"description":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional description providing additional details about the item."},{"maxLength":100,"type":"null","description":"Optional description providing additional details about the item."}]},"images":{"oneOf":[{"maxItems":3,"uniqueItems":true,"type":"array","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item."},{"maxItems":3,"uniqueItems":true,"type":"null","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item."}]}},"additionalProperties":false},"description":"List of items to be displayed and charged in the session. Must include at least one item.","isRequired":true,"uniqueKey":"lineItems.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lineItems","typeLabel":"Custom Item (User Defined) · object[] | null"},"description":{"oneOf":[{"maxLength":1000,"type":"string","description":"Optional long-form description explaining the purpose or context of the checkout session.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"maxLength":1000,"type":"null","description":"Optional long-form description explaining the purpose or context of the checkout session.","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"cancelUrl":{"maxLength":255,"type":"string","description":"The URL to redirect the customer to if they cancel the checkout process before completing payment. This typically returns the user to your site or app with context about the cancellation.","format":"url","uniqueKey":"cancelUrl","typeLabel":"string\u003curl>"},"successUrl":{"maxLength":255,"type":"string","description":"The URL to redirect the customer to after successfully completing the checkout. Typically used to confirm the order or show a success message on your site or app.","format":"url","uniqueKey":"successUrl","typeLabel":"string\u003curl>"},"callbackState":{"oneOf":[{"maxLength":255,"type":"string","description":"Opaque value sent back via callback for correlating the session. Never exposed in read APIs.","uniqueKey":"callbackState.oneOf.0","typeLabel":"string"},{"maxLength":255,"type":"null","description":"Opaque value sent back via callback for correlating the session. Never exposed in read APIs.","uniqueKey":"callbackState.oneOf.1","typeLabel":"null"}],"uniqueKey":"callbackState","typeLabel":"string | null"},"reference":{"oneOf":[{"maxLength":255,"type":"string","description":"Optional external reference identifier (e.g., order ID) used to link this session with the developer’s backend system.","uniqueKey":"reference.oneOf.0","typeLabel":"string"},{"maxLength":255,"type":"null","description":"Optional external reference identifier (e.g., order ID) used to link this session with the developer’s backend system.","uniqueKey":"reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference","typeLabel":"string | null"},"financialAccountId":{"oneOf":[{"maxLength":100,"type":"string","description":"Financial account where collected funds are settled. Defaults to the main account if omitted.","uniqueKey":"financialAccountId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Financial account where collected funds are settled. Defaults to the main account if omitted.","uniqueKey":"financialAccountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"financialAccountId","typeLabel":"string | null"},"paymentOptions":{"oneOf":[{"title":"PaymentOptions","type":"object","properties":{"card":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, card-based payment options will be hidden or disabled during checkout.","default":false,"uniqueKey":"paymentOptions.oneOf.0.card.disable","typeLabel":"boolean"}},"additionalProperties":false,"description":"Settings for card-based payments. Allows disabling the card method entirely.","uniqueKey":"paymentOptions.oneOf.0.card","typeLabel":"object"},"bank":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, bank-based payment options will be hidden or disabled during checkout.","default":false,"uniqueKey":"paymentOptions.oneOf.0.bank.disable","typeLabel":"boolean"},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB","uniqueKey":"paymentOptions.oneOf.0.bank.enabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Bank providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.bank.enabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"Bank providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.bank.enabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.bank.enabledProviders","typeLabel":"enum\u003cstring>[] | null"},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB","uniqueKey":"paymentOptions.oneOf.0.bank.disabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"If set, these bank providers will be excluded from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.bank.disabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"If set, these bank providers will be excluded from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.bank.disabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.bank.disabledProviders","typeLabel":"enum\u003cstring>[] | null"}},"additionalProperties":false,"description":"Settings for bank payments. You can restrict which bank providers are available or excluded.","uniqueKey":"paymentOptions.oneOf.0.bank","typeLabel":"object"},"momo":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, mobile money (MoMo) options will be hidden or disabled during checkout.","default":false,"uniqueKey":"paymentOptions.oneOf.0.momo.disable","typeLabel":"boolean"},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL","uniqueKey":"paymentOptions.oneOf.0.momo.enabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"MoMo providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.momo.enabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.momo.enabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.momo.enabledProviders","typeLabel":"enum\u003cstring>[] | null"},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL","uniqueKey":"paymentOptions.oneOf.0.momo.disabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"MoMo providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.momo.disabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.momo.disabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.momo.disabledProviders","typeLabel":"enum\u003cstring>[] | null"}},"additionalProperties":false,"description":"Settings for mobile money payments. Customize which MoMo providers are shown at checkout.","uniqueKey":"paymentOptions.oneOf.0.momo","typeLabel":"object"},"wallet":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, wallet-based payment options will be hidden or disabled during checkout.","default":false,"uniqueKey":"paymentOptions.oneOf.0.wallet.disable","typeLabel":"boolean"},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay","uniqueKey":"paymentOptions.oneOf.0.wallet.enabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Wallet providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.wallet.enabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to explicitly allow for this session. Takes precedence over 'disabledProviders'.","uniqueKey":"paymentOptions.oneOf.0.wallet.enabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.wallet.enabledProviders","typeLabel":"enum\u003cstring>[] | null"},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay","uniqueKey":"paymentOptions.oneOf.0.wallet.disabledProviders.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Wallet providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.wallet.disabledProviders.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"uniqueItems":true,"type":"null","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed.","uniqueKey":"paymentOptions.oneOf.0.wallet.disabledProviders.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions.oneOf.0.wallet.disabledProviders","typeLabel":"enum\u003cstring>[] | null"}},"additionalProperties":false,"description":"Settings for wallet-based payments. Control whether wallets are available and which ones.","uniqueKey":"paymentOptions.oneOf.0.wallet","typeLabel":"object"}},"additionalProperties":false,"description":"**Payment method configuration** that controls which payment options (e.g., Banks, Cards, MOMO, Wallets) are enabled or restricted during checkout.","uniqueKey":"paymentOptions.oneOf.0","typeLabel":"PaymentOptions · object"},{"title":"PaymentOptions","type":"null","properties":{"card":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, card-based payment options will be hidden or disabled during checkout.","default":false}},"additionalProperties":false,"description":"Settings for card-based payments. Allows disabling the card method entirely."},"bank":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, bank-based payment options will be hidden or disabled during checkout.","default":false},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"Bank providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."},{"uniqueItems":true,"type":"null","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"Bank providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."}]},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"If set, these bank providers will be excluded from this session. If a provider is in both enabled and disabled lists, it will be allowed."},{"uniqueItems":true,"type":"null","items":{"enum":["slb001","slb004","slb007","slb009","slb013"],"type":"string","description":"The ID of the bank as identified by Monime. E.g. slb001 to denote SLCB"},"description":"If set, these bank providers will be excluded from this session. If a provider is in both enabled and disabled lists, it will be allowed."}]}},"additionalProperties":false,"description":"Settings for bank payments. You can restrict which bank providers are available or excluded."},"momo":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, mobile money (MoMo) options will be hidden or disabled during checkout.","default":false},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."},{"uniqueItems":true,"type":"null","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."}]},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed."},{"uniqueItems":true,"type":"null","items":{"enum":["m17","m18"],"type":"string","description":"The ID of the MOMO as identified by Monime. E.g. m17 to denote Orange Money SL"},"description":"MoMo providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed."}]}},"additionalProperties":false,"description":"Settings for mobile money payments. Customize which MoMo providers are shown at checkout."},"wallet":{"type":"object","properties":{"disable":{"type":"boolean","description":"When true, wallet-based payment options will be hidden or disabled during checkout.","default":false},"enabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."},{"uniqueItems":true,"type":"null","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to explicitly allow for this session. Takes precedence over 'disabledProviders'."}]},"disabledProviders":{"oneOf":[{"uniqueItems":true,"type":"array","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed."},{"uniqueItems":true,"type":"null","items":{"enum":["dw001"],"type":"string","description":"The ID of the digital wallet as identified by Monime. E.g. dw001 to denote SafulPay"},"description":"Wallet providers to exclude from this session. If a provider is in both enabled and disabled lists, it will be allowed."}]}},"additionalProperties":false,"description":"Settings for wallet-based payments. Control whether wallets are available and which ones."}},"additionalProperties":false,"description":"**Payment method configuration** that controls which payment options (e.g., Banks, Cards, MOMO, Wallets) are enabled or restricted during checkout.","uniqueKey":"paymentOptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentOptions","typeLabel":"PaymentOptions · object | null"},"brandingOptions":{"oneOf":[{"type":"object","properties":{"primaryColor":{"maxLength":255,"type":"string","description":"Primary brand color in hex format (e.g., '#00FF00') used to customize the appearance of the checkout interface.","uniqueKey":"brandingOptions.oneOf.0.primaryColor","typeLabel":"string"}},"additionalProperties":false,"description":"Visual customization options for the checkout UI, such as color schemes or logos.","uniqueKey":"brandingOptions.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"primaryColor":{"maxLength":255,"type":"string","description":"Primary brand color in hex format (e.g., '#00FF00') used to customize the appearance of the checkout interface."}},"additionalProperties":false,"description":"Visual customization options for the checkout UI, such as color schemes or logos.","uniqueKey":"brandingOptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"brandingOptions","typeLabel":"object | null"},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Key-value pairs for attaching contextual metadata.","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Key-value pairs for attaching contextual metadata.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"}},"additionalProperties":false,"description":"Creates a new checkout session to initiate a user payment experience.","uniqueKey":"","typeLabel":"CreateCheckoutSession · object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","lineItems":[{"name":"\u003cstring>","price":{"currency":"\u003cstring>","value":123},"type":"custom","quantity":1,"reference":"\u003cstring>","description":"\u003cstring>","images":["\u003cstring>"]}],"description":"\u003cstring>","cancelUrl":"\u003cstring>","successUrl":"\u003cstring>","callbackState":"\u003cstring>","reference":"\u003cstring>","financialAccountId":"\u003cstring>","paymentOptions":{"card":{"disable":false},"bank":{"disable":false,"enabledProviders":[],"disabledProviders":[]},"momo":{"disable":false,"enabledProviders":[],"disabledProviders":[]},"wallet":{"disable":false,"enabledProviders":["dw001"],"disabledProviders":["dw001"]}},"brandingOptions":{"primaryColor":"\u003cstring>"},"metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"51a7191d-6364-4042-a764-b72c3025f8f6":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Represents the status of the query operation, confirming if it was successful. This field is always true","uniqueKey":"success","typeLabel":"boolean"},"messages":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"messages.items.[INDEX]","typeLabel":"any"},"description":"Contains a list of messages providing relevant information or feedback related to the query or operation","uniqueKey":"messages","typeLabel":"any[]"},"result":{"title":"Checkout Session","type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the checkout session.","uniqueKey":"result.id","typeLabel":"string"},"status":{"enum":["pending","cancelled","expired","completed"],"type":"string","description":"**Status** of the checkout session. Possible values:\n- pending: Awaiting initiation.\n- completed: Checkout completed successfully.\n- cancelled: User cancelled the session.\n- expired: Session expired due to inactivity.","uniqueKey":"result.status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Title or label for the checkout session. Used for display in customer-facing UIs.","uniqueKey":"result.name","typeLabel":"string"},"orderNumber":{"oneOf":[{"type":"string","description":"Internally generated order number that uniquely identifies the payment associated to this checkout session.","uniqueKey":"result.orderNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Internally generated order number that uniquely identifies the payment associated to this checkout session.","uniqueKey":"result.orderNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.orderNumber","typeLabel":"string | null"},"reference":{"oneOf":[{"type":"string","description":"Optional external reference identifier (e.g., order ID) used to link this session with the developer’s backend system.","uniqueKey":"result.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional external reference identifier (e.g., order ID) used to link this session with the developer’s backend system.","uniqueKey":"result.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.reference","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Optional long-form description explaining the purpose or context of the checkout session.","uniqueKey":"result.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional long-form description explaining the purpose or context of the checkout session.","uniqueKey":"result.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.description","typeLabel":"string | null"},"redirectUrl":{"type":"string","description":"The URL where the customer should be redirected to begin the checkout session. This is typically a hosted checkout page managed by Monime.","uniqueKey":"result.redirectUrl","typeLabel":"string"},"cancelUrl":{"type":"string","description":"The URL to redirect the customer to if they cancel the checkout process before completing payment. This typically returns the user to your site or app with context about the cancellation.","format":"url","uniqueKey":"result.cancelUrl","typeLabel":"string\u003curl>"},"successUrl":{"type":"string","description":"The URL to redirect the customer to after successfully completing the checkout. Typically used to confirm the order or show a success message on your site or app.","format":"url","uniqueKey":"result.successUrl","typeLabel":"string\u003curl>"},"lineItems":{"type":"object","properties":{"data":{"oneOf":[{"type":"array","items":{"type":"object","title":"Custom Item (User Defined)","description":"A user-defined line item with specified name, quantity, and price.","required":["name","price"],"properties":{"name":{"maxLength":100,"type":"string","description":"Name of the product or service represented by this line item.","isRequired":true,"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].name","typeLabel":"string"},"price":{"type":"object","properties":{"currency":{"type":"string","description":"The [3-letter](https://en.wikipedia.org/wiki/ISO_4217) ISO currency code. Currently supported: 'SLE'","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].price.currency","typeLabel":"string"},"value":{"type":"integer","description":"The value representation in the currency's minor unit. E.g. For 1 Leone (SLE 1), the value should be 100, denoting cents, the minor unit.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].price.value","typeLabel":"integer"}},"additionalProperties":false,"description":"Monetary value representing the price per unit of this item.","isRequired":true,"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].price","typeLabel":"object"},"type":{"type":"string","description":"Type of line item. This must be set to 'custom'.","default":"custom","enum":["custom"],"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Unique internal identifier for this line item. This is generated by the system and cannot be provided by the user. Unique across all checkout sessions.","readOnly":true,"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].id","typeLabel":"string"},"quantity":{"maximum":100000,"minimum":1,"type":"integer","description":"Number of units being purchased. Must be between 1 and 100,000.","default":1,"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].quantity","typeLabel":"integer"},"reference":{"oneOf":[{"maxLength":100,"type":"string","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].reference.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].reference","typeLabel":"string | null"},"description":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional description providing additional details about the item.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Optional description providing additional details about the item.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"images":{"oneOf":[{"maxItems":3,"uniqueItems":true,"type":"array","items":{"type":"string","description":"A URL","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].images.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Up to 3 image URLs visually representing this item.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].images.oneOf.0","typeLabel":"string[]"},{"maxItems":3,"uniqueItems":true,"type":"null","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item.","uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].images.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX].images","typeLabel":"string[] | null"}},"additionalProperties":false,"uniqueKey":"result.lineItems.data.oneOf.0.items.[INDEX]","typeLabel":"Custom Item (User Defined) · object"},"description":"Array of individual line items representing products or services included in the checkout session. Each item specifies details like name, quantity, and unit price.","uniqueKey":"result.lineItems.data.oneOf.0","typeLabel":"Custom Item (User Defined) · object[]"},{"type":"null","items":{"type":"object","title":"Custom Item (User Defined)","description":"A user-defined line item with specified name, quantity, and price.","required":["name","price"],"properties":{"type":{"type":"string","description":"Type of line item. This must be set to 'custom'.","default":"custom","enum":["custom"]},"id":{"type":"string","description":"Unique internal identifier for this line item. This is generated by the system and cannot be provided by the user. Unique across all checkout sessions.","readOnly":true},"name":{"maxLength":100,"type":"string","description":"Name of the product or service represented by this line item."},"price":{"type":"object","properties":{"currency":{"type":"string","description":"The [3-letter](https://en.wikipedia.org/wiki/ISO_4217) ISO currency code. Currently supported: 'SLE'"},"value":{"type":"integer","description":"The value representation in the currency's minor unit. E.g. For 1 Leone (SLE 1), the value should be 100, denoting cents, the minor unit."}},"additionalProperties":false,"description":"Monetary value representing the price per unit of this item."},"quantity":{"maximum":100000,"minimum":1,"type":"integer","description":"Number of units being purchased. Must be between 1 and 100,000.","default":1},"reference":{"oneOf":[{"maxLength":100,"type":"string","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated."},{"maxLength":100,"type":"null","description":"External system-provided identifier for this line item, used for cross-system tracking, reconciliation, or referencing purposes. Must be unique within the checkout session. If not provided, a unique identifier will be generated."}]},"description":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional description providing additional details about the item."},{"maxLength":100,"type":"null","description":"Optional description providing additional details about the item."}]},"images":{"oneOf":[{"maxItems":3,"uniqueItems":true,"type":"array","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item."},{"maxItems":3,"uniqueItems":true,"type":"null","items":{"type":"string","description":"A URL"},"description":"Up to 3 image URLs visually representing this item."}]}},"additionalProperties":false},"description":"Array of individual line items representing products or services included in the checkout session. Each item specifies details like name, quantity, and unit price.","uniqueKey":"result.lineItems.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.lineItems.data","typeLabel":"Custom Item (User Defined) · object[] | null"}},"description":"Container for the list of items included in the checkout session. Each item represents a product or service being purchased, along with its quantity and pricing.","uniqueKey":"result.lineItems","typeLabel":"object"},"financialAccountId":{"oneOf":[{"type":"string","description":"Financial account where the collected funds were settled. Defaults to the main account if omitted.","uniqueKey":"result.financialAccountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Financial account where the collected funds were settled. Defaults to the main account if omitted.","uniqueKey":"result.financialAccountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.financialAccountId","typeLabel":"string | null"},"brandingOptions":{"oneOf":[{"type":"object","properties":{"primaryColor":{"maxLength":255,"type":"string","description":"Primary brand color in hex format (e.g., '#00FF00') used to customize the appearance of the checkout interface.","uniqueKey":"result.brandingOptions.oneOf.0.primaryColor","typeLabel":"string"}},"additionalProperties":false,"description":"Visual customization options for the checkout UI, such as color schemes or logos.","uniqueKey":"result.brandingOptions.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"primaryColor":{"maxLength":255,"type":"string","description":"Primary brand color in hex format (e.g., '#00FF00') used to customize the appearance of the checkout interface."}},"additionalProperties":false,"description":"Visual customization options for the checkout UI, such as color schemes or logos.","uniqueKey":"result.brandingOptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.brandingOptions","typeLabel":"object | null"},"expireTime":{"type":"string","description":"The timestamp at which the checkout session will automatically expire.","format":"date-time","uniqueKey":"result.expireTime","typeLabel":"string\u003cdate-time>"},"createTime":{"type":"string","description":"Timestamp indicating when the checkout session was created.","format":"date-time","uniqueKey":"result.createTime","typeLabel":"string\u003cdate-time>"},"ownershipGraph":{"oneOf":[{"title":"OwnershipGraph","type":"object","properties":{"owner":{"title":"OwnershipObject","type":"object","properties":{"id":{"type":"string","description":"**Unique ID** of the object instance that owns this entity.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.id","typeLabel":"string"},"type":{"type":"string","description":"**Type of the object** that owns this entity. Examples include: 'internal_transfer', 'checkout_session', 'payment_code'.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.type","typeLabel":"string"},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.ownershipGraph.oneOf.0.owner.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.metadata.oneOf.0","typeLabel":"object"},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.ownershipGraph.oneOf.0.owner.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.ownershipGraph.oneOf.0.owner.metadata","typeLabel":"object | null"},"owner":{"title":"OwnershipObject","type":"object","properties":{"id":{"type":"string","description":"**Unique ID** of the object instance that owns this entity.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.id","typeLabel":"string"},"type":{"type":"string","description":"**Type of the object** that owns this entity. Examples include: 'internal_transfer', 'checkout_session', 'payment_code'.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.type","typeLabel":"string"},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.metadata.oneOf.0","typeLabel":"object"},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.metadata","typeLabel":"object | null"},"owner":{"oneOf":[{"$circularRef":"11580de8-459e-4dc0-b992-b15cd21f4e69"}],"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner.owner","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"result.ownershipGraph.oneOf.0.owner.owner","typeLabel":"OwnershipObject · object"}},"additionalProperties":false,"description":"**Immediate object** that owns this entity. This is the direct originator or source object.","readOnly":true,"uniqueKey":"result.ownershipGraph.oneOf.0.owner","typeLabel":"OwnershipObject · object"}},"additionalProperties":false,"description":"**Ownership graph** that traces the origin of this checkout session, enabling deep auditability and understanding of its creation context.","uniqueKey":"result.ownershipGraph.oneOf.0","typeLabel":"OwnershipGraph · object"},{"title":"OwnershipGraph","type":"null","properties":{"owner":{"title":"OwnershipObject","type":"object","properties":{"id":{"type":"string","description":"**Unique ID** of the object instance that owns this entity.","readOnly":true},"type":{"type":"string","description":"**Type of the object** that owns this entity. Examples include: 'internal_transfer', 'checkout_session', 'payment_code'.","readOnly":true},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true}]},"owner":{"title":"OwnershipObject","type":"object","properties":{"id":{"type":"string","description":"**Unique ID** of the object instance that owns this entity.","readOnly":true},"type":{"type":"string","description":"**Type of the object** that owns this entity. Examples include: 'internal_transfer', 'checkout_session', 'payment_code'.","readOnly":true},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."},"description":"**Arbitrary metadata** describing the owning object.","readOnly":true}]},"owner":{"oneOf":[{"$circularRef":"11580de8-459e-4dc0-b992-b15cd21f4e69"}]}},"additionalProperties":false}},"additionalProperties":false,"description":"**Immediate object** that owns this entity. This is the direct originator or source object.","readOnly":true}},"additionalProperties":false,"description":"**Ownership graph** that traces the origin of this checkout session, enabling deep auditability and understanding of its creation context.","uniqueKey":"result.ownershipGraph.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.ownershipGraph","typeLabel":"OwnershipGraph · object | null"},"metadata":{"oneOf":[{"maxProperties":64,"type":"object","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Structured key-value metadata for tagging the session with contextual or custom information.","uniqueKey":"result.metadata.oneOf.0","typeLabel":"object"},{"maxProperties":64,"type":"null","additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters.","uniqueKey":"result.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Structured key-value metadata for tagging the session with contextual or custom information.","uniqueKey":"result.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.metadata","typeLabel":"object | null"}},"description":"A **Checkout Session** represents a Monime-hosted payment flow where customers complete purchases for a defined set of items. \nIt is designed for **e-commerce** and **embedded payment scenarios** where merchants want a simple, secure way to accept payments across multiple channels without building the payment UI themselves.\n\nUnlike direct API-based payments, a Checkout Session aggregates **multiple payment methods** — such as **Mobile Money**, **Card**, and **Bank Transfers** — and presents them in a unified checkout experience. \n\n---\n\n### Use Cases\n\n- **E-Commerce Cart Checkout** \n A customer selects items in a cart. The merchant creates a Hosted Checkout Session, and Monime presents Mobile Money, Card, and Bank options in one unified flow. \n\n- **Embedded SaaS Billing** \n A SaaS platform embeds a Hosted Checkout Session to bill users. Customers pick their preferred channel (Card, MoMo, Bank), and once payment is confirmed, the SaaS receives `checkout_session.completed`. \n\n- **QR or Link-Based Payment** \n Merchants generate a checkout session link or QR code. Customers open the hosted page and choose any available payment method. \n\n- **Fallback Across Methods** \n If a user’s card payment fails, they can seamlessly retry with Mobile Money — all within the same checkout session.\n","uniqueKey":"result","typeLabel":"Checkout Session · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"messages":["\u003cunknown>"],"result":{"id":"\u003cstring>","status":"pending","name":"\u003cstring>","orderNumber":"\u003cstring>","reference":"\u003cstring>","description":"\u003cstring>","redirectUrl":"\u003cstring>","cancelUrl":"\u003cstring>","successUrl":"\u003cstring>","lineItems":{"data":[{"name":"\u003cstring>","price":{"currency":"\u003cstring>","value":123},"type":"custom","id":"\u003cstring>","quantity":1,"reference":"\u003cstring>","description":"\u003cstring>","images":["\u003cstring>"]}]},"financialAccountId":"\u003cstring>","brandingOptions":{"primaryColor":"\u003cstring>"},"expireTime":"2023-11-07T05:31:56Z","createTime":"2023-11-07T05:31:56Z","ownershipGraph":{"owner":{"id":"\u003cstring>","type":"\u003cstring>","metadata":{},"owner":{"id":"\u003cstring>","type":"\u003cstring>","metadata":{},"owner":"\u003cunknown>"}}},"metadata":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ab63a971-6cd8-4623-b7da-d6e67145ba1b":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"auth-scheme","description":"Bearer HTTP authentication specified with the header Authorization: Bearer \u003caccess_token>","scopes":[]}}},"servers":{"b74ed17a-5cc3-4ca1-a3e0-6c5f43569260":{"url":"https://api.monime.io/"}},"schemas":{"11580de8-459e-4dc0-b992-b15cd21f4e69":{"title":"OwnershipObject","type":"object","properties":{"metadata":{"oneOf":[{"type":"object","description":"**Arbitrary metadata** describing the owning object.","maxProperties":64,"additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."}},{"type":"null","description":"**Arbitrary metadata** describing the owning object.","maxProperties":64,"additionalProperties":{"maxLength":100,"type":"string","description":"Metadata values are free-form strings up to 100 characters."}}]},"owner":{"oneOf":[{}]}},"additionalProperties":false}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"auth-scheme","description":"Bearer HTTP authentication specified with the header Authorization: Bearer \u003caccess_token>","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer HTTP authentication specified with the header Authorization: Bearer \u003caccess_token>","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"apis/versions/caph-2025-06-20/openapi.yaml"},"subdomain":"monime","siteName":"Monime","title":"Monime Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"caph.2025-08-23":{"href":"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session","matchLevel":0},"caph.2025-06-20":{"href":"/apis/versions/caph-2025-06-20/checkout-session/create-checkout-session","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-20T14:02:23.263Z","originalFileLocation":"apis/versions/caph-2025-08-23/checkout-session/create-checkout-session.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 new checkout session to initiate a user payment experience.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Monime\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_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/monime/P00jkTdHXyPJIAKr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Monime Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Monime is an API-first payment platform that makes it easy to collect, transfer, and manage money across multiple channels. Whether you’re a startup or enterprise, Monime helps you power checkout sessions, recurring payments, wallet apps, and embedded financial services with reliability and speed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Monime Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mintlify.s3-us-west-1.amazonaws.com/monime/assets/images/home.jpg\">\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=\"Monime Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Monime is an API-first payment platform that makes it easy to collect, transfer, and manage money across multiple channels. Whether you’re a startup or enterprise, Monime helps you power checkout sessions, recurring payments, wallet apps, and embedded financial services with reliability and speed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mintlify.s3-us-west-1.amazonaws.com/monime/assets/images/home.jpg\">\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/monime/P00jkTdHXyPJIAKr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Monime\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0180ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/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=\"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.monime.io/#organization\",\"name\":\"Monime\",\"url\":\"https://docs.monime.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/monime/R8nwVWtpJYRvngoj/assets/logo/monime-light.svg?fit=max\u0026auto=format\u0026n=R8nwVWtpJYRvngoj\u0026q=85\u0026s=bf50f5864797af5d90a5aff2ee434b35\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.monime.io#website\",\"name\":\"Monime\",\"url\":\"https://docs.monime.io\",\"publisher\":{\"@id\":\"https://docs.monime.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session#webpage\",\"url\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session\",\"name\":\"Create Checkout Session\",\"description\":\"Creates a new checkout session to initiate a user payment experience.\",\"dateModified\":\"2026-09-20T14:02:23.263Z\",\"isPartOf\":{\"@id\":\"https://docs.monime.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payins\",\"item\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/payment/object\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Checkout Session\",\"item\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/object\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Checkout Session\",\"item\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session#apireference\",\"headline\":\"Create Checkout Session\",\"name\":\"Create Checkout Session\",\"description\":\"Creates a new checkout session to initiate a user payment experience.\",\"url\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.monime.io/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session#webpage\"},\"image\":\"https://mintlify.s3-us-west-1.amazonaws.com/monime/assets/images/home.jpg\",\"dateModified\":\"2026-09-20T14:02:23.263Z\",\"publisher\":{\"@id\":\"https://docs.monime.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.monime.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Monime\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Monime\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session.md","siteName":"Monime","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started"}]},{"tab":"Dashboard Guides","pages":[{"title":"Dashboard Guides","href":"/dashboard-guide"}]},{"tab":"Developer Resources","pages":[{"title":"Developer Resources","href":"/developer-resources/api-basics"}]},{"tab":"API Reference","versions":[{"version":"caph.2025-08-23","default":true,"groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"circle-info","iconType":"solid","href":"/apis"},{"title":"Changelog","icon":"clock","href":"/apis/changelog"}]},{"group":"Core Resources","pages":[{"group":"Financial Account","pages":[{"title":"Financial Account","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/financial-account/object"},{"openapi":"get /v1/financial-accounts","title":"List Financial Accounts","href":"/apis/versions/caph-2025-08-23/financial-account/list-financial-accounts"},{"openapi":"get /v1/financial-accounts/{id}","title":"Get Financial Account","href":"/apis/versions/caph-2025-08-23/financial-account/get-financial-account"},{"openapi":"post /v1/financial-accounts","title":"Create Financial Account","href":"/apis/versions/caph-2025-08-23/financial-account/create-financial-account"},{"openapi":"patch /v1/financial-accounts/{id}","title":"Update Financial Account","href":"/apis/versions/caph-2025-08-23/financial-account/update-financial-account"}]},{"group":"Financial Transaction","pages":[{"title":"Financial Transaction","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/financial-transaction/object"},{"openapi":"get /v1/financial-transactions","title":"List Financial Transactions","href":"/apis/versions/caph-2025-08-23/financial-transaction/list-financial-transactions"},{"openapi":"get /v1/financial-transactions/{id}","title":"Get Financial Transaction","href":"/apis/versions/caph-2025-08-23/financial-transaction/get-financial-transaction"}]},{"group":"Internal Transfer","pages":[{"title":"Internal Transfer","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/internal-transfer/object"},{"openapi":"get /v1/internal-transfers","title":"List Internal Transfers","href":"/apis/versions/caph-2025-08-23/internal-transfer/list-internal-transfers"},{"openapi":"get /v1/internal-transfers/{id}","title":"Get Internal Transfer","href":"/apis/versions/caph-2025-08-23/internal-transfer/get-internal-transfer"},{"openapi":"post /v1/internal-transfers","title":"Create Internal Transfer","href":"/apis/versions/caph-2025-08-23/internal-transfer/create-internal-transfer"},{"openapi":"patch /v1/internal-transfers/{id}","title":"Update Internal Transfer","href":"/apis/versions/caph-2025-08-23/internal-transfer/update-internal-transfer"},{"openapi":"delete /v1/internal-transfers/{id}","title":"Delete Internal Transfer","href":"/apis/versions/caph-2025-08-23/internal-transfer/delete-internal-transfer"}]},{"group":"Webhook","pages":[{"title":"Webhook","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/webhook/object"},{"openapi":"get /v1/webhooks/{id}","title":"Get Webhook","href":"/apis/versions/caph-2025-08-23/webhook/get-webhook"},{"openapi":"get /v1/webhooks","title":"List Webhooks","href":"/apis/versions/caph-2025-08-23/webhook/list-webhooks"},{"openapi":"post /v1/webhooks","title":"Create Webhook","href":"/apis/versions/caph-2025-08-23/webhook/create-webhook"},{"openapi":"patch /v1/webhooks/{id}","title":"Update Webhook","href":"/apis/versions/caph-2025-08-23/webhook/update-webhook"},{"openapi":"delete /v1/webhooks/{id}","title":"Delete Webhook","href":"/apis/versions/caph-2025-08-23/webhook/delete-webhook"}]}]},{"group":"Payins","pages":[{"group":"Payment","pages":[{"title":"Payment","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/payment/object"},{"openapi":"get /v1/payments","title":"List Payments","href":"/apis/versions/caph-2025-08-23/payment/list-payments"},{"openapi":"get /v1/payments/{id}","title":"Get Payment","href":"/apis/versions/caph-2025-08-23/payment/get-payment"},{"openapi":"patch /v1/payments/{id}","title":"Patch Payment","href":"/apis/versions/caph-2025-08-23/payment/patch-payment"}]},{"group":"Payment Code","pages":[{"title":"Payment Code","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/payment-code/object"},{"openapi":"get /v1/payment-codes","title":"List Payment Codes","href":"/apis/versions/caph-2025-08-23/payment-code/list-payment-codes"},{"openapi":"get /v1/payment-codes/{id}","title":"Get Payment Code","href":"/apis/versions/caph-2025-08-23/payment-code/get-payment-code"},{"openapi":"post /v1/payment-codes","title":"Create Payment Code","href":"/apis/versions/caph-2025-08-23/payment-code/create-payment-code"},{"openapi":"patch /v1/payment-codes/{id}","title":"Update Payment Code","href":"/apis/versions/caph-2025-08-23/payment-code/update-payment-code"},{"openapi":"delete /v1/payment-codes/{id}","title":"Delete Payment Code","href":"/apis/versions/caph-2025-08-23/payment-code/delete-payment-code"}]},{"group":"Checkout Session","pages":[{"title":"Checkout Session","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/checkout-session/object"},{"openapi":"get /v1/checkout-sessions","title":"List Checkout Sessions","href":"/apis/versions/caph-2025-08-23/checkout-session/list-checkout-sessions"},{"openapi":"get /v1/checkout-sessions/{id}","title":"Get Checkout Session","description":"Retrieves the full details of a checkout session by ID.","href":"/apis/versions/caph-2025-08-23/checkout-session/get-checkout-session"},{"openapi":"post /v1/checkout-sessions","title":"Create Checkout Session","href":"/apis/versions/caph-2025-08-23/checkout-session/create-checkout-session"},{"openapi":"delete /v1/checkout-sessions/{id}","title":"Delete Checkout Session","description":"Deletes a checkout session. This operation is only allowed if the session has not yet been initiated by the user.","href":"/apis/versions/caph-2025-08-23/checkout-session/delete-checkout-session"}]}]},{"group":"Payouts","pages":[{"group":"Single Payout","pages":[{"title":"Payout","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/payout/object"},{"openapi":"get /v1/payouts","title":"List Payouts","href":"/apis/versions/caph-2025-08-23/payout/list-payouts"},{"openapi":"get /v1/payouts/{id}","title":"Get Payout","href":"/apis/versions/caph-2025-08-23/payout/get-payout"},{"openapi":"post /v1/payouts","title":"Create Payout","href":"/apis/versions/caph-2025-08-23/payout/create-payout"},{"openapi":"patch /v1/payouts/{id}","title":"Update Payout","href":"/apis/versions/caph-2025-08-23/payout/update-payout"},{"openapi":"delete /v1/payouts/{id}","title":"Delete Payout","href":"/apis/versions/caph-2025-08-23/payout/delete-payout"}]}]},{"group":"Utilities","pages":[{"group":"Receipt","tag":"NEW","pages":[{"title":"Receipt","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/receipt/object"},{"openapi":"get /v1/receipts/{orderNumber}","title":"Get Receipt","href":"/apis/versions/caph-2025-08-23/receipt/get-receipt"},{"openapi":"post /v1/receipts/{orderNumber}/redeem","title":"Redeem Receipt","href":"/apis/versions/caph-2025-08-23/receipt/redeem-receipt"}]},{"group":"USSD OTP","pages":[{"title":"Ussd Otp","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/ussd-otp/object"},{"openapi":"get /v1/ussd-otps/{id}","title":"Get USSD OTP","href":"/apis/versions/caph-2025-08-23/ussd-otp/get-ussd-otp"},{"openapi":"get /v1/ussd-otps","title":"List USSD OTPs","href":"/apis/versions/caph-2025-08-23/ussd-otp/list-ussd-otps"},{"openapi":"post /v1/ussd-otps","title":"Create USSD OTP","href":"/apis/versions/caph-2025-08-23/ussd-otp/create-ussd-otp"},{"openapi":"delete /v1/ussd-otps/{id}","title":"Delete USSD OTP","href":"/apis/versions/caph-2025-08-23/ussd-otp/delete-ussd-otp"}]}]},{"group":"Extra Resources","pages":[{"group":"Provider KYC","pages":[{"title":"Provider KYC","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/provider-kyc/object"},{"openapi":"get /v1/provider-kyc/{providerId}","title":"Get Provider KYC","href":"/apis/versions/caph-2025-08-23/provider-kyc/get-provider-kyc"}]}]},{"group":"Financial Providers","pages":[{"group":"Banks","pages":[{"title":"Bank","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/bank/object"},{"openapi":"get /v1/banks","title":"List Banks","href":"/apis/versions/caph-2025-08-23/bank/list-banks"},{"openapi":"get /v1/banks/{providerId}","title":"Get Bank","href":"/apis/versions/caph-2025-08-23/bank/get-bank"}]},{"group":"Momos","pages":[{"title":"Momo","icon":"brackets-curly","iconType":"solid","href":"/apis/versions/caph-2025-08-23/momo/object"},{"openapi":"get /v1/momos","title":"List Momos","href":"/apis/versions/caph-2025-08-23/momo/list-momos"},{"openapi":"get /v1/momos/{providerId}","title":"Get Momo","href":"/apis/versions/caph-2025-08-23/momo/get-momo"}]}]}]},{"version":"caph.2025-06-20","pages":[{"title":"caph.2025-06-20","href":"/apis/versions/caph-2025-06-20/checkout-session/create-checkout-session"}]}]}]},"basePath":"","title":"Monime Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","SectionHeading-Cc2r-uqU.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}