Customer email used to send proof of payment, or payment reminders
integer
required
Nominal amount of payment
string
required
Customer telephone number
string
required
The destination URL where the customer will be redirected after a successful or completed transaction.
string
required
General description of the transaction or order.
string (format ISO 8601 date-time)
required
The transaction expiration date and time. This means that after this time, the payment link or order is no longer valid.
string<uuid>
required
A unique identifier obtained when creating an single request payment. If accessed through the dashboard, it can be found at the URL on the request payment details page.Example:e890d24a-cfc0-4915-83d2-3166b9ffba9e
Response
Successful Response
Main Structure (Root)
integer
Status code form API.
string
Status message that describes the status code.
array of object
The main data returned (request payment details).
data Structure (Array Of Object)
string<uuid>
Unique request payment ID.
string
The URL that users/clients can access to open request payment.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mayar Documentation","colors":{"primary":"#0951EF","light":"#0951EF","dark":"#0951EF"},"logo":{"light":"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947","dark":"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947"},"favicon":"https://mintcdn.com/mayar/0UzVXeqvBE-guUyn/favicon.svg?fit=max\u0026auto=format\u0026n=0UzVXeqvBE-guUyn\u0026q=85\u0026s=0f05f8fa290cfb16bf54670519f5b1d8","navbar":{"links":[{"href":"mailto:info@mayar.id","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://web.mayar.id/"}},"footer":{"socials":{"x":"https://x.com/mayar_id_","instagram":"https://www.instagram.com/mayar_id"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"telegram","href":"https://t.me/mcngroup"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.mayar.id/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mayar","hasAudioNarration":false,"actualSubdomain":"mayar","customDomains":["docs.mayar.id"],"gitSource":{"type":"github","owner":"moerdowo","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{},"buildId":"6ae4546bbfaae13da36a806d","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"API V2 Reference","count":85},{"language":"default","tag":"API V1 Reference","count":66},{"language":"default","tag":"Guides","count":54},{"language":"default","tag":"Features","count":21},{"language":"default","tag":"Product Page Types","count":19},{"language":"default","tag":"Products \u0026 payment links","count":16},{"language":"default","tag":"Invoice","count":12},{"language":"default","tag":"Product","count":11},{"language":"default","tag":"Customer","count":10},{"language":"default","tag":"Reviews","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/reqpayment/edit","slug":"/api-reference/reqpayment/edit","pageMetadata":{"title":"Edit Single Payment Request","openapi":"POST /endpointqrpayment/edit","description":"Endpoint used to edit billing that has been created","href":"/api-reference/reqpayment/edit"},"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: \"Endpoint used to edit billing that has been created\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Endpoint:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Production`,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.id/hl/v1/payment/edit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Sandbox`,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.io/hl/v1/payment/edit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsxs(ResponseField,{name:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`Authorization | Bearer Paste-Your-API-Key-Here`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Customer Name`})}),`\n`,_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Customer email used to send proof of payment, or payment reminders`})}),`\n`,_jsx(ParamField,{path:`amount`,type:`integer`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Nominal amount of payment`})}),`\n`,_jsx(ParamField,{path:`mobile`,type:`string`,required:true,id:`param-mobile`,children:_jsx(_components.p,{children:`Customer telephone number`})}),`\n`,_jsx(ParamField,{path:`redirectURL`,type:`string`,required:true,id:`param-redirect-url`,children:_jsx(_components.p,{children:`The destination URL where the customer will be redirected after a successful or completed transaction.`})}),`\n`,_jsx(ParamField,{path:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`General description of the transaction or order.`})}),`\n`,_jsx(ParamField,{path:`expiredAt`,type:`string (format ISO 8601 date-time)`,required:true,id:`param-expired-at`,children:_jsx(_components.p,{children:`The transaction expiration date and time. This means that after this time, the payment link or order is no longer valid.`})}),`\n`,_jsxs(ParamField,{path:`id`,type:`string\u003cuuid>`,required:true,id:`param-id`,children:[_jsx(_components.p,{children:`A unique identifier obtained when creating an single request payment. If accessed through the dashboard, it can be found at the URL on the request payment details page.`}),_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`e890d24a-cfc0-4915-83d2-3166b9ffba9e`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Successful Response`}),`\n`,_jsx(Heading,{level:`3`,id:`main-structure-root`,children:`Main Structure (Root)`}),`\n`,_jsx(ResponseField,{name:`statusCode`,type:`integer`,id:`param-status-code`,children:_jsx(_components.p,{children:`Status code form API.`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`string`,id:`param-messages`,children:_jsx(_components.p,{children:`Status message that describes the status code.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`array of object`,id:`param-data`,children:_jsx(_components.p,{children:`The main data returned (request payment details).`})}),`\n`,_jsx(Heading,{level:`3`,id:`data-structure-array-of-object`,children:`data Structure (Array Of Object)`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique request payment ID.`})}),`\n`,_jsx(ResponseField,{name:`link`,type:`string`,id:`param-link`,children:_jsx(_components.p,{children:`The URL that users/clients can access to open request payment.`})})]})}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":"Edit Single Payment Request","openapi":"POST /endpointqrpayment/edit","description":"Endpoint used to edit billing that has been created","href":"/api-reference/reqpayment/edit"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request Example`,numberOfLines:`14`,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:`14`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.mayar.id/hl/v1/invoice/create'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer Paste-Your-API-Key-Here'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data-raw `}),_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:` \"name\": \"Azumii\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"azumiikecee@gmail.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 100000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mobile\": \"089961367511\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"redirectUrl\": \"https://web.mayar.id.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Ubah ReqPayment\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expiredAt\": \"2025-12-29T09:41:09.401Z\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"e890d24a-cfc0-4915-83d2-3166b9ffba9e\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response Example 200`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_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:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e890d24a-cfc0-4915-83d2-3166b9ffba9e\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://testingmayar.myr.id/invoices/ohsjrd3wko\"`})]}),`\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(_components.p,{children:`Endpoint:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Production`,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.id/hl/v1/payment/edit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Sandbox`,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.mayar.io/hl/v1/payment/edit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsxs(ResponseField,{name:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`Authorization | Bearer Paste-Your-API-Key-Here`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Customer Name`})}),`\n`,_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Customer email used to send proof of payment, or payment reminders`})}),`\n`,_jsx(ParamField,{path:`amount`,type:`integer`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Nominal amount of payment`})}),`\n`,_jsx(ParamField,{path:`mobile`,type:`string`,required:true,id:`param-mobile`,children:_jsx(_components.p,{children:`Customer telephone number`})}),`\n`,_jsx(ParamField,{path:`redirectURL`,type:`string`,required:true,id:`param-redirect-url`,children:_jsx(_components.p,{children:`The destination URL where the customer will be redirected after a successful or completed transaction.`})}),`\n`,_jsx(ParamField,{path:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`General description of the transaction or order.`})}),`\n`,_jsx(ParamField,{path:`expiredAt`,type:`string (format ISO 8601 date-time)`,required:true,id:`param-expired-at`,children:_jsx(_components.p,{children:`The transaction expiration date and time. This means that after this time, the payment link or order is no longer valid.`})}),`\n`,_jsxs(ParamField,{path:`id`,type:`string\u003cuuid>`,required:true,id:`param-id`,children:[_jsx(_components.p,{children:`A unique identifier obtained when creating an single request payment. If accessed through the dashboard, it can be found at the URL on the request payment details page.`}),_jsx(_components.p,{children:`Example:`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`e890d24a-cfc0-4915-83d2-3166b9ffba9e`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Successful Response`}),`\n`,_jsx(Heading,{level:`3`,id:`main-structure-root`,children:`Main Structure (Root)`}),`\n`,_jsx(ResponseField,{name:`statusCode`,type:`integer`,id:`param-status-code`,children:_jsx(_components.p,{children:`Status code form API.`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`string`,id:`param-messages`,children:_jsx(_components.p,{children:`Status message that describes the status code.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`array of object`,id:`param-data`,children:_jsx(_components.p,{children:`The main data returned (request payment details).`})}),`\n`,_jsx(Heading,{level:`3`,id:`data-structure-array-of-object`,children:`data Structure (Array Of Object)`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string\u003cuuid>`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique request payment ID.`})}),`\n`,_jsx(ResponseField,{name:`link`,type:`string`,id:`param-link`,children:_jsx(_components.p,{children:`The URL that users/clients can access to open request payment.`})})]})}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":"Edit Single Payment Request","openapi":"POST /endpointqrpayment/edit","description":"Endpoint used to edit billing that has been created","href":"/api-reference/reqpayment/edit"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorization","slug":"authorization","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Main Structure (Root)","slug":"main-structure-root","depth":3,"children":[]},{"title":"data Structure (Array Of Object)","slug":"data-structure-array-of-object","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request Example","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.mayar.id/hl/v1/invoice/create'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer Paste-Your-API-Key-Here'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--data-raw \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Azumii\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"email\": \"azumiikecee@gmail.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"amount\": 100000,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"mobile\": \"089961367511\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"redirectUrl\": \"https://web.mayar.id.\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"description\": \"Ubah ReqPayment\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"expiredAt\": \"2025-12-29T09:41:09.401Z\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"id\": \"e890d24a-cfc0-4915-83d2-3166b9ffba9e\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response Example 200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"e890d24a-cfc0-4915-83d2-3166b9ffba9e\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"link\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://testingmayar.myr.id/invoices/ohsjrd3wko\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"mayar","siteName":"Mayar Documentation","title":"Edit Single Payment Request - Mayar Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T08:25:24.566Z","originalFileLocation":"api-reference/reqpayment/edit.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=\"Endpoint used to edit billing that has been created\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mayar Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_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/mayar/WdY3xX5J9wtqzNtE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit Single Payment Request - Mayar Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Endpoint used to edit billing that has been created\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mayar Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mayar.id/api-reference/reqpayment/edit\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mayar.mintlify.site/_mintlify/api/og/v2?division=Request+Payment\u0026amp;title=Edit+Single+Payment+Request\u0026amp;description=Endpoint+used+to+edit+billing+that+has+been+created\u0026amp;theme=25038b7961e565fa0edc663b\u0026amp;signature=30d9bb1b69b4b4cb29879dd5dfa16933563c93e1a14bbbe274a9a924ba2815ac\">\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=\"Edit Single Payment Request - Mayar Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Endpoint used to edit billing that has been created\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mayar.mintlify.site/_mintlify/api/og/v2?division=Request+Payment\u0026amp;title=Edit+Single+Payment+Request\u0026amp;description=Endpoint+used+to+edit+billing+that+has+been+created\u0026amp;theme=25038b7961e565fa0edc663b\u0026amp;signature=30d9bb1b69b4b4cb29879dd5dfa16933563c93e1a14bbbe274a9a924ba2815ac\">\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/mayar/WdY3xX5J9wtqzNtE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mayar Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0951EF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mayar.id/api-reference/reqpayment/edit\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/reqpayment/edit.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mayar.id/#organization\",\"name\":\"Mayar Documentation\",\"url\":\"https://docs.mayar.id\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mayar/gxUm6zKdSg2aFxK8/logo/logo.png?fit=max\u0026auto=format\u0026n=gxUm6zKdSg2aFxK8\u0026q=85\u0026s=e4dc0f0e109f6b863b80a32a57b8a947\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mayar.id#website\",\"name\":\"Mayar Documentation\",\"url\":\"https://docs.mayar.id\",\"publisher\":{\"@id\":\"https://docs.mayar.id/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mayar.id/api-reference/reqpayment/edit#webpage\",\"url\":\"https://docs.mayar.id/api-reference/reqpayment/edit\",\"name\":\"Edit Single Payment Request\",\"description\":\"Endpoint used to edit billing that has been created\",\"dateModified\":\"2026-10-30T08:25:24.566Z\",\"isPartOf\":{\"@id\":\"https://docs.mayar.id#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mayar.id/api-reference/reqpayment/edit#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mayar.id/api-reference/reqpayment/edit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Request Payment\",\"item\":\"https://docs.mayar.id/api-reference/reqpayment/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edit Single Payment Request\",\"item\":\"https://docs.mayar.id/api-reference/reqpayment/edit\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mayar.id/api-reference/reqpayment/edit#apireference\",\"headline\":\"Edit Single Payment Request\",\"name\":\"Edit Single Payment Request\",\"description\":\"Endpoint used to edit billing that has been created\",\"url\":\"https://docs.mayar.id/api-reference/reqpayment/edit\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mayar.id/api-reference/reqpayment/edit#webpage\"},\"dateModified\":\"2026-10-30T08:25:24.566Z\",\"publisher\":{\"@id\":\"https://docs.mayar.id/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mayar.id#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mayar Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mayar Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/reqpayment/edit.md","siteName":"Mayar Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"telegram","href":"https://t.me/mcngroup"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.mayar.id/"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API V1 Reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Status Code","href":"/api-reference/statuscode"},{"title":"API Rate Limit","href":"/api-reference/rate-limit"}]},{"group":"Product","pages":[{"title":"Get Product Page","openapi":"GET /endpointproduct/productpage","href":"/api-reference/product/productpage"},{"title":"Get Product Page with Type Filter","openapi":"GET /endpointproduct/productpagewithfilter","href":"/api-reference/product/productpagewithfilter"},{"title":"Search Product","openapi":"GET /endpointproduct/search","href":"/api-reference/product/search"},{"title":"Get Detail Product","openapi":"GET /endpointproduct/detail","href":"/api-reference/product/detail"},{"title":"Close Product","openapi":"GET /endpointproduct/close","href":"/api-reference/product/close"},{"title":"Re-open Product","openapi":"GET /endpointproduct/reopen","href":"/api-reference/product/reopen"}]},{"group":"Generic Link Product","pages":[{"title":"Create Generic Link","openapi":"POST /endpointgenericlink/create","href":"/api-reference/genericlink/create"},{"title":"Edit Generic Link","openapi":"POST /endpointgenericlink/create","href":"/api-reference/genericlink/edit"}]},{"group":"Digital Product","pages":[{"title":"Create Digital Product","openapi":"POST /endpointdigitalproduct/create","href":"/api-reference/digitalproduct/create"},{"title":"Edit Digital Product","openapi":"POST /endpointdigitalproduct/edit","href":"/api-reference/digitalproduct/edit"}]},{"group":"Webinar Product","pages":[{"title":"Create Webinar","openapi":"POST /endpointwebinar/create","href":"/api-reference/webinar/create"},{"title":"Edit Webinar","openapi":"POST /endpointwebinar/edit","href":"/api-reference/webinar/edit"}]},{"group":"Event Product","pages":[{"title":"Create Event","openapi":"POST /endpointevent/create","href":"/api-reference/event/create"},{"title":"Edit Event","openapi":"POST /endpointevent/edit","href":"/api-reference/event/edit"}]},{"group":"Invoice","pages":[{"title":"Create Invoice","openapi":"POST /endpointinvoice/create","href":"/api-reference/invoice/create"},{"title":"Edit Invoice","openapi":"POST /endpointinvoice/edit","href":"/api-reference/invoice/edit"},{"title":"Get List Invoice","openapi":"GET /endpointinvoice/index","href":"/api-reference/invoice/index"},{"title":"Get Sort / Filter Invoice","openapi":"GET /endpointinvoice/filter","href":"/api-reference/invoice/filter"},{"title":"Get Detail / Invoice Status","openapi":"GET /endpointinvoice/detail","href":"/api-reference/invoice/detail"},{"title":"Close Invoice","openapi":"GET /endpointinvoice/close","href":"/api-reference/invoice/close"},{"title":"Re-open Invoice","openapi":"GET /endpointinvoice/reopen","href":"/api-reference/invoice/reopen"}]},{"group":"Request Payment","pages":[{"title":"Create Single Payment Request","openapi":"POST /endpointqrpayment/create","description":"Endpoint used to create single payment request","href":"/api-reference/reqpayment/create"},{"title":"Edit Single Payment Request","openapi":"POST /endpointqrpayment/edit","href":"/api-reference/reqpayment/edit"},{"title":"Get List Single Payment Request","openapi":"GET /endpointqrpayment/index","description":"Endpoint used to view details of the number of single payment request that have been created","href":"/api-reference/reqpayment/index"},{"title":"Get Sort / Filter Single Payment Request Page","openapi":"GET /endpointqrpayment/filter","href":"/api-reference/reqpayment/filter"},{"title":"Get Detail Single Payment Request","openapi":"GET /endpointqrpayment/detail","href":"/api-reference/reqpayment/detail"},{"title":"Close Single Payment Request","openapi":"GET /endpointqrpayment/close","href":"/api-reference/reqpayment/close"},{"title":"Re-open Single Payment Request","openapi":"GET /endpointqrpayment/reopen","href":"/api-reference/reqpayment/reopen"}]},{"group":"Installment","pages":[{"title":"POST Create Installment","openapi":"POST /endpointinstallment/create","href":"/api-reference/installment/create"},{"title":"Get Installment Detail","openapi":"GET /endpointinstallment/detail","href":"/api-reference/installment/detail"}]},{"group":"Discount \u0026 Coupon","pages":[{"title":"Create Discount with Coupon","openapi":"POST /endpointdiscount/create","href":"/api-reference/discount/create"},{"title":"Validate Coupon","openapi":"POST /endpointdiscount/validate","href":"/api-reference/discount/validate"},{"title":"Get Coupon Detail","openapi":"GET /endpointdiscount/detail","href":"/api-reference/discount/detail"}]},{"group":"Customer","pages":[{"title":"Get Customer","openapi":"GET /endpointcustomer/getdetail","href":"/api-reference/customer/getdetail"},{"title":"Search Customer By Email","openapi":"GET /endpointcustomer/searchcustomerbyemail","href":"/api-reference/customer/searchcustomerbyemail"},{"title":"Create Customer","openapi":"POST /endpointcustomer/create","href":"/api-reference/customer/create"},{"title":"Update Customer Email","openapi":"POST /endpointcustomer/update","href":"/api-reference/customer/update"},{"title":"Create Magic Link","openapi":"POST /endpointcustomer/createmagiclink","href":"/api-reference/customer/createmagiclink"}]},{"group":"Transaction","pages":[{"title":"Get Account Balance","openapi":"GET /endpointtransaction/accountbalance","href":"/api-reference/transaction/accountbalance"},{"title":"Get Paid Transactions","openapi":"GET /endpointtransaction/paidtransaction","href":"/api-reference/transaction/paidtransaction"},{"title":"Get Unpaid Transaction","openapi":"GET /endpointtransaction/unpaidtransaction","href":"/api-reference/transaction/unpaidtransaction"},{"title":"Transaction Daily","openapi":"GET /endpointtransactions/daily","href":"/api-reference/transaction/dailytransaction"},{"title":"Create Dynamic QRCode","openapi":"POST /endpointtransaction/createdynamicqrcode","href":"/api-reference/transaction/createdynamicqrcode"}]},{"group":"Webhook","pages":[{"title":"Get History","openapi":"GET /endpointwebhook/history","href":"/api-reference/webhook/history"},{"title":"Register URL Hook","openapi":"POST /endpointwebhook/registerurlhook","href":"/api-reference/webhook/registerurlhook"},{"title":"Test URL Hook","openapi":"POST /endpointwebhook/testurlhook","href":"/api-reference/webhook/testurlhook"},{"title":"Retry History","openapi":"POST /endpointwebhook/retryhistory","href":"/api-reference/webhook/retryhistory"}]},{"group":"Software License Code","pages":[{"title":"Verify License","openapi":"POST /endpointlicensecode/verifylicense","href":"/api-reference/licensecode/verifylicense"}]},{"group":"Membership (SaaS)","pages":[{"title":"Verify License SaaS Subscription","openapi":"POST /endpointqrsaas/verify","href":"/api-reference/saas/verify"},{"title":"Activate License","openapi":"POST /endpointqrsaas/activate","href":"/api-reference/saas/activate"},{"title":"Deactivate License","openapi":"POST /endpointqrsaas/deactivate","href":"/api-reference/saas/deactivate"}]},{"group":"Membership (Credit)","pages":[{"title":"Get Customer Balance","openapi":"GET /endpointusagebasedmembership/","href":"/api-reference/usagebasedmembership/customerbalance"},{"title":"Get Paginate Customer Credit History","openapi":"Get /endpointusagebasedmembership/","href":"/api-reference/usagebasedmembership/paginatecustomercredithistory"},{"title":"Spend Customer Credit","openapi":"POST /endpointusagebasedmembership/","href":"/api-reference/usagebasedmembership/spendcustomercredit"},{"title":"Add Customer Credit","openapi":"POST /endpointusagebasedmembership/","href":"/api-reference/usagebasedmembership/addcustomercredit"},{"title":"Regist New Membership Customer","openapi":"POST /endpointusagebasedmembership/","href":"/api-reference/usagebasedmembership/registnewmembershipcustomer"}]},{"group":"Credit Based Product","pages":[{"title":"Get Customer Balance","openapi":"GET /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/customerbalance"},{"title":"Get Paginate Customer Credit History","openapi":"GET /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/paginatecustomercredithistory"},{"title":"Spend Customer Credit","openapi":"POST /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/spendcustomercredit"},{"title":"Add Customer Credit","openapi":"POST /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/addcustomercredit"},{"title":"Regist New Customer","openapi":"POST /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/registernewcustomer"},{"title":"Generate Immutable Checkout Link","openapi":"POST /endpointcreditbasedproduct/","href":"/api-reference/creditbasedproduct/generateimmutablecheckoutlink"}]},{"group":"Reviews","pages":[{"title":"Get All Reviews","openapi":"GET /endpointreviews","href":"/api-reference/reviews/getallreviews"}]}]},{"tab":"API V2 Reference","pages":[{"title":"API V2 Reference","href":"/api-reference-v2/introduction"}]}]},"basePath":"","title":"Edit Single Payment Request - Mayar Documentation","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["2b790eda92","b0f84f53ff"],"chunks":["ApiExamples-DrqwMm0N.js","usePlaygroundInputsStore-HwhVROcI.js","shallow-CE0cbB33.js","utils-CL8e03UA.js","utils--9e24gKv.js","isEqual-XgMGHHxA.js","_Uint8Array-CSzKbEgF.js","isObject-FP1Yky1u.js","CodeSnippets-DeoWIzOC.js","CodeSnippet-nteBoAUV.js","snippetPresets-C-jpv5v8.js","style-to-object-BY3JEAdk.js","use-playground-group-access-YOcO7c2y.js","cloneDeep-C2_HxuTC.js","v4-DIgz8zy6.js","Page-B_BHXdim.js","api-description-markdown-CQA9NkQd.js","DynamicMarkdown-DpB7I7uN.js","SectionHeading-CW6J1gzG.js","conditional-requirements-CFM0id0Q.js","addTypeLabelsToSchema-O60MhfkU.js","MethodPill-CaKMlCid.js","getPastedJson-Dkd8F-mU.js","Check2Icon-DLlJR2en.js","axios-CsQoIw0U.js"]}