A payment link is a URL you send to a buyer — over chat, email or SMS — to collect one payment without building a checkout of your own. You create it from your backend with the buyer, product and invoice details. The response carries the payment_link to send and a link_id to track it by.A link stays open until it is paid, its expiry_date passes, or you deactivate it. Retrieve Payment Link tells you which.
Max 50 chars; letters and numbers only; unique across your orders that have not failed
Letters and numbers only.INV-2026-0123 is refused with Invoice number must contain only alphanumeric characters. — send INV20260123. This is stricter than Create Order’s invoice number. A payment link’s invoice takes no date.
Send expiry_date in ISO 8601. An offset is honoured — 2026-12-31T23:59:59+05:30 reads back as 2026-12-31T18:29:59.000000Z — and a value without one is read as UTC.
It must be in the future and no more than 365 days away. Otherwise the create is refused with Expiry date cannot be older than the current UTC time. or Expiry date cannot be beyond 1 year from now.
Omit it, or send null, and the link expires 365 days from today.
The create response does not echo the expiry. Read it back with Retrieve Payment Link.
preferred_payment_method names the method you want the buyer to pay with: UPI, CARD, CREDIT_CARD, DEBIT_CARD or NET_BANKING, in any case. Leave it out and the buyer chooses from what your account offers.Which of these a payment link can collect depends on your account. Name one yours cannot and the create is refused before anything is sent to the buyer:
{ "success": false, "error": { "code": "ERR_ORDER_002", "message": "Validation error", "details": { "preferred_payment_method": "Credit card is not supported for payment links on this account" } }}
A value that is not a payment method at all is refused with Invalid preferred payment method. The preference is not echoed back: mop_type on List Payment Links and Retrieve Payment Link is the method the buyer actually paid with.
Match payments to the link on link_id. A buyer may try more than once before a payment goes through. The payment webhooks — PAYMENT_SUCCESSFUL when a payment goes through — carry that payment’s own payment_id and the link’s link_id.
Refund and reconcile by that payment’s payment_id, not by link_id. Create Refund takes it, and Retrieve Payment Link names the payment that paid the link in paid_payment_id.
On some accounts a link and its payment share one ID, so a webhook’s payment_id and link_id are the same value. Handle both cases the same way: match on link_id, refund by payment_id.Where each try is a payment of its own, a try that fails sends no webhook: the link stays open and the buyer can pay again through it. If the link closes without being paid — it expires, you deactivate it, or 20 tries have failed — one PAYMENT_FAILED arrives for the link itself, with payment_id equal to link_id. There is nothing to refund on it, and it is not a payment the payments API returns: look the link up by link_id with Retrieve Payment Link.
Every refusal uses 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.
Status
error.code
When
details
400
ERR_ORDER_002
A field is missing or invalid
Keyed by field and nested like the request, e.g. {"buyer": {"phone": "Enter a valid phone number."}}
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
expiry_date is in the past, or more than 365 days away
{"expiry_date": "Expiry date cannot be beyond 1 year from now."}
Create links from your backend. The call carries your client secret, so never make it from a browser or a mobile app.
A reference_id is spent once the request passes validation. It must be unique across all your orders, not only payment links. A create refused after validation — over the payment method, say, or by the payment network — still records a failed order that holds the reference_id, and the link may appear in List Payment Links as failed. Retry with a fresh reference_id; the invoice number is free to reuse.
PSPs send X-Merchant-ID naming the sub-merchant the link is for. Without it the call is refused with a 401.
Keep link_id and amount.link_id is what Retrieve and Deactivate take, and Retrieve does not return the link’s amount.
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.
Merchant Identifier - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.
API Version - Optional, and not a credential. Send 3.0.0 for v3. If you omit it, the call still succeeds and the response echoes your account's default version in an X-API-Version header.
Amount to collect, in rupees, as a decimal string (e.g. "1500.00"). Up to two decimal places; greater than 0 and at most 10,000,000.00. Payment links are always INR, so there is no currency field.
When the link stops accepting payment (ISO 8601). A value without an offset is read as UTC. Must be in the future and at most one year (365 days) away. Omit it, or send null, and the link expires 365 days from today.
The payment method the buyer should pay with. Case-insensitive. Omit it to let the buyer choose. Which methods a payment link can collect depends on your account; one it cannot is refused with a 400.
FEMA/FETERS purpose code this payment 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":false},"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":""},"chroma":{"liveDeploymentHistoryId":"6ae325aef2e535e50ffaca13","collectionId":"6c2caf6e-8462-41c2-9e0f-d307947ef24b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae325aef2e535e50ffaca13"},"entitlements":{},"buildId":"6ae325aef2e535e50ffaca13","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":159},{"language":"default","tag":"Integration Guide","count":55},{"language":"default","tag":"Subscriptions","count":33},{"language":"default","tag":"Webhooks","count":33},{"language":"default","tag":"Get Started","count":22},{"language":"default","tag":"Payment Integration","count":22},{"language":"default","tag":"Payment Links","count":14},{"language":"default","tag":"Virtual Bank Accounts","count":13},{"language":"default","tag":"Merchant","count":12},{"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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","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,.05)!important}}#navigation-items>div.flex.flex-col>button[id*=radix],.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix],[class*=VersionSwitcher] button{padding:6px 12px!important;height:32px!important;background-color:#15803d!important;color:#fff!important;border:0!important;border-radius:8px!important;font-size:.85rem!important}.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix],[class*=VersionSwitcher] button{width:auto!important;min-width:120px!important;letter-spacing:.01em!important;box-shadow:0 4px 6px -1px rgba(38,168,135,.2),0 2px 4px -1px rgba(38,168,135,.1)!important;transition:all .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;align-self:flex-start!important;margin-bottom:16px!important;box-shadow:0 4px 6px -1px rgba(38,168,135,.2)!important}#navigation-items>div.flex.flex-col>button[id*=radix]:hover,.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix]:hover{background-color:#1f8a6d!important;transform:translateY(-1px)!important}#navigation-items>div.flex.flex-col>button[id*=radix] div,#navigation-items>div.flex.flex-col>button[id*=radix] span,.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix] div,.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix] span{color:#fff!important}.hidden.lg\\:flex.items-center.gap-x-2{align-items:center!important;display:flex!important;gap:12px!important}#navigation-items>div.flex.flex-col>button[id*=radix]::before,.hidden.lg\\:flex.items-center.gap-x-2 button[id*=radix]::before{content:\"API\";font-size:.65rem;text-transform:uppercase;background:rgba(255,255,255,.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/payment-link/create","slug":"/api-reference/v3/payment-link/create","pageMetadata":{"title":"Create Payment Link","description":"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.","openapi":"openapi/v3-payment-links.json POST /pg/payment-links/","href":"/api-reference/v3/payment-link/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 a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\"\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,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,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:[`A payment link is a URL you send to a buyer — over chat, email or SMS — to collect one payment without building a checkout of your own. You create it from your backend with the buyer, product and invoice details. The response carries the `,_jsx(_components.code,{children:`payment_link`}),` to send and a `,_jsx(_components.code,{children:`link_id`}),` to track it by.`]}),`\n`,_jsxs(_components.p,{children:[`A link stays open until it is paid, its `,_jsx(_components.code,{children:`expiry_date`}),` passes, or you `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/deactivate`,children:`deactivate`}),` it. `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),` tells you which.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`required-parameters`,children:`Required Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),`: The amount to collect, in rupees`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_id`}),`: Your unique reference for this payment`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`buyer`}),`: Buyer details — name, email, phone and address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`product`}),`: What the payment is for`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`invoice`}),`: The invoice number`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`optional-parameters`,children:`Optional Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`expiry_date`}),`: When the link stops accepting payment. Defaults to one year from today`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preferred_payment_method`}),`: The payment method the buyer should pay with`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`buyer.send_sms`}),` / `,_jsx(_components.code,{children:`buyer.send_email`}),`: Send the link to the buyer as soon as it is created`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`business_model`}),`: Whether the buyer is a business (`,_jsx(_components.code,{children:`B2B`}),`) or a consumer (`,_jsx(_components.code,{children:`B2C`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`purpose_code`}),`: The FEMA/FETERS purpose code the payment settles under (e.g. `,_jsx(_components.code,{children:`S0802`}),`)`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Payment links are INR only.`}),` There is no `,_jsx(_components.code,{children:`currency`}),` field: `,_jsx(_components.code,{children:`amount`}),` is read as rupees, and a `,_jsx(_components.code,{children:`currency`}),` key in the request is ignored.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`parameter-definitions`,children:`Parameter Definitions`}),`\n`,_jsx(_components.p,{children:`The following tables define the request parameters, including nested objects, types, requirements, and constraints.`}),`\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.`}),_jsx(_components.td,{children:`Decimal string, up to two decimal places; greater than 0 and at most 10,000,000.00`})]}),_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 this payment.`}),_jsx(_components.td,{children:`1–50 chars; letters, numbers and hyphens only; unique across all your orders`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`expiry_date`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`When the link stops accepting payment.`}),_jsx(_components.td,{children:`ISO 8601 date-time; in the future and at most 365 days away; defaults to 365 days from today`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`preferred_payment_method`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The payment method the buyer should pay with.`}),_jsxs(_components.td,{children:[`One of `,_jsx(_components.code,{children:`UPI`}),`, `,_jsx(_components.code,{children:`CARD`}),`, `,_jsx(_components.code,{children:`CREDIT_CARD`}),`, `,_jsx(_components.code,{children:`DEBIT_CARD`}),`, `,_jsx(_components.code,{children:`NET_BANKING`}),`, in any case; must be one your account’s payment links can collect`]})]}),_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:[`Enum: `,_jsx(_components.code,{children:`B2B`}),`, `,_jsx(_components.code,{children:`B2C`}),`; 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 this payment settles under.`}),_jsxs(_components.td,{children:[`Must be active and enabled on your account (e.g. `,_jsx(_components.code,{children:`S0101`}),`, `,_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 object`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`product`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Product or service being paid for.`}),_jsx(_components.td,{children:`See Product object`})]}),_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 object`})]})]})]}),`\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 of the buyer.`}),_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 of the buyer.`}),_jsx(_components.td,{children:`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:[`Starts with `,_jsx(_components.code,{children:`+`}),` and the country code, e.g. `,_jsx(_components.code,{children:`+919876543210`}),`; `,_jsx(_components.code,{children:`9876543210`}),` is refused`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`send_sms`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Send the link to `,_jsx(_components.code,{children:`phone`}),` by SMS once it is created.`]}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`false`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`send_email`}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Send the link to `,_jsx(_components.code,{children:`email`}),` once it is created.`]}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`false`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`address`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Buyer address.`}),_jsx(_components.td,{children:`See Address object`})]})]})]}),`\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:`Yes`}),_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:`Yes`}),_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:`Yes`}),_jsx(_components.td,{children:`State/Province.`}),_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(Note,{children:_jsxs(_components.p,{children:[`A payment link needs the whole address — `,_jsx(_components.code,{children:`line_1`}),`, `,_jsx(_components.code,{children:`city`}),`, `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`postal_code`}),`. `,_jsx(_components.a,{href:`/api-reference/v3/order/create`,children:`Create Order`}),` asks only for `,_jsx(_components.code,{children:`postal_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 of the product or service.`}),_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 goods/services.`}),_jsxs(_components.td,{children:[`Enum: `,_jsx(_components.code,{children:`physical_goods`}),`, `,_jsx(_components.code,{children:`digital_goods`}),`, `,_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(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`hs_code`}),` is checked, but neither it nor `,_jsx(_components.code,{children:`hs_code_description`}),` is stored on the link, so `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),` returns both as `,_jsx(_components.code,{children:`null`}),`.`]})}),`\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`})]})}),_jsx(_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.`}),_jsx(_components.td,{children:`Max 50 chars; letters and numbers only; unique across your orders that have not failed`})]})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Letters and numbers only.`}),` `,_jsx(_components.code,{children:`INV-2026-0123`}),` is refused with `,_jsx(_components.code,{children:`Invoice number must contain only alphanumeric characters.`}),` — send `,_jsx(_components.code,{children:`INV20260123`}),`. This is stricter than Create Order’s invoice number. A payment link’s invoice takes no `,_jsx(_components.code,{children:`date`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`expiry`,children:`Expiry`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Send `,_jsx(_components.code,{children:`expiry_date`}),` in ISO 8601. An offset is honoured — `,_jsx(_components.code,{children:`2026-12-31T23:59:59+05:30`}),` reads back as `,_jsx(_components.code,{children:`2026-12-31T18:29:59.000000Z`}),` — and a value without one is read as UTC.`]}),`\n`,_jsxs(_components.li,{children:[`It must be in the future and no more than 365 days away. Otherwise the create is refused with `,_jsx(_components.code,{children:`Expiry date cannot be older than the current UTC time.`}),` or `,_jsx(_components.code,{children:`Expiry date cannot be beyond 1 year from now.`})]}),`\n`,_jsxs(_components.li,{children:[`Omit it, or send `,_jsx(_components.code,{children:`null`}),`, and the link expires 365 days from today.`]}),`\n`,_jsxs(_components.li,{children:[`The create response does not echo the expiry. Read it back with `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`preferred-payment-method`,children:`Preferred payment method`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`preferred_payment_method`}),` names the method you want the buyer to pay with: `,_jsx(_components.code,{children:`UPI`}),`, `,_jsx(_components.code,{children:`CARD`}),`, `,_jsx(_components.code,{children:`CREDIT_CARD`}),`, `,_jsx(_components.code,{children:`DEBIT_CARD`}),` or `,_jsx(_components.code,{children:`NET_BANKING`}),`, in any case. Leave it out and the buyer chooses from what your account offers.`]}),`\n`,_jsx(_components.p,{children:`Which of these a payment link can collect depends on your account. Name one yours cannot and the create is refused before anything is sent to the buyer:`}),`\n`,_jsx(CodeBlock,{filename:``,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:` \"preferred_payment_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Credit card is not supported for payment links on this account\"`})]}),`\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`,_jsxs(_components.p,{children:[`A value that is not a payment method at all is refused with `,_jsx(_components.code,{children:`Invalid preferred payment method`}),`. The preference is not echoed back: `,_jsx(_components.code,{children:`mop_type`}),` on `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/list`,children:`List Payment Links`}),` and `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),` is the method the buyer actually paid with.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`A successful create returns `,_jsx(_components.code,{children:`201`}),` with:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`link_id`}),`: The link’s ID — `,_jsx(_components.code,{children:`PR`}),` followed by 10 digits. `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve`}),` and `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/deactivate`,children:`Deactivate`}),` take it, and every payment made through the link carries it. See `,_jsx(_components.a,{href:`#tracking-a-payment-link`,children:`Tracking a payment link`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`payment_id`}),`: The same value as `,_jsx(_components.code,{children:`link_id`}),`, kept for compatibility. Read `,_jsx(_components.code,{children:`link_id`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`payment_link`}),`: The URL to send to the buyer. Treat it as opaque`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),`: The amount as a decimal string. A whole amount comes back without decimals (`,_jsx(_components.code,{children:`\"1500\"`}),`), any other with two (`,_jsx(_components.code,{children:`\"1500.50\"`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`currency`}),`: Always `,_jsx(_components.code,{children:`INR`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`tracking-a-payment-link`,children:`Tracking a payment link`}),`\n`,_jsxs(_components.p,{children:[`Two IDs are in play: the link’s `,_jsx(_components.code,{children:`link_id`}),`, and the `,_jsx(_components.code,{children:`payment_id`}),` of each payment made through it.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Manage the link by `,_jsx(_components.code,{children:`link_id`}),`.`]}),` `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),` and `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/deactivate`,children:`Deactivate Payment Link`}),` take it.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Match payments to the link on `,_jsx(_components.code,{children:`link_id`}),`.`]}),` A buyer may try more than once before a payment goes through. The payment webhooks — `,_jsx(_components.a,{href:`/api-reference/v3/webhooks/payment-successful`,children:_jsx(_components.code,{children:`PAYMENT_SUCCESSFUL`})}),` when a payment goes through — carry that payment’s own `,_jsx(_components.code,{children:`payment_id`}),` and the link’s `,_jsx(_components.code,{children:`link_id`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Refund and reconcile by that payment’s `,_jsx(_components.code,{children:`payment_id`}),`,`]}),` not by `,_jsx(_components.code,{children:`link_id`}),`. `,_jsx(_components.a,{href:`/api-reference/v3/refunds/create`,children:`Create Refund`}),` takes it, and `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve#how-the-link-was-paid`,children:`Retrieve Payment Link`}),` names the payment that paid the link in `,_jsx(_components.code,{children:`paid_payment_id`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`On some accounts a link and its payment share one ID, so a webhook’s `,_jsx(_components.code,{children:`payment_id`}),` and `,_jsx(_components.code,{children:`link_id`}),` are the same value. Handle both cases the same way: match on `,_jsx(_components.code,{children:`link_id`}),`, refund by `,_jsx(_components.code,{children:`payment_id`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Where each try is a payment of its own, a try that fails sends no webhook: the link stays open and the buyer can pay again through it. If the link closes without being paid — it expires, you deactivate it, or 20 tries have failed — one `,_jsx(_components.a,{href:`/api-reference/v3/webhooks/payment-failed`,children:_jsx(_components.code,{children:`PAYMENT_FAILED`})}),` arrives for the link itself, with `,_jsx(_components.code,{children:`payment_id`}),` equal to `,_jsx(_components.code,{children:`link_id`}),`. There is nothing to refund on it, and it is not a payment the payments API returns: look the link up by `,_jsx(_components.code,{children:`link_id`}),` with `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve Payment Link`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Every refusal uses 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.`]}),`\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, 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`}),` 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:`expiry_date`}),` is in the past, or more than 365 days away`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"expiry_date\": \"Expiry date cannot be beyond 1 year from now.\"}`})})]}),_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:`preferred_payment_method`}),` is not a payment method`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"preferred_payment_method\": \"Invalid preferred payment method\"}`})})]}),_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:[`Your account’s payment links cannot collect `,_jsx(_components.code,{children:`preferred_payment_method`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"preferred_payment_method\": \"Credit card is not supported for payment links on this account\"}`})})]}),_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:`The payment method is not enabled on your account`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"mop_type\": \"CREDIT_CARD is not enabled for this account.\"}`})})]}),_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, or not enabled on your account`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{\"purpose_code\": \"Invalid Purpose code given.\"}`}),` or `,_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:`401`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ERR_AUTH_000`}),`, `,_jsx(_components.code,{children:`ERR_AUTH_001`})]}),_jsxs(_components.td,{children:[`Credentials are missing or wrong, or 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:`403`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Payment links 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:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_AUTH_005`})}),_jsx(_components.td,{children:`Your account’s setup does not permit payment links`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"collection_mode\": \"PAYMENT_LINKS is not enabled for this account.\"}`})})]}),_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_SERVICE_ERROR_000`})}),_jsx(_components.td,{children:`Your account is not configured to collect through payment links`}),_jsxs(_components.td,{children:[`e.g. `,_jsx(_components.code,{children:`{\"payment_gateway\": \"Payment gateway not configured\"}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ERR_RATE_LIMIT_EXCEEDED`})}),_jsx(_components.td,{children:`The payment network is rate limiting requests`}),_jsxs(_components.td,{children:[`Retry after the `,_jsx(_components.code,{children:`Retry-After`}),` header, when it is sent`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ERR_GATEWAY_UNAVAILABLE`}),`, `,_jsx(_components.code,{children:`ERR_PAYMENT_003`})]}),_jsx(_components.td,{children:`The payment network could not be reached, or returned an error`}),_jsx(_components.td,{children:`Retry shortly`})]}),_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(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`UPI link sent to the buyer`,numberOfLines:`28`,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:`28`,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:`\"1500.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:` \"reference_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORD-2026-000123\"`}),_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:` \"expiry_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-31T18:29:59Z\"`}),_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:` \"preferred_payment_method\"`}),_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:` \"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:`\"Rahul Sharma\"`}),_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:` \"send_sms\"`}),_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:` \"send_email\"`}),_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:` \"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 MG Road\"`}),_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_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Indiranagar\"`}),_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:`\"Bengaluru\"`}),_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:`\"Karnataka\"`}),_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:`\"560038\"`})]}),`\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:`\"Annual subscription\"`}),_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:`\"12-month premium plan\"`}),_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:`\"service\"`})]}),`\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:`\"INV2026000123\"`})]}),`\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:`Physical goods, default expiry`,numberOfLines:`24`,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:`24`,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:`\"2499.50\"`}),_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:`\"ORD-2026-000124\"`}),_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:`\"Priya Nair\"`}),_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:`\"14 Marine Drive\"`}),_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:`\"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:` \"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\"`}),_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\"`})]}),`\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:`\"INV2026000124\"`})]}),`\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-examples`,children:`Response Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Created`,numberOfLines:`11`,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:`11`,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:`\"Payment Link 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:` \"payment_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PR4829301756\"`}),_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:` \"link_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PR4829301756\"`}),_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:` \"payment_link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api-pacb-uat.eximpe.com/p/Xk3nQ7bT2mWp9vLc4R/\"`}),_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:`\"1500\"`}),_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\"`})]}),`\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:`Invalid fields`,numberOfLines:`15`,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:`15`,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:` \"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:`\"Invoice number must contain only alphanumeric characters.\"`})]}),`\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:` \"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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Enter a valid phone number.\"`})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`implementation-notes`,children:`Implementation Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Create links from your backend.`}),` The call carries your client secret, so never make it from a browser or a mobile app.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`A `,_jsx(_components.code,{children:`reference_id`}),` is spent once the request passes validation.`]}),` It must be unique across all your orders, not only payment links. A create refused after validation — over the payment method, say, or by the payment network — still records a failed order that holds the `,_jsx(_components.code,{children:`reference_id`}),`, and the link may appear in `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/list`,children:`List Payment Links`}),` as `,_jsx(_components.code,{children:`failed`}),`. Retry with a fresh `,_jsx(_components.code,{children:`reference_id`}),`; the invoice number is free to reuse.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`PSPs send `,_jsx(_components.code,{children:`X-Merchant-ID`})]}),` naming the sub-merchant the link is for. Without it the call is refused with a `,_jsx(_components.code,{children:`401`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Keep `,_jsx(_components.code,{children:`link_id`}),` and `,_jsx(_components.code,{children:`amount`}),`.`]}),` `,_jsx(_components.code,{children:`link_id`}),` is what `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/retrieve`,children:`Retrieve`}),` and `,_jsx(_components.a,{href:`/api-reference/v3/payment-link/deactivate`,children:`Deactivate`}),` take, and Retrieve does not return the link’s amount.`]}),`\n`]})]})}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 Payment Link","description":"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.","openapi":"openapi/v3-payment-links.json POST /pg/payment-links/","href":"/api-reference/v3/payment-link/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[{"title":"Required Parameters","slug":"required-parameters","depth":3,"children":[]},{"title":"Optional Parameters","slug":"optional-parameters","depth":3,"children":[]},{"title":"Parameter Definitions","slug":"parameter-definitions","depth":3,"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":"Expiry","slug":"expiry","depth":2,"children":[]},{"title":"Preferred payment method","slug":"preferred-payment-method","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Tracking a payment link","slug":"tracking-a-payment-link","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Response Examples","slug":"response-examples","depth":2,"children":[]},{"title":"Implementation Notes","slug":"implementation-notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/lesamis/be3361b0969b1724/ai-chat-buttons.js"],"openApiReferenceData":{"operation":{"summary":"Create Payment Link","description":"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.","operationId":"v3_createPaymentLink","tags":["Payment Links"],"security":["5661ef91-1908-49e1-861a-16b5b1ec9275"],"requestBody":"e3c86e66-d2d4-444d-bee1-b201a48869ad","responses":{"201":"7dc65459-c98d-4e36-80c3-902e447e75a2","400":"44481ae6-6aa4-40f6-8eee-163b00d76c3e","401":"dc5b5aca-d8cd-4285-8a58-3176643b84bb","403":"2db646fe-413e-4535-9564-dce4d280b18c","429":"a1564019-a4fb-4646-a194-f8efe77b0418","500":"cf98edc9-f649-4528-a0a8-ef460cdbf6d0","502":"efb50c37-727c-46db-8e01-2d2e0500da01"},"method":"post","type":"path","servers":["f481c557-d6ca-4294-b1a6-abf1b5cb1f1c"],"path":"/pg/payment-links/","baseUrlOptions":["https://api-pacb-uat.eximpe.com"],"title":"Create Payment Link","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Payment link creation request","required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","reference_id","buyer","product","invoice"],"properties":{"amount":{"type":"string","description":"Amount to collect, in rupees, as a decimal string (e.g. \"1500.00\"). Up to two decimal places; greater than 0 and at most 10,000,000.00. Payment links are always INR, so there is no currency field.","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"reference_id":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[A-Za-z0-9-]+$","description":"Your reference for this payment. Letters, numbers and hyphens. Unique across all your orders, including one whose link failed to create.","isRequired":true,"uniqueKey":"reference_id","typeLabel":"string"},"buyer":{"type":"object","required":["name","email","phone","address"],"properties":{"name":{"type":"string","maxLength":255,"description":"Buyer's full name","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":"Buyer's phone number with country code (e.g. +919876543210). A number without the + and country code is refused.","pattern":"^\\+[1-9]\\d{1,14}$","isRequired":true,"uniqueKey":"buyer.phone","typeLabel":"string"},"address":{"type":"object","required":["line_1","city","state","postal_code"],"properties":{"line_1":{"type":"string","description":"Address line 1","isRequired":true,"uniqueKey":"buyer.address.line_1","typeLabel":"string"},"city":{"type":"string","maxLength":255,"description":"City name","isRequired":true,"uniqueKey":"buyer.address.city","typeLabel":"string"},"state":{"type":"string","maxLength":255,"description":"State name","isRequired":true,"uniqueKey":"buyer.address.state","typeLabel":"string"},"postal_code":{"type":"string","description":"A valid 6-digit Indian PIN code","isRequired":true,"uniqueKey":"buyer.address.postal_code","typeLabel":"string"},"line_2":{"oneOf":[{"type":"string","description":"Address line 2","uniqueKey":"buyer.address.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Address line 2","uniqueKey":"buyer.address.line_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"buyer.address.line_2","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"buyer.address","typeLabel":"object"},"send_sms":{"type":"boolean","default":false,"description":"Send the payment link to the buyer's phone by SMS once it is created.","uniqueKey":"buyer.send_sms","typeLabel":"boolean"},"send_email":{"type":"boolean","default":false,"description":"Send the payment link to the buyer's email once it is created.","uniqueKey":"buyer.send_email","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"buyer","typeLabel":"object"},"product":{"type":"object","required":["name","type_of_goods"],"properties":{"name":{"type":"string","description":"Product or service name","isRequired":true,"uniqueKey":"product.name","typeLabel":"string"},"type_of_goods":{"type":"string","enum":["physical_goods","digital_goods","service"],"description":"Type of goods","isRequired":true,"uniqueKey":"product.type_of_goods","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","maxLength":1024,"description":"Product or service description","uniqueKey":"product.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1024,"description":"Product or service description","uniqueKey":"product.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"product.description","typeLabel":"string | null"},"hs_code":{"type":"string","description":"8-digit Harmonized System code. Required for physical_goods and checked against the HS code list, but not stored on the link.","uniqueKey":"product.hs_code","typeLabel":"string"},"hs_code_description":{"oneOf":[{"type":"string","description":"Description of the HS code. Accepted, but not stored on the link.","uniqueKey":"product.hs_code_description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the HS code. Accepted, but not stored on the link.","uniqueKey":"product.hs_code_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"product.hs_code_description","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"product","typeLabel":"object"},"invoice":{"type":"object","required":["number"],"properties":{"number":{"type":"string","maxLength":50,"pattern":"^[A-Za-z0-9]+$","description":"Invoice number. Letters and numbers only — no hyphens, slashes or spaces. Unique across your orders that have not failed.","isRequired":true,"uniqueKey":"invoice.number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"invoice","typeLabel":"object"},"expiry_date":{"oneOf":[{"type":"string","format":"date-time","description":"When the link stops accepting payment (ISO 8601). A value without an offset is read as UTC. Must be in the future and at most one year (365 days) away. Omit it, or send null, and the link expires 365 days from today.","uniqueKey":"expiry_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the link stops accepting payment (ISO 8601). A value without an offset is read as UTC. Must be in the future and at most one year (365 days) away. Omit it, or send null, and the link expires 365 days from today.","uniqueKey":"expiry_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiry_date","typeLabel":"string\u003cdate-time> | null"},"preferred_payment_method":{"type":"string","enum":["UPI","CARD","CREDIT_CARD","DEBIT_CARD","NET_BANKING"],"description":"The payment method the buyer should pay with. Case-insensitive. Omit it to let the buyer choose. Which methods a payment link can collect depends on your account; one it cannot is refused with a 400.","uniqueKey":"preferred_payment_method","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 payment 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":{"UPI link sent to the buyer":{"title":"UPI link sent to the buyer","description":"Restricts the link to UPI, sets an expiry, and sends the link to the buyer by SMS and email.","value":{"amount":"1500.00","reference_id":"ORD-2026-000123","expiry_date":"2026-12-31T18:29:59Z","preferred_payment_method":"UPI","buyer":{"name":"Rahul Sharma","email":"[email protected]","phone":"+919876543210","send_sms":true,"send_email":true,"address":{"line_1":"221B MG Road","line_2":"Indiranagar","city":"Bengaluru","state":"Karnataka","postal_code":"560038"}},"product":{"name":"Annual subscription","description":"12-month premium plan","type_of_goods":"service"},"invoice":{"number":"INV2026000123"}}},"Physical goods, default expiry":{"title":"Physical goods, default expiry","description":"No expiry_date, so the link expires one year from today. Physical goods need an hs_code.","value":{"amount":"2499.50","reference_id":"ORD-2026-000124","buyer":{"name":"Priya Nair","email":"[email protected]","phone":"+919812345678","address":{"line_1":"14 Marine Drive","city":"Mumbai","state":"Maharashtra","postal_code":"400001"}},"product":{"name":"Wireless Headphones","description":"Noise-cancelling wireless headphones","type_of_goods":"physical_goods","hs_code":"85183000"},"invoice":{"number":"INV2026000124"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7dc65459-c98d-4e36-80c3-902e447e75a2":{"description":"Payment link 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":["payment_id","link_id","payment_link","amount","currency"],"properties":{"payment_id":{"type":"string","description":"The same value as link_id, kept for compatibility. Read link_id.","isRequired":true,"uniqueKey":"data.payment_id","typeLabel":"string"},"link_id":{"type":"string","description":"The link's ID (PR followed by 10 digits). Retrieve and Deactivate take it, and every payment made through the link carries it in its payment webhooks, next to that payment's own payment_id.","isRequired":true,"uniqueKey":"data.link_id","typeLabel":"string"},"payment_link":{"type":"string","format":"uri","description":"The URL to send to the buyer. Treat it as opaque.","isRequired":true,"uniqueKey":"data.payment_link","typeLabel":"string\u003curi>"},"amount":{"type":"string","description":"The amount, as a decimal string. A whole amount comes back without decimals (\"1500\"); any other with two (\"1500.50\").","isRequired":true,"uniqueKey":"data.amount","typeLabel":"string"},"currency":{"type":"string","enum":["INR"],"description":"Always INR","isRequired":true,"uniqueKey":"data.currency","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Created":{"title":"Created","value":{"success":true,"message":"Payment Link created successfully","data":{"payment_id":"PR4829301756","link_id":"PR4829301756","payment_link":"https://api-pacb-uat.eximpe.com/p/Xk3nQ7bT2mWp9vLc4R/","amount":"1500","currency":"INR"}}}},"exampleType":"examples"}},"exampleType":"examples"},"44481ae6-6aa4-40f6-8eee-163b00d76c3e":{"description":"The request was refused. error.code is ERR_ORDER_002; details says what failed.","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":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string | integer"},"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 the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","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","description":"Field errors are keyed by field and nested the way the request is.","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"invoice":{"number":"Invoice number must contain only alphanumeric characters."},"buyer":{"phone":"Enter a valid phone number."}}}}},"Expiry too far out":{"title":"Expiry too far out","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"expiry_date":"Expiry date cannot be beyond 1 year from now."}}}},"reference_id already used":{"title":"reference_id already used","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"reference_id":"Reference ID already exists"}}}},"Payment method not supported":{"title":"Payment method not supported","description":"preferred_payment_method names a method this account's payment links cannot collect.","value":{"success":false,"error":{"code":"ERR_ORDER_002","message":"Validation error","details":{"preferred_payment_method":"Credit card is not supported for payment links on this account"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"dc5b5aca-d8cd-4285-8a58-3176643b84bb":{"description":"Missing or invalid credentials, or a PSP call without 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":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string | integer"},"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 the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid credentials":{"title":"Invalid credentials","value":{"success":false,"error":{"code":"ERR_AUTH_001","message":"Invalid credentials","details":{"authentication":"Invalid credentials."}}}},"X-Merchant-ID missing":{"title":"X-Merchant-ID missing","description":"A PSP must name the sub-merchant the link belongs to.","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"},"2db646fe-413e-4535-9564-dce4d280b18c":{"description":"The account cannot create payment links","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Returned when payment links are not enabled on the account. It does not use the standard error envelope.","required":["detail"],"properties":{"detail":{"type":"string","description":"Why the request was refused","isRequired":true,"uniqueKey":"oneOf.0.detail","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"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":"oneOf.1.success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"oneOf.1.error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"oneOf.1.error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string | integer"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"oneOf.1.error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","uniqueKey":"oneOf.1.error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Payment links not enabled":{"title":"Payment links not enabled","description":"Payment links are not enabled on the account. This body does not use the standard error envelope.","value":{"detail":"You do not have permission to perform this action."}},"Payment links not permitted":{"title":"Payment links not permitted","value":{"success":false,"error":{"code":"ERR_AUTH_005","message":"This account's lane does not permit this collection","details":{"collection_mode":"PAYMENT_LINKS is not enabled for this account."}}}},"Account not set up":{"title":"Account not set up","description":"The account is not configured to collect through payment links. Contact your EximPe integration manager.","value":{"success":false,"error":{"code":"ERR_SERVICE_ERROR_000","message":"Payment gateway error","details":{"payment_gateway":"Payment gateway not configured"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"a1564019-a4fb-4646-a194-f8efe77b0418":{"description":"The payment network is rate limiting requests","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Not always present.","schema":{"type":"integer"}}},"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":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string | integer"},"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 the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Rate limited":{"title":"Rate limited","description":"Wait for the number of seconds in the Retry-After header, when it is present, then retry.","value":{"success":false,"error":{"code":"ERR_RATE_LIMIT_EXCEEDED","message":"Too many requests. Please try again later.","details":{"message":"Too many requests have been made in a short period, so the request was rate limited. Please wait a moment and try again.","path":"/pg/payment-links/"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"cf98edc9-f649-4528-a0a8-ef460cdbf6d0":{"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":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string | integer"},"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 the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Unexpected error":{"title":"Unexpected error","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"},"efb50c37-727c-46db-8e01-2d2e0500da01":{"description":"The payment network is temporarily unavailable","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":{"oneOf":[{"type":"string","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Error code (e.g., ERR_ORDER_002). The list endpoint's own failure sends a number (40350).","isRequired":true,"uniqueKey":"error.code.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string | integer"},"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 the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","additionalProperties":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"string","description":"What failed. Usually an object keyed by the offending field and nested the way the request is (e.g. buyer.address.postal_code), with one message per field. A purpose_code refusal sends a single string instead.","uniqueKey":"error.details.oneOf.1","typeLabel":"string"}],"uniqueKey":"error.details","typeLabel":"object | string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Temporarily unavailable":{"title":"Temporarily unavailable","value":{"success":false,"error":{"code":"ERR_GATEWAY_UNAVAILABLE","message":"Payment gateway temporarily unavailable","details":{"message":"We couldn't reach the payment provider. Please try again shortly."}}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5661ef91-1908-49e1-861a-16b5b1ec9275":{"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":"**Merchant Identifier** - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.","x-displayName":"Merchant ID","x-example":"your-merchant-id","scopes":[],"schemeName":"merchantAuth"},"apiVersionHeader":{"type":"apiKey","name":"X-API-Version","in":"header","description":"**API Version** - Optional, and not a credential. Send `3.0.0` for v3. If you omit it, the call still succeeds and the response echoes your account's default version in an `X-API-Version` header.","x-displayName":"API Version","x-example":"3.0.0","scopes":[],"schemeName":"apiVersionHeader"}}},"servers":{"f481c557-d6ca-4294-b1a6-abf1b5cb1f1c":{"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"},{"scheme":{"type":"apiKey","name":"X-Merchant-ID","in":"header","description":"**Merchant Identifier** - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.","x-displayName":"Merchant ID","x-example":"your-merchant-id","scopes":[],"schemeName":"merchantAuth"},"schema":{"title":"X-Merchant-ID","type":"string","description":"**Merchant Identifier** - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"merchantAuth","name":"X-Merchant-ID"},{"scheme":{"type":"apiKey","name":"X-API-Version","in":"header","description":"**API Version** - Optional, and not a credential. Send `3.0.0` for v3. If you omit it, the call still succeeds and the response echoes your account's default version in an `X-API-Version` header.","x-displayName":"API Version","x-example":"3.0.0","scopes":[],"schemeName":"apiVersionHeader"},"schema":{"title":"X-API-Version","type":"string","description":"**API Version** - Optional, and not a credential. Send `3.0.0` for v3. If you omit it, the call still succeeds and the response echoes your account's default version in an `X-API-Version` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiVersionHeader","name":"X-API-Version"}],"title":"clientAuth \u0026 clientSecretAuth \u0026 merchantAuth \u0026 apiVersionHeader"}]},"originalFileLocation":"openapi/v3-payment-links.json"},"subdomain":"lesamis","siteName":"EximPe Docs","title":"Create Payment Link - EximPe Docs","navMaps":{"firstHrefInVersion":{"Version 1":{"href":"/api-reference/v1/payment-link/create","matchLevel":1},"Version 2":{"href":"/api-reference/v2/payment-link/create","matchLevel":1},"Version 3":{"href":"/api-reference/v3/payment-link/create","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T09:01:04.074Z","originalFileLocation":"api-reference/v3/payment-link/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 a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\">\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 Payment Link - EximPe Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\">\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/payment-link/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lesamis.mintlify.app/_mintlify/api/og/v2?division=Payment+Links\u0026amp;title=Create+Payment+Link\u0026amp;description=Create+a+URL+you+send+to+a+buyer+to+collect+one+INR+payment.+It+stays+open+until+it+is+paid%2C+it+expires%2C+or+you+deactivate+it.\u0026amp;theme=1382c3b2038c0cfa31037991\u0026amp;signature=2c9040926f25177e27f03d8239a02870e7ef30e9b3dd1211255e677b044a7a86\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Payment Link - EximPe Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lesamis.mintlify.app/_mintlify/api/og/v2?division=Payment+Links\u0026amp;title=Create+Payment+Link\u0026amp;description=Create+a+URL+you+send+to+a+buyer+to+collect+one+INR+payment.+It+stays+open+until+it+is+paid%2C+it+expires%2C+or+you+deactivate+it.\u0026amp;theme=1382c3b2038c0cfa31037991\u0026amp;signature=2c9040926f25177e27f03d8239a02870e7ef30e9b3dd1211255e677b044a7a86\">\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/payment-link/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/payment-link/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/payment-link/create#webpage\",\"url\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create\",\"name\":\"Create Payment Link\",\"description\":\"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\",\"dateModified\":\"2026-10-23T09:01:04.074Z\",\"isPartOf\":{\"@id\":\"https://docs.eximpe.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"EximPe Docs\",\"item\":\"https://docs.eximpe.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Payment Link\",\"item\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create#apireference\",\"headline\":\"Create Payment Link\",\"name\":\"Create Payment Link\",\"description\":\"Create a URL you send to a buyer to collect one INR payment. It stays open until it is paid, it expires, or you deactivate it.\",\"url\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.eximpe.com/api-reference/v3/payment-link/create#webpage\"},\"dateModified\":\"2026-10-23T09:01:04.074Z\",\"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/payment-link/create"}]},{"version":"Version 2","pages":[{"title":"Version 2","href":"/api-reference/v2/payment-link/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","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":"POST /partners/merchants/","href":"/api-reference/v3/merchant/create"},{"title":"List Merchants","openapi":"GET /partners/merchants/","href":"/api-reference/v3/merchant/list"},{"title":"Get Merchant","openapi":"GET /partners/merchants/{merchant_id}/","href":"/api-reference/v3/merchant/get"},{"title":"Update Merchant","openapi":"PATCH /partners/merchants/{merchant_id}/","href":"/api-reference/v3/merchant/update"}]},{"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","description":"Fetch all payments recorded against a subscription.","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","description":"Page through your payment links, newest first, with where each one stands.","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":"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"}]}]}]}]},"title":"Create Payment Link - EximPe Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}