{
"gid": "gl_9c2645ed09edb22e",
"status": "REQUEST_ERROR",
"message": "Authentication failed, please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-400-001",
"data": {},
"errors": {
"detailedMessage": "Authentication failed, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
{
"gid": "gl_9c2645ed09edb22e",
"status": "BLACKLIST_MATCH",
"message": "You are not allowed to onboard on this platform. Please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-403-001",
"data": {},
"errors": {
"detailedMessage": "You are not allowed to onboard on this platform, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
{
"gid": "gl_9c2645ed09edb22e",
"status": "REQUEST_ERROR",
"message": "Authentication failed, please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-400-001",
"data": {},
"errors": {
"detailedMessage": "Authentication failed, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
GPI (PayGlocal Payment Initiate) is the API call that starts a PayDirect payment. You send transaction and card (or token) data in one request; PayGlocal returns a gid and a redirectUrl. Send the customer to that URL to complete 3DS, then read the outcome from your callback or the status API.
Recommended for fraud checks and processor compliance.
Show child attributes
Response
Returned immediately from initiate. Redirect the customer to data.redirectUrl, then poll data.statusUrl or Get Transaction Status. A successful GPI card sale usually reaches SENT_FOR_CAPTURE. No mandateId in data.
Response envelope for PayDirect initiate (200). GPI and auth-only — data does not include mandateId.
No fields in this envelope are marked required.
data on a successful PayDirect initiate (200). GPI and auth-only responses use this shape (no mandateId).
No response fields are marked required — typical GPI payloads include redirectUrl, statusUrl, and merchantTxnId.
{
"gid": "gl_9c2645ed09edb22e",
"status": "REQUEST_ERROR",
"message": "Authentication failed, please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-400-001",
"data": {},
"errors": {
"detailedMessage": "Authentication failed, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
{
"gid": "gl_9c2645ed09edb22e",
"status": "BLACKLIST_MATCH",
"message": "You are not allowed to onboard on this platform. Please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-403-001",
"data": {},
"errors": {
"detailedMessage": "You are not allowed to onboard on this platform, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
{
"gid": "gl_9c2645ed09edb22e",
"status": "REQUEST_ERROR",
"message": "Authentication failed, please contact support.",
"timestamp": "10/01/2026 15:00:00",
"reasonCode": "GL-400-001",
"data": {},
"errors": {
"detailedMessage": "Authentication failed, please contact support.",
"displayMessage": "Something went wrong. We'll take you back to checkout so that you can try again."
},
"errorDetails": {}
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"PayGlocal Developers","colors":{"primary":"#1A6FE8","light":"#4A90E8","dark":"#1A6FE8"},"logo":{"light":"https://mintcdn.com/payglocal/FaZ9yajV9xE4tE96/logo/light.png?fit=max\u0026auto=format\u0026n=FaZ9yajV9xE4tE96\u0026q=85\u0026s=ff6c9ee70ae41cb5d27af50dd4b47e95","dark":"https://mintcdn.com/payglocal/FaZ9yajV9xE4tE96/logo/dark.png?fit=max\u0026auto=format\u0026n=FaZ9yajV9xE4tE96\u0026q=85\u0026s=3bae3faf50538634894e2ed814540f86"},"favicon":"https://mintcdn.com/payglocal/mu2jYC3KrD1Vx-Ro/logo/favicon.png?fit=max\u0026auto=format\u0026n=mu2jYC3KrD1Vx-Ro\u0026q=85\u0026s=f35e8f20f89ea8d0d60e57e3a2bb46b0","api":{"openapi":["openapi.yaml","openapi-paydirect.yaml","openapi-v2-paycollect-gpi.yaml","openapi-v2-paycollect-si-on-demand.yaml","openapi-v2-paycollect-si-auto-debit.yaml","openapi-v2-paycollect-auth.yaml","openapi-v2-paydirect-gpi.yaml","openapi-v2-paydirect-si-on-demand.yaml","openapi-v2-paydirect-si-auto-debit.yaml","openapi-v2-paydirect-auth.yaml"],"playground":{},"examples":{"languages":["bash","python","java","node"]}},"appearance":{"default":"system"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"mailto:merchant.support@payglocal.in","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.payglocal.in/app/login"}},"footer":{"socials":{"website":"https://payglocal.in"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"payglocal","hasAudioNarration":false,"actualSubdomain":"payglocal","customDomains":["payglocal.in"],"gitSource":{"type":"github","owner":"payglocal-technologies","repo":"payglocal-dev-docs","deployBranch":"merge-guides-keep-master-apiref","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac3501e0ed2cecd996ed3ad","collectionId":"6f6bd427-65fc-4b29-af8d-35c60b18b209","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac3501e0ed2cecd996ed3ad"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac3501e0ed2cecd996ed3ad","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Guides","count":37},{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"Payment APIs","count":21},{"language":"default","tag":"Integration","count":13},{"language":"default","tag":"Partner APIs: Merchant Onboarding","count":11},{"language":"default","tag":"API Integration","count":8},{"language":"default","tag":"Merchant store plugins","count":7},{"language":"default","tag":"Onboarding","count":6},{"language":"default","tag":"Payment Types","count":5},{"language":"default","tag":"Checkout Flow (PayCollect)","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@keyframes payg-pm-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.payments-v2-page.hidden{display:none!important}#api-playground-2-operation-page:has(.payments-v2-after-api),[id^=api-playground]:has(.payments-v2-after-api){display:flex;flex-direction:column}#api-playground-2-operation-page:has(.payments-v2-after-api) .payments-v2-after-api,[id^=api-playground]:has(.payments-v2-after-api) .payments-v2-after-api{order:100;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgb(226 232 240);scroll-margin-top:5rem;width:100%}.dark #api-playground-2-operation-page:has(.payments-v2-after-api) .payments-v2-after-api,.dark [id^=api-playground]:has(.payments-v2-after-api) .payments-v2-after-api{border-top-color:rgb(51 65 85/.55)}.language-bash,.language-java,.language-javascript,.language-json,.language-python,[class*=CodeBlock],[class*=code-block],[class*=prism],code,kbd,pre,pre *,samp{font-family:'Fira Code','Fira Mono',monospace!important;font-variant-ligatures:contextual}.content-container,.prose,[class*=PageLayout] article,[class*=PageLayout] main,[class*=content-container],[class*=contentContainer],[class*=prose]{max-width:1100px!important;width:100%!important}[class*=CardGroup],[class*=card-group]{max-width:100%!important;width:100%!important}table{width:100%!important;font-size:.875rem}table td:first-child code,table th:first-child{white-space:nowrap}table td:nth-child(3){white-space:nowrap;font-size:.8rem}[class*=ParamField]+[class*=ParamField]{margin-top:.25rem}code,pre{max-width:100%;overflow-x:auto}pre{border-radius:8px}[data-callout-type=warning]{border-left:3px solid #f59e0b;background-color:rgba(245,158,11,.06)}[data-callout-type=note]{border-left:3px solid #1a6fe8;background-color:rgba(26,111,232,.05)}[data-callout-type=tip]{border-left:3px solid #10b981;background-color:rgba(16,185,129,.05)}table tbody tr:hover{background-color:rgba(26,111,232,.04);transition:background-color .1s ease}#introduction .card,[data-page=introduction] .card{border:1.5px solid rgba(26,111,232,.15);transition:box-shadow .2s ease,transform .15s ease}#introduction .card:hover,[data-page=introduction] .card:hover{box-shadow:0 4px 20px rgba(26,111,232,.12);transform:translateY(-2px)}[class*=CodeGroup] [role=tablist] button{font-family:'Fira Code',monospace;font-size:.78rem;letter-spacing:.02em}#navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) .sidebar-group-header{display:flex;align-items:center;min-height:2.65rem;margin-top:.65rem;padding:.35rem .65rem .35rem .25rem;border-radius:.5rem;border:1px solid rgb(226 232 240/.95);background:linear-gradient(180deg,rgb(248 250 252/.9),rgb(248 250 252/.15))}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) .sidebar-group-header{border-color:rgb(51 65 85/.55);background:linear-gradient(180deg,rgb(30 41 59/.55),rgb(15 23 42/0))}#navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) .sidebar-group-header h5{font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.25;width:100%}#navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) ul.sidebar-group{margin-bottom:.35rem}#table-of-contents-content.toc{padding-left:.5rem;border-left:1px solid rgb(226 232 240);margin-left:.15rem}.dark #table-of-contents-content.toc{border-left-color:rgb(51 65 85/.65)}#table-of-contents-content.toc .toc-item>a{display:block;line-height:1.35;padding-top:.22rem;padding-bottom:.22rem;border-radius:.25rem}#table-of-contents-content.toc .toc-item[data-depth=\"0\"]>a{margin-top:.45rem;font-size:.8125rem;font-weight:600;letter-spacing:.01em;color:rgb(15 23 42)}.dark #table-of-contents-content.toc .toc-item[data-depth=\"0\"]>a,.dark .payg-plugin-hero .payg-plugin-hero-title{color:rgb(241 245 249)}#table-of-contents-content.toc .toc-item[data-depth=\"1\"]>a{padding-left:.65rem!important;font-size:.78rem;font-weight:500;color:rgb(71 85 105)}.dark #table-of-contents-content.toc .toc-item[data-depth=\"1\"]>a{color:rgb(148 163 184)}#table-of-contents-content.toc .toc-item[data-depth=\"2\"]>a,#table-of-contents-content.toc .toc-item[data-depth=\"3\"]>a{padding-left:1.1rem!important;font-size:.74rem;font-weight:400;color:rgb(100 116 139)}.dark #table-of-contents-content.toc .toc-item[data-depth=\"2\"]>a,.dark #table-of-contents-content.toc .toc-item[data-depth=\"3\"]>a{color:rgb(148 163 184/.95)}#table-of-contents-content.toc .toc-item a.text-primary{color:var(--primary, #1a6fe8)!important;font-weight:600}@media (min-width:1024px){#table-of-contents>button{width:100%;text-align:left;font-weight:600;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:rgb(100 116 139);cursor:default;padding:.15rem 0 .45rem .5rem;margin-left:.15rem;border-bottom:1px solid rgb(226 232 240/.95);margin-bottom:.35rem}.dark #table-of-contents>button{color:rgb(148 163 184);border-bottom-color:rgb(51 65 85/.7)}}.payg-btn-primary{background:linear-gradient(90deg,#6366f1,#7c3aed)}.payg-btn-primary:hover{filter:brightness(1.05)}.payg-path-card{transition:box-shadow .15s ease,border-color .15s ease}.payg-path-card:hover{box-shadow:0 8px 28px rgba(26,111,232,.12);border-color:rgba(26,111,232,.25)}.payg-prose-callout{border:1px solid rgb(226 232 240)}.dark .payg-kp,.dark .payg-prose-callout{border-color:rgb(51 65 85/.55)}.payg-flow-rail{box-shadow:0 1px 2px rgba(15,23,42,.04)}.payg-kp{border-radius:.65rem;border:1px solid rgb(226 232 240);background:rgb(248 250 252);padding:.85rem 1rem}.dark .payg-kp{background:rgb(15 23 42/.45)}.payg-band-init{background:linear-gradient(90deg,rgb(237 233 254),rgb(239 246 255));border:1px solid rgb(199 210 254/.7)}.dark .payg-band-init{background:linear-gradient(90deg,rgb(49 46 129/.35),rgb(30 58 138/.25));border-color:rgb(99 102 241/.35)}.payg-band-txn{background:linear-gradient(90deg,rgb(255 247 237),rgb(254 252 232));border:1px solid rgb(253 186 116/.45)}.dark .payg-band-txn{background:linear-gradient(90deg,rgb(124 45 18/.25),rgb(113 63 18/.2));border-color:rgb(251 146 60/.25)}h2#payment-types-api-map{margin-top:2.5rem;margin-bottom:.5rem;padding:.85rem 1.1rem;border-radius:.65rem;border:1px solid rgb(199 210 254/.85);background:linear-gradient(135deg,rgb(238 242 255),rgb(239 246 255));font-size:1.15rem;letter-spacing:.02em}.dark h2#payment-types-api-map{border-color:rgb(99 102 241/.35);background:linear-gradient(135deg,rgb(30 27 75/.45),rgb(15 23 42/.6))}.payg-api-map-intro{padding:.75rem 1rem;border-radius:.5rem;border:1px solid rgb(226 232 240);background:rgb(255 255 255/.85)}.dark .payg-api-map-intro{border-color:rgb(51 65 85/.55);background:rgb(15 23 42/.35)}.payg-pm-rail-nest{animation:payg-pm-fade-in .25s ease}.payg-pm-inner-scroll{scrollbar-gutter:stable}.payg-pm-inner-scroll::-webkit-scrollbar{width:8px}.payg-pm-inner-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:rgb(148 163 184/.55)}.dark .payg-pm-inner-scroll::-webkit-scrollbar-thumb{background:rgb(71 85 105/.65)}.payg-pm-api-map-title{margin-top:2.5rem;margin-bottom:.5rem;padding:.85rem 1.1rem;border-radius:.65rem;border:1px solid rgb(199 210 254/.85);background:linear-gradient(135deg,rgb(238 242 255),rgb(239 246 255));font-size:1.15rem;letter-spacing:.02em}.dark .payg-pm-api-map-title{border-color:rgb(99 102 241/.35);background:linear-gradient(135deg,rgb(30 27 75/.45),rgb(15 23 42/.6))}.payg-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.payg-plugin-hero{margin-bottom:1.75rem;border-radius:1rem;border:1px solid rgb(199 210 254/.85);background:linear-gradient(135deg,rgb(238 242 255) 0,rgb(224 242 254) 45%,rgb(254 249 195/.35) 100%);padding:1.35rem 1.5rem;box-shadow:0 4px 24px rgba(79,70,229,.08)}.dark .payg-plugin-hero{border-color:rgb(99 102 241/.35);background:linear-gradient(135deg,rgb(30 27 75/.55) 0,rgb(15 23 42/.75) 50%,rgb(113 63 18/.15) 100%);box-shadow:0 4px 24px rgba(0,0,0,.25)}.payg-plugin-hero .payg-plugin-hero-title,.payg-plugin-hero h1{margin:0 0 .35rem;font-size:1.35rem;font-weight:700;letter-spacing:-.02em;color:rgb(30 27 75)}.payg-plugin-hero p{margin:0;max-width:48rem;font-size:.95rem;line-height:1.55;color:rgb(51 65 85)}.dark .payg-plugin-hero p{color:rgb(203 213 225)}.payg-plugin-figure{margin:1.25rem 0 1.75rem;border-radius:.75rem;overflow:hidden;border:1px solid rgb(226 232 240);background:rgb(255 255 255);box-shadow:0 8px 30px rgba(15,23,42,.08)}.dark .payg-plugin-figure{border-color:rgb(51 65 85/.65);background:rgb(15 23 42/.5);box-shadow:0 8px 30px rgba(0,0,0,.35)}.payg-plugin-figure img{display:block;width:100%;height:auto;vertical-align:middle}.payg-plugin-figure figcaption{padding:.65rem 1rem;font-size:.8125rem;line-height:1.45;color:rgb(71 85 105);border-top:1px solid rgb(241 245 249);background:rgb(248 250 252)}.dark .payg-plugin-figure figcaption{color:rgb(148 163 184);border-top-color:rgb(51 65 85/.5);background:rgb(15 23 42/.65)}.payg-plugin-band{margin:1.5rem 0;padding:1rem 1.15rem;border-radius:.75rem;border:1px solid rgb(167 243 208/.65);background:linear-gradient(90deg,rgb(236 253 245),rgb(240 253 244))}.dark .payg-plugin-band{border-color:rgb(16 185 129/.35);background:linear-gradient(90deg,rgb(6 78 59/.35),rgb(15 23 42/.4))}.payg-plugin-download-pill{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .85rem;border-radius:999px;font-size:.8125rem;font-weight:600;background:linear-gradient(90deg,#2563eb,#7c3aed);color:#fff!important;text-decoration:none!important;box-shadow:0 2px 8px rgba(37,99,235,.35)}.payg-plugin-download-pill:hover{filter:brightness(1.06)}.payg-tab-hint{display:flex;align-items:center;justify-content:space-between;margin-bottom:.4rem;padding:0 .15rem;pointer-events:none;user-select:none}.payg-tab-hint-arrow{display:flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:500;letter-spacing:.02em;color:#1a6fe8;opacity:.75}.dark .payg-tab-hint-arrow{color:#fff;opacity:.6}.payg-tab-hint-arrow svg{width:16px;height:16px;flex-shrink:0}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/auth-capture-guide\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/recurring-payment\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/regular-payment\"]{margin-top:1.25rem!important;padding-top:.65rem!important;padding-bottom:.65rem!important;font-size:.92rem!important;border-top:1px solid rgb(226 232 240/.5)}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/auth-capture-guide\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/recurring-payment\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/regular-payment\"]{border-top-color:rgb(51 65 85/.4)}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/auth-capture-guide\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/paycollect/codedrop\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/recurring-payment\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/regular-payment\"]{font-weight:600!important;color:rgb(15 23 42)!important}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/auth-capture-guide\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/paycollect/codedrop\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/recurring-payment\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/regular-payment\"]{color:rgb(241 245 249)!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/payment-initiation\"]{padding-bottom:.35rem!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/payment-initiation\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]{font-weight:400!important;font-size:.85rem!important;color:rgb(71 85 105)!important;padding-left:2.25rem!important;padding-top:.35rem!important;margin-left:0!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-activate-mandate\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-pause-mandate\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-payment-initiation\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-transaction-management\"]{font-weight:400!important;font-size:.85rem!important;color:rgb(71 85 105)!important;padding-left:2.25rem!important;padding-top:.35rem!important;padding-bottom:.35rem!important;margin-left:0!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"]{font-weight:400!important;font-size:.85rem!important;color:rgb(71 85 105)!important;padding-left:2.25rem!important;padding-top:.35rem!important;margin-left:0!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-full-capture\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-partial-capture\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-payment-initiation\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/authorization-management\"]{font-weight:400!important;font-size:.85rem!important;color:rgb(71 85 105)!important;padding-left:2.25rem!important;padding-top:.35rem!important;padding-bottom:.35rem!important;margin-left:0!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"]{font-weight:400!important;font-size:.85rem!important;color:rgb(71 85 105)!important;padding-left:2.25rem!important;padding-top:.35rem!important;margin-left:0!important}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-full-capture\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-partial-capture\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-payment-initiation\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/authorization-management\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/payment-initiation\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-activate-mandate\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-pause-mandate\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-payment-initiation\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-transaction-management\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]{color:rgb(148 163 184)!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-full-capture\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-partial-capture\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-payment-initiation\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/authorization-management\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/payment-initiation\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-activate-mandate\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-pause-mandate\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-payment-initiation\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-transaction-management\"]:hover,#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]:hover{background-color:rgb(241 245 249/.6)!important;color:rgb(30 41 59)!important}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-full-capture\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-partial-capture\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-payment-initiation\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/authorization-management\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/payment-initiation\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-activate-mandate\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-pause-mandate\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-payment-initiation\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-transaction-management\"]:hover,.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]:hover{background-color:rgb(51 65 85/.3)!important;color:rgb(226 232 240)!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"],#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]{margin-bottom:.85rem!important;padding-bottom:.5rem!important;border-bottom:1px solid rgb(241 245 249/.6)}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/auth-reversal\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/si-cancel-mandate\"],.dark #navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href*=\"/transaction-management\"]{border-bottom-color:rgb(51 65 85/.3)}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] a[href$=\"/merchant/paycollect/codedrop\"]{margin-top:1rem!important;padding-top:.5rem!important}#navigation-items:not(:has(a[href$=\"/introduction\"])) nav[aria-label=Navigation] [data-group=\"API Integration\"]{padding-top:.5rem!important;padding-bottom:.5rem!important}#navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) nav[aria-label=Navigation] a[aria-current=page]{background-color:rgb(219 234 254/.7)!important;color:#1a6fe8!important;font-weight:600!important}.dark #navigation-items:not(:has(a[href$=\"/introduction\"])):not(:has(a[href*=\"/api-reference\"])) nav[aria-label=Navigation] a[aria-current=page]{background-color:rgb(30 58 138/.4)!important;color:rgb(147 197 253)!important}#navigation-items:has(a[href$=\"/introduction\"]) .sidebar-group-header,#navigation-items:has(a[href*=\"/api-reference\"]) .sidebar-group-header{min-height:unset;margin-top:1.15rem;margin-bottom:.1rem;padding:.2rem .5rem .2rem 0;border:0;background:0 0;border-radius:0;box-shadow:none}#navigation-items:has(a[href$=\"/introduction\"]) .sidebar-group-header:first-of-type,#navigation-items:has(a[href$=\"/introduction\"])>.sidebar-group-header:first-child,#navigation-items:has(a[href*=\"/api-reference\"]) .sidebar-group-header:first-of-type,#navigation-items:has(a[href*=\"/api-reference\"])>.sidebar-group-header:first-child{margin-top:.35rem}#navigation-items:has(a[href$=\"/introduction\"]) .sidebar-group-header h5,#navigation-items:has(a[href*=\"/api-reference\"]) .sidebar-group-header h5{font-size:.6875rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;line-height:1.3;color:#94a3b8}.dark #navigation-items:has(a[href$=\"/introduction\"]) .sidebar-group-header h5,.dark #navigation-items:has(a[href*=\"/api-reference\"]) .sidebar-group-header h5{color:#64748b}#navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group,#navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group{margin-bottom:.45rem;padding-left:0;gap:.1rem}#navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a,#navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a{display:flex;align-items:center;gap:.4rem;padding:.45rem .6rem;margin:.05rem 0;border-radius:.5rem;font-size:.875rem;font-weight:400;color:#374151;line-height:1.35;border:0}.dark #navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a,.dark #navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a{color:#cbd5e1}#navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a:hover,#navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a:hover{background-color:#f8fafc;color:#1e293b}.dark #navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a:hover,.dark #navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a:hover{background-color:rgb(30 41 59/.45);color:#f1f5f9}#navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a[aria-current=page],#navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a[aria-current=page]{background-color:#eff6ff!important;color:#1d4ed8!important;font-weight:500!important}.dark #navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a[aria-current=page],.dark #navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a[aria-current=page]{background-color:rgb(30 58 138/.35)!important;color:#93c5fd!important}#navigation-items:has(a[href$=\"/introduction\"]) .sidebar-group-header button,#navigation-items:has(a[href$=\"/introduction\"]) [data-group] button,#navigation-items:has(a[href*=\"/api-reference\"]) .sidebar-group-header button,#navigation-items:has(a[href*=\"/api-reference\"]) [data-group] button{color:#94a3b8}#navigation-items:has(a[href$=\"/introduction\"]) ul.sidebar-group a::before,#navigation-items:has(a[href*=\"/api-reference\"]) ul.sidebar-group a::before{display:none!important;content:none!important;margin:0!important;padding:0!important}nav[aria-label=Navigation] a[href*=\"api-reference/payment/auth-payment-initiation\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/get-status\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/gpi-initiate\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/gpi-paycollect\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/refund\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/standalone-capture\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/standalone-reversal\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-cancellation\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-payment-initiation\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-status\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-subsequent-payment\"]::before{display:inline-block;margin-right:7px;padding:1px 6px;border-radius:4px;font-size:9.5px;font-weight:700;line-height:16px;letter-spacing:.04em;color:#fff;vertical-align:middle;flex-shrink:0}nav[aria-label=Navigation] a[href*=\"api-reference/payment/auth-payment-initiation\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/gpi-initiate\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/gpi-paycollect\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/refund\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/standalone-capture\"]::before,nav[aria-label=Navigation] a[href*=\"api-reference/payment/standalone-reversal\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-payment-initiation\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-status\"]::before,nav[aria-label=Navigation] a[href*=\"standing-instructions/si-subsequent-payment\"]::before{content:\"POST\";background-color:#d97706}nav[aria-label=Navigation] a[href*=\"api-reference/payment/get-status\"]::before{content:\"GET\";background-color:#059669}nav[aria-label=Navigation] a[href*=\"standing-instructions/si-cancellation\"]::before{content:\"PUT\";background-color:#d97706}.payg-screenshot-tile{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;margin:1.25rem 0 1.5rem;padding:10px;border-radius:12px;background:linear-gradient(165deg,#eef4fc 0,#dfeaf6 48%,#d4e4f4 100%);border:1px solid #b4cce4;box-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 28px rgba(26,86,155,.1),inset 0 1px 0 rgba(255,255,255,.65)}.dark .payg-screenshot-tile{background:linear-gradient(165deg,#1a2433 0,#222f42 48%,#283a52 100%);border:1px solid rgba(125,168,220,.22);box-shadow:0 10px 36px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06)}.payg-screenshot-tile img,.payg-screenshot-tile--hq img{width:100%;max-width:100%;height:auto;image-rendering:auto}.payg-screenshot-tile img{display:block;margin:0 auto;border-radius:6px;object-fit:contain;box-shadow:0 2px 10px rgba(15,23,42,.1)}.dark .payg-screenshot-tile img{box-shadow:0 4px 14px rgba(0,0,0,.3)}.payg-screenshot-tile--zoom{padding:12px}.payg-screenshot-tile--hq{padding:8px}.payg-screenshot-tile--hq.payg-screenshot-tile--zoom{padding:10px}.payg-screenshot-tile--hq img{-webkit-font-smoothing:subpixel-antialiased;backface-visibility:hidden}@media (max-width:768px){.payg-screenshot-tile{padding:8px;margin:1rem 0 1.25rem}.payg-screenshot-tile--zoom{padding:10px}.payg-screenshot-tile--hq{padding:6px}.payg-screenshot-tile--hq.payg-screenshot-tile--zoom{padding:8px}}#content-area:has(#authorization-x-gl-token-external):not(:has(.payments-v2-page)):not(:has(.payments-v2-after-api)) .api-section-heading,#content-area:has(#authorization-x-gl-token-external):not(:has(.payments-v2-page)):not(:has(.payments-v2-after-api)) .primitive-param-field,article:has(#authorization-x-gl-token-external):not(:has(.payments-v2-page)):not(:has(.payments-v2-after-api)) .api-section-heading,article:has(#authorization-x-gl-token-external):not(:has(.payments-v2-page)):not(:has(.payments-v2-after-api)) .primitive-param-field{display:none!important}article:has(#parameter-id) .api-section-heading,article:has(#parameter-id) .primitive-param-field{display:none!important}.upi-seven-step-flow-wrap{margin:3rem 0 3.75rem;padding:clamp(1.75rem,4vw,3rem) clamp(1.25rem,3vw,2.75rem);background:#f6f9fc;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 2px 8px rgba(15,23,42,.06)}.upi-seven-step-flow-wrap img{display:block;width:100%;max-width:1120px;margin-left:auto;margin-right:auto;height:auto;border-radius:10px}"}],"page":{"pagePath":"api-reference/payments-v2/paydirect/gpi","slug":"/api-reference/payments-v2/paydirect/gpi","pageMetadata":{"title":"PayDirect GPI","sidebarTitle":"GPI","description":"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.","openapi":"openapi-v2-paydirect-gpi.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/gpi"},"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: \"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\"\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`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(`span`,{className:`payments-v2-page mint-hidden`,\"aria-hidden\":`true`}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-gpi`,children:`What is GPI?`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`GPI (PayGlocal Payment Initiate)`}),` is the API call that `,_jsx(_components.strong,{children:`starts a PayDirect payment`}),`. You send transaction and card (or token) data in one request; PayGlocal returns a `,_jsx(_components.code,{children:`gid`}),` and a `,_jsx(_components.code,{children:`redirectUrl`}),`. Send the customer to that URL to complete 3DS, then read the outcome from your callback or the status API.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`supported-payment-methods`,children:`Supported payment methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{style:{textAlign:`center`},children:`Domestic`}),_jsx(_components.th,{style:{textAlign:`center`},children:`International`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cards`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Apple Pay`}),_jsx(_components.td,{style:{textAlign:`center`},children:`—`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`PayDirect GPI does not support UPI, net banking, or global alternative payments — use `,_jsx(_components.a,{href:`/api-reference/payments-v2/paycollect/gpi`,children:`GPI`}),` for those.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.strong,{children:`Request body`}),` → `,_jsx(_components.code,{children:`paymentData`}),`, send `,_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`cardData`}),` or `,_jsx(_components.code,{children:`tokenData`})]}),` (exactly one is mandatory).`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`api`,children:`API`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Method`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Path`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/gl/v1/payments/initiate`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Production`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.payglocal.in/gl/v1/payments/initiate`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Sandbox`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.uat.payglocal.in/gl/v1/payments/initiate`})})]})]})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`GPI, on-demand SI, auto-debit, and authorize all call this path. Only the JSON request body differs.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Mandatory`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-gl-token-external`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`RSA-signed `,_jsx(_components.strong,{children:`JWS`}),` of the request body (see `,_jsx(_components.a,{href:`/key-management/overview`,children:`Key Management`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-gl-merchantid`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Your PayGlocal merchant ID (MID)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-gl-kid`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Key ID of the private key used to sign the JWS`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Sign the JSON from `,_jsx(_components.strong,{children:`Request body`}),` below as the JWS in `,_jsx(_components.code,{children:`x-gl-token-external`}),`, then POST to the URL above.`]}),`\n`,_jsxs(`div`,{id:`next-actions`,className:`payments-v2-after-api`,children:[_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Step`}),_jsx(_components.th,{children:`API`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Confirm outcome`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/payments-v2/common/get-transaction-status`,children:`Get transaction status`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Refund (after capture)`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/payment/refund`,children:`Refund`})})]})]})]})]})]})}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":"PayDirect GPI","sidebarTitle":"GPI","description":"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.","openapi":"openapi-v2-paydirect-gpi.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/gpi"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is GPI?","slug":"what-is-gpi","depth":2,"children":[]},{"title":"Supported payment methods","slug":"supported-payment-methods","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]},{"title":"API","slug":"api","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-hidden {\n display: none\n}","openApiReferenceData":{"operation":{"operationId":"paydirectInitiateGPI","x-hidden":true,"summary":"PayDirect GPI (request body)","description":"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.","tags":["Payment"],"security":["fc14804c-3ca3-46ca-8dd4-9cb2c53109c7"],"requestBody":"794142df-acfc-4973-a4d9-601177d6c673","responses":{"200":"fbff8416-7266-4b6e-9db5-a4d08c7df00b","400":"2d768913-bc98-4b16-90d7-3cfff4bcaed9","403":"0325e249-1ef0-4ed6-9062-e639d4d5ef91","429":"7c8a3301-e49e-4d83-8cde-f9ffd8ad5b8a"},"method":"post","type":"path","servers":["72cd6f55-e9d8-43d1-99b5-30875d4a0402","91c26ff2-36f1-4389-9050-5b0bb524e4a7"],"path":"/gl/v1/payments/initiate","baseUrlOptions":["https://api.payglocal.in","https://api.uat.payglocal.in"],"title":"PayDirect GPI (request body)","codeSamples":[],"requestExampleLanguages":["bash","python","java","node"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"GPI one-step sale (no mandate, no auth-only flag).","required":["merchantTxnId","paymentData","merchantCallbackURL"],"properties":{"merchantTxnId":{"type":"string","description":"Merchant's unique transaction identifier. Alphanumeric only.","minLength":4,"maxLength":50,"example":"23AEE8CB6B62EE2AF07","isRequired":true,"uniqueKey":"merchantTxnId","typeLabel":"string"},"merchantCallbackURL":{"type":"string","format":"uri","description":"Customers are redirected here post payment completion.","example":"https://api.prod.payglocal.in/gl/v1/payments/merchantCallback","isRequired":true,"uniqueKey":"merchantCallbackURL","typeLabel":"string\u003curi>"},"paymentData":{"oneOf":[{"type":"object","title":"Card data","description":"Payment instrument and amount for PayDirect initiate. **Either option 1 (`cardData`) or option 2 (`tokenData`)** — not both.\n","required":["totalAmount","txnCurrency","cardData"],"properties":{"totalAmount":{"type":"string","description":"Transaction amount as a decimal string. Supports up to 4 decimal places.","example":"100.00","isRequired":true,"uniqueKey":"paymentData.oneOf.0.totalAmount","typeLabel":"string"},"txnCurrency":{"type":"string","description":"ISO 4217 currency code. Must be uppercase (e.g. `INR`, `USD`, `EUR`).","example":"INR","isRequired":true,"uniqueKey":"paymentData.oneOf.0.txnCurrency","typeLabel":"string"},"cardData":{"type":"object","description":"Raw card data. **Mandatory** on PayDirect initiate unless you send `tokenData` instead (one of the two, not both).","required":["number","expiryMonth","expiryYear","securityCode"],"properties":{"number":{"type":"string","description":"Primary Account Number (PAN). Digits only, support 12-16 digit PAN.","example":"4111111111111111","isRequired":true,"uniqueKey":"paymentData.oneOf.0.cardData.number","typeLabel":"string"},"expiryMonth":{"type":"string","description":"Two/Four-digit expiry month.","example":"12","isRequired":true,"uniqueKey":"paymentData.oneOf.0.cardData.expiryMonth","typeLabel":"string"},"expiryYear":{"type":"string","description":"Four-digit expiry year.","example":"2030","isRequired":true,"uniqueKey":"paymentData.oneOf.0.cardData.expiryYear","typeLabel":"string"},"securityCode":{"type":"string","description":"CVV / CVC.","example":"123","isRequired":true,"uniqueKey":"paymentData.oneOf.0.cardData.securityCode","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentData.oneOf.0.cardData","typeLabel":"object"},"billingData":{"type":"object","description":"Cardholder billing address. Required for digital product / service transactions\nand flight bookings. Preferred for all other transaction types.\n","properties":{"firstName":{"type":"string","example":"John","uniqueKey":"paymentData.oneOf.0.billingData.firstName","typeLabel":"string"},"lastName":{"type":"string","example":"Doe","uniqueKey":"paymentData.oneOf.0.billingData.lastName","typeLabel":"string"},"emailId":{"type":"string","format":"email","example":"john.doe@example.com","uniqueKey":"paymentData.oneOf.0.billingData.emailId","typeLabel":"string\u003cemail>"},"callingCode":{"type":"string","example":"+91","uniqueKey":"paymentData.oneOf.0.billingData.callingCode","typeLabel":"string"},"phoneNumber":{"type":"string","example":"9999999999","uniqueKey":"paymentData.oneOf.0.billingData.phoneNumber","typeLabel":"string"},"addressStreet1":{"type":"string","example":"221B Baker Street","uniqueKey":"paymentData.oneOf.0.billingData.addressStreet1","typeLabel":"string"},"addressStreet2":{"type":"string","uniqueKey":"paymentData.oneOf.0.billingData.addressStreet2","typeLabel":"string"},"addressCity":{"type":"string","example":"Bengaluru","uniqueKey":"paymentData.oneOf.0.billingData.addressCity","typeLabel":"string"},"addressState":{"type":"string","example":"Karnataka","uniqueKey":"paymentData.oneOf.0.billingData.addressState","typeLabel":"string"},"addressStateCode":{"type":"string","example":"KA","uniqueKey":"paymentData.oneOf.0.billingData.addressStateCode","typeLabel":"string"},"addressPostalCode":{"type":"string","example":"560001","uniqueKey":"paymentData.oneOf.0.billingData.addressPostalCode","typeLabel":"string"},"addressCountry":{"type":"string","description":"ISO 3166-1 alpha-3 country code.","example":"IND","uniqueKey":"paymentData.oneOf.0.billingData.addressCountry","typeLabel":"string"}},"uniqueKey":"paymentData.oneOf.0.billingData","typeLabel":"object"}},"isRequired":true,"uniqueKey":"paymentData.oneOf.0","typeLabel":"Card data · object"},{"type":"object","title":"Token data","description":"Payment instrument and amount for PayDirect initiate. **Either option 1 (`cardData`) or option 2 (`tokenData`)** — not both.\n","required":["totalAmount","txnCurrency","tokenData"],"properties":{"totalAmount":{"type":"string","description":"Transaction amount as a decimal string. Supports up to 4 decimal places.","example":"100.00","isRequired":true,"uniqueKey":"paymentData.oneOf.1.totalAmount","typeLabel":"string"},"txnCurrency":{"type":"string","description":"ISO 4217 currency code. Must be uppercase (e.g. `INR`, `USD`, `EUR`).","example":"INR","isRequired":true,"uniqueKey":"paymentData.oneOf.1.txnCurrency","typeLabel":"string"},"tokenData":{"type":"object","description":"Network token or AltID. **Mandatory** on PayDirect initiate unless you send `cardData` instead (one of the two, not both).","required":["altId","number","expiryMonth","expiryYear","cryptogram","requestorID","firstSix","lastFour"],"properties":{"altId":{"type":"boolean","description":"Set to `false` for a standard network token flow.","example":false,"isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.altId","typeLabel":"boolean"},"number":{"type":"string","description":"Token PAN.","example":"8197580515978705","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.number","typeLabel":"string"},"expiryMonth":{"type":"string","description":"Two-digit expiry month.","example":"06","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.expiryMonth","typeLabel":"string"},"expiryYear":{"type":"string","description":"Four-digit expiry year.","example":"2024","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.expiryYear","typeLabel":"string"},"cryptogram":{"type":"string","description":"TAVV / CAVV cryptogram.","example":"AIkBAYRWkgAgIgYiFEMiAAAAAAA=","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.cryptogram","typeLabel":"string"},"requestorID":{"type":"string","description":"Token requestor ID issued by the network.","example":"40000000079","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.requestorID","typeLabel":"string"},"firstSix":{"type":"string","description":"BIN of the original card.","example":"411111","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.firstSix","typeLabel":"string"},"lastFour":{"type":"string","description":"Last 4 digits of the original card.","example":"2023","isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData.lastFour","typeLabel":"string"},"hashOfFirstSix":{"type":"string","description":"Hash of the first 6 digits of the original PAN.","uniqueKey":"paymentData.oneOf.1.tokenData.hashOfFirstSix","typeLabel":"string"},"cardBrand":{"type":"string","description":"Card network of the original card.","example":"visa","uniqueKey":"paymentData.oneOf.1.tokenData.cardBrand","typeLabel":"string"}},"isRequired":true,"uniqueKey":"paymentData.oneOf.1.tokenData","typeLabel":"object"},"billingData":{"type":"object","description":"Cardholder billing address. Required for digital product / service transactions\nand flight bookings. Preferred for all other transaction types.\n","properties":{"firstName":{"type":"string","example":"John","uniqueKey":"paymentData.oneOf.1.billingData.firstName","typeLabel":"string"},"lastName":{"type":"string","example":"Doe","uniqueKey":"paymentData.oneOf.1.billingData.lastName","typeLabel":"string"},"emailId":{"type":"string","format":"email","example":"john.doe@example.com","uniqueKey":"paymentData.oneOf.1.billingData.emailId","typeLabel":"string\u003cemail>"},"callingCode":{"type":"string","example":"+91","uniqueKey":"paymentData.oneOf.1.billingData.callingCode","typeLabel":"string"},"phoneNumber":{"type":"string","example":"9999999999","uniqueKey":"paymentData.oneOf.1.billingData.phoneNumber","typeLabel":"string"},"addressStreet1":{"type":"string","example":"221B Baker Street","uniqueKey":"paymentData.oneOf.1.billingData.addressStreet1","typeLabel":"string"},"addressStreet2":{"type":"string","uniqueKey":"paymentData.oneOf.1.billingData.addressStreet2","typeLabel":"string"},"addressCity":{"type":"string","example":"Bengaluru","uniqueKey":"paymentData.oneOf.1.billingData.addressCity","typeLabel":"string"},"addressState":{"type":"string","example":"Karnataka","uniqueKey":"paymentData.oneOf.1.billingData.addressState","typeLabel":"string"},"addressStateCode":{"type":"string","example":"KA","uniqueKey":"paymentData.oneOf.1.billingData.addressStateCode","typeLabel":"string"},"addressPostalCode":{"type":"string","example":"560001","uniqueKey":"paymentData.oneOf.1.billingData.addressPostalCode","typeLabel":"string"},"addressCountry":{"type":"string","description":"ISO 3166-1 alpha-3 country code.","example":"IND","uniqueKey":"paymentData.oneOf.1.billingData.addressCountry","typeLabel":"string"}},"uniqueKey":"paymentData.oneOf.1.billingData","typeLabel":"object"}},"isRequired":true,"uniqueKey":"paymentData.oneOf.1","typeLabel":"Token data · object"}],"isRequired":true,"uniqueKey":"paymentData","typeLabel":"Card data · object | Token data · object"},"merchantUniqueId":{"type":"string","description":"Optional stable merchant-side ID for idempotency and reconciliation. Alphanumeric only.","minLength":15,"maxLength":40,"example":"IFNN939494NJFJ","uniqueKey":"merchantUniqueId","typeLabel":"string"},"riskData":{"type":"object","description":"Recommended for fraud checks and processor compliance.","properties":{"customerData":{"type":"object","description":"Payer identity and device context. Preferred for all transactions.","properties":{"merchantAssignedCustomerId":{"type":"string","example":"cust_12345","uniqueKey":"riskData.customerData.merchantAssignedCustomerId","typeLabel":"string"},"customerAccountType":{"type":"string","description":"Merchant-defined account type code for risk scoring.","uniqueKey":"riskData.customerData.customerAccountType","typeLabel":"string"},"customerSuccessOrderCount":{"type":"string","description":"Historical successful order count (stringified integer).","uniqueKey":"riskData.customerData.customerSuccessOrderCount","typeLabel":"string"},"customerAccountCreationDate":{"type":"string","description":"Account creation date in YYYYMMDD format.","example":"20180904","uniqueKey":"riskData.customerData.customerAccountCreationDate","typeLabel":"string"},"firstName":{"type":"string","uniqueKey":"riskData.customerData.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"riskData.customerData.lastName","typeLabel":"string"},"emailId":{"type":"string","format":"email","uniqueKey":"riskData.customerData.emailId","typeLabel":"string\u003cemail>"},"callingCode":{"type":"string","uniqueKey":"riskData.customerData.callingCode","typeLabel":"string"},"mobileNumber":{"type":"string","uniqueKey":"riskData.customerData.mobileNumber","typeLabel":"string"},"ipAddress":{"type":"string","description":"Customer IP address. Required for RuPay cards.","example":"192.90.40.98","uniqueKey":"riskData.customerData.ipAddress","typeLabel":"string"},"httpAccept":{"type":"string","description":"Browser Accept header. Required for RuPay cards.","example":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","uniqueKey":"riskData.customerData.httpAccept","typeLabel":"string"},"httpUserAgent":{"type":"string","description":"Browser User-Agent header. Required for RuPay cards.","example":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)","uniqueKey":"riskData.customerData.httpUserAgent","typeLabel":"string"}},"uniqueKey":"riskData.customerData","typeLabel":"object"},"shippingData":{"type":"object","description":"Delivery address. Required for e-commerce (physical goods) transactions.","properties":{"firstName":{"type":"string","uniqueKey":"riskData.shippingData.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"riskData.shippingData.lastName","typeLabel":"string"},"emailId":{"type":"string","format":"email","uniqueKey":"riskData.shippingData.emailId","typeLabel":"string\u003cemail>"},"callingCode":{"type":"string","uniqueKey":"riskData.shippingData.callingCode","typeLabel":"string"},"phoneNumber":{"type":"string","uniqueKey":"riskData.shippingData.phoneNumber","typeLabel":"string"},"addressStreet1":{"type":"string","uniqueKey":"riskData.shippingData.addressStreet1","typeLabel":"string"},"addressStreet2":{"type":"string","uniqueKey":"riskData.shippingData.addressStreet2","typeLabel":"string"},"addressCity":{"type":"string","uniqueKey":"riskData.shippingData.addressCity","typeLabel":"string"},"addressState":{"type":"string","uniqueKey":"riskData.shippingData.addressState","typeLabel":"string"},"addressPostalCode":{"type":"string","uniqueKey":"riskData.shippingData.addressPostalCode","typeLabel":"string"},"addressCountry":{"type":"string","description":"ISO 3166-1 alpha-3 country code.","example":"IND","uniqueKey":"riskData.shippingData.addressCountry","typeLabel":"string"}},"uniqueKey":"riskData.shippingData","typeLabel":"object"},"orderData":{"type":"array","description":"Line items in the order. Preferred for all transactions.","items":{"type":"object","description":"Single line-item in the order for risk analytics.","properties":{"productDescription":{"type":"string","example":"Apple AirPods Pro","uniqueKey":"riskData.orderData.items.[INDEX].productDescription","typeLabel":"string"},"productSKU":{"type":"string","example":"MNO00390","uniqueKey":"riskData.orderData.items.[INDEX].productSKU","typeLabel":"string"},"productType":{"type":"string","example":"Electronics","uniqueKey":"riskData.orderData.items.[INDEX].productType","typeLabel":"string"},"itemUnitPrice":{"type":"string","example":"12000.00","uniqueKey":"riskData.orderData.items.[INDEX].itemUnitPrice","typeLabel":"string"},"itemQuantity":{"oneOf":[{"type":"integer","example":"1","uniqueKey":"riskData.orderData.items.[INDEX].itemQuantity.oneOf.0","typeLabel":"integer"},{"type":"string","example":"1","uniqueKey":"riskData.orderData.items.[INDEX].itemQuantity.oneOf.1","typeLabel":"string"}],"uniqueKey":"riskData.orderData.items.[INDEX].itemQuantity","typeLabel":"integer | string"}},"uniqueKey":"riskData.orderData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"riskData.orderData","typeLabel":"object[]"},"flightData":{"type":"array","description":"Flight booking details. Required for airline / travel transactions.","items":{"type":"object","properties":{"agentCode":{"type":"string","uniqueKey":"riskData.flightData.items.[INDEX].agentCode","typeLabel":"string"},"agentName":{"type":"string","uniqueKey":"riskData.flightData.items.[INDEX].agentName","typeLabel":"string"},"reservationCode":{"type":"string","example":"NQM2SR","uniqueKey":"riskData.flightData.items.[INDEX].reservationCode","typeLabel":"string"},"legData":{"type":"array","items":{"type":"object","properties":{"flightNumber":{"type":"string","example":"AI202","uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX].flightNumber","typeLabel":"string"},"departureAirportCode":{"type":"string","example":"AUH","uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX].departureAirportCode","typeLabel":"string"},"departureDate":{"type":"string","description":"Departure date in YYYYMMDD format.","example":"20230905","uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX].departureDate","typeLabel":"string"},"arrivalAirportCode":{"type":"string","example":"BLR","uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX].arrivalAirportCode","typeLabel":"string"},"carrierCode":{"type":"string","example":"AI","uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX].carrierCode","typeLabel":"string"}},"uniqueKey":"riskData.flightData.items.[INDEX].legData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"riskData.flightData.items.[INDEX].legData","typeLabel":"object[]"},"passengerData":{"type":"array","items":{"type":"object","properties":{"firstName":{"type":"string","example":"Sam","uniqueKey":"riskData.flightData.items.[INDEX].passengerData.items.[INDEX].firstName","typeLabel":"string"},"lastName":{"type":"string","example":"Thomas","uniqueKey":"riskData.flightData.items.[INDEX].passengerData.items.[INDEX].lastName","typeLabel":"string"},"email":{"type":"string","format":"email","example":"sam.thomas@example.com","uniqueKey":"riskData.flightData.items.[INDEX].passengerData.items.[INDEX].email","typeLabel":"string\u003cemail>"}},"uniqueKey":"riskData.flightData.items.[INDEX].passengerData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"riskData.flightData.items.[INDEX].passengerData","typeLabel":"object[]"}},"uniqueKey":"riskData.flightData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"riskData.flightData","typeLabel":"object[]"}},"uniqueKey":"riskData","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"gpi_sale":{"title":"gpi_sale","value":{"merchantTxnId":"23AEE8CB6B62EE2AF07","merchantUniqueId":"IFNN939494NJFJ","paymentData":{"totalAmount":"10.00","txnCurrency":"INR","cardData":{"number":"4111111111111111","expiryMonth":"05","expiryYear":"2026","securityCode":"111"},"billingData":{"firstName":"John","lastName":"Doe","addressStreet1":"221B Baker Street","addressCity":"Bengaluru","addressCountry":"IND","emailId":"john.doe@example.com","callingCode":"+91","phoneNumber":"9999999999"}},"merchantCallbackURL":"https://api.prod.payglocal.in/gl/v1/payments/merchantCallback"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"fbff8416-7266-4b6e-9db5-a4d08c7df00b":{"description":"Returned immediately from initiate. Redirect the customer to `data.redirectUrl`, then poll `data.statusUrl` or [Get Transaction Status](/api-reference/payments-v2/common/get-transaction-status). A successful GPI card sale usually reaches `SENT_FOR_CAPTURE`. **No `mandateId`** in `data`.\n","content":{"application/json":{"schema":{"type":"object","description":"Response envelope for PayDirect initiate (`200`). **GPI and auth-only** — `data` does not include `mandateId`.\nNo fields in this envelope are marked required.\n","properties":{"gid":{"type":"string","description":"PayGlocal transaction ID. Use for status, capture, and refund APIs.","example":"gl_o-a057c4d6b6c620741apzp0ZX2","uniqueKey":"gid","typeLabel":"string"},"status":{"type":"string","description":"High-level status. Typically `INPROGRESS` immediately after initiate.","example":"INPROGRESS","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"Human-readable status message.","example":"Transaction Created Successfully","uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Response timestamp (`DD/MM/YYYY HH:MM:SS`).","example":"02/06/2026 21:47:33","uniqueKey":"timestamp","typeLabel":"string"},"reasonCode":{"type":"string","description":"Success code on initiate (e.g. `200`). See `4xx` responses for error codes.","example":"200","uniqueKey":"reasonCode","typeLabel":"string"},"data":{"type":"object","description":"`data` on a successful PayDirect initiate (`200`). **GPI and auth-only** responses use this shape (no `mandateId`).\nNo response fields are marked required — typical GPI payloads include `redirectUrl`, `statusUrl`, and `merchantTxnId`.\n","properties":{"redirectUrl":{"type":"string","format":"uri","description":"Redirect the customer's browser here via **HTTP GET** to complete 3DS / step-up.","example":"https://api.uat.payglocal.in/gl/payflow-ui/?x-gl-token=example","uniqueKey":"data.redirectUrl","typeLabel":"string\u003curi>"},"statusUrl":{"type":"string","format":"uri","description":"Pre-authenticated URL to poll status after the customer completes payment.","example":"https://api.uat.payglocal.in/gl/v1/payments/gl_o-a057c4d6b6c620741apzp0ZX2/status?x-gl-token=example","uniqueKey":"data.statusUrl","typeLabel":"string\u003curi>"},"merchantTxnId":{"type":"string","description":"Echo of `merchantTxnId` from the initiate request body.","example":"23AEE8CB6B62EE2AF07","uniqueKey":"data.merchantTxnId","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"},"errors":{"oneOf":[{"type":"object","description":"`null` on success.","additionalProperties":{"type":"string","uniqueKey":"errors.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"object"},{"type":"null","description":"`null` on success.","additionalProperties":{"type":"string","uniqueKey":"errors.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"gid":"gl_o-a057c4d6b6c620741apzp0ZX2","status":"INPROGRESS","message":"Transaction Created Successfully","timestamp":"02/06/2026 21:47:33","reasonCode":"200","data":{"redirectUrl":"https://api.uat.payglocal.in/gl/payflow-ui/?x-gl-token=example","statusUrl":"https://api.uat.payglocal.in/gl/v1/payments/gl_o-a057c4d6b6c620741apzp0ZX2/status?x-gl-token=example","merchantTxnId":"23AEE8CB6B62EE2AF07"},"errors":null},"examples":{"Example":{"title":"Example","value":{"gid":"gl_o-a057c4d6b6c620741apzp0ZX2","status":"INPROGRESS","message":"Transaction Created Successfully","timestamp":"02/06/2026 21:47:33","reasonCode":"200","data":{"redirectUrl":"https://api.uat.payglocal.in/gl/payflow-ui/?x-gl-token=example","statusUrl":"https://api.uat.payglocal.in/gl/v1/payments/gl_o-a057c4d6b6c620741apzp0ZX2/status?x-gl-token=example","merchantTxnId":"23AEE8CB6B62EE2AF07"},"errors":null}}},"exampleType":"examples"}},"exampleType":"examples"},"2d768913-bc98-4b16-90d7-3cfff4bcaed9":{"description":"Invalid request or processing error. Common `reasonCode` values on initiate:\n\n| Reason code | Typical cause |\n|-------------|----------------|\n| `GL-400-001` | Invalid request fields or error processing request |\n| `GL-201-020` | Card domicile or card type not set up in merchant config; merchant configuration mismatch |\n","content":{"application/json":{"schema":{"type":"object","properties":{"gid":{"type":"string","example":"gl_9c2645ed09edb22e","uniqueKey":"gid","typeLabel":"string"},"status":{"description":"High-level status of this API response. See [GPI Transaction Statuses](/payment-services/get-status-service#gpi-transaction-statuses).","type":"string","example":"REQUEST_ERROR","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"Authentication failed, please contact support.","uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"10/01/2026 15:00:00","uniqueKey":"timestamp","typeLabel":"string"},"reasonCode":{"type":"string","example":"GL-400-001","uniqueKey":"reasonCode","typeLabel":"string"},"data":{"oneOf":[{"type":"object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"errors":{"type":"object","example":{"detailedMessage":"Authentication failed, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"uniqueKey":"errors","typeLabel":"object"},"errorDetails":{"oneOf":[{"type":"object","uniqueKey":"errorDetails.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"errorDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorDetails","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"gid":"gl_9c2645ed09edb22e","status":"REQUEST_ERROR","message":"Authentication failed, please contact support.","timestamp":"10/01/2026 15:00:00","reasonCode":"GL-400-001","data":{},"errors":{"detailedMessage":"Authentication failed, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"errorDetails":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"0325e249-1ef0-4ed6-9062-e639d4d5ef91":{"description":"Merchant is blacklisted and not permitted to transact on this platform.\n","content":{"application/json":{"schema":{"type":"object","properties":{"gid":{"type":"string","example":"gl_9c2645ed09edb22e","uniqueKey":"gid","typeLabel":"string"},"status":{"type":"string","description":"High-level status of this API response. See [GPI Transaction Statuses](/payment-services/get-status-service#gpi-transaction-statuses).","example":"BLACKLIST_MATCH","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"You are not allowed to onboard on this platform. Please contact support.","uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"10/01/2026 15:00:00","uniqueKey":"timestamp","typeLabel":"string"},"reasonCode":{"type":"string","example":"GL-403-001","uniqueKey":"reasonCode","typeLabel":"string"},"data":{"oneOf":[{"type":"object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"errors":{"type":"object","example":{"detailedMessage":"You are not allowed to onboard on this platform, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"uniqueKey":"errors","typeLabel":"object"},"errorDetails":{"oneOf":[{"type":"object","uniqueKey":"errorDetails.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"errorDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorDetails","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"gid":"gl_9c2645ed09edb22e","status":"BLACKLIST_MATCH","message":"You are not allowed to onboard on this platform. Please contact support.","timestamp":"10/01/2026 15:00:00","reasonCode":"GL-403-001","data":{},"errors":{"detailedMessage":"You are not allowed to onboard on this platform, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"errorDetails":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"7c8a3301-e49e-4d83-8cde-f9ffd8ad5b8a":{"description":"Too many requests with the same `merchantUniqueId`. `reasonCode` is typically `GL-400-001`.\n","content":{"application/json":{"schema":{"type":"object","properties":{"gid":{"type":"string","example":"gl_9c2645ed09edb22e","uniqueKey":"gid","typeLabel":"string"},"status":{"description":"High-level status of this API response. See [GPI Transaction Statuses](/payment-services/get-status-service#gpi-transaction-statuses).","type":"string","example":"REQUEST_ERROR","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"Authentication failed, please contact support.","uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"10/01/2026 15:00:00","uniqueKey":"timestamp","typeLabel":"string"},"reasonCode":{"type":"string","example":"GL-400-001","uniqueKey":"reasonCode","typeLabel":"string"},"data":{"oneOf":[{"type":"object","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"errors":{"type":"object","example":{"detailedMessage":"Authentication failed, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"uniqueKey":"errors","typeLabel":"object"},"errorDetails":{"oneOf":[{"type":"object","uniqueKey":"errorDetails.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"errorDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorDetails","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"gid":"gl_9c2645ed09edb22e","status":"REQUEST_ERROR","message":"Authentication failed, please contact support.","timestamp":"10/01/2026 15:00:00","reasonCode":"GL-400-001","data":{},"errors":{"detailedMessage":"Authentication failed, please contact support.","displayMessage":"Something went wrong. We'll take you back to checkout so that you can try again."},"errorDetails":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fc14804c-3ca3-46ca-8dd4-9cb2c53109c7":{"JwsTokenAuth":{"type":"apiKey","in":"header","name":"x-gl-token-external","description":"RSA-signed JWS (JSON Web Signature) token carrying the request payload.\n- Header: `{ \"alg\": \"RS256\", \"kid\": \"\u003cmerchant-key-id>\", \"iss\": \"\u003cmerchant-id>\", \"x-gl-enc\": \"false\", \"is-digested\": \"true\" }`\n- Payload: the exact JSON body sent in the request (or its SHA-256 digest when `is-digested=true`).\n- Signed with the merchant's RSA private key; PayGlocal verifies with the matching public key.\n","scopes":[]}}},"servers":{"72cd6f55-e9d8-43d1-99b5-30875d4a0402":{"url":"https://api.payglocal.in","description":"Production"},"91c26ff2-36f1-4389-9050-5b0bb524e4a7":{"url":"https://api.uat.payglocal.in","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-gl-token-external","description":"RSA-signed JWS (JSON Web Signature) token carrying the request payload.\n- Header: `{ \"alg\": \"RS256\", \"kid\": \"\u003cmerchant-key-id>\", \"iss\": \"\u003cmerchant-id>\", \"x-gl-enc\": \"false\", \"is-digested\": \"true\" }`\n- Payload: the exact JSON body sent in the request (or its SHA-256 digest when `is-digested=true`).\n- Signed with the merchant's RSA private key; PayGlocal verifies with the matching public key.\n","scopes":[]},"schema":{"title":"x-gl-token-external","type":"string","description":"RSA-signed JWS (JSON Web Signature) token carrying the request payload.\n- Header: `{ \"alg\": \"RS256\", \"kid\": \"\u003cmerchant-key-id>\", \"iss\": \"\u003cmerchant-id>\", \"x-gl-enc\": \"false\", \"is-digested\": \"true\" }`\n- Payload: the exact JSON body sent in the request (or its SHA-256 digest when `is-digested=true`).\n- Signed with the merchant's RSA private key; PayGlocal verifies with the matching public key.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"JwsTokenAuth","name":"x-gl-token-external"}],"title":"JwsTokenAuth"}]},"originalFileLocation":"openapi-v2-paydirect-gpi.yaml"},"subdomain":"payglocal","siteName":"PayGlocal Developers","title":"PayDirect GPI - PayGlocal Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T07:22:12.992Z","originalFileLocation":"api-reference/payments-v2/paydirect/gpi.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=\"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PayGlocal Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_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=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"PayDirect GPI - PayGlocal Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PayGlocal Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://payglocal.mintlify.app/_mintlify/api/og/v2?division=Seamless+Flow+%28PayDirect%29\u0026amp;title=PayDirect+GPI\u0026amp;description=PayGlocal+Payment+Initiate+%28GPI%29+%E2%80%94+one-step+PayDirect+sale+via+POST+%2Fgl%2Fv1%2Fpayments%2Finitiate.\u0026amp;theme=07a423efae7483781081b607\u0026amp;signature=74de0ee890a2983d1c7116a6f567bcf57b420de9c950cd37c1eb1c9a6e90eaf0\">\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=\"PayDirect GPI - PayGlocal Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://payglocal.mintlify.app/_mintlify/api/og/v2?division=Seamless+Flow+%28PayDirect%29\u0026amp;title=PayDirect+GPI\u0026amp;description=PayGlocal+Payment+Initiate+%28GPI%29+%E2%80%94+one-step+PayDirect+sale+via+POST+%2Fgl%2Fv1%2Fpayments%2Finitiate.\u0026amp;theme=07a423efae7483781081b607\u0026amp;signature=74de0ee890a2983d1c7116a6f567bcf57b420de9c950cd37c1eb1c9a6e90eaf0\">\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=\"/docs/mintlify-assets/_mintlify/favicons/payglocal/knnOtff07V0OJBvD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PayGlocal Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A6FE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/payments-v2/paydirect/gpi.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://payglocal.in/#organization\",\"name\":\"PayGlocal Developers\",\"url\":\"https://payglocal.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/payglocal/FaZ9yajV9xE4tE96/logo/light.png?fit=max\u0026auto=format\u0026n=FaZ9yajV9xE4tE96\u0026q=85\u0026s=ff6c9ee70ae41cb5d27af50dd4b47e95\"}},{\"@type\":\"WebSite\",\"@id\":\"https://payglocal.in/docs#website\",\"name\":\"PayGlocal Developers\",\"url\":\"https://payglocal.in/docs\",\"publisher\":{\"@id\":\"https://payglocal.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi#webpage\",\"url\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi\",\"name\":\"PayDirect GPI\",\"description\":\"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\",\"dateModified\":\"2026-10-05T07:22:12.992Z\",\"isPartOf\":{\"@id\":\"https://payglocal.in/docs#website\"},\"breadcrumb\":{\"@id\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment APIs\",\"item\":\"https://payglocal.in/docs/api-reference/payment/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Seamless Flow (PayDirect)\",\"item\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PayDirect GPI\",\"item\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi#apireference\",\"headline\":\"PayDirect GPI\",\"name\":\"PayDirect GPI\",\"description\":\"PayGlocal Payment Initiate (GPI) — one-step PayDirect sale via POST /gl/v1/payments/initiate.\",\"url\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi\",\"mainEntityOfPage\":{\"@id\":\"https://payglocal.in/docs/api-reference/payments-v2/paydirect/gpi#webpage\"},\"dateModified\":\"2026-10-05T07:22:12.992Z\",\"publisher\":{\"@id\":\"https://payglocal.in/#organization\"},\"isPartOf\":{\"@id\":\"https://payglocal.in/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PayGlocal Developers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PayGlocal Developers","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Partner APIs: Merchant Onboarding","pages":[{"title":"Partner Merchant Onboarding API","icon":"building-columns","href":"/api-reference/onboarding-overview"},{"title":"Create Onboarding","openapi":"POST /gcc/v2/partner/merchant/onboard","href":"/api-reference/create-onboarding"},{"title":"Update Business Details","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/business-details","href":"/api-reference/update-business-details"},{"title":"Add / Update Beneficial Owner","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/beneficial-owner","href":"/api-reference/add-beneficial-owner"},{"title":"Update Bank Details","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/bank-details","href":"/api-reference/update-bank-details"},{"title":"Update Authorised Signatory","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/auth-signatory","href":"/api-reference/update-auth-signatory"},{"title":"Upload Documents","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/docs","href":"/api-reference/upload-documents"},{"title":"Configure Products and Fees","openapi":"PUT /gcc/v2/partner/merchant/onboard/{onboardingId}/products","href":"/api-reference/configure-products"},{"title":"Get Verification Redirect","openapi":"PUT /gcc/v2/partner/merchant/verification/{onboardingId}/redirect","href":"/api-reference/get-verification-redirect"},{"title":"Get Onboarding Status","openapi":"GET /gcc/v2/partner/merchant/onboard/{onboardingId}/status","href":"/api-reference/get-status"},{"title":"Get Business Categories","openapi":"GET /gcc/v2/partner/merchant/onboard/business-category","href":"/api-reference/get-business-categories"}]},{"group":"Payment APIs","icon":"credit-card","expanded":true,"pages":[{"title":"Payment APIs Overview","sidebarTitle":"Overview","icon":"credit-card","href":"/api-reference/payment/overview"},{"group":"Seamless Flow (PayDirect)","icon":"code","expanded":true,"pages":[{"title":"PayDirect Overview","sidebarTitle":"Overview","description":"PCI DSS–compliant direct card integration — your checkout collects card data; PayGlocal processes the payment.","icon":"code","href":"/api-reference/payments-v2/paydirect/overview"},{"title":"PayDirect GPI","sidebarTitle":"GPI","openapi":"openapi-v2-paydirect-gpi.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/gpi"},{"title":"PayDirect Standing Instruction: On Demand","sidebarTitle":"Standing instruction: on demand","description":"On-demand SI — register a mandate on PayDirect initiate when PayGlocal has enabled on-demand SI on your MID.","openapi":"openapi-v2-paydirect-si-on-demand.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/si-on-demand"},{"title":"PayDirect Standing Instruction: Auto Debit","sidebarTitle":"Standing instruction: auto debit","openapi":"openapi-v2-paydirect-si-auto-debit.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/si-auto-debit"},{"title":"PayDirect Authorize Payment (Auth Only)","sidebarTitle":"Authorize Payment (Auth Only)","openapi":"openapi-v2-paydirect-auth.yaml POST /gl/v1/payments/initiate","href":"/api-reference/payments-v2/paydirect/auth-capture-authorise"}]},{"group":"Checkout Flow (PayCollect)","icon":"window","expanded":true,"pages":[{"title":"PayCollect Overview","sidebarTitle":"Overview","icon":"window","href":"/api-reference/payments-v2/paycollect/overview"},{"title":"PayCollect GPI","sidebarTitle":"GPI","openapi":"openapi-v2-paycollect-gpi.yaml POST /gl/v1/payments/initiate/paycollect","href":"/api-reference/payments-v2/paycollect/gpi"},{"title":"PayCollect Standing Instruction: On Demand","sidebarTitle":"Standing instruction: on demand","openapi":"openapi-v2-paycollect-si-on-demand.yaml POST /gl/v1/payments/initiate/paycollect","href":"/api-reference/payments-v2/paycollect/si-on-demand"},{"title":"PayCollect Standing Instruction: Auto Debit","sidebarTitle":"Standing instruction: auto debit","openapi":"openapi-v2-paycollect-si-auto-debit.yaml POST /gl/v1/payments/initiate/paycollect","href":"/api-reference/payments-v2/paycollect/si-auto-debit"},{"title":"PayCollect Authorize Payment (Auth Only)","sidebarTitle":"Authorize Payment (Auth Only)","openapi":"openapi-v2-paycollect-auth.yaml POST /gl/v1/payments/initiate/paycollect","href":"/api-reference/payments-v2/paycollect/auth-capture-authorise"}]},{"group":"Standing Instruction Sale","icon":"repeat","expanded":true,"pages":[{"title":"SI Subsequent Payment","openapi":"POST /gl/v1/payments/si/sale","href":"/api-reference/standing-instructions/si-subsequent-payment"},{"title":"Check Mandate Status","openapi":"POST /gl/v1/payments/si/status","href":"/api-reference/standing-instructions/si-status"},{"title":"Cancel Standing Instruction","openapi":"PUT /gl/v1/payments/si/status","href":"/api-reference/standing-instructions/si-cancellation"}]},{"group":"Capture \u0026 reversal","icon":"shield-check","expanded":true,"pages":[{"title":"Standalone Capture","openapi":"POST /gl/v1/payments/{gid}/capture","href":"/api-reference/payment/standalone-capture"},{"title":"Auth Reversal","openapi":"POST /gl/v1/payments/{gid}/auth-reversal","href":"/api-reference/payment/standalone-reversal"}]},{"group":"Status","icon":"signal","expanded":true,"pages":[{"title":"Get Transaction Status","openapi":"GET /gl/v1/payments/{id}/status","href":"/api-reference/payments-v2/common/get-transaction-status"}]},{"group":"Refund","icon":"undo","expanded":true,"pages":[{"title":"Refund","openapi":"POST /gl/v1/payments/{gid}/refund","href":"/api-reference/payment/refund"}]},{"group":"CodeDrop","icon":"square-code","expanded":true,"pages":[{"title":"CodeDrop Integration Reference","icon":"square-code","href":"/api-reference/codedrop"}]},{"group":"Callback Handling","icon":"webhook","expanded":true,"pages":[{"title":"Callback Handling — Node.js","sidebarTitle":"Callback Handling","icon":"node-js","href":"/api-reference/callback-handling"}]},{"group":"Payload Templates","icon":"clipboard-list","expanded":true,"pages":[{"title":"Payload Templates","icon":"code","href":"/api-reference/payload-templates"}]}]},{"group":"Partner APIs: MCA","pages":[{"title":"MCA APIs","icon":"globe","href":"/api-reference/mca/overview"},{"title":"Fetch Virtual Accounts","openapi":"GET /gcc/v3/merchants/{merchantId}/ffms/virtualAccounts","href":"/api-reference/mca/account-fetch"},{"title":"Upload Document via Presigned URL","openapi":"POST /gcc/v1/ffms/external/transaction/{gid}/upload-presigned","href":"/api-reference/mca/document-upload"},{"title":"MCA Demo Funding Ingestion","openapi":"POST /gcc/v1/ffms/transaction/demo-funding/{transactingMid}/mca-ingestion","href":"/api-reference/mca/mca-ingestion"}]}]}]},"title":"PayDirect GPI - PayGlocal Developers","buildId":"dpl_3DJU2xKhT5gDPFQL5Tqv7AFnkWsF","deploymentId":"dpl_3DJU2xKhT5gDPFQL5Tqv7AFnkWsF","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DsGgv5pK.js","utils-B0h6ZXi-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-IgrnFwPw.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C49-TBER.js","snippetPresets-BPHn-9OB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BBU7roUf.js","ApiExamples-CGBwAHwX.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BjABHCCH.js","shallow-C0Uj5sOI.js","getApiPlaygroundDisplay-BnYiIeY4.js","CodeSnippet-BJWWrlBw.js","CodeSnippets-bxE5aDye.js","getPastedJson-BAjriezQ.js","icon-BqcS52QC.js","MethodPill-BPGyN9me.js","DuplicateIcon-CCf2giLL.js","createIcon-CVH8aNt2.js","DynamicMarkdown-BklwmxA6.js","SectionHeading-DYCZQFxh.js","axios-vUo_bRtp.js","Markdown-D26rHnOC.js","clsx-DkiOUx4h.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DI8jfVGc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DwJy-csb.js"]}