Create Order is the first step in the payment flow. You send the buyer, product and invoice details from your backend, and choose how the payment is collected with collection_mode:
Hosted Checkout (hosted_payment) returns a session_id. You hand it to the EximPe JS SDK, which opens EximPe’s payment page.
S2S UPI Intent (s2s) returns an intent_uri that you use to open the customer’s UPI app.
Both return an order_id. A successful create returns 201 Created.
Optional. Pre-selects a payment method on the payment page
Must be upi
upi_flow_type
Not used
Must be intent
buyer.ip_address, buyer.user_agent
Not used; EximPe captures them on the payment page
Required
return_url
Optional. Where the customer lands after paying
Not used; the customer is not redirected
Returns
order_id, session_id
order_id, intent_uri, expires_at
collection_mode has no default. Leave it out, or send another value, and the request is refused with {"collection_mode": "Invalid collection mode"}.S2S UPI Intent must be enabled on your account. See the S2S UPI Intent integration guide for the end-to-end flow.
Decimal string such as "1000.00"; a JSON number is also accepted. More than two decimal places are rounded to two — 1000.456 is charged as 1000.46. Greater than 0 and at most 10,000,000.00
currency
string
Yes
ISO 4217 currency code.
INR
reference_id
string
Yes
Your reference for the order.
1–50 chars; letters, numbers and hyphens only (ORDER-123456, not ORDER_123456); unique across your orders. See Duplicate requests
collection_mode
string
Yes
How the payment is collected.
hosted_payment or s2s; no default
mop_type
string
Conditional
Payment method.
Hosted Checkout: optional, one of credit_card, debit_card, upi, net_banking, qr. S2S UPI Intent: required, upi
upi_flow_type
string
Conditional
UPI flow.
S2S UPI Intent: required, intent
return_url
string
No
Where Hosted Checkout sends the customer when the payment finishes, whatever the outcome.
Absolute URL, max 500 chars. Without it the customer sees EximPe’s own result page
business_model
string
No
Whether the buyer is a business or a consumer.
B2B or B2C, uppercase; derived from your KYC when omitted
purpose_code
string
No
FEMA/FETERS purpose code the order settles under.
Must be active and enabled on your account (e.g. S0802); derived from your KYC when omitted
buyer
object
Yes
The buyer.
See Buyer
product
object
Yes
What is being sold.
See Product
invoice
object
Yes
Invoice metadata.
See Invoice
When you omit purpose_code, it is filled in only if your account has exactly one allowed code; otherwise it is left unset for later classification. Neither business_model nor purpose_code is returned by Create Order, and neither can be changed after the order is created. Read them back with Get Order Details.
session_id: A 64-character hex string. Pass it to the EximPe JS SDK to open the payment page
The session_id is valid for 15 minutes. After that, create a new order to get a fresh one. An expired or already-completed session returns Invalid or expired session.
intent_uri: The UPI payment request to open the customer’s UPI app with. See Invoking the intent
expires_at: When the intent stops accepting payment, in UTC — 5 minutes after creation
test_simulator_url: Sandbox only. Open it in a browser to complete the payment without a real UPI app; the result follows the test VPA you use in the simulator. Not returned in production
Sandbox responses may carry other testing fields. Ignore any field not listed here.
Depending on how your account collects UPI, intent_uri comes either as a complete URI (upi://pay?pa=...) or as its query string alone (pa=...&pn=...). Handle both: if it does not start with upi://, prefix it with upi://pay? before invoking it, and never add a second scheme. See the integration guide for Android, iOS and desktop handling.
Refusals use the standard envelope: success is false, and error carries a code, a message and details. A 400 always carries ERR_ORDER_002 — read details to see what failed and fix that field before retrying.
Status
error.code
When
details
400
ERR_ORDER_002
A field is missing or invalid
Keyed by field and nested like the request, one message per field, e.g. {"buyer": {"phone": "Enter a valid phone number."}}
400
ERR_ORDER_002
reference_id has a character other than a letter, number or hyphen
{"reference_id": "Invalid input: ORDER_123456"}
400
ERR_ORDER_002
reference_id is already used by one of your orders
{"reference_id": "Reference ID already exists"}
400
ERR_ORDER_002
invoice.number is already used by one of your orders that has not failed
{"invoice": {"number": "Invoice Number already exists"}}
400
ERR_ORDER_002
collection_mode is missing or unrecognised
{"collection_mode": "Invalid collection mode"}
400
ERR_ORDER_002
business_model is not B2B or B2C
{"business_model": "\"b2b\" is not a valid choice."}
400
ERR_ORDER_002
purpose_code is unknown or inactive
{"purpose_code": "Invalid Purpose code given."}
400
ERR_ORDER_002
purpose_code is valid but not enabled on your account
{"purpose_code": "Purpose code is not enabled for this merchant."}
400
ERR_ORDER_002
amount is 0 or less, or above 10,000,000.00
{"total_amount": "Total amount must be greater than 0"} or {"total_amount": "Total amount must be less than or equal to 10,000,000"}
401
ERR_AUTH_000
X-Client-ID or X-Client-Secret is missing
{"authentication": "Missing credentials."}
401
ERR_AUTH_001
The credentials are wrong
{"authentication": "Invalid credentials."}
401
ERR_AUTH_000
A PSP left out X-Merchant-ID
{"authentication": "X-Merchant-ID header is required for this endpoint."}
401
ERR_AUTH_001
X-Merchant-ID is not one of your active sub-merchants
reference_id is single-use. It must be unique across all your orders, whatever their status — a failed order still holds its reference_id. Sending one that is already used is refused with Reference ID already exists; the original order is not returned.
invoice.number is unique across your orders that have not failed. Once an order fails, its invoice number can be used again.
Hosted Checkout. Load the EximPe JS SDK on your page and call eximpe.checkout({ sessionId }) within 15 minutes. The customer is sent to your return_url whether the payment succeeds, fails or is cancelled.
S2S UPI Intent. Invoke the intent_uri on the customer’s device before expires_at.
Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
Amount in rupees, as a decimal string such as "1000.00". A JSON number is also accepted. More than two decimal places are rounded to two, so 1000.456 is charged as 1000.46. Must be greater than 0 and at most 10,000,000.00.
Optional. Where Hosted Checkout sends the customer when the payment finishes. Without it the customer sees EximPe's own result page. S2S UPI Intent does not redirect the customer.
FEMA/FETERS purpose code this order settles under (e.g. S0802). Optional — derived from the merchant's allowed purpose codes when omitted and exactly one is allowed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EximPe Docs","colors":{"primary":"#26a887","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/lesamis/y5zkI3pHSxYeqMuI/logo/Black.svg?fit=max\u0026auto=format\u0026n=y5zkI3pHSxYeqMuI\u0026q=85\u0026s=14d310ad411e0f3fe22ccde2bfb6f5a9","dark":"https://mintcdn.com/lesamis/y5zkI3pHSxYeqMuI/logo/White.svg?fit=max\u0026auto=format\u0026n=y5zkI3pHSxYeqMuI\u0026q=85\u0026s=7b9dedaab472953df60a9bc16df79053"},"favicon":"https://mintcdn.com/lesamis/y5zkI3pHSxYeqMuI/favicon.svg?fit=max\u0026auto=format\u0026n=y5zkI3pHSxYeqMuI\u0026q=85\u0026s=af71dfaa5920386e133a9c7091f86b27","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://merchant.eximpe.com"}},"footer":{"socials":{"facebook":"https://www.facebook.com/eximpe","twitter":"https://x.com/eximpe","instagram":"https://www.instagram.com/exim.pe?hl=en","linkedin":"https://www.linkedin.com/company/eximpe?viewAsMember=true"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lesamis","hasAudioNarration":false,"actualSubdomain":"lesamis","customDomains":["docs.eximpe.com"],"gitSource":{"type":"github","owner":"akhil-kumar-mg-mint","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae826e36bec035f34589cab","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":166},{"language":"default","tag":"Integration Guide","count":55},{"language":"default","tag":"Webhooks","count":35},{"language":"default","tag":"Subscriptions","count":33},{"language":"default","tag":"Get Started","count":22},{"language":"default","tag":"Payment Integration","count":22},{"language":"default","tag":"Merchant","count":17},{"language":"default","tag":"Payment Links","count":14},{"language":"default","tag":"Virtual Bank Accounts","count":13},{"language":"default","tag":"Order","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1024px){#sidebar{border-right:1px solid rgba(0, 0, 0, 0.05)!important}}.hidden.lg\\:flex.items-center.gap-x-2 button[id*=\"radix\"],[class*=\"VersionSwitcher\"] button{width:auto!important;min-width:120px!important;padding:6px 12px!important;height:32px!important;background-color:#15803d!important;color:white!important;border:none!important;border-radius:8px!important;font-size:0.85rem!important;letter-spacing:0.01em!important;box-shadow:0 4px 6px -1px rgba(38, 168, 135, 0.2), 0 2px 4px -1px rgba(38, 168, 135, 0.1)!important;transition:all 0.2s ease!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-bottom:0!important;vertical-align:middle!important}#navigation-items>div.flex.flex-col>button[id*=\"radix\"]{width:fit-content!important;min-width:110px!important;padding:6px 12px!important;height:32px!important;align-self:flex-start!important;margin-bottom:16px!important;background-color:#15803d!important;color:white!important;border:none!important;border-radius:8px!important;font-size:0.85rem!important;box-shadow:0 4px 6px -1px rgba(38, 168, 135, 0.2)!important}.hidden.lg\\:flex.items-center.gap-x-2 button[id*=\"radix\"]:hover,#navigation-items>div.flex.flex-col>button[id*=\"radix\"]:hover{background-color:#1f8a6d!important;transform:translateY(-1px)!important}.hidden.lg\\:flex.items-center.gap-x-2 button[id*=\"radix\"] span,.hidden.lg\\:flex.items-center.gap-x-2 button[id*=\"radix\"] div,#navigation-items>div.flex.flex-col>button[id*=\"radix\"] span,#navigation-items>div.flex.flex-col>button[id*=\"radix\"] div{color:white!important}.hidden.lg\\:flex.items-center.gap-x-2{align-items:center!important;display:flex!important;gap:12px!important}.hidden.lg\\:flex.items-center.gap-x-2 button[id*=\"radix\"]::before,#navigation-items>div.flex.flex-col>button[id*=\"radix\"]::before{content:\"API\";font-size:0.65rem;text-transform:uppercase;background:rgba(255, 255, 255, 0.2);padding:1px 5px;border-radius:3px;margin-right:6px}@media (max-width: 1023px){header+div>div.flex{flex-wrap:wrap!important}}.mermaid svg{margin-left:auto!important;margin-right:auto!important}"}],"page":{"pagePath":"api-reference/v3/order/create","slug":"/api-reference/v3/order/create","pageMetadata":{"title":"Create Order","description":"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.","openapi":"openapi/v3-orders.json POST /pg/orders/","href":"/api-reference/v3/order/create"},"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 an order and get either a Hosted Checkout session or a UPI intent to collect an INR 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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Create Order is the first step in the payment flow. You send the buyer, product and invoice details from your backend, and choose how the payment is collected with `,_jsx(_components.code,{children:`collection_mode`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Hosted Checkout`}),` (`,_jsx(_components.code,{children:`hosted_payment`}),`) returns a `,_jsx(_components.code,{children:`session_id`}),`. You hand it to the EximPe JS SDK, which opens EximPe’s payment page.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`S2S UPI Intent`}),` (`,_jsx(_components.code,{children:`s2s`}),`) returns an `,_jsx(_components.code,{children:`intent_uri`}),` that you use to open the customer’s UPI app.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Both return an `,_jsx(_components.code,{children:`order_id`}),`. A successful create returns `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Environment`}),_jsx(_components.th,{children:`Base URL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Sandbox`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api-pacb-uat.eximpe.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Production`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api-pacb.eximpe.com`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Client-ID`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your Client ID, from Developer Settings in the merchant dashboard.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Client-Secret`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your Client Secret. Keep it on your server.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-API-Version`})}),_jsx(_components.td,{children:`Recommended`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`3.0.0`}),`. It selects the API version; it is not a credential.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Merchant-ID`})}),_jsx(_components.td,{children:`PSPs only`}),_jsx(_components.td,{children:`The sub-merchant the order is for. Required when you authenticate as a PSP; merchants using their own credentials leave it out.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Create orders from your backend only. The request carries your Client Secret, so never send it from a browser or a mobile app.`})}),`\n`,_jsx(Heading,{level:`2`,id:`hosted-checkout-and-s2s-upi-intent`,children:`Hosted Checkout and S2S UPI Intent`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Hosted Checkout`}),_jsx(_components.th,{children:`S2S UPI Intent`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collection_mode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`hosted_payment`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`s2s`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mop_type`})}),_jsx(_components.td,{children:`Optional. Pre-selects a payment method on the payment page`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`upi`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`upi_flow_type`})}),_jsx(_components.td,{children:`Not used`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`intent`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`buyer.ip_address`}),`, `,_jsx(_components.code,{children:`buyer.user_agent`})]}),_jsx(_components.td,{children:`Not used; EximPe captures them on the payment page`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return_url`})}),_jsx(_components.td,{children:`Optional. Where the customer lands after paying`}),_jsx(_components.td,{children:`Not used; the customer is not redirected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Returns`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`order_id`}),`, `,_jsx(_components.code,{children:`session_id`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`order_id`}),`, `,_jsx(_components.code,{children:`intent_uri`}),`, `,_jsx(_components.code,{children:`expires_at`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`collection_mode`}),` has no default. Leave it out, or send another value, and the request is refused with `,_jsx(_components.code,{children:`{\"collection_mode\": \"Invalid collection mode\"}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`S2S UPI Intent must be enabled on your account. See the `,_jsx(_components.a,{href:`/integration-guide/v3/web-integration/s2s-upi-intent`,children:`S2S UPI Intent integration guide`}),` for the end-to-end flow.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(_components.p,{children:`Fields not listed as required are optional. “Conditional” means the field is required only in the stated case.`}),`\n`,_jsx(Heading,{level:`4`,id:`top-level`,children:`Top-level`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`amount`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Amount to collect, in rupees.`}),_jsxs(_components.td,{children:[`Decimal string such as `,_jsx(_components.code,{children:`\"1000.00\"`}),`; a JSON number is also accepted. More than two decimal places are rounded to two — `,_jsx(_components.code,{children:`1000.456`}),` is charged as `,_jsx(_components.code,{children:`1000.46`}),`. Greater than 0 and at most 10,000,000.00`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`currency`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`ISO 4217 currency code.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INR`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`reference_id`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your reference for the order.`}),_jsxs(_components.td,{children:[`1–50 chars; letters, numbers and hyphens only (`,_jsx(_components.code,{children:`ORDER-123456`}),`, not `,_jsx(_components.code,{children:`ORDER_123456`}),`); unique across your orders. See `,_jsx(_components.a,{href:`#duplicate-requests`,children:`Duplicate requests`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`collection_mode`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`How the payment is collected.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hosted_payment`}),` or `,_jsx(_components.code,{children:`s2s`}),`; no default`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`mop_type`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsx(_components.td,{children:`Payment method.`}),_jsxs(_components.td,{children:[`Hosted Checkout: optional, one of `,_jsx(_components.code,{children:`credit_card`}),`, `,_jsx(_components.code,{children:`debit_card`}),`, `,_jsx(_components.code,{children:`upi`}),`, `,_jsx(_components.code,{children:`net_banking`}),`, `,_jsx(_components.code,{children:`qr`}),`. S2S UPI Intent: required, `,_jsx(_components.code,{children:`upi`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`upi_flow_type`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsx(_components.td,{children:`UPI flow.`}),_jsxs(_components.td,{children:[`S2S UPI Intent: required, `,_jsx(_components.code,{children:`intent`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`return_url`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Where Hosted Checkout sends the customer when the payment finishes, whatever the outcome.`}),_jsx(_components.td,{children:`Absolute URL, max 500 chars. Without it the customer sees EximPe’s own result page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`business_model`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Whether the buyer is a business or a consumer.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`B2B`}),` or `,_jsx(_components.code,{children:`B2C`}),`, uppercase; derived from your KYC when omitted`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`purpose_code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`FEMA/FETERS purpose code the order settles under.`}),_jsxs(_components.td,{children:[`Must be active and enabled on your account (e.g. `,_jsx(_components.code,{children:`S0802`}),`); derived from your KYC when omitted`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`buyer`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The buyer.`}),_jsx(_components.td,{children:`See Buyer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`product`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`What is being sold.`}),_jsx(_components.td,{children:`See Product`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`invoice`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Invoice metadata.`}),_jsx(_components.td,{children:`See Invoice`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`When you omit `,_jsx(_components.code,{children:`purpose_code`}),`, it is filled in only if your account has exactly one allowed code; otherwise it is left unset for later classification. Neither `,_jsx(_components.code,{children:`business_model`}),` nor `,_jsx(_components.code,{children:`purpose_code`}),` is returned by Create Order, and neither can be changed after the order is created. Read them back with `,_jsx(_components.a,{href:`/api-reference/v3/order/get`,children:`Get Order Details`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`buyer`,children:`Buyer`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`name`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Full name.`}),_jsx(_components.td,{children:`Max 255 chars`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`email`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Email address.`}),_jsx(_components.td,{children:`A valid email address`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`phone`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Phone number with country code.`}),_jsxs(_components.td,{children:[`E.164: `,_jsx(_components.code,{children:`+`}),`, the country code, then the number, e.g. `,_jsx(_components.code,{children:`+919812345678`}),`; `,_jsx(_components.code,{children:`9812345678`}),` is refused`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`address`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Address.`}),_jsx(_components.td,{children:`See Address`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ip_address`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsx(_components.td,{children:`The customer’s IP address.`}),_jsx(_components.td,{children:`S2S UPI Intent: required. IPv4 or IPv6`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`user_agent`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsx(_components.td,{children:`The customer’s browser user agent.`}),_jsx(_components.td,{children:`S2S UPI Intent: required`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`address-buyer-address`,children:`Address (buyer.address)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`line_1`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Address line 1.`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`line_2`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Address line 2.`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`city`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`City.`}),_jsx(_components.td,{children:`Max 255 chars`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`state`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`State.`}),_jsx(_components.td,{children:`Max 255 chars`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`postal_code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`PIN code.`}),_jsx(_components.td,{children:`A valid 6-digit Indian PIN code`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`product`,children:`Product`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`name`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Product or service name.`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`description`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Description.`}),_jsx(_components.td,{children:`Max 1024 chars`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`type_of_goods`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Nature of what is sold.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`physical_goods`}),`, `,_jsx(_components.code,{children:`digital_goods`}),` or `,_jsx(_components.code,{children:`service`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`hs_code`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsx(_components.td,{children:`8-digit HS code.`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`physical_goods`}),`; must be a known HS code`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`hs_code_description`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`HS code description.`}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`invoice`,children:`Invoice`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Invoice number.`}),_jsxs(_components.td,{children:[`Max 255 chars. Letters, numbers, spaces and `,_jsx(_components.code,{children:`. , ' - / \u0026 _ ( ) : ; ! @ # $ % * + = \u003c > [ ] { } | ~`}),` — unlike `,_jsx(_components.code,{children:`reference_id`}),`, underscores are allowed. Unique across your orders that have not failed`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Invoice date.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`YYYY-MM-DD`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Hosted Checkout`,numberOfLines:`31`,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:`31`,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:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000.00\"`}),_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:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INR\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORDER-123456\"`}),_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:` \"collection_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hosted_payment\"`}),_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:` \"mop_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upi\"`}),_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:` \"return_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yourdomain.com/payment/callback/\"`}),_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:` \"business_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"B2C\"`}),_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:` \"buyer\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Alice Smith\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+919812345678\"`}),_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:` \"address\"`}),_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:` \"line_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"221B Baker Street\"`}),_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:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Mumbai\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Maharashtra\"`}),_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:` \"postal_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"400001\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Wireless Headphones\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premium noise-cancelling wireless headphones\"`}),_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:` \"hs_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"85183000\"`}),_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:` \"hs_code_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Headphones and earphones, whether or not combined with a microphone\"`}),_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:` \"type_of_goods\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"physical_goods\"`})]}),`\n`,_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:` \"invoice\"`}),_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:` \"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-2026-0001\"`}),_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:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-21\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`S2S UPI Intent`,numberOfLines:`32`,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:`32`,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:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000.00\"`}),_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:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INR\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORDER-123457\"`}),_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:` \"collection_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"s2s\"`}),_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:` \"mop_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upi\"`}),_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:` \"upi_flow_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"intent\"`}),_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:` \"buyer\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+919876543210\"`}),_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:` \"address\"`}),_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:` \"line_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123 Main Street\"`}),_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:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Delhi\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Delhi\"`}),_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:` \"postal_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"110001\"`})]}),`\n`,_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:` \"ip_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"203.0.113.10\"`}),_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:` \"user_agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"`})]}),`\n`,_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:` \"product\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Smartphone\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is a sample product description\"`}),_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:` \"hs_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"85171290\"`}),_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:` \"hs_code_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Telephones for cellular networks, other than smartphones\"`}),_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:` \"type_of_goods\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"physical_goods\"`})]}),`\n`,_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:` \"invoice\"`}),_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:` \"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-2026-0002\"`}),_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:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-21\"`})]}),`\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:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`A successful create returns `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`hosted-checkout`,children:`Hosted Checkout`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`order_id`}),`: The order’s ID`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`session_id`}),`: A 64-character hex string. Pass it to the EximPe JS SDK to open the payment page`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`The `,_jsx(_components.code,{children:`session_id`}),` is valid for 15 minutes.`]}),` After that, create a new order to get a fresh one. An expired or already-completed session returns `,_jsx(_components.code,{children:`Invalid or expired session`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`s2s-upi-intent`,children:`S2S UPI Intent`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`order_id`}),`: The order’s ID`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`intent_uri`}),`: The UPI payment request to open the customer’s UPI app with. See `,_jsx(_components.a,{href:`#invoking-the-intent`,children:`Invoking the intent`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`expires_at`}),`: When the intent stops accepting payment, in UTC — 5 minutes after creation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`test_simulator_url`}),`: `,_jsx(_components.strong,{children:`Sandbox only.`}),` Open it in a browser to complete the payment without a real UPI app; the result follows the test VPA you use in the simulator. Not returned in production`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Sandbox responses may carry other testing fields. Ignore any field not listed here.`}),`\n`,_jsx(Heading,{level:`3`,id:`invoking-the-intent`,children:`Invoking the intent`}),`\n`,_jsxs(_components.p,{children:[`Depending on how your account collects UPI, `,_jsx(_components.code,{children:`intent_uri`}),` comes either as a complete URI (`,_jsx(_components.code,{children:`upi://pay?pa=...`}),`) or as its query string alone (`,_jsx(_components.code,{children:`pa=...\u0026pn=...`}),`). Handle both: if it does not start with `,_jsx(_components.code,{children:`upi://`}),`, prefix it with `,_jsx(_components.code,{children:`upi://pay?`}),` before invoking it, and never add a second scheme. See the `,_jsx(_components.a,{href:`/integration-guide/v3/web-integration/s2s-upi-intent#step-3-invoke-upi-intent`,children:`integration guide`}),` for Android, iOS and desktop handling.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Hosted Checkout Response`,numberOfLines:`8`,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:`8`,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:` \"success\"`}),_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:` \"session_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b4db5e1c82db8636094f54e3293218172ae2ab87dee6ce4e97c82db6c63f243a\"`}),_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:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OD5916184980\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`S2S UPI Intent Response`,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:` \"success\"`}),_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:`\"S2S UPI Request 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:` \"intent_uri\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upi://pay?pa=merchant.sandbox@examplebank\u0026pn=Example%20Merchant\u0026am=1000.00\u0026cu=INR\u0026tn=OD2000992103\u0026tr=403993715534292371\"`}),_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:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OD2000992103\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-21T10:35:00.156967Z\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`S2S UPI Intent Response (Sandbox)`,numberOfLines:`10`,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:`10`,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:` \"success\"`}),_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:`\"S2S UPI Request 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:` \"intent_uri\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upi://pay?pa=merchant.sandbox@examplebank\u0026pn=Example%20Merchant\u0026am=1000.00\u0026cu=INR\u0026tn=OD2000992103\u0026tr=403993715534292371\"`}),_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:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OD2000992103\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-21T10:35:00.156967Z\"`}),_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:` \"test_simulator_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003csimulator URL returned by the sandbox API>\"`})]}),`\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:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Refusals use the standard envelope: `,_jsx(_components.code,{children:`success`}),` is `,_jsx(_components.code,{children:`false`}),`, and `,_jsx(_components.code,{children:`error`}),` carries a `,_jsx(_components.code,{children:`code`}),`, a `,_jsx(_components.code,{children:`message`}),` and `,_jsx(_components.code,{children:`details`}),`. A `,_jsx(_components.code,{children:`400`}),` always carries `,_jsx(_components.code,{children:`ERR_ORDER_002`}),` — read `,_jsx(_components.code,{children:`details`}),` to see what failed and fix that field before retrying.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error.code`})}),_jsx(_components.th,{children:`When`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`details`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsx(_components.td,{children:`A field is missing or invalid`}),_jsxs(_components.td,{children:[`Keyed by field and nested like the request, one message per field, e.g. `,_jsx(_components.code,{children:`{\"buyer\": {\"phone\": \"Enter a valid phone number.\"}}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference_id`}),` has a character other than a letter, number or hyphen`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"reference_id\": \"Invalid input: ORDER_123456\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference_id`}),` is already used by one of your orders`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"reference_id\": \"Reference ID already exists\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invoice.number`}),` is already used by one of your orders that has not failed`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"invoice\": {\"number\": \"Invoice Number already exists\"}}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`collection_mode`}),` is missing or unrecognised`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"collection_mode\": \"Invalid collection mode\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`business_model`}),` is not `,_jsx(_components.code,{children:`B2B`}),` or `,_jsx(_components.code,{children:`B2C`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"business_model\": \"\\\\\"b2b\\\\\" is not a valid choice.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`purpose_code`}),` is unknown or inactive`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"purpose_code\": \"Invalid Purpose code given.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`purpose_code`}),` is valid but not enabled on your account`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"purpose_code\": \"Purpose code is not enabled for this merchant.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_ORDER_002`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`amount`}),` is 0 or less, or above 10,000,000.00`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{\"total_amount\": \"Total amount must be greater than 0\"}`}),` or `,_jsx(_components.code,{children:`{\"total_amount\": \"Total amount must be less than or equal to 10,000,000\"}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_AUTH_000`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`X-Client-ID`}),` or `,_jsx(_components.code,{children:`X-Client-Secret`}),` is missing`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"authentication\": \"Missing credentials.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_AUTH_001`})}),_jsx(_components.td,{children:`The credentials are wrong`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"authentication\": \"Invalid credentials.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_AUTH_000`})}),_jsxs(_components.td,{children:[`A PSP left out `,_jsx(_components.code,{children:`X-Merchant-ID`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"authentication\": \"X-Merchant-ID header is required for this endpoint.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_AUTH_001`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`X-Merchant-ID`}),` is not one of your active sub-merchants`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"authentication\": \"Invalid X-Merchant-ID provided.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_MERCHANT_ACCOUNT_002`})}),_jsx(_components.td,{children:`Your merchant account is not active`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"authentication\": \"Merchant account is inactive.\"}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`S2S payments are not enabled on your account`}),_jsxs(_components.td,{children:[`Not the standard envelope: `,_jsx(_components.code,{children:`{\"detail\": \"You do not have permission to perform this action.\"}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_SERVICE_ERROR_000`})}),_jsx(_components.td,{children:`Anything unexpected`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"error\": \"An unexpected error occurred. Please try again later\"}`})})]})]})]}),`\n`,_jsx(CodeBlock,{filename:`Duplicate reference_id`,numberOfLines:`10`,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:`10`,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:` \"success\"`}),_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:` \"error\"`}),_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:`\"ERR_ORDER_002\"`}),_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:`\"Validation error\"`}),_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:` \"details\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Reference ID already exists\"`})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`duplicate-requests`,children:`Duplicate requests`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`reference_id`}),` is single-use.`]}),` It must be unique across all your orders, whatever their status — a failed order still holds its `,_jsx(_components.code,{children:`reference_id`}),`. Sending one that is already used is refused with `,_jsx(_components.code,{children:`Reference ID already exists`}),`; the original order is not returned.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`invoice.number`}),` is unique across your orders that have not failed.`]}),` Once an order fails, its invoice number can be used again.`]}),`\n`,_jsx(_components.li,{children:`For a PSP, both rules apply per sub-merchant.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`after-creating-the-order`,children:`After creating the order`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Hosted Checkout.`}),` Load the EximPe JS SDK on your page and call `,_jsx(_components.code,{children:`eximpe.checkout({ sessionId })`}),` within 15 minutes. The customer is sent to your `,_jsx(_components.code,{children:`return_url`}),` whether the payment succeeds, fails or is cancelled.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`S2S UPI Intent.`}),` Invoke the `,_jsx(_components.code,{children:`intent_uri`}),` on the customer’s device before `,_jsx(_components.code,{children:`expires_at`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Confirm the outcome from your backend.`}),` Never trust the redirect or the UPI app alone: check the `,_jsx(_components.a,{href:`/api-reference/v3/order/get-status`,children:`Order Status API`}),` or wait for the `,_jsx(_components.a,{href:`/api-reference/v3/webhooks/payment-successful`,children:`Payment Successful webhook`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Integration guides: `,_jsx(_components.a,{href:`/integration-guide/v3/web-integration/hosted-checkout`,children:`Hosted Checkout`}),` · `,_jsx(_components.a,{href:`/integration-guide/v3/web-integration/s2s-upi-intent`,children:`S2S UPI Intent`})]})]})}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 Order","description":"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.","openapi":"openapi/v3-orders.json POST /pg/orders/","href":"/api-reference/v3/order/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]}]},{"title":"Hosted Checkout and S2S UPI Intent","slug":"hosted-checkout-and-s2s-upi-intent","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[{"title":"Top-level","slug":"top-level","depth":4,"children":[]},{"title":"Buyer","slug":"buyer","depth":4,"children":[]},{"title":"Address (buyer.address)","slug":"address-buyer-address","depth":4,"children":[]},{"title":"Product","slug":"product","depth":4,"children":[]},{"title":"Invoice","slug":"invoice","depth":4,"children":[]}]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Hosted Checkout","slug":"hosted-checkout","depth":3,"children":[]},{"title":"S2S UPI Intent","slug":"s2s-upi-intent","depth":3,"children":[]},{"title":"Invoking the intent","slug":"invoking-the-intent","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Duplicate requests","slug":"duplicate-requests","depth":2,"children":[]},{"title":"After creating the order","slug":"after-creating-the-order","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/lesamis/be3361b0969b1724/ai-chat-buttons.js"],"openApiReferenceData":{"operation":{"summary":"Create Order","operationId":"v3_createOrder","tags":["Orders"],"security":["86dd2a1f-0504-4266-8bb1-c92913aa7529","2d8f379b-da89-4a17-bfda-1020bf8fe74a"],"requestBody":"05a7d17e-40e7-439a-8fee-61edbf266f17","responses":{"201":"1ef38521-8a7c-43ad-bc0e-addfb6b19c2f","400":"840cc240-2354-4347-94a2-08d05e1bf87a","401":"8f580522-7ce2-4853-a2f0-3235995256d3","403":"7608ce60-44eb-468f-92ca-bca9831b7d10","500":"e1d22ff0-ea64-4e4a-851d-7fc7a92d76c5"},"parameters":["1331d911-205d-4b37-9441-311aed53bd66"],"method":"post","type":"path","servers":["c3d96bb8-737d-41ac-b798-d815b7091bd2"],"path":"/pg/orders/","baseUrlOptions":["https://api-pacb-uat.eximpe.com"],"title":"Create Order","description":"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1331d911-205d-4b37-9441-311aed53bd66":{"name":"X-API-Version","in":"header","required":false,"description":"The API version you integrate against. Send `3.0.0` for v3. It is a version selector, not a credential.","schema":{"type":"string","enum":["3.0.0"],"default":"3.0.0","isRequired":false,"description":"The API version you integrate against. Send `3.0.0` for v3. It is a version selector, not a credential.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"3.0.0"}},"requestBody":{"description":"Order creation request","required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","currency","reference_id","collection_mode","buyer","product","invoice"],"properties":{"amount":{"type":"string","example":"1000.00","description":"Amount in rupees, as a decimal string such as `\"1000.00\"`. A JSON number is also accepted. More than two decimal places are rounded to two, so `1000.456` is charged as `1000.46`. Must be greater than 0 and at most 10,000,000.00.","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"currency":{"type":"string","enum":["INR"],"description":"ISO 4217 currency code. Hosted Checkout and S2S UPI Intent collect in INR only.","isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"reference_id":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[A-Za-z0-9-]+$","example":"ORDER-123456","description":"Your reference for the order: letters, numbers and hyphens only. Must be unique across your orders, including failed ones.","isRequired":true,"uniqueKey":"reference_id","typeLabel":"string"},"collection_mode":{"type":"string","description":"Mode of payment collection. Required — there is no server-side default.","enum":["hosted_payment","s2s"],"isRequired":true,"uniqueKey":"collection_mode","typeLabel":"enum\u003cstring>"},"buyer":{"type":"object","required":["name","address","email","phone"],"properties":{"name":{"type":"string","description":"Buyer's full name","maxLength":255,"isRequired":true,"uniqueKey":"buyer.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Buyer's email address","isRequired":true,"uniqueKey":"buyer.email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","description":"Phone number in E.164 format: `+`, the country code, then the number (e.g. `+919812345678`)","pattern":"^\\+[1-9]\\d{1,14}$","isRequired":true,"uniqueKey":"buyer.phone","typeLabel":"string"},"address":{"type":"object","required":["postal_code"],"properties":{"postal_code":{"type":"string","pattern":"^[0-9]{6}$","description":"A valid 6-digit Indian PIN code","example":"400001","isRequired":true,"uniqueKey":"buyer.address.postal_code","typeLabel":"string"},"line_1":{"type":"string","description":"Address line 1","uniqueKey":"buyer.address.line_1","typeLabel":"string"},"line_2":{"type":"string","description":"Address line 2","uniqueKey":"buyer.address.line_2","typeLabel":"string"},"city":{"type":"string","maxLength":255,"description":"City","uniqueKey":"buyer.address.city","typeLabel":"string"},"state":{"type":"string","maxLength":255,"description":"State","uniqueKey":"buyer.address.state","typeLabel":"string"}},"isRequired":true,"uniqueKey":"buyer.address","typeLabel":"object"},"ip_address":{"type":"string","description":"The customer's IP address. Required for S2S UPI Intent; ignored for Hosted Checkout","uniqueKey":"buyer.ip_address","typeLabel":"string"},"user_agent":{"type":"string","description":"The customer's browser user agent. Required for S2S UPI Intent; ignored for Hosted Checkout","uniqueKey":"buyer.user_agent","typeLabel":"string"}},"isRequired":true,"uniqueKey":"buyer","typeLabel":"object"},"product":{"type":"object","required":["name","type_of_goods"],"properties":{"name":{"type":"string","description":"Product name","isRequired":true,"uniqueKey":"product.name","typeLabel":"string"},"type_of_goods":{"type":"string","description":"Nature of what is sold","enum":["physical_goods","digital_goods","service"],"isRequired":true,"uniqueKey":"product.type_of_goods","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"Product description","maxLength":1024,"uniqueKey":"product.description","typeLabel":"string"},"hs_code":{"type":"string","description":"8-digit HS code. Required when `type_of_goods` is `physical_goods`","uniqueKey":"product.hs_code","typeLabel":"string"},"hs_code_description":{"type":"string","description":"Description of the HS code","uniqueKey":"product.hs_code_description","typeLabel":"string"}},"isRequired":true,"uniqueKey":"product","typeLabel":"object"},"invoice":{"type":"object","required":["number"],"properties":{"number":{"type":"string","maxLength":255,"example":"INV-2026-0001","description":"Invoice number. Letters, numbers, spaces and `. , ' - / \u0026 _ ( ) : ; ! @ # $ % * + = \u003c > [ ] { } | ~`. Must be unique across your orders that have not failed.","isRequired":true,"uniqueKey":"invoice.number","typeLabel":"string"},"date":{"type":"string","format":"date","description":"Invoice date, `YYYY-MM-DD`","uniqueKey":"invoice.date","typeLabel":"string\u003cdate>"}},"isRequired":true,"uniqueKey":"invoice","typeLabel":"object"},"return_url":{"type":"string","format":"uri","maxLength":500,"description":"Optional. Where Hosted Checkout sends the customer when the payment finishes. Without it the customer sees EximPe's own result page. S2S UPI Intent does not redirect the customer.","uniqueKey":"return_url","typeLabel":"string\u003curi>"},"mop_type":{"type":"string","description":"Hosted Checkout: optional, pre-selects a payment method on the payment page. S2S UPI Intent: must be `upi`.","enum":["credit_card","debit_card","upi","net_banking","qr"],"uniqueKey":"mop_type","typeLabel":"enum\u003cstring>"},"upi_flow_type":{"type":"string","description":"Required for S2S UPI Intent, where it must be `intent`. Not used by Hosted Checkout.","enum":["intent"],"uniqueKey":"upi_flow_type","typeLabel":"enum\u003cstring>"},"business_model":{"type":"string","enum":["B2B","B2C"],"description":"Whether the buyer is a business (B2B) or a consumer (B2C). Optional — derived from the merchant's KYC when omitted.","uniqueKey":"business_model","typeLabel":"enum\u003cstring>"},"purpose_code":{"type":"string","description":"FEMA/FETERS purpose code this order settles under (e.g. S0802). Optional — derived from the merchant's allowed purpose codes when omitted and exactly one is allowed.","example":"S0802","uniqueKey":"purpose_code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Hosted Checkout":{"title":"Hosted Checkout","description":"Buyer completes payment on the EximPe-hosted page.","value":{"amount":"1000.00","currency":"INR","reference_id":"ORDER-123456","collection_mode":"hosted_payment","mop_type":"upi","return_url":"https://yourdomain.com/payment/callback/","business_model":"B2C","buyer":{"name":"Alice Smith","email":"[email protected]","phone":"+919812345678","address":{"line_1":"221B Baker Street","city":"Mumbai","state":"Maharashtra","postal_code":"400001"}},"product":{"name":"Wireless Headphones","description":"Premium noise-cancelling wireless headphones","hs_code":"85183000","hs_code_description":"Headphones and earphones, whether or not combined with a microphone","type_of_goods":"physical_goods"},"invoice":{"number":"INV-2026-0001","date":"2026-09-21"}}},"S2S UPI Intent":{"title":"S2S UPI Intent","description":"Server-to-server UPI intent flow.","value":{"amount":"1000.00","currency":"INR","reference_id":"ORDER-123457","collection_mode":"s2s","mop_type":"upi","upi_flow_type":"intent","return_url":"https://yourdomain.com/payment/callback/","buyer":{"name":"John Doe","email":"[email protected]","phone":"+919876543210","address":{"line_1":"123 Main Street","city":"Delhi","state":"Delhi","postal_code":"110001"},"ip_address":"192.168.1.100","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"},"product":{"name":"Smartphone","description":"This is a sample product description","hs_code":"85171290","hs_code_description":"Telephones for cellular networks, other than smartphones","type_of_goods":"physical_goods"},"invoice":{"number":"INV-2026-0002","date":"2026-09-21"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1ef38521-8a7c-43ad-bc0e-addfb6b19c2f":{"description":"Order created","content":{"application/json":{"schema":{"type":"object","required":["success","message","data"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Response message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","required":["order_id"],"properties":{"order_id":{"type":"string","description":"Unique order identifier","isRequired":true,"uniqueKey":"data.order_id","typeLabel":"string"},"session_id":{"type":"string","description":"Hosted Checkout only. 64-character hex string you pass to the EximPe JS SDK. Valid for 15 minutes.","uniqueKey":"data.session_id","typeLabel":"string"},"intent_uri":{"type":"string","description":"S2S UPI Intent only. The UPI payment request. It may or may not start with `upi://pay?` — see the Create Order page for how to invoke it.","uniqueKey":"data.intent_uri","typeLabel":"string"},"test_simulator_url":{"type":"string","description":"Sandbox only. Open in a browser to complete an S2S UPI Intent payment without a real UPI app. Not returned in production.","uniqueKey":"data.test_simulator_url","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","description":"S2S UPI Intent only. When the intent stops accepting payment, in UTC — 5 minutes after creation.","uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Hosted Checkout":{"title":"Hosted Checkout","value":{"success":true,"message":"Checkout session created successfully","data":{"session_id":"b4db5e1c82db8636094f54e3293218172ae2ab87dee6ce4e97c82db6c63f243a","order_id":"OD5916184980"}}},"S2S UPI Intent":{"title":"S2S UPI Intent","value":{"success":true,"message":"S2S UPI Request created successfully","data":{"intent_uri":"upi://pay?pa=merchant.sandbox@examplebank\u0026pn=Example%20Merchant\u0026am=1000.00\u0026cu=INR\u0026tn=OD2000992103\u0026tr=403993715534292371","order_id":"OD2000992103","expires_at":"2026-09-21T10:35:00.156967Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"840cc240-2354-4347-94a2-08d05e1bf87a":{"description":"The request was refused. Always `ERR_ORDER_002`; read `details`.","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"description":"Indicates if the request was successful. Always false for error responses.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code (e.g., ERR_ORDER_002)","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid fields":{"title":"Invalid fields","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"buyer":{"email":"Enter a valid email address.","phone":"Enter a valid phone number."}}}}},"Duplicate reference_id":{"title":"Duplicate reference_id","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"reference_id":"Reference ID already exists"}}}},"Duplicate invoice number":{"title":"Duplicate invoice number","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"invoice":{"number":"Invoice Number already exists"}}}}},"Purpose code":{"title":"Purpose code","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"purpose_code":"Purpose code is not enabled for this merchant."}}}},"Invalid collection mode":{"title":"Invalid collection mode","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"collection_mode":"Invalid collection mode"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"8f580522-7ce2-4853-a2f0-3235995256d3":{"description":"Missing or wrong credentials, or a PSP left out X-Merchant-ID","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"description":"Indicates if the request was successful. Always false for error responses.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code (e.g., ERR_ORDER_002)","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Missing credentials":{"title":"Missing credentials","value":{"success":false,"error":{"code":"ERR_AUTH_000","message":"Missing credentials","details":{"authentication":"Missing credentials."}}}},"Invalid credentials":{"title":"Invalid credentials","value":{"success":false,"error":{"code":"ERR_AUTH_001","message":"Invalid credentials","details":{"authentication":"Invalid credentials."}}}},"Missing X-Merchant-ID":{"title":"Missing X-Merchant-ID","value":{"success":false,"error":{"code":"ERR_AUTH_000","message":"Missing credentials","details":{"authentication":"X-Merchant-ID header is required for this endpoint."}}}}},"exampleType":"examples"}},"exampleType":"examples"},"7608ce60-44eb-468f-92ca-bca9831b7d10":{"description":"Your account cannot create this order — for example, S2S payments are not enabled on it","content":{"application/json":{"examples":{"S2S not enabled":{"title":"S2S not enabled","value":{"detail":"You do not have permission to perform this action."}},"Merchant inactive":{"title":"Merchant inactive","value":{"success":false,"error":{"code":"ERR_MERCHANT_ACCOUNT_002","message":"Merchant account is not active","details":{"authentication":"Merchant account is inactive."}}}}},"exampleType":"examples"}},"exampleType":"examples"},"e1d22ff0-ea64-4e4a-851d-7fc7a92d76c5":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"description":"Indicates if the request was successful. Always false for error responses.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code (e.g., ERR_ORDER_002)","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by field and nested like the request, one message per field. A purpose-code refusal is a plain string.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Unexpected":{"title":"Unexpected","value":{"success":false,"error":{"code":"ERR_SERVICE_ERROR_000","message":"Payment gateway error","details":{"error":"An unexpected error occurred. Please try again later"}}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"86dd2a1f-0504-4266-8bb1-c92913aa7529":{"clientAuth":{"type":"apiKey","name":"X-Client-ID","in":"header","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","x-displayName":"Client ID","x-example":"your-client-id","scopes":[],"schemeName":"clientAuth"},"clientSecretAuth":{"type":"apiKey","name":"X-Client-Secret","in":"header","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","x-displayName":"Client Secret","x-example":"your-client-secret","scopes":[],"schemeName":"clientSecretAuth"}},"2d8f379b-da89-4a17-bfda-1020bf8fe74a":{"clientAuth":{"type":"apiKey","name":"X-Client-ID","in":"header","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","x-displayName":"Client ID","x-example":"your-client-id","scopes":[],"schemeName":"clientAuth"},"clientSecretAuth":{"type":"apiKey","name":"X-Client-Secret","in":"header","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","x-displayName":"Client Secret","x-example":"your-client-secret","scopes":[],"schemeName":"clientSecretAuth"},"merchantAuth":{"type":"apiKey","name":"X-Merchant-ID","in":"header","description":"**Sub-merchant ID** - Send this only when you authenticate as a PSP and create the order for one of your sub-merchants: it names that sub-merchant. A PSP that leaves it out is refused with a `401`. Merchants that authenticate with their own Client ID and Client Secret do not send it.","x-displayName":"Merchant ID (PSPs only)","x-example":"your-merchant-id","scopes":[],"schemeName":"merchantAuth"}}},"servers":{"c3d96bb8-737d-41ac-b798-d815b7091bd2":{"url":"https://api-pacb-uat.eximpe.com","description":"Payment Gateway Sandbox URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-Client-ID","in":"header","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","x-displayName":"Client ID","x-example":"your-client-id","scopes":[],"schemeName":"clientAuth"},"schema":{"title":"X-Client-ID","type":"string","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientAuth","name":"X-Client-ID"},{"scheme":{"type":"apiKey","name":"X-Client-Secret","in":"header","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","x-displayName":"Client Secret","x-example":"your-client-secret","scopes":[],"schemeName":"clientSecretAuth"},"schema":{"title":"X-Client-Secret","type":"string","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientSecretAuth","name":"X-Client-Secret"}],"title":"clientAuth \u0026 clientSecretAuth"},{"schemes":[{"scheme":{"type":"apiKey","name":"X-Client-ID","in":"header","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","x-displayName":"Client ID","x-example":"your-client-id","scopes":[],"schemeName":"clientAuth"},"schema":{"title":"X-Client-ID","type":"string","description":"**Client Application ID** - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientAuth","name":"X-Client-ID"},{"scheme":{"type":"apiKey","name":"X-Client-Secret","in":"header","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","x-displayName":"Client Secret","x-example":"your-client-secret","scopes":[],"schemeName":"clientSecretAuth"},"schema":{"title":"X-Client-Secret","type":"string","description":"**Client Secret Key** - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientSecretAuth","name":"X-Client-Secret"},{"scheme":{"type":"apiKey","name":"X-Merchant-ID","in":"header","description":"**Sub-merchant ID** - Send this only when you authenticate as a PSP and create the order for one of your sub-merchants: it names that sub-merchant. A PSP that leaves it out is refused with a `401`. Merchants that authenticate with their own Client ID and Client Secret do not send it.","x-displayName":"Merchant ID (PSPs only)","x-example":"your-merchant-id","scopes":[],"schemeName":"merchantAuth"},"schema":{"title":"X-Merchant-ID","type":"string","description":"**Sub-merchant ID** - Send this only when you authenticate as a PSP and create the order for one of your sub-merchants: it names that sub-merchant. A PSP that leaves it out is refused with a `401`. Merchants that authenticate with their own Client ID and Client Secret do not send it.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"merchantAuth","name":"X-Merchant-ID"}],"title":"clientAuth \u0026 clientSecretAuth \u0026 merchantAuth"}]},"originalFileLocation":"openapi/v3-orders.json"},"subdomain":"lesamis","siteName":"EximPe Docs","title":"Create Order - EximPe Docs","navMaps":{"firstHrefInVersion":{"Version 1":{"href":"/api-reference/v1/order/create","matchLevel":1},"Version 2":{"href":"/api-reference/v2/order/create","matchLevel":1},"Version 3":{"href":"/api-reference/v3/order/create","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T09:01:04.058Z","originalFileLocation":"api-reference/v3/order/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EximPe Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_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/lesamis/Kc3HgBE2FbW_xXMJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Order - EximPe Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EximPe Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.eximpe.com/api-reference/v3/order/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lesamis.mintlify.site/_mintlify/api/og/v2?division=Order\u0026amp;title=Create+Order\u0026amp;description=Create+an+order+and+get+either+a+Hosted+Checkout+session+or+a+UPI+intent+to+collect+an+INR+payment.\u0026amp;theme=1382c3b2038c0cfa31037991\u0026amp;signature=94bae959296294027e68dba130e6face78e43df1b90c76a163c7ee26c525f70f\">\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 Order - EximPe Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lesamis.mintlify.site/_mintlify/api/og/v2?division=Order\u0026amp;title=Create+Order\u0026amp;description=Create+an+order+and+get+either+a+Hosted+Checkout+session+or+a+UPI+intent+to+collect+an+INR+payment.\u0026amp;theme=1382c3b2038c0cfa31037991\u0026amp;signature=94bae959296294027e68dba130e6face78e43df1b90c76a163c7ee26c525f70f\">\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/lesamis/Kc3HgBE2FbW_xXMJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EximPe Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26a887\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.eximpe.com/api-reference/v3/order/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/order/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.eximpe.com/#organization\",\"name\":\"EximPe Docs\",\"url\":\"https://docs.eximpe.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lesamis/y5zkI3pHSxYeqMuI/logo/Black.svg?fit=max\u0026auto=format\u0026n=y5zkI3pHSxYeqMuI\u0026q=85\u0026s=14d310ad411e0f3fe22ccde2bfb6f5a9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.eximpe.com#website\",\"name\":\"EximPe Docs\",\"url\":\"https://docs.eximpe.com\",\"publisher\":{\"@id\":\"https://docs.eximpe.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.eximpe.com/api-reference/v3/order/create#webpage\",\"url\":\"https://docs.eximpe.com/api-reference/v3/order/create\",\"name\":\"Create Order\",\"description\":\"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.\",\"dateModified\":\"2026-10-23T09:01:04.058Z\",\"isPartOf\":{\"@id\":\"https://docs.eximpe.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.eximpe.com/api-reference/v3/order/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.eximpe.com/api-reference/v3/order/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"EximPe Docs\",\"item\":\"https://docs.eximpe.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Order\",\"item\":\"https://docs.eximpe.com/api-reference/v3/order/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.eximpe.com/api-reference/v3/order/create#apireference\",\"headline\":\"Create Order\",\"name\":\"Create Order\",\"description\":\"Create an order and get either a Hosted Checkout session or a UPI intent to collect an INR payment.\",\"url\":\"https://docs.eximpe.com/api-reference/v3/order/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.eximpe.com/api-reference/v3/order/create#webpage\"},\"dateModified\":\"2026-10-23T09:01:04.058Z\",\"publisher\":{\"@id\":\"https://docs.eximpe.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.eximpe.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EximPe Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"EximPe Docs","nav":{"global":null,"versions":[{"version":"Version 1","pages":[{"title":"Version 1","href":"/api-reference/v1/order/create"}]},{"version":"Version 2","pages":[{"title":"Version 2","href":"/api-reference/v2/order/create"}]},{"version":"Version 3","default":true,"tabs":[{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/integration-guide/v3/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Order","pages":[{"title":"Create Order","openapi":"openapi/v3-orders.json POST /pg/orders/","href":"/api-reference/v3/order/create"},{"title":"Get Order Status","description":"Retrieve current status of an order by order ID.","openapi":"GET /pg/orders/{order_id}/status/","href":"/api-reference/v3/order/get-status"},{"title":"Get Order Details","openapi":"GET /pg/orders/{order_id}/","href":"/api-reference/v3/order/get"}]},{"group":"Payment","pages":[{"title":"List Payments","openapi":"openapi/v3-payments.json GET /pg/payments/","href":"/api-reference/v3/payment/list"},{"title":"Get Payment","openapi":"openapi/v3-payments.json GET /pg/payments/{payment_id}/","href":"/api-reference/v3/payment/get"},{"title":"Submit Payment Verification Details","openapi":"POST /pg/payments/{payment_id}/verification/","href":"/api-reference/v3/payment/submit-verification-details"}]},{"group":"Merchant","pages":[{"title":"Create Merchant","openapi":"openapi/v3-partner-merchants.json POST /partners/merchants/","href":"/api-reference/v3/merchant/create"},{"title":"List Merchants","openapi":"openapi/v3-partner-merchants.json GET /partners/merchants/","href":"/api-reference/v3/merchant/list"},{"title":"Get Merchant","openapi":"openapi/v3-partner-merchants.json GET /partners/merchants/{merchant_id}/","href":"/api-reference/v3/merchant/get"},{"title":"Update Merchant","openapi":"openapi/v3-partner-merchants.json PATCH /partners/merchants/{merchant_id}/","href":"/api-reference/v3/merchant/update"},{"title":"Delete Merchant","openapi":"openapi/v3-partner-merchants.json DELETE /partners/merchants/{merchant_id}/","href":"/api-reference/v3/merchant/delete"},{"title":"Upload Merchant Invoice","openapi":"openapi/v3-partner-merchants.json PATCH /partners/merchants/{merchant_id}/documents/","href":"/api-reference/v3/merchant/upload"},{"title":"Get Merchant Options","openapi":"openapi/v3-partner-merchants.json GET /partners/merchants/options/","href":"/api-reference/v3/merchant/options"},{"title":"Search HS Codes","openapi":"openapi/v3-partner-merchants.json GET /partners/merchants/hs-codes/","href":"/api-reference/v3/merchant/hs-codes"},{"title":"Look Up SWIFT Code","openapi":"openapi/v3-partner-merchants.json GET /partners/merchants/swift/","href":"/api-reference/v3/merchant/swift"}]},{"group":"Settlement","pages":[{"title":"List Settlements","openapi":"GET /pg/settlements/","href":"/api-reference/v3/settlement/list"},{"title":"Get Settlement","openapi":"GET /pg/settlements/{settlement_id}/","href":"/api-reference/v3/settlement/get"},{"title":"Settlement Reconciliation","openapi":"GET /pg/settlements/{uid}/recon/","href":"/api-reference/v3/settlement/recon"},{"title":"Mark as Settled (Sandbox)","openapi":"POST /pg/settlements/mark-settled/","href":"/api-reference/v3/settlement/mark-settled"}]},{"group":"Refund","pages":[{"title":"Create Refund","openapi":"POST /pg/refunds/","href":"/api-reference/v3/refunds/create"},{"title":"List Refunds","openapi":"GET /pg/refunds/","href":"/api-reference/v3/refunds/list"},{"title":"Get Refund","openapi":"GET /pg/refunds/{refund_id}/","href":"/api-reference/v3/refunds/get"},{"title":"Set Refund Status (Sandbox)","openapi":"POST /pg/refunds/{refund_id}/simulate-status/","href":"/api-reference/v3/refunds/simulate-status"}]},{"group":"Subscriptions","pages":[{"title":"Create UPI Subscription (Intent Flow)","openapi":"openapi/v3-subscriptions.json POST /pg/subscriptions/intent/","href":"/api-reference/v3/subscriptions/create-intent"},{"title":"Create Card Subscription","openapi":"openapi/v3-subscriptions.json POST /pg/subscriptions/card/","href":"/api-reference/v3/subscriptions/create-card-flow"},{"title":"Get Subscription Order Details","openapi":"openapi/v3-subscriptions.json GET /pg/subscriptions/{subscription_id}/","href":"/api-reference/v3/subscriptions/get"},{"title":"Modify Subscription Mandate","openapi":"openapi/v3-subscriptions.json POST /pg/subscriptions/{subscription_id}/modify_mandate/","href":"/api-reference/v3/subscriptions/modify-mandate"},{"title":"Get Subscription Mandate Status","openapi":"openapi/v3-subscriptions.json GET /pg/subscriptions/{subscription_id}/mandate_status/","href":"/api-reference/v3/subscriptions/mandate-status"},{"title":"Cancel Subscription Mandate","openapi":"openapi/v3-subscriptions.json POST /pg/subscriptions/{subscription_id}/cancel_mandate/","href":"/api-reference/v3/subscriptions/cancel-mandate"},{"title":"Trigger Recurring Payment","api":"POST /pg/subscriptions/{subscription_id}/recurring_payment/","href":"/api-reference/v3/subscriptions/recurring-payment"},{"title":"Get Subscription Payments","api":"GET /pg/subscriptions/{subscription_id}/payments/","href":"/api-reference/v3/subscriptions/payments"}]},{"group":"Payment Links","pages":[{"title":"Create Payment Link","openapi":"openapi/v3-payment-links.json POST /pg/payment-links/","href":"/api-reference/v3/payment-link/create"},{"title":"List Payment Links","openapi":"openapi/v3-payment-links.json GET /pg/payment-links/","href":"/api-reference/v3/payment-link/list"},{"title":"Retrieve Payment Link","openapi":"openapi/v3-payment-links.json GET /pg/payment-links/{link_id}/","href":"/api-reference/v3/payment-link/retrieve"},{"title":"Deactivate Payment Link","openapi":"openapi/v3-payment-links.json POST /pg/payment-links/{link_id}/deactivate/","href":"/api-reference/v3/payment-link/deactivate"}]},{"group":"Virtual Bank Accounts","pages":[{"title":"Create VBA","openapi":"POST /pg/vba/","href":"/api-reference/v3/vba/create"},{"title":"List VBAs","openapi":"GET /pg/vba/","href":"/api-reference/v3/vba/list"},{"title":"Get VBA Details","openapi":"GET /pg/vba/{virtual_account_id}/","href":"/api-reference/v3/vba/get"},{"title":"List VBA Payments","openapi":"GET /pg/vba/{virtual_account_id}/payments/","href":"/api-reference/v3/vba/list-payments"},{"title":"Get VBA Payment by UTR","openapi":"GET /pg/vba/{virtual_account_id}/payment-by-utr/","href":"/api-reference/v3/vba/get-payment-by-utr"},{"title":"Simulate VBA Transfer","openapi":"POST /pg/vba/simulate-transfer/","href":"/api-reference/v3/vba/simulate-transfer"}]},{"group":"LRS","pages":[{"title":"Verify PAN","openapi":"POST /pg/pan/verify/","href":"/api-reference/v3/lrs/verify-pan"},{"title":"Quote LRS Amount","openapi":"POST /pg/lrs/quote/","href":"/api-reference/v3/lrs/quote"},{"title":"Upload Document","openapi":"POST /pg/payments/{payment_id}/documents/","href":"/api-reference/v3/lrs/upload-document"},{"title":"Get Verification Requirements","openapi":"GET /pg/payments/{payment_id}/verification/","href":"/api-reference/v3/lrs/verification-requirements"},{"title":"Submit LRS Verification Details","openapi":"POST /pg/payments/{payment_id}/verification/","href":"/api-reference/v3/lrs/submit-verification-details"}]},{"group":"B2B Services","pages":[{"title":"Upload Document","openapi":"POST /pg/payments/{payment_id}/documents/","href":"/api-reference/v3/b2b/upload-document"},{"title":"Get Verification Requirements","openapi":"openapi/v3-b2b.json GET /pg/payments/{payment_id}/verification/","href":"/api-reference/v3/b2b/verification-requirements"},{"title":"Submit B2B Services Verification Details","openapi":"openapi/v3-b2b.json POST /pg/payments/{payment_id}/verification/","href":"/api-reference/v3/b2b/submit-verification-details"},{"title":"List Settlement Documents","openapi":"GET /pg/payments/{payment_id}/settlement-documents/","href":"/api-reference/v3/b2b/list-settlement-documents"},{"title":"Submit Settlement Documents","openapi":"POST /pg/payments/{payment_id}/settlement/submit/","href":"/api-reference/v3/b2b/submit-settlement"}]},{"group":"Webhooks","pages":[{"title":"MERCHANT APPROVED","href":"/api-reference/v3/webhooks/merchant-approved"},{"title":"MERCHANT CHANGES NEEDED","href":"/api-reference/v3/webhooks/merchant-changes-requested"},{"title":"MERCHANT REJECTED","href":"/api-reference/v3/webhooks/merchant-rejected"},{"title":"PAYMENT SUCCESSFUL","href":"/api-reference/v3/webhooks/payment-successful"},{"title":"VERIFICATION NEEDED","href":"/api-reference/v3/webhooks/verification-needed"},{"title":"LRS VERIFICATION NEEDED","href":"/api-reference/v3/webhooks/lrs-verification-needed"},{"title":"VERIFICATION STATUS","href":"/api-reference/v3/webhooks/verification-status"},{"title":"PAYMENT UNDER REVIEW","href":"/api-reference/v3/webhooks/payment-under-review"},{"title":"PAYMENT FAILED","href":"/api-reference/v3/webhooks/payment-failed"},{"title":"PAYMENT REFUNDED","href":"/api-reference/v3/webhooks/payment-refunded"},{"title":"REFUND FAILED","href":"/api-reference/v3/webhooks/refund-failed"},{"title":"REFUND STATUS UPDATE","href":"/api-reference/v3/webhooks/refund-status-update"},{"title":"PAYMENT SETTLED","href":"/api-reference/v3/webhooks/payment-settled"},{"title":"SUBSCRIPTION STATUS","href":"/api-reference/v3/webhooks/subscription-status"},{"title":"PAYMENT DISPUTED","href":"/api-reference/v3/webhooks/dispute-updated"}]}]}]}]},"basePath":"","title":"Create Order - EximPe Docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}