A link you share anywhere. Customers open it and pay. No website or code needed.
A payment link opens a Modem Pay checkout page for a product, a service or a donation. Send it on WhatsApp, put it in your Instagram bio, print it as a QR code or add it to an email. Every link can be used again and again until you turn it off.
You don’t need the API for this. Create links in the dashboard under Payment links. Use the API when you want to create links from your own system, for example one per product.
What you can set
Field
Required
What it does
title
No
Shown at the top of the checkout page.
description
No
What the customer is paying for.
amount
No
A fixed price. Leave it out to let the customer type any amount, which is good for donations and tips.
currency
Yes
GMD.
redirect_url
No
Where the customer goes after paying.
cancel_url
No
Where the customer goes if they cancel.
custom_fields
No
Extra questions to ask at checkout, like "Student ID" or "Delivery address". Answers come back in custom_fields_values on the transaction and webhook.
Create a link
const link = await modempay.paymentLinks.create({ title: "Wax print dress", description: "Size M, pick up at Kairaba Avenue", amount: 3500, currency: "GMD", redirect_url: "https://yourshop.gm/thanks", custom_fields: ["Pickup date"],});console.log(link.payment_link); // share this
curl -X POST https://api.modempay.com/v1/payment-links \ -H "Authorization: Bearer sk_test_..." \ -H "Content-Type: application/json" \ -d '{ "title": "Wax print dress", "description": "Size M, pick up at Kairaba Avenue", "amount": 3500, "currency": "GMD", "redirect_url": "https://yourshop.gm/thanks", "custom_fields": ["Pickup date"] }'
// Get oneconst link = await modempay.paymentLinks.retrieve("ed46f172-…");// Change it, or turn it offawait modempay.paymentLinks.update("ed46f172-…", { status: "inactive" });// List allconst links = await modempay.paymentLinks.list();// Deleteawait modempay.paymentLinks.delete("ed46f172-…");
You can update title, description, amount, currency, redirect_url, cancel_url, custom_fields and status. An inactive link can’t be paid. Set it back to active to reopen it.
Know when someone paid
Every payment through a link sends a charge.succeededwebhook. The payload has payment_link_id, so you can tell which link was paid, and custom_fields_values with the customer’s answers.You can also see every payment for a link in the dashboard.
Links, intents or invoices?
Use
When
Payment link
The same price for many customers, shared by hand.
A bill for one customer, with line items, a due date and reminders.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Modem Pay","description":"Accept mobile money and card payments, send payouts, and split revenue in The Gambia.","colors":{"primary":"#08a591","light":"#08a591","dark":"#08a591"},"logo":{"light":"https://mintcdn.com/modem/yM7VtPyYTpEqFm00/logo/logo.png?fit=max\u0026auto=format\u0026n=yM7VtPyYTpEqFm00\u0026q=85\u0026s=583edb50d45d5f0c7c7cfe8bed561521","dark":"https://mintcdn.com/modem/yM7VtPyYTpEqFm00/logo/logo.png?fit=max\u0026auto=format\u0026n=yM7VtPyYTpEqFm00\u0026q=85\u0026s=583edb50d45d5f0c7c7cfe8bed561521"},"favicon":"https://mintcdn.com/modem/yM7VtPyYTpEqFm00/favicon.png?fit=max\u0026auto=format\u0026n=yM7VtPyYTpEqFm00\u0026q=85\u0026s=7904dfabeae04746c6800ed6c3b3d49d","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","php","go","java","ruby"],"prefill":false}},"navbar":{"links":[{"href":"https://docs.modempay.com/documentation/cli","label":"CLI"},{"href":"mailto:info@modempay.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://merchant.modempay.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/modempay"}},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"modem","hasAudioNarration":false,"actualSubdomain":"modem","customDomains":["docs.modempay.com"],"gitSource":{"type":"github","owner":"chibuike-okpara","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10cca59ffae5051c4098e8"},"entitlements":{},"buildId":"6b1058eb48655a78602d8747","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"Guides","count":38},{"language":"default","tag":"Send money","count":8},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Accept payments","count":6},{"language":"default","tag":"Payment intents","count":6},{"language":"default","tag":"Plugins and frameworks","count":6},{"language":"default","tag":"Billing","count":5},{"language":"default","tag":"Invoices","count":5},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Split payments","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":not(pre)>code{font-size:0.925em!important;padding:0.12em 0.4em!important;border-radius:6px;word-break:break-word}.prose table,.prose table td,.prose table th{font-size:0.95rem}.prose table :not(pre)>code{font-size:0.9em!important}pre code{font-size:0.875rem!important;line-height:1.6}"}]}
{"page":{"pagePath":"documentation/core/payment-links","slug":"/documentation/core/payment-links","pageMetadata":{"title":"Payment links","description":"A link you share anywhere. Customers open it and pay. No website or code needed.","href":"/documentation/core/payment-links"},"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: \"A link you share anywhere. Customers open it and pay. No website or code needed.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A payment link opens a Modem Pay checkout page for a product, a service or a donation. Send it on WhatsApp, put it in your Instagram bio, print it as a QR code or add it to an email. Every link can be used again and again until you turn it off.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You don’t need the API for this. Create links in the dashboard under `,_jsx(_components.strong,{children:`Payment links`}),`. Use the API when you want to create links from your own system, for example one per product.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-can-set`,children:`What you can set`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Shown at the top of the checkout page.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`What the customer is paying for.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`A fixed price. `,_jsx(_components.strong,{children:`Leave it out`}),` to let the customer type any amount, which is good for donations and tips.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GMD`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`redirect_url`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Where the customer goes after paying.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel_url`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Where the customer goes if they cancel.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`custom_fields`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Extra questions to ask at checkout, like `,_jsx(_components.code,{children:`\"Student ID\"`}),` or `,_jsx(_components.code,{children:`\"Delivery address\"`}),`. Answers come back in `,_jsx(_components.code,{children:`custom_fields_values`}),` on the transaction and webhook.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-link`,children:`Create a link`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`nodejs`,numberOfLines:`10`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` link`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modempay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLinks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Wax print dress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Size M, pick up at Kairaba Avenue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` currency:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"GMD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` redirect_url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://yourshop.gm/thanks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` custom_fields:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pickup date\"`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`link`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payment_link`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// share this`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.modempay.com/v1/payment-links`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk_test_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Wax print dress\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Size M, pick up at Kairaba Avenue\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 3500,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"GMD\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"redirect_url\": \"https://yourshop.gm/thanks\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_fields\": [\"Pickup date\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`The response includes the URL to share:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,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:`13`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed46f172-0c9e-4d53-862d-0afbb85d6f88\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"single-charge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Wax print dress\"`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3500`}),_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:`\"GMD\"`}),_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:` \"custom_fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pickup date\"`}),_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:` \"unique_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aa57aa1a28655934…\"`}),_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://test.checkout.modempay.com/pay/aa57aa1a28655934…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"test_mode\"`}),_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-02-13T12:11:17.695Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`manage-links`,children:`Manage links`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`nodejs`,numberOfLines:`11`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Get one`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` link`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modempay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLinks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`retrieve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed46f172-…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Change it, or turn it off`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modempay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLinks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed46f172-…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"inactive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// List all`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` links`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modempay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLinks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`list`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Delete`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` modempay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLinks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`delete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed46f172-…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[`You can update `,_jsx(_components.code,{children:`title`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`amount`}),`, `,_jsx(_components.code,{children:`currency`}),`, `,_jsx(_components.code,{children:`redirect_url`}),`, `,_jsx(_components.code,{children:`cancel_url`}),`, `,_jsx(_components.code,{children:`custom_fields`}),` and `,_jsx(_components.code,{children:`status`}),`. An `,_jsx(_components.code,{children:`inactive`}),` link can’t be paid. Set it back to `,_jsx(_components.code,{children:`active`}),` to reopen it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`know-when-someone-paid`,children:`Know when someone paid`}),`\n`,_jsxs(_components.p,{children:[`Every payment through a link sends a `,_jsx(_components.code,{children:`charge.succeeded`}),` `,_jsx(_components.a,{href:`/documentation/core/webhooks`,children:`webhook`}),`. The payload has `,_jsx(_components.code,{children:`payment_link_id`}),`, so you can tell which link was paid, and `,_jsx(_components.code,{children:`custom_fields_values`}),` with the customer’s answers.`]}),`\n`,_jsx(_components.p,{children:`You can also see every payment for a link in the dashboard.`}),`\n`,_jsx(Heading,{level:`2`,id:`links-intents-or-invoices`,children:`Links, intents or invoices?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Use`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Payment link`})}),_jsx(_components.td,{children:`The same price for many customers, shared by hand.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.a,{href:`/documentation/payment-intents/create`,children:`Payment intent`})})}),_jsx(_components.td,{children:`One payment for one order, created by your server.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.a,{href:`/billing/invoices/introduction`,children:`Invoice`})})}),_jsx(_components.td,{children:`A bill for one customer, with line items, a due date and reminders.`})]})]})]})]})}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":"Payment links","description":"A link you share anywhere. Customers open it and pay. No website or code needed.","href":"/documentation/core/payment-links"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you can set","slug":"what-you-can-set","depth":2,"children":[]},{"title":"Create a link","slug":"create-a-link","depth":2,"children":[]},{"title":"Manage links","slug":"manage-links","depth":2,"children":[]},{"title":"Know when someone paid","slug":"know-when-someone-paid","depth":2,"children":[]},{"title":"Links, intents or invoices?","slug":"links-intents-or-invoices","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"modem","siteName":"Modem Pay","title":"Payment links - Modem Pay","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T14:06:29.602Z","originalFileLocation":"documentation/core/payment-links.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=\"A link you share anywhere. Customers open it and pay. No website or code needed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Modem Pay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_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/modem/9S6xKPPgd1tjvN3Y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Payment links - Modem Pay\">\u003cmeta data-mint-head property=\"og:description\" content=\"A link you share anywhere. Customers open it and pay. No website or code needed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Modem Pay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.modempay.com/documentation/core/payment-links\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://modem.mintlify.site/_mintlify/api/og/v2?division=Accept+payments\u0026amp;title=Payment+links\u0026amp;description=A+link+you+share+anywhere.+Customers+open+it+and+pay.+No+website+or+code+needed.\u0026amp;theme=8b63399a521ea05c9a774dec\u0026amp;signature=7506f2291f02871c0f9048c18d1a80497b76ff6cc7f9e3d622d915b411da6960\">\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=\"Payment links - Modem Pay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A link you share anywhere. Customers open it and pay. No website or code needed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://modem.mintlify.site/_mintlify/api/og/v2?division=Accept+payments\u0026amp;title=Payment+links\u0026amp;description=A+link+you+share+anywhere.+Customers+open+it+and+pay.+No+website+or+code+needed.\u0026amp;theme=8b63399a521ea05c9a774dec\u0026amp;signature=7506f2291f02871c0f9048c18d1a80497b76ff6cc7f9e3d622d915b411da6960\">\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/modem/9S6xKPPgd1tjvN3Y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Modem Pay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#08a591\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.modempay.com/documentation/core/payment-links\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/core/payment-links.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.modempay.com/#organization\",\"name\":\"Modem Pay\",\"url\":\"https://docs.modempay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/modem/yM7VtPyYTpEqFm00/logo/logo.png?fit=max\u0026auto=format\u0026n=yM7VtPyYTpEqFm00\u0026q=85\u0026s=583edb50d45d5f0c7c7cfe8bed561521\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.modempay.com#website\",\"name\":\"Modem Pay\",\"url\":\"https://docs.modempay.com\",\"publisher\":{\"@id\":\"https://docs.modempay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.modempay.com/documentation/core/payment-links#webpage\",\"url\":\"https://docs.modempay.com/documentation/core/payment-links\",\"name\":\"Payment links\",\"description\":\"A link you share anywhere. Customers open it and pay. No website or code needed.\",\"dateModified\":\"2026-11-13T14:06:29.602Z\",\"isPartOf\":{\"@id\":\"https://docs.modempay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.modempay.com/documentation/core/payment-links#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.modempay.com/documentation/core/payment-links#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accept payments\",\"item\":\"https://docs.modempay.com/documentation/payments/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Payment links\",\"item\":\"https://docs.modempay.com/documentation/core/payment-links\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.modempay.com/documentation/core/payment-links#article\",\"headline\":\"Payment links\",\"name\":\"Payment links\",\"description\":\"A link you share anywhere. Customers open it and pay. No website or code needed.\",\"url\":\"https://docs.modempay.com/documentation/core/payment-links\",\"mainEntityOfPage\":{\"@id\":\"https://docs.modempay.com/documentation/core/payment-links#webpage\"},\"dateModified\":\"2026-11-13T14:06:29.602Z\",\"publisher\":{\"@id\":\"https://docs.modempay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.modempay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Modem Pay\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Modem Pay\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/documentation/core/payment-links.md","siteName":"Modem Pay","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"Modem Pay documentation","sidebarTitle":"Introduction","href":"/documentation/introduction"},{"title":"Quickstart","href":"/documentation/quickstart"},{"title":"SDKs and libraries","sidebarTitle":"SDKs","href":"/documentation/installation"},{"title":"API keys","href":"/documentation/authentication"},{"title":"Test mode and going live","sidebarTitle":"Test mode and going live","href":"/documentation/test-mode"},{"title":"Errors","href":"/documentation/errors"}]},{"group":"Developer tools","pages":[{"title":"Modem Pay CLI","href":"/documentation/cli"}]},{"group":"Accept payments","pages":[{"title":"Choose an integration","description":"Five ways to accept payments, from no code at all to full control.","href":"/documentation/payments/overview"},{"title":"Payment links","href":"/documentation/core/payment-links"},{"title":"Pay button","description":"One HTML tag adds a Modem Pay button to any page. No build step, no framework.","href":"/documentation/payments/drop-in"},{"title":"Checkout pop-up","href":"/documentation/payments/modem-inline"},{"title":"HTML Checkout","href":"/documentation/payments/html-checkout"},{"title":"Your own checkout","href":"/documentation/payments/custom"}]},{"group":"Payment intents","pages":[{"title":"Payment intents","sidebarTitle":"Overview","href":"/documentation/payment-intents/overview"},{"title":"Create a payment intent","sidebarTitle":"Create","href":"/documentation/payment-intents/create"},{"title":"Direct charge","href":"/documentation/payment-intents/direct-charge"},{"title":"Check, list and cancel","href":"/documentation/payment-intents/management"},{"title":"Callback URL","href":"/documentation/payment-intents/callback_url"},{"title":"Refunds","href":"/documentation/payment-intents/refund"}]},{"group":"Customers and discounts","pages":[{"title":"Customers","href":"/documentation/core/customers"},{"title":"Mandates","href":"/documentation/core/mandates"},{"title":"Coupons","href":"/documentation/core/coupons"}]},{"group":"Send money","pages":[{"title":"Payouts","sidebarTitle":"Overview","href":"/documentation/payouts/overview"},{"title":"Send a mobile money payout","sidebarTitle":"Mobile money","href":"/documentation/payouts/mobile-money"},{"title":"Send a bank payout","sidebarTitle":"Bank","href":"/documentation/payouts/bank"},{"title":"Bulk payouts","sidebarTitle":"Bulk payouts","href":"/documentation/payouts/bulk-payout"},{"title":"Payout channels","sidebarTitle":"Payout channels","href":"/documentation/payouts/payout-channels"},{"title":"Payout fees","sidebarTitle":"Fees","href":"/documentation/payouts/fees"},{"title":"Daily limits and queued payouts","sidebarTitle":"Daily limits","href":"/documentation/payouts/daily-limits"},{"title":"Reverse a payout","href":"/documentation/payouts/reversals"}]},{"group":"Split payments","pages":[{"title":"Split payments","sidebarTitle":"Overview","href":"/documentation/split-payments/overview"},{"title":"Sub-accounts","href":"/documentation/split-payments/sub-accounts"},{"title":"Sub-account groups","href":"/documentation/split-payments/sub-account-groups"},{"title":"Split a payment","href":"/documentation/split-payments/initialize-payment"}]},{"group":"In person","pages":[{"title":"Virtual terminals","href":"/documentation/virtual-terminal"}]},{"group":"Your money","pages":[{"title":"Balances","href":"/documentation/core/balances"},{"title":"Transactions","href":"/documentation/core/transactions"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/documentation/core/webhooks"}]}]},{"tab":"Billing","pages":[{"title":"Billing","href":"/billing/invoices/introduction"}]},{"tab":"Plugins and frameworks","pages":[{"title":"Plugins and frameworks","href":"/laravel/quickstart"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/create-a-payment-intent"}]}]},"basePath":"","title":"Payment links - Modem Pay","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":[],"chunks":[]}