Determines whether to fetch payment status from NPCI. Possible values:
true: If set to true, fetch payment status from NPCI.
false (default): If set to false, return payment from the local database.
string
The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.
Watch Out!This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.
string
Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.
string
The type of the payment. Possible values:
pay
collect
string
The status of the payment. Possible values:
created
initiated
pending
success
failed
Response Parameters
string
The entity type. Here, it is collection.
integer
Indicates the number of items in the entity type.
object
The payment details.
string
The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.
Watch Out!This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.
string
Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.
string
Indicates the UPI customer reference number. This is present in bank account statements as UTR. Additionally, this ID is shared with customers on TPAPs.
string
Indicates a URL that, upon clicking, provides the customer with further transaction details such as bill details, bill copy, order copy, ticket details, and so on. When used, this URL should be related to the particular transaction and not be used to send unsolicited information irrelevant to the transaction.
string
The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:
00: NULL
01: Advertisement
02: Invoice
enum
Indicates the 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:
00: Default - When no specific code is assigned or for general default scenarios.
01: QR Code - For making payments by scanning a standard QR code.
02: Secure QR Code - For payments that require additional security with QR codes.
03: Bharat QR Code - For interoperable payments across various payment networks using Bharat QR.
04: Intent - For payments initiated by an intent from an application or browser.
05: Secure Intent - For payments initiated by a secure intent from an app or browser.
06: NFC (Near Field Communication) - For contactless payments using NFC technology.
07: BLE (Bluetooth) - For payments made through Bluetooth Low Energy technology.
08: UHF (Ultra High Frequency) - For payments made using UHF technology, typically for toll payments.
09: Aadhaar - For payments authenticated using an Aadhaar number and biometric verification.
10: SDK (Software Development Kit) - For payments initiated through an SDK embedded in an app.
11: UPI-Mandate - For setting up recurring payments or mandates using UPI.
12: FIR (Foreign Inward Remittance) - For receiving remittances from foreign countries.
13: QR Mandate - For setting up recurring payments using a QR code.
14: BBPS - For making bill payments through the Bharat Bill Payment System.
enum
The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:
01: SEBI
02: AMC
03: Travel
04: Hospitality
05: Hospital
06: Telecom
07: Insurance
08: Education
09: Gifting
10: BBPS
11: Global UPI
12: Metro ATM QR
13: Non-metro ATM QR
14: Standing Instruction
15: Corporate disbursement
string
The currency of the amount. Here, it is INR.
integer
The amount in paise.
string
The type of the payment. Possible values:
pay
collect
string
The description of the payment.
object
The payer details.
string
The VPA of the payer.
object
The payer’s payment source details.
string
The IFSC of the payment source.
string
The masked account number of the payment source.
string
The name of the payer.
string
The response code issued by NPCI to the payer.
string
The reversal response code issued by NPCI to the payer. This is an optional parameter received as a response.
object
The payee details.
string
The VPA of the payee.
object
The payer’s payment source details.
string
The IFSC of the payment source.
string
The masked account number of the payment source.
string
The name of the payee.
string
The response code issued by NPCI to the payee.
string
The reversal response code issued by NPCI to the payee. This is an optional parameter received as a response.
string
The status of the payment. Possible values:
created
initiated
pending
success
failed
integer
The UNIX timestamp of the payment creation.
Last modified on November 27, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Razorpay","colors":{"primary":"#3395FF","light":"#66B2FF","dark":"#0B62C4"},"logo":{"light":"https://mintcdn.com/razorpay-881012b3/puuu1wI-BbW3rsp2/logo/light.svg?fit=max\u0026auto=format\u0026n=puuu1wI-BbW3rsp2\u0026q=85\u0026s=e0750375ee2004193a685f9f211963fe","dark":"https://mintcdn.com/razorpay-881012b3/puuu1wI-BbW3rsp2/logo/dark.svg?fit=max\u0026auto=format\u0026n=puuu1wI-BbW3rsp2\u0026q=85\u0026s=038b180f26d19ddb4eb40ede0cf84821","href":"https://razorpay.com/docs/"},"favicon":"https://mintcdn.com/razorpay-881012b3/puuu1wI-BbW3rsp2/favicon.png?fit=max\u0026auto=format\u0026n=puuu1wI-BbW3rsp2\u0026q=85\u0026s=9bebe786d3a21e9452fd2e31243e5fb3","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"basic"},"server":"https://api.razorpay.com"}},"navbar":{"links":[{"href":"https://razorpay.com/support/","label":"Support"},{"href":"https://razorpay.com/blog/","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.razorpay.com/"}},"footer":{"socials":{"x":"https://x.com/Razorpay","linkedin":"https://www.linkedin.com/company/razorpay","github":"https://github.com/razorpay","youtube":"https://www.youtube.com/razorpay"},"links":[{"header":"Products","items":[{"label":"Payment Gateway","href":"https://razorpay.com/payment-gateway"},{"label":"Payment Links","href":"https://razorpay.com/payment-links"},{"label":"RazorpayX","href":"https://razorpay.com/x"},{"label":"Payroll","href":"https://razorpay.com/payroll"}]},{"header":"Resources","items":[{"label":"Documentation","href":"https://razorpay.com/docs"},{"label":"API Reference","href":"https://razorpay.com/docs/api"},{"label":"Support","href":"https://razorpay.com/support"},{"label":"Blog","href":"https://razorpay.com/blog"}]},{"header":"Company","items":[{"label":"About Us","href":"https://razorpay.com/about"},{"label":"Careers","href":"https://razorpay.com/jobs"},{"label":"Pricing","href":"https://razorpay.com/pricing"}]}]},"seo":{"metatags":{"canonical":"https://razorpay.com/docs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"razorpay-881012b3","hasAudioNarration":false,"actualSubdomain":"razorpay-881012b3","customDomains":["razorpay.com"],"gitSource":{"type":"github","owner":"razorpay-vendor-integrations","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1016ae24f5184bb8d6fac1","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Payments","count":2045},{"language":"default","tag":"API Reference","count":677},{"language":"default","tag":"Payment Gateway","count":335},{"language":"default","tag":"Dashboard","count":296},{"language":"default","tag":"Subscriptions","count":191},{"language":"default","tag":"Payment Links","count":159},{"language":"default","tag":"Developer Tools","count":154},{"language":"default","tag":"Ecommerce Plugins","count":140},{"language":"default","tag":"Banking Plus","count":131},{"language":"default","tag":"Payment Methods","count":129}],"searchSettings":{"maxResults":8}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar ul.sidebar-group.mt-6,ul.sidebar-group.mt-6{margin-top:1rem}[data-component-part=\"callout-content\"]>[data-as=\"p\"]:first-child>strong,[data-component-part=\"callout-content\"]>[data-as=\"p\"]:first-child strong,[data-component-part=\"callout-content\"]>strong:first-child{font-size:1.125rem!important;font-weight:700!important;line-height:1.4!important}.error-code-cards [data-component-part=\"card-title\"]{display:inline-block!important;font-family:ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas,\n \"Liberation Mono\", monospace!important;font-size:0.875rem!important;font-weight:600!important;line-height:1.3!important;padding:0.25rem 0.75rem!important;border-radius:9999px!important;background:rgba(107, 114, 128, 0.10)!important;border:1px solid rgba(107, 114, 128, 0.25)!important}.dark .error-code-cards [data-component-part=\"card-title\"]{background:rgba(255, 255, 255, 0.06)!important;border-color:rgba(255, 255, 255, 0.15)!important}[data-http-method]{font-weight:700!important;border-color:transparent!important}[data-http-method=\"get\"]{color:#15803d!important;background:rgba(74, 222, 128, 0.2)!important}[data-http-method=\"post\"]{color:#1d4ed8!important;background:rgba(96, 165, 250, 0.2)!important}[data-http-method=\"put\"]{color:#a16207!important;background:rgba(250, 204, 21, 0.2)!important}[data-http-method=\"patch\"]{color:#c2410c!important;background:rgba(251, 146, 60, 0.2)!important}[data-http-method=\"delete\"]{color:#b91c1c!important;background:rgba(248, 113, 113, 0.2)!important}.dark [data-http-method=\"get\"]{color:#4ade80!important}.dark [data-http-method=\"post\"]{color:#60a5fa!important}.dark [data-http-method=\"put\"]{color:#facc15!important}.dark [data-http-method=\"patch\"]{color:#fb923c!important}.dark [data-http-method=\"delete\"]{color:#f87171!important}ul.sidebar-group.mt-6{margin-top:5px}.sticky .panel:has(>.rzp-code-selector){display:grid;grid-auto-rows:minmax(0, 1fr);gap:1.5rem;overflow:hidden}.sticky:has(>.panel>.rzp-code-selector)>div:not(.panel){display:none}.rzp-code-selector{position:relative;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0.125rem;border:1px solid rgba(3, 7, 18, 0.1);border-radius:1rem;background:rgb(244, 247, 250)}.dark .rzp-code-selector{border-color:rgba(255, 255, 255, 0.1);background:rgba(255, 255, 255, 0.05)}.rzp-code-selector-bar{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;flex:none;flex-wrap:wrap;padding:0.25rem 4.25rem 0.375rem 0.5rem}.rzp-code-selector-field{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}.rzp-code-selector-select{appearance:none;-webkit-appearance:none;min-width:max-content;padding:0.125rem 1.75rem 0.125rem 0.375rem;border:0;border-radius:0.5rem;background:transparent;color:var(--color-gray-600, #4b5563);font-size:0.75rem;font-weight:500;line-height:1.5rem;cursor:pointer}.dark .rzp-code-selector-select{color:var(--color-gray-300, #d1d5db)}.rzp-code-selector-select:hover{background:rgba(3, 7, 18, 0.05)}.dark .rzp-code-selector-select:hover{background:rgba(255, 255, 255, 0.08)}.rzp-code-selector-chevron{position:absolute;right:0.25rem;width:0.875rem;height:0.875rem;pointer-events:none;opacity:0.6}.rzp-code-selector-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.rzp-code-selector-body>.code-block{margin:0!important;min-width:0;border-radius:0 0 0.875rem 0.875rem;position:static!important}.rzp-code-selector-body [data-component-part=\"code-block-root\"]{border-radius:0 0 0.875rem 0.875rem}.rzp-code-selector-body .code-block-fade-overlay{display:none}.rzp-code-selector::after{content:\"\";position:absolute;inset:auto 0 0;height:2rem;border-radius:0 0 0.875rem 0.875rem;pointer-events:none;background:linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff)}.dark .rzp-code-selector::after{background:linear-gradient(to bottom, rgba(11, 12, 14, 0), rgb(11, 12, 14))}.rzp-code-selector>.rzp-code-selector-body>.code-block>.absolute{top:0.5rem;right:0.75rem}#content:has(#error-title){visibility:hidden;animation:rzp-404-reveal 0s linear 4s forwards}.rzp-404-ready #content:has(#error-title){visibility:visible;animation:none}.rzp-404-redirecting #content:has(#error-title){visibility:hidden;animation:none}@keyframes rzp-404-reveal{to{visibility:visible}}.rzp-fallback-notice{display:flex;align-items:flex-start;gap:0.75rem;margin:0 0 1.5rem;padding:1rem 1.25rem;border:1px solid #fde68a;border-radius:1rem;background:#fefce8;color:#854d0e;font-size:0.875rem;line-height:1.5;animation:rzp-notice-in 0.25s ease-out}.dark .rzp-fallback-notice{border-color:rgba(234, 179, 8, 0.3);background:rgba(234, 179, 8, 0.1);color:#fde68a}.rzp-fallback-notice p{margin:0}.rzp-fallback-notice-icon{flex:none;width:1.25rem;height:1.25rem;margin-top:0.05rem;color:#ca8a04}.dark .rzp-fallback-notice-icon{color:#facc15}.rzp-fallback-notice-text{flex:1;min-width:0}.rzp-fallback-notice-title{font-weight:600}.rzp-fallback-notice-close{flex:none;display:inline-flex;padding:0.25rem;margin:-0.25rem -0.5rem -0.25rem 0;border-radius:0.5rem;color:inherit;opacity:0.7;cursor:pointer;transition:opacity 0.15s, background-color 0.15s}.rzp-fallback-notice-close:hover,.rzp-fallback-notice-close:focus-visible{opacity:1;background:rgba(202, 138, 4, 0.12)}.rzp-fallback-notice-close svg{width:1rem;height:1rem}@keyframes rzp-notice-in{from{transform:translateY(-4px)}}@media (prefers-reduced-motion: reduce){.rzp-fallback-notice{animation:none}}"},{"filePath":"static/docs-home/styles.css","href":"/docs/_mintlify/custom/razorpay-881012b3/5b8b615a0125ba7b/static/docs-home/styles.css"},{"filePath":"static/nav-more.css","content":"#navbar .nav-tabs{min-width:0;column-gap:1rem}#navbar .nav-tabs:not(.rzpn-more) .nav-tabs-item{display:block;flex:0 1 auto;min-width:3.5rem;min-width:calc-size(max-content, min(size, 5.25rem));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:3rem}#navbar .nav-tabs:not(.rzpn-more) .nav-tabs-item>svg{display:inline-block;vertical-align:middle;margin:-2px 8px 0 0}#navbar .nav-tabs.rzpn-more .nav-tabs-item{flex:none;white-space:nowrap}#navbar .nav-tabs-item[data-rzpn-hidden]{display:none}#navbar .rzpn-more-wrap{position:relative;flex:none}#navbar .rzpn-more-wrap:not([hidden]){display:flex}#navbar .rzpn-more-menu:not([hidden]){display:flex;flex-direction:column}#navbar .rzpn-more-btn{background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}#navbar .rzpn-more-menu{position:absolute;top:calc(100% - 4px);right:0;z-index:50;min-width:12rem;padding:6px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}#navbar .rzpn-more-menu a{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;white-space:nowrap}#navbar .rzpn-more-menu a:hover,#navbar .rzpn-more-menu a:focus-visible{background:rgba(127,127,127,.12)}"}]}
{"page":{"pagePath":"api/payments/tpap-pro/payments-flow/fetch-payments","slug":"/api/payments/tpap-pro/payments-flow/fetch-payments","pageMetadata":{"title":"Fetch Payments","description":"Fetch payments using the Razorpay TPAP Pro API.","api":"GET /v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed","hidden":true,"href":"/api/payments/tpap-pro/payments-flow/fetch-payments","hiddenSetByFrontmatter":true},"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: \"Fetch payments using the Razorpay TPAP Pro API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,ParamField,ResponseField,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:`0.35rem 0.9rem`,border:`1px solid rgba(128,128,128,0.28)`,borderRadius:`0.5rem`,padding:`0.45rem 0.75rem`,margin:`0 0 1.25rem`,fontSize:`0.875rem`},children:[_jsx(`span`,{style:{fontWeight:600},children:`Available in`}),_jsx(`span`,{children:`🇮🇳 India`})]}),`\n`,_jsx(_components.p,{children:`Use this endpoint to list all customer payments. You can use various query parameters to filter the list of payments.`}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(ParamField,{query:`refresh`,type:`boolean`,id:`param-refresh`,children:[_jsx(_components.p,{children:`Determines whether to fetch payment status from NPCI. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: If set to true, fetch payment status from NPCI.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` (default): If set to false, return payment from the local database.`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`upi_transaction_id`,type:`string`,id:`param-upi-transaction-id`,children:[_jsx(_components.p,{children:`The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.`}),_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Watch Out!`})}),_jsx(_components.p,{children:`This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.`})]})]}),`\n`,_jsx(ParamField,{query:`reference_id`,type:`string`,id:`param-reference-id`,children:_jsx(_components.p,{children:`Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.`})}),`\n`,_jsxs(ParamField,{query:`type`,type:`string`,id:`param-type`,children:[_jsx(_components.p,{children:`The type of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pay`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`collect`})}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`created`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`initiated`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pending`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`success`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`failed`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsx(ResponseField,{name:`entity`,type:`string`,id:`param-entity`,children:_jsxs(_components.p,{children:[`The entity type. Here, it is `,_jsx(_components.code,{children:`collection`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`count`,type:`integer`,id:`param-count`,children:_jsx(_components.p,{children:`Indicates the number of items in the entity type.`})}),`\n`,_jsx(ResponseField,{name:`items`,type:`object`,id:`param-items`,children:_jsx(_components.p,{children:`The payment details.`})}),`\n`,_jsxs(ResponseField,{name:`upi_transaction_id`,type:`string`,id:`param-upi-transaction-id-1`,children:[_jsx(_components.p,{children:`The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.`}),_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Watch Out!`})}),_jsx(_components.p,{children:`This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.`})]})]}),`\n`,_jsx(ResponseField,{name:`reference_id`,type:`string`,id:`param-reference-id-1`,children:_jsx(_components.p,{children:`Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.`})}),`\n`,_jsx(ResponseField,{name:`upi_customer_reference_number`,type:`string`,id:`param-upi-customer-reference-number`,children:_jsx(_components.p,{children:`Indicates the UPI customer reference number. This is present in bank account statements as UTR. Additionally, this ID is shared with customers on TPAPs.`})}),`\n`,_jsx(ResponseField,{name:`upi_reference_url`,type:`string`,id:`param-upi-reference-url`,children:_jsx(_components.p,{children:`Indicates a URL that, upon clicking, provides the customer with further transaction details such as bill details, bill copy, order copy, ticket details, and so on. When used, this URL should be related to the particular transaction and not be used to send unsolicited information irrelevant to the transaction.`})}),`\n`,_jsxs(ResponseField,{name:`upi_reference_category`,type:`string`,id:`param-upi-reference-category`,children:[_jsx(_components.p,{children:`The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`00`}),`: NULL`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: Advertisement`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: Invoice`]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`upi_initiation_mode`,type:`enum`,id:`param-upi-initiation-mode`,children:[_jsx(_components.p,{children:`Indicates the 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`00`}),`: Default - When no specific code is assigned or for general default scenarios.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: QR Code - For making payments by scanning a standard QR code.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: Secure QR Code - For payments that require additional security with QR codes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`03`}),`: Bharat QR Code - For interoperable payments across various payment networks using Bharat QR.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`04`}),`: Intent - For payments initiated by an intent from an application or browser.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`05`}),`: Secure Intent - For payments initiated by a secure intent from an app or browser.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`06`}),`: NFC (Near Field Communication) - For contactless payments using NFC technology.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`07`}),`: BLE (Bluetooth) - For payments made through Bluetooth Low Energy technology.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`08`}),`: UHF (Ultra High Frequency) - For payments made using UHF technology, typically for toll payments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`09`}),`: Aadhaar - For payments authenticated using an Aadhaar number and biometric verification.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`10`}),`: SDK (Software Development Kit) - For payments initiated through an SDK embedded in an app.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`11`}),`: UPI-Mandate - For setting up recurring payments or mandates using UPI.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12`}),`: FIR (Foreign Inward Remittance) - For receiving remittances from foreign countries.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`13`}),`: QR Mandate - For setting up recurring payments using a QR code.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`14`}),`: BBPS - For making bill payments through the Bharat Bill Payment System.`]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`upi_purpose_code`,type:`enum`,id:`param-upi-purpose-code`,children:[_jsx(_components.p,{children:`The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: SEBI`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: AMC`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`03`}),`: Travel`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`04`}),`: Hospitality`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`05`}),`: Hospital`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`06`}),`: Telecom`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`07`}),`: Insurance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`08`}),`: Education`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`09`}),`: Gifting`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`10`}),`: BBPS`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`11`}),`: Global UPI`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12`}),`: Metro ATM QR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`13`}),`: Non-metro ATM QR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`14`}),`: Standing Instruction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`15`}),`: Corporate disbursement`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency of the amount. Here, it is `,_jsx(_components.code,{children:`INR`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`integer`,id:`param-amount`,children:_jsx(_components.p,{children:`The amount in paise.`})}),`\n`,_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:[_jsx(_components.p,{children:`The type of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pay`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`collect`})}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The description of the payment.`})}),`\n`,_jsx(ResponseField,{name:`payer`,type:`object`,id:`param-payer`,children:_jsx(_components.p,{children:`The payer details.`})}),`\n`,_jsx(ResponseField,{name:`vpa`,type:`string`,id:`param-vpa`,children:_jsx(_components.p,{children:`The VPA of the payer.`})}),`\n`,_jsx(ResponseField,{name:`fundsource`,type:`object`,id:`param-fundsource`,children:_jsx(_components.p,{children:`The payer’s payment source details.`})}),`\n`,_jsx(ResponseField,{name:`ifsc`,type:`string`,id:`param-ifsc`,children:_jsx(_components.p,{children:`The IFSC of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`masked_account_number`,type:`string`,id:`param-masked-account-number`,children:_jsx(_components.p,{children:`The masked account number of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the payer.`})}),`\n`,_jsx(ResponseField,{name:`upi_response_code`,type:`string`,id:`param-upi-response-code`,children:_jsx(_components.p,{children:`The response code issued by NPCI to the payer.`})}),`\n`,_jsx(ResponseField,{name:`upi_reversal_response_code`,type:`string`,id:`param-upi-reversal-response-code`,children:_jsx(_components.p,{children:`The reversal response code issued by NPCI to the payer. This is an optional parameter received as a response.`})}),`\n`,_jsx(ResponseField,{name:`payees`,type:`object`,id:`param-payees`,children:_jsx(_components.p,{children:`The payee details.`})}),`\n`,_jsx(ResponseField,{name:`vpa`,type:`string`,id:`param-vpa-1`,children:_jsx(_components.p,{children:`The VPA of the payee.`})}),`\n`,_jsx(ResponseField,{name:`fundsource`,type:`object`,id:`param-fundsource-1`,children:_jsx(_components.p,{children:`The payer’s payment source details.`})}),`\n`,_jsx(ResponseField,{name:`ifsc`,type:`string`,id:`param-ifsc-1`,children:_jsx(_components.p,{children:`The IFSC of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`masked_account_number`,type:`string`,id:`param-masked-account-number-1`,children:_jsx(_components.p,{children:`The masked account number of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`The name of the payee.`})}),`\n`,_jsx(ResponseField,{name:`upi_response_code`,type:`string`,id:`param-upi-response-code-1`,children:_jsx(_components.p,{children:`The response code issued by NPCI to the payee.`})}),`\n`,_jsx(ResponseField,{name:`upi_reversal_response_code`,type:`string`,id:`param-upi-reversal-response-code-1`,children:_jsx(_components.p,{children:`The reversal response code issued by NPCI to the payee. This is an optional parameter received as a response.`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[_jsx(_components.p,{children:`The status of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`created`}),`\n`,_jsx(_components.li,{children:`initiated`}),`\n`,_jsx(_components.li,{children:`pending`}),`\n`,_jsx(_components.li,{children:`success`}),`\n`,_jsx(_components.li,{children:`failed`}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsx(_components.p,{children:`The UNIX timestamp of the payment creation.`})})]})}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":"Fetch Payments","description":"Fetch payments using the Razorpay TPAP Pro API.","api":"GET /v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed","hidden":true,"href":"/api/payments/tpap-pro/payments-flow/fetch-payments","hiddenSetByFrontmatter":true}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:`0.35rem 0.9rem`,border:`1px solid rgba(128,128,128,0.28)`,borderRadius:`0.5rem`,padding:`0.45rem 0.75rem`,margin:`0 0 1.25rem`,fontSize:`0.875rem`},children:[_jsx(`span`,{style:{fontWeight:600},children:`Available in`}),_jsx(`span`,{children:`🇮🇳 India`})]}),`\n`,_jsx(_components.p,{children:`Use this endpoint to list all customer payments. You can use various query parameters to filter the list of payments.`}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Curl`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'api.rzp.\u003cbank>.com/v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-u [YOUR_KEY_ID]:[YOUR_SECRET] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`-H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-device-fingerprint: \u003cdevice_fingerprint>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-device-fingerprint-timestamp: 1496918882000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-customer-reference: customer-id-from-customer\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`47`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`47`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"collection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upi.payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_transaction_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RZPc2ed455b797e4add8392110cfc528acc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reference_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ord_somfv432nsa\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_customer_reference_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"804813039157\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_reference_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.test.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_reference_category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_initiation_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_purpose_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10024`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pay | collect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"flight tickets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vpa\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gaurav.kumar@exampleupi\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fundsource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ifsc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AXIS0000058\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"masked_account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XXXXXXXXXXX3000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gaurav Kumar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_reversal_response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payees\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vpa\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme.corp@rzp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fundsource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ifsc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"HDFC0000058\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"masked_account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XXXXXXXXXXX6000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AcmeCorp Pvt. Ltd.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upi_reversal_response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"created | initiated | pending | success | failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1722317078\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expire_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1722317078\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(ParamField,{query:`refresh`,type:`boolean`,id:`param-refresh`,children:[_jsx(_components.p,{children:`Determines whether to fetch payment status from NPCI. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: If set to true, fetch payment status from NPCI.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` (default): If set to false, return payment from the local database.`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`upi_transaction_id`,type:`string`,id:`param-upi-transaction-id`,children:[_jsx(_components.p,{children:`The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.`}),_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Watch Out!`})}),_jsx(_components.p,{children:`This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.`})]})]}),`\n`,_jsx(ParamField,{query:`reference_id`,type:`string`,id:`param-reference-id`,children:_jsx(_components.p,{children:`Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.`})}),`\n`,_jsxs(ParamField,{query:`type`,type:`string`,id:`param-type`,children:[_jsx(_components.p,{children:`The type of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pay`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`collect`})}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`created`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`initiated`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pending`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`success`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`failed`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsx(ResponseField,{name:`entity`,type:`string`,id:`param-entity`,children:_jsxs(_components.p,{children:[`The entity type. Here, it is `,_jsx(_components.code,{children:`collection`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`count`,type:`integer`,id:`param-count`,children:_jsx(_components.p,{children:`Indicates the number of items in the entity type.`})}),`\n`,_jsx(ResponseField,{name:`items`,type:`object`,id:`param-items`,children:_jsx(_components.p,{children:`The payment details.`})}),`\n`,_jsxs(ResponseField,{name:`upi_transaction_id`,type:`string`,id:`param-upi-transaction-id-1`,children:[_jsx(_components.p,{children:`The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID.`}),_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Watch Out!`})}),_jsx(_components.p,{children:`This value should be alphanumeric and a maximum of 35 characters are allowed. The value should start with a prefix given by NPCI to Switch.`})]})]}),`\n`,_jsx(ResponseField,{name:`reference_id`,type:`string`,id:`param-reference-id-1`,children:_jsx(_components.p,{children:`Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters.`})}),`\n`,_jsx(ResponseField,{name:`upi_customer_reference_number`,type:`string`,id:`param-upi-customer-reference-number`,children:_jsx(_components.p,{children:`Indicates the UPI customer reference number. This is present in bank account statements as UTR. Additionally, this ID is shared with customers on TPAPs.`})}),`\n`,_jsx(ResponseField,{name:`upi_reference_url`,type:`string`,id:`param-upi-reference-url`,children:_jsx(_components.p,{children:`Indicates a URL that, upon clicking, provides the customer with further transaction details such as bill details, bill copy, order copy, ticket details, and so on. When used, this URL should be related to the particular transaction and not be used to send unsolicited information irrelevant to the transaction.`})}),`\n`,_jsxs(ResponseField,{name:`upi_reference_category`,type:`string`,id:`param-upi-reference-category`,children:[_jsx(_components.p,{children:`The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`00`}),`: NULL`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: Advertisement`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: Invoice`]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`upi_initiation_mode`,type:`enum`,id:`param-upi-initiation-mode`,children:[_jsx(_components.p,{children:`Indicates the 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`00`}),`: Default - When no specific code is assigned or for general default scenarios.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: QR Code - For making payments by scanning a standard QR code.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: Secure QR Code - For payments that require additional security with QR codes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`03`}),`: Bharat QR Code - For interoperable payments across various payment networks using Bharat QR.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`04`}),`: Intent - For payments initiated by an intent from an application or browser.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`05`}),`: Secure Intent - For payments initiated by a secure intent from an app or browser.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`06`}),`: NFC (Near Field Communication) - For contactless payments using NFC technology.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`07`}),`: BLE (Bluetooth) - For payments made through Bluetooth Low Energy technology.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`08`}),`: UHF (Ultra High Frequency) - For payments made using UHF technology, typically for toll payments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`09`}),`: Aadhaar - For payments authenticated using an Aadhaar number and biometric verification.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`10`}),`: SDK (Software Development Kit) - For payments initiated through an SDK embedded in an app.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`11`}),`: UPI-Mandate - For setting up recurring payments or mandates using UPI.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12`}),`: FIR (Foreign Inward Remittance) - For receiving remittances from foreign countries.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`13`}),`: QR Mandate - For setting up recurring payments using a QR code.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`14`}),`: BBPS - For making bill payments through the Bharat Bill Payment System.`]}),`\n`]})]}),`\n`,_jsxs(ResponseField,{name:`upi_purpose_code`,type:`enum`,id:`param-upi-purpose-code`,children:[_jsx(_components.p,{children:`The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`01`}),`: SEBI`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`02`}),`: AMC`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`03`}),`: Travel`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`04`}),`: Hospitality`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`05`}),`: Hospital`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`06`}),`: Telecom`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`07`}),`: Insurance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`08`}),`: Education`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`09`}),`: Gifting`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`10`}),`: BBPS`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`11`}),`: Global UPI`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12`}),`: Metro ATM QR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`13`}),`: Non-metro ATM QR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`14`}),`: Standing Instruction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`15`}),`: Corporate disbursement`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency of the amount. Here, it is `,_jsx(_components.code,{children:`INR`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`integer`,id:`param-amount`,children:_jsx(_components.p,{children:`The amount in paise.`})}),`\n`,_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:[_jsx(_components.p,{children:`The type of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pay`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`collect`})}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The description of the payment.`})}),`\n`,_jsx(ResponseField,{name:`payer`,type:`object`,id:`param-payer`,children:_jsx(_components.p,{children:`The payer details.`})}),`\n`,_jsx(ResponseField,{name:`vpa`,type:`string`,id:`param-vpa`,children:_jsx(_components.p,{children:`The VPA of the payer.`})}),`\n`,_jsx(ResponseField,{name:`fundsource`,type:`object`,id:`param-fundsource`,children:_jsx(_components.p,{children:`The payer’s payment source details.`})}),`\n`,_jsx(ResponseField,{name:`ifsc`,type:`string`,id:`param-ifsc`,children:_jsx(_components.p,{children:`The IFSC of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`masked_account_number`,type:`string`,id:`param-masked-account-number`,children:_jsx(_components.p,{children:`The masked account number of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the payer.`})}),`\n`,_jsx(ResponseField,{name:`upi_response_code`,type:`string`,id:`param-upi-response-code`,children:_jsx(_components.p,{children:`The response code issued by NPCI to the payer.`})}),`\n`,_jsx(ResponseField,{name:`upi_reversal_response_code`,type:`string`,id:`param-upi-reversal-response-code`,children:_jsx(_components.p,{children:`The reversal response code issued by NPCI to the payer. This is an optional parameter received as a response.`})}),`\n`,_jsx(ResponseField,{name:`payees`,type:`object`,id:`param-payees`,children:_jsx(_components.p,{children:`The payee details.`})}),`\n`,_jsx(ResponseField,{name:`vpa`,type:`string`,id:`param-vpa-1`,children:_jsx(_components.p,{children:`The VPA of the payee.`})}),`\n`,_jsx(ResponseField,{name:`fundsource`,type:`object`,id:`param-fundsource-1`,children:_jsx(_components.p,{children:`The payer’s payment source details.`})}),`\n`,_jsx(ResponseField,{name:`ifsc`,type:`string`,id:`param-ifsc-1`,children:_jsx(_components.p,{children:`The IFSC of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`masked_account_number`,type:`string`,id:`param-masked-account-number-1`,children:_jsx(_components.p,{children:`The masked account number of the payment source.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`The name of the payee.`})}),`\n`,_jsx(ResponseField,{name:`upi_response_code`,type:`string`,id:`param-upi-response-code-1`,children:_jsx(_components.p,{children:`The response code issued by NPCI to the payee.`})}),`\n`,_jsx(ResponseField,{name:`upi_reversal_response_code`,type:`string`,id:`param-upi-reversal-response-code-1`,children:_jsx(_components.p,{children:`The reversal response code issued by NPCI to the payee. This is an optional parameter received as a response.`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[_jsx(_components.p,{children:`The status of the payment. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`created`}),`\n`,_jsx(_components.li,{children:`initiated`}),`\n`,_jsx(_components.li,{children:`pending`}),`\n`,_jsx(_components.li,{children:`success`}),`\n`,_jsx(_components.li,{children:`failed`}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsx(_components.p,{children:`The UNIX timestamp of the payment creation.`})})]})}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":"Fetch Payments","description":"Fetch payments using the Razorpay TPAP Pro API.","api":"GET /v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed","hidden":true,"href":"/api/payments/tpap-pro/payments-flow/fetch-payments","hiddenSetByFrontmatter":true}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Curl","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'api.rzp.\u0026#x3C;bank>.com/v1/upi/tpap/paymentsrefresh=true\u0026#x26;upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026#x26;reference_id=RSKwpINfSkdEvtdxf\u0026#x26;type=collect\u0026#x26;status=deemed'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-u [YOUR_KEY_ID]:[YOUR_SECRET] \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">-H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"x-device-fingerprint: \u0026#x3C;device_fingerprint>\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"x-device-fingerprint-timestamp: 1496918882000\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"x-customer-reference: customer-id-from-customer\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"47\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"collection\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"items\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:[\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"upi.payment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_transaction_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"RZPc2ed455b797e4add8392110cfc528acc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reference_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ord_somfv432nsa\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_customer_reference_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"804813039157\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_reference_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://www.test.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_reference_category\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_initiation_mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_purpose_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10024\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pay | collect\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"flight tickets\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"vpa\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gaurav.kumar@exampleupi\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fundsource\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ifsc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AXIS0000058\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"masked_account_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"XXXXXXXXXXX3000\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Gaurav Kumar\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mcc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_response_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_reversal_response_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payees\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:[\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"vpa\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acme.corp@rzp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fundsource\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ifsc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"HDFC0000058\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"masked_account_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"XXXXXXXXXXX6000\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AcmeCorp Pvt. Ltd.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mcc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6765\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_response_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"upi_reversal_response_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"created | initiated | pending | success | failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1722317078\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expire_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1722317078\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Fetch Payments","path":"/v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed","servers":[{"url":"https://api.razorpay.com"}],"method":"get","request":{"security":[{"title":"Basic Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"basic","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`."}},"query":{},"cookie":{}}}],"parameters":{"query":{"refresh":{"schema":[{"type":"boolean","description":"Determines whether to fetch payment status from NPCI. Possible values: `true` : If set to true, fetch payment status from NPCI. `false` (default): If set to false, return payment from the local database."}]},"upi_transaction_id":{"schema":[{"type":"string","description":"The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID."}]},"reference_id":{"schema":[{"type":"string","description":"Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters."}]},"type":{"schema":[{"type":"string","description":"The type of the payment. Possible values: `pay` `collect`"}]},"status":{"schema":[{"type":"string","description":"The status of the payment. Possible values: `created` `initiated` `pending` `success` `failed`"}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"entity":[{"type":"string","description":"The entity type. Here, it is `collection` ."}],"count":[{"type":"integer","description":"Indicates the number of items in the entity type."}],"items":[{"type":"object","properties":{},"description":"The payment details."}],"upi_transaction_id":[{"type":"string","description":"The unique identifier of the transaction across all entities in UPI is created by the originator. In payments, the lifecycle starts from CL, so it is mandatory for the originator to create it. All further actions regarding this payment will be done using this ID."}],"reference_id":[{"type":"string","description":"Indicates the transaction ID used by merchants for their reference. It is used at the business level and not in the UPI ecosystem. This value should be alphanumeric and between 1 and 35 characters."}],"upi_customer_reference_number":[{"type":"string","description":"Indicates the UPI customer reference number. This is present in bank account statements as UTR. Additionally, this ID is shared with customers on TPAPs."}],"upi_reference_url":[{"type":"string","description":"Indicates a URL that, upon clicking, provides the customer with further transaction details such as bill details, bill copy, order copy, ticket details, and so on. When used, this URL should be related to the particular transaction and not be used to send unsolicited information irrelevant to the transaction."}],"upi_reference_category":[{"type":"string","description":"The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values: `00` : NULL `01` : Advertisement `02` : Invoice"}],"upi_initiation_mode":[{"type":"object","properties":{},"description":"Indicates the 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values: `00` : Default - When no specific code is assigned or for general default scenarios. `01` : QR Code - For making payments by scanning a standard QR code. `02` : Secure QR Code - For payments that require additional security with QR codes. `03` : Bharat QR Code - For interoperable payments across various payment networks using Bharat QR. `04` : Intent - For payments initiated by an intent from an application or browser. `05` : Secure Intent - For payments initiated by a secure intent from an app or browser. `06` : NFC (Near Field Communication) - For contactless payments using NFC technology. `07` : BLE (Bluetooth) - For payments made through Bluetooth Low Energy technology. `08` : UHF (Ultra High Frequency) - For payments made using UHF technology, typically for toll payments. `09` : Aadhaar - For payments authenticated using an Aadhaar number and biometric verification. `10` : SDK (Software Development Kit) - For payments initiated through an SDK embedded in an app. `11` : UPI-Mandate - For setting up recurring payments or mandates using UPI. `12` : FIR (Foreign Inward Remittance) - For receiving remittances from foreign countries. `13` : QR Mandate - For setting up recurring payments using a QR code. `14` : BBPS - For making bill payments through the Bharat Bill Payment System."}],"upi_purpose_code":[{"type":"object","properties":{},"description":"The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values: `01` : SEBI `02` : AMC `03` : Travel `04` : Hospitality `05` : Hospital `06` : Telecom `07` : Insurance `08` : Education `09` : Gifting `10` : BBPS `11` : Global UPI `12` : Metro ATM QR `13` : Non-metro ATM QR `14` : Standing Instruction `15` : Corporate disbursement"}],"currency":[{"type":"string","description":"The currency of the amount. Here, it is `INR` ."}],"amount":[{"type":"integer","description":"The amount in paise."}],"type":[{"type":"string","description":"The type of the payment. Possible values: `pay` `collect`"}],"description":[{"type":"string","description":"The description of the payment."}],"payer":[{"type":"object","properties":{},"description":"The payer details."}],"vpa":[{"type":"string","description":"The VPA of the payee."}],"fundsource":[{"type":"object","properties":{},"description":"The payer’s payment source details."}],"ifsc":[{"type":"string","description":"The IFSC of the payment source."}],"masked_account_number":[{"type":"string","description":"The masked account number of the payment source."}],"name":[{"type":"string","description":"The name of the payee."}],"upi_response_code":[{"type":"string","description":"The response code issued by NPCI to the payee."}],"upi_reversal_response_code":[{"type":"string","description":"The reversal response code issued by NPCI to the payee. This is an optional parameter received as a response."}],"payees":[{"type":"object","properties":{},"description":"The payee details."}],"status":[{"type":"string","description":"The status of the payment. Possible values: created initiated pending success failed"}],"created_at":[{"type":"integer","description":"The UNIX timestamp of the payment creation."}]}}],"examples":{"example":{"value":{"entity":"\u003cstring>","count":123,"items":{},"upi_transaction_id":"\u003cstring>","reference_id":"\u003cstring>","upi_customer_reference_number":"\u003cstring>","upi_reference_url":"\u003cstring>","upi_reference_category":"\u003cstring>","upi_initiation_mode":{},"upi_purpose_code":{},"currency":"\u003cstring>","amount":123,"type":"\u003cstring>","description":"\u003cstring>","payer":{},"vpa":"\u003cstring>","fundsource":{},"ifsc":"\u003cstring>","masked_account_number":"\u003cstring>","name":"\u003cstring>","upi_response_code":"\u003cstring>","upi_reversal_response_code":"\u003cstring>","payees":{},"status":"\u003cstring>","created_at":123}}}}}},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/razorpay-881012b3/0d344dfa342029c2/country-switcher.js","/docs/_mintlify/custom/razorpay-881012b3/d04f2910efb9afc8/static/docs-home/script.js","/docs/_mintlify/custom/razorpay-881012b3/79016038e50e3e6a/ga4.js","/docs/_mintlify/custom/razorpay-881012b3/0ccbc66d726b02ea/static/nav-more.js","/docs/_mintlify/custom/razorpay-881012b3/a849ad0bd40c8fc9/hreflang.js"],"subdomain":"razorpay-881012b3","siteName":"Razorpay","title":"Fetch Payments - Razorpay","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"India":{"href":"/api/payments/tpap-pro/payments-flow/fetch-payments","matchLevel":0},"Singapore":{"href":"/sg/home","matchLevel":4},"United States":{"href":"/us/home","matchLevel":4},"Malaysia":{"href":"/my/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T16:37:54.045Z","gitLastModified":"2026-11-27T08:59:25.000Z","originalFileLocation":"api/payments/tpap-pro/payments-flow/fetch-payments.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=\"Fetch payments using the Razorpay TPAP Pro API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Razorpay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Fetch Payments - Razorpay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch payments using the Razorpay TPAP Pro API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Razorpay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://razorpay-881012b3.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Fetch+Payments\u0026amp;description=Fetch+payments+using+the+Razorpay+TPAP+Pro+API.\u0026amp;theme=a4f414a96152b37051aa45a2\u0026amp;signature=a90b8ab76c8929e2e4e4a3c5013d06ca8de4078e4f495d0a43f4831479a6da48\">\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=\"Fetch Payments - Razorpay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch payments using the Razorpay TPAP Pro API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://razorpay-881012b3.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Fetch+Payments\u0026amp;description=Fetch+payments+using+the+Razorpay+TPAP+Pro+API.\u0026amp;theme=a4f414a96152b37051aa45a2\u0026amp;signature=a90b8ab76c8929e2e4e4a3c5013d06ca8de4078e4f495d0a43f4831479a6da48\">\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/razorpay-881012b3/gWy2bjt_zV_OZ2iN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Razorpay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3395FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments\">\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/payments/tpap-pro/payments-flow/fetch-payments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://razorpay.com/#organization\",\"name\":\"Razorpay\",\"url\":\"https://razorpay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/razorpay-881012b3/puuu1wI-BbW3rsp2/logo/light.svg?fit=max\u0026auto=format\u0026n=puuu1wI-BbW3rsp2\u0026q=85\u0026s=e0750375ee2004193a685f9f211963fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://razorpay.com/docs#website\",\"name\":\"Razorpay\",\"url\":\"https://razorpay.com/docs\",\"publisher\":{\"@id\":\"https://razorpay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments#webpage\",\"url\":\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments\",\"name\":\"Fetch Payments\",\"description\":\"Fetch payments using the Razorpay TPAP Pro API.\",\"dateModified\":\"2026-11-27T08:59:25.000Z\",\"isPartOf\":{\"@id\":\"https://razorpay.com/docs#website\"}},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments#apireference\",\"headline\":\"Fetch Payments\",\"name\":\"Fetch Payments\",\"description\":\"Fetch payments using the Razorpay TPAP Pro API.\",\"url\":\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments\",\"mainEntityOfPage\":{\"@id\":\"https://razorpay.com/docs/api/payments/tpap-pro/payments-flow/fetch-payments#webpage\"},\"dateModified\":\"2026-11-27T08:59:25.000Z\",\"publisher\":{\"@id\":\"https://razorpay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://razorpay.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api/payments/tpap-pro/payments-flow/fetch-payments.md","siteName":"Razorpay","nav":{"global":null,"versions":[{"version":"India","default":true,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/home"}]},{"tab":"Payments","icon":"credit-card","pages":[{"title":"Payments","href":"/payments"}]},{"tab":"Engage","icon":"bullhorn","pages":[{"title":"Engage","href":"/engage"}]},{"tab":"POS","icon":"cash-register","pages":[{"title":"POS","href":"/pos"}]},{"tab":"Banking Plus","icon":"building-columns","pages":[{"title":"Banking Plus","href":"/x"}]},{"tab":"Payroll","icon":"money-check-dollar","pages":[{"title":"Payroll","href":"/payroll"}]},{"tab":"Partners","icon":"handshake","pages":[{"title":"Partners","href":"/partners"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api"}]},{"tab":"Developer Tools","icon":"screwdriver-wrench","pages":[{"title":"Developer Tools","href":"/cli"}]},{"tab":"RBI Directive on Recurring Card Payments","hidden":true,"pages":[{"title":"RBI Directive on Recurring Card Payments","href":"/announcements/rbi-card-mandate-guidelines/recurring-payments"}]},{"tab":"RBI Directive on Card Payments for Subscriptions","hidden":true,"pages":[{"title":"RBI Directive on Card Payments for Subscriptions","href":"/announcements/rbi-card-mandate-guidelines/subscriptions"}]},{"tab":"Announcement Regarding TLS","hidden":true,"pages":[{"title":"Announcement Regarding TLS","href":"/announcements/tls"}]},{"tab":"Apple Pay S2S Flows","hidden":true,"pages":[{"title":"Apple Pay S2S Flows","href":"/payments/payment-methods/apple-pay/server-to-server/encrypted-token-flow"}]},{"tab":"Apple Pay S2S Integration","hidden":true,"pages":[{"title":"Apple Pay S2S Integration","href":"/payments/payment-methods/apple-pay/s2s-integration"}]},{"tab":"Bill Payments (BBPS)","hidden":true,"pages":[{"title":"Bill Payments (BBPS)","href":"/api/bills/bill-payments"}]},{"tab":"Products","hidden":true,"pages":[{"title":"Products","href":"/api/orders/products"}]},{"tab":"Card Fingerprints (or PAR) API","hidden":true,"pages":[{"title":"Card Fingerprints (or PAR) API","href":"/api/payments/cards/fingerprints"}]},{"tab":"Complaints","hidden":true,"pages":[{"title":"Complaints","href":"/api/payments/tpap-pro/complaints-flow"}]},{"tab":"Customer Onboarding","hidden":true,"pages":[{"title":"Customer Onboarding","href":"/api/payments/tpap-pro/customer-onboarding"}]},{"tab":"Accounts Management","hidden":true,"pages":[{"title":"Accounts Management","href":"/api/payments/tpap-pro/funds-account-management"}]},{"tab":"UPI Lite","hidden":true,"pages":[{"title":"UPI Lite","href":"/api/payments/tpap-pro/fundsource-lite"}]},{"tab":"Mandates","hidden":true,"pages":[{"title":"Mandates","href":"/api/payments/tpap-pro/mandate-flow"}]},{"tab":"Payments (API)","hidden":true,"pages":[{"title":"Payments","description":"Know about TPAP Pro payments flow and list of endpoints.","href":"/api/payments/tpap-pro/payments-flow"},{"title":"Approve a Collect Request","description":"Approve a collect request using the Razorpay TPAP Pro API.","api":"POST /v1/payments/:upi_transaction_id/approve","href":"/api/payments/tpap-pro/payments-flow/approve-collect-requests"},{"title":"Collect a Payment","description":"Collect a payment using the Razorpay API.","api":"POST /v1/payments/collect","href":"/api/payments/tpap-pro/payments-flow/collect-payments"},{"title":"Fetch Payments","api":"GET /v1/upi/tpap/paymentsrefresh=true\u0026upi_transaction_id=RZPkbnkb98scbkhbnj89b\u0026reference_id=RSKwpINfSkdEvtdxf\u0026type=collect\u0026status=deemed","href":"/api/payments/tpap-pro/payments-flow/fetch-payments"},{"title":"Make a Payment","description":"Make a payment using the Razorpay API.","api":"POST /v1/payments/pay","href":"/api/payments/tpap-pro/payments-flow/make-payments"},{"title":"Reject a Collect Request","description":"Reject a collect request using the Razorpay TPAP Pro API.","api":"POST /v1/payments/:upi_transaction_id/reject","href":"/api/payments/tpap-pro/payments-flow/reject-collect-requests"},{"title":"Resolve VPAs","description":"Resolve VPAs using the Razorpay API.","api":"POST /v1/upi/tpap/vpa/resolve","href":"/api/payments/tpap-pro/payments-flow/resolve-vpa"}]},{"tab":"UPI Number","hidden":true,"pages":[{"title":"UPI Number","href":"/api/payments/tpap-pro/upi-number"}]},{"tab":"QR Codes GST APIs","hidden":true,"pages":[{"title":"QR Codes GST APIs","href":"/api/qr-codes/gst"}]},{"tab":"QR Codes (Image Content)","hidden":true,"pages":[{"title":"QR Codes (Image Content)","href":"/api/qr-codes/image-content"}]},{"tab":"Razorpay App Store - Discover App Integrations and Extensions","hidden":true,"pages":[{"title":"Razorpay App Store - Discover App Integrations and Extensions","href":"/app-store"}]},{"tab":"Razorpay POS Error Codes and Troubleshooting","hidden":true,"pages":[{"title":"Razorpay POS Error Codes and Troubleshooting","href":"/errors/pos"}]},{"tab":"About Aggregators","hidden":true,"pages":[{"title":"About Aggregators","href":"/partners/aggregators"}]},{"tab":"COD \u0026 Magic Checkout (formerly Checkout360)","hidden":true,"pages":[{"title":"COD \u0026 Magic Checkout (formerly Checkout360)","href":"/payments/cod-magic-checkout"}]},{"tab":"Configuration","hidden":true,"pages":[{"title":"Configuration","href":"/payments/dashboard/account-settings/configuration/convenience-fees"}]},{"tab":"Dynamic Convenience Fees","hidden":true,"pages":[{"title":"Dynamic Convenience Fees","href":"/payments/dynamic-convenience-fees"}]},{"tab":"Integrate Razorpay Payment Button with Ghost CMS","hidden":true,"pages":[{"title":"Integrate Razorpay Payment Button with Ghost CMS","href":"/payments/ecommerce-plugins/ghost-integration"}]},{"tab":"About Insights","hidden":true,"pages":[{"title":"About Insights","href":"/payments/insights"}]},{"tab":"Integrate With Razorpay Import Flow - Custom Integration","hidden":true,"pages":[{"title":"Integrate With Razorpay Import Flow - Custom Integration","href":"/payments/international-payments/accept-international-payments-from-indian-customers/custom-integration"}]},{"tab":"About Razorpay Import Flow Web Standard Integration (Payments)","hidden":true,"pages":[{"title":"About Razorpay Import Flow Web Standard Integration (Payments)","href":"/payments/international-payments/accept-international-payments-from-indian-customers/import-flow/standard-integration"}]},{"tab":"Integrate With Razorpay Import Flow - S2S Integration","hidden":true,"pages":[{"title":"Integrate With Razorpay Import Flow - S2S Integration","href":"/payments/international-payments/accept-international-payments-from-indian-customers/s2s-integration"}]},{"tab":"About Razorpay Import Flow Web Standard Integration (International Payments)","hidden":true,"pages":[{"title":"About Razorpay Import Flow Web Standard Integration (International Payments)","href":"/payments/international-payments/accept-international-payments-from-indian-customers/standard-integration"}]},{"tab":"Outward Remittances for Education and Travel Payments","hidden":true,"pages":[{"title":"Outward Remittances for Education and Travel Payments","href":"/payments/international-payments/outward-remittances/standard-integration"}]},{"tab":"Other Outward Remittance Pages","hidden":true,"pages":[{"title":"Other Outward Remittance Pages","href":"/payments/international-payments/outward-remittances"}]},{"tab":"Risk Analytics Dashboard","hidden":true,"pages":[{"title":"Risk Analytics Dashboard","href":"/payments/international-payments/risk-visibility-dashboard"}]},{"tab":"Magic Checkout APIs","hidden":true,"pages":[{"title":"Magic Checkout APIs","href":"/payments/magic-checkout/apis"}]},{"tab":"RTO Intelligence","hidden":true,"pages":[{"title":"RTO Intelligence","href":"/payments/magic-checkout/rto-intelligence"}]},{"tab":"Integrate With Android Custom SDK","hidden":true,"pages":[{"title":"Integrate With Android Custom SDK","href":"/payments/payment-gateway/android-integration/custom"}]},{"tab":"Prerequisites (Payments)","hidden":true,"pages":[{"title":"Prerequisites (Payments)","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure"}]},{"tab":"Eligibility Check API","hidden":true,"pages":[{"title":"Eligibility Check API","href":"/payments/payment-gateway/emi²/eligibility-check"}]},{"tab":"Integrate With Flutter Custom SDK","hidden":true,"pages":[{"title":"Integrate With Flutter Custom SDK","href":"/payments/payment-gateway/flutter-integration/custom"}]},{"tab":"Integrate With iOS Custom SDK","hidden":true,"pages":[{"title":"Integrate With iOS Custom SDK","href":"/payments/payment-gateway/ios-integration/custom"}]},{"tab":"Handle Payment Exceptions with Rainy Day Kit","hidden":true,"pages":[{"title":"Handle Payment Exceptions with Rainy Day Kit","href":"/payments/payment-gateway/rainy-day"}]},{"tab":"Integrate With React Native Custom SDK","hidden":true,"pages":[{"title":"Integrate With React Native Custom SDK","href":"/payments/payment-gateway/react-native-integration/custom"}]},{"tab":"Server-to-Server Integration","hidden":true,"pages":[{"title":"Server-to-Server Integration","href":"/payments/payment-gateway/s2s-integration"}]},{"tab":"Web Integration - Razorpay Custom Checkout","hidden":true,"pages":[{"title":"Web Integration - Razorpay Custom Checkout","href":"/payments/payment-gateway/web-integration/custom/build-integration"}]},{"tab":"PhonePe Switch Integration","hidden":true,"pages":[{"title":"PhonePe Switch Integration","href":"/payments/payment-gateway/web-integration/custom/phonepe-switch"}]},{"tab":"UPI Intent on Mobile Web","hidden":true,"pages":[{"title":"UPI Intent on Mobile Web","href":"/payments/payment-gateway/web-integration/custom/payment-methods/upi-intent-mweb"}]},{"tab":"Save customer card details on Custom Checkout","hidden":true,"pages":[{"title":"Save customer card details on Custom Checkout","href":"/payments/payment-gateway/web-integration/custom/features/saved-cards-old"}]},{"tab":"Prerequisites (Payment Gateway)","hidden":true,"pages":[{"title":"Prerequisites (Payment Gateway)","href":"/payments/payment-gateway/web-integration/hosted"}]},{"tab":"Chargeback on Custom Checkout","hidden":true,"pages":[{"title":"Chargeback on Custom Checkout","href":"/payments/payment-gateway/web-integration/custom/chargeback"}]},{"tab":"Web Integration - Razorpay Standard Checkout","hidden":true,"pages":[{"title":"Web Integration - Razorpay Standard Checkout","href":"/payments/payment-gateway/web-integration/standard/chargeback"}]},{"tab":"Standard Web Integration - Configurability of Payment Methods","hidden":true,"pages":[{"title":"Standard Web Integration - Configurability of Payment Methods","href":"/payments/payment-gateway/web-integration/standard/configure-restrict-payment-methods"}]},{"tab":"About Webview for Mobile Apps","hidden":true,"pages":[{"title":"About Webview for Mobile Apps","href":"/payments/payment-gateway/web-integration/standard/webview"}]},{"tab":"Alipay","hidden":true,"pages":[{"title":"Alipay","href":"/payments/payment-methods/alipay"}]},{"tab":"Pay with Reward Points","hidden":true,"pages":[{"title":"Pay with Reward Points","href":"/payments/payment-methods/apps/reward-points"}]},{"tab":"BharatQR","hidden":true,"pages":[{"title":"BharatQR","href":"/payments/payment-methods/bharatqr"}]},{"tab":"Authentication Type for Cards - Native OTP","hidden":true,"pages":[{"title":"Authentication Type for Cards - Native OTP","href":"/payments/payment-methods/cards/authentication/native-otp"}]},{"tab":"Dynamic Currency Conversion","hidden":true,"pages":[{"title":"Dynamic Currency Conversion","href":"/payments/payment-methods/cards/dynamic-currency-conversion"}]},{"tab":"Google Pay Card Payments","hidden":true,"pages":[{"title":"Google Pay Card Payments","href":"/payments/payment-methods/cards/google-pay"}]},{"tab":"Tokenisation FAQs","hidden":true,"pages":[{"title":"Tokenisation FAQs","href":"/payments/payment-methods/cards/token-hq"}]},{"tab":"DOKU, OVO, and LinkAja","hidden":true,"pages":[{"title":"DOKU, OVO, and LinkAja","href":"/payments/payment-methods/doku-ovo-linkaja"}]},{"tab":"eCOD","hidden":true,"pages":[{"title":"eCOD","href":"/payments/payment-methods/ecod"}]},{"tab":"About Instant EMI Cardless","hidden":true,"pages":[{"title":"About Instant EMI Cardless","href":"/payments/payment-methods/emi/cardless-emi/instant-emi"}]},{"tab":"International Payments - Giropay","hidden":true,"pages":[{"title":"International Payments - Giropay","href":"/payments/payment-methods/giropay"}]},{"tab":"GoPay","hidden":true,"pages":[{"title":"GoPay","href":"/payments/payment-methods/gopay"}]},{"tab":"GrabPay (Malaysia)","hidden":true,"pages":[{"title":"GrabPay (Malaysia)","href":"/payments/payment-methods/grabpay-my"}]},{"tab":"GrabPay (Singapore)","hidden":true,"pages":[{"title":"GrabPay (Singapore)","href":"/payments/payment-methods/grabpay-sg"}]},{"tab":"Klarna","hidden":true,"pages":[{"title":"Klarna","href":"/payments/payment-methods/klarna"}]},{"tab":"International Payments - POLi","hidden":true,"pages":[{"title":"International Payments - POLi","href":"/payments/payment-methods/poli"}]},{"tab":"International Payments - Sofort","hidden":true,"pages":[{"title":"International Payments - Sofort","href":"/payments/payment-methods/sofort"}]},{"tab":"International Payments - Trustly","hidden":true,"pages":[{"title":"International Payments - Trustly","href":"/payments/payment-methods/trustly"}]},{"tab":"UPI QR Code","hidden":true,"pages":[{"title":"UPI QR Code","href":"/payments/payment-methods/upi-qr"}]},{"tab":"Google Spot Platform Integration","hidden":true,"pages":[{"title":"Google Spot Platform Integration","href":"/payments/payment-methods/upi/google-pay/spot-platform-integration"}]},{"tab":"Send GST information in UPI transaction flows","hidden":true,"pages":[{"title":"Send GST information in UPI transaction flows","href":"/payments/payment-methods/upi/gst-on-upi"}]},{"tab":"Zip","hidden":true,"pages":[{"title":"Zip","href":"/payments/payment-methods/zip"}]},{"tab":"Track Payments Using Google Tracking ID and Facebook Pixel","hidden":true,"pages":[{"title":"Track Payments Using Google Tracking ID and Facebook Pixel","href":"/payments/payment-pages/plugins-add-ons"}]},{"tab":"Recurring Payments","hidden":true,"pages":[{"title":"Recurring Payments","href":"/payments/recurring-payments"}]},{"tab":"Account Code","hidden":true,"pages":[{"title":"Account Code","href":"/payments/route/account-code"}]},{"tab":"Direct Settlements","hidden":true,"pages":[{"title":"Direct Settlements","href":"/payments/settlements/direct/route"}]},{"tab":"Update Expiry Date for an Individual Customer Identifier","hidden":true,"pages":[{"title":"Update Expiry Date for an Individual Customer Identifier","href":"/payments/smart-collect/update-expiry/bulk"}]},{"tab":"Razorpay Smart Collect","hidden":true,"pages":[{"title":"Razorpay Smart Collect","href":"/payments/smart-collect/va-vpa-qr"}]},{"tab":"Third-Party Validation (TPV) - Custom Integration","hidden":true,"pages":[{"title":"Third-Party Validation (TPV) - Custom Integration","href":"/payments/third-party-validation/custom-integration"}]},{"tab":"Third-Party Validation (TPV) - S2S Integration","hidden":true,"pages":[{"title":"Third-Party Validation (TPV) - S2S Integration","href":"/payments/third-party-validation/s2s-integration"}]},{"tab":"About TPAP Pro","hidden":true,"pages":[{"title":"About TPAP Pro","href":"/payments/tpap-pro"}]},{"tab":"Razorpay White Label Wallet","hidden":true,"pages":[{"title":"Razorpay White Label Wallet","href":"/payments/wallet"}]},{"tab":"Integrate with HRMS Software","hidden":true,"pages":[{"title":"Integrate with HRMS Software","href":"/payroll/integrations/hrms"}]},{"tab":"Custom Payroll \u0026 Attendance Cycle","hidden":true,"pages":[{"title":"Custom Payroll \u0026 Attendance Cycle","href":"/payroll/quickstart/custom-cycle"}]},{"tab":"FnF Hold Salary Pay Compliance","hidden":true,"pages":[{"title":"FnF Hold Salary Pay Compliance","href":"/payroll/run-payroll/fnf"}]},{"tab":"Testing SSR","hidden":true,"pages":[{"title":"Testing SSR","href":"/test-ssr"}]},{"tab":"Sub-Merchant Onboarding Webhooks - Sample Payload","hidden":true,"pages":[{"title":"Sub-Merchant Onboarding Webhooks - Sample Payload","href":"/webhooks/partners"}]},{"tab":"Integrate Tally","hidden":true,"pages":[{"title":"Integrate Tally","href":"/x/accounting/tally"}]},{"tab":"About Razorpay Capital","hidden":true,"pages":[{"title":"About Razorpay Capital","href":"/x/capital/line-of-credit"}]},{"tab":"GST Changes for E-invoicing w.e.f. 01 January 2021","hidden":true,"pages":[{"title":"GST Changes for E-invoicing w.e.f. 01 January 2021","href":"/announcements/gst-changes"}]},{"tab":"Subscription Workflow Changes","hidden":true,"pages":[{"title":"Subscription Workflow Changes","href":"/announcements/subscription-changes"}]},{"tab":"Migrate from UPI Collect to UPI Intent/QR Code - Custom Checkout","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent/QR Code - Custom Checkout","href":"/announcements/upi-collect-migration/custom-integration"}]},{"tab":"Migrate from UPI Collect to UPI Intent/QR Code - S2S Integration","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent/QR Code - S2S Integration","href":"/announcements/upi-collect-migration/s2s-integration"}]},{"tab":"Migrate from UPI Collect to UPI Intent/QR Code - Standard Checkout","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent/QR Code - Standard Checkout","href":"/announcements/upi-collect-migration/standard-integration"}]},{"tab":"Migrate from UPI Collect to UPI Intent - Custom Checkout","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent - Custom Checkout","href":"/announcements/upi-collect-migration/recurring-payments/custom-checkout"}]},{"tab":"Migrate from UPI Collect to UPI Intent - S2S APIs","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent - S2S APIs","href":"/announcements/upi-collect-migration/recurring-payments/s2s-integration"}]},{"tab":"Migrate from UPI Collect to UPI Intent - Standard Checkout","hidden":true,"pages":[{"title":"Migrate from UPI Collect to UPI Intent - Standard Checkout","href":"/announcements/upi-collect-migration/recurring-payments/standard-checkout"}]},{"tab":"Payment Settlement Control API","hidden":true,"pages":[{"title":"Payment Settlement Control API","href":"/api/payment-settlement-control-api"}]},{"tab":"Bank Accounts","hidden":true,"pages":[{"title":"Bank Accounts","href":"/api/customers/bank-accounts"}]},{"tab":"Customer Fund Account APIs","hidden":true,"pages":[{"title":"Customer Fund Account APIs","href":"/api/customers/customer-fund-account"}]},{"tab":"Customer Payment History","hidden":true,"pages":[{"title":"Customer Payment History","href":"/api/payments/customer-payment-history"}]},{"tab":"Form POST Payments","hidden":true,"pages":[{"title":"Form POST Payments","href":"/api/payments/form-post-payment-create"}]},{"tab":"Subscriptions","hidden":true,"pages":[{"title":"Subscriptions","href":"/api/payments/subscriptions-custom"}]},{"tab":"Fetch Card IIN Information using IIN API","hidden":true,"pages":[{"title":"Fetch Card IIN Information using IIN API","href":"/api/payments/cards/iin-api"}]},{"tab":"Manage Reminders for Payment Links","hidden":true,"pages":[{"title":"Manage Reminders for Payment Links","href":"/api/payments/payment-links/reminders"}]},{"tab":"Add Bank Account Receiver to an Existing Customer Identifier","hidden":true,"pages":[{"title":"Add Bank Account Receiver to an Existing Customer Identifier","href":"/api/payments/smart-collect-2/add-receiver-bank-transfer"}]},{"tab":"Create a Customer Identifier With VPA Receiver","hidden":true,"pages":[{"title":"Create a Customer Identifier With VPA Receiver","href":"/api/payments/smart-collect-2/create-cust-id-vpa"}]},{"tab":"Security Risks - PCI DSS Non-Compliance","hidden":true,"pages":[{"title":"Security Risks - PCI DSS Non-Compliance","href":"/api/x/payouts-cards/security-risks"}]},{"tab":"Razorpay DataSync FAQs","hidden":true,"pages":[{"title":"Razorpay DataSync FAQs","href":"/datasync/faq"}]},{"tab":"Partner Earnings","hidden":true,"pages":[{"title":"Partner Earnings","href":"/partners/earnings"}]},{"tab":"Referral Bonus for RazorpayX powered Current Accounts","hidden":true,"pages":[{"title":"Referral Bonus for RazorpayX powered Current Accounts","href":"/partners/commissions/referral-bonus"}]},{"tab":"New Sub-Merchant Invite Flow","hidden":true,"pages":[{"title":"New Sub-Merchant Invite Flow","href":"/partners/service-partners/add-submerchants/changes"}]},{"tab":"Add Submerchants from Dashboard","hidden":true,"pages":[{"title":"Add Submerchants from Dashboard","href":"/partners/technology-partners/onboard-businesses/add-on-features/add-submerchants-from-dashboard"}]},{"tab":"Perform Sub-Merchant KYC","hidden":true,"pages":[{"title":"Perform Sub-Merchant KYC","href":"/partners/technology-partners/onboard-businesses/add-on-features/perform-submerchant-kyc"}]},{"tab":"Switch Dashboard","hidden":true,"pages":[{"title":"Switch Dashboard","href":"/partners/technology-partners/onboard-businesses/add-on-features/switch-dashboard"}]},{"tab":"Payment Methods for Merchant Categories","hidden":true,"pages":[{"title":"Payment Methods for Merchant Categories","href":"/payments/merchant-categorisation"}]},{"tab":"Razorpay Referral Program","hidden":true,"pages":[{"title":"Razorpay Referral Program","href":"/payments/referral-program"}]},{"tab":"Add Buyer's Address","hidden":true,"pages":[{"title":"Add Buyer's Address","href":"/payments/dashboard/buyers-address-details"}]},{"tab":"Disputes","hidden":true,"pages":[{"title":"Disputes","href":"/payments/disputes/presentments"}]},{"tab":"Integrate Offers with Custom Checkout","hidden":true,"pages":[{"title":"Integrate Offers with Custom Checkout","href":"/payments/international-payments/accept-international-payments-from-indian-customers/standard-integration/offers/custom-integration"}]},{"tab":"Integrating Offers in Server-to-Server (S2S)","hidden":true,"pages":[{"title":"Integrating Offers in Server-to-Server (S2S)","href":"/payments/international-payments/accept-international-payments-from-indian-customers/standard-integration/offers/s2s-integration"}]},{"tab":"Integrate Low Cost EMI Offers with Custom Checkout","hidden":true,"pages":[{"title":"Integrate Low Cost EMI Offers with Custom Checkout","href":"/payments/international-payments/accept-international-payments-from-indian-customers/standard-integration/offers/low-cost-emi/custom-integration"}]},{"tab":"Integrating Low Cost EMI Offers in Server-to-Server (S2S)","hidden":true,"pages":[{"title":"Integrating Low Cost EMI Offers in Server-to-Server (S2S)","href":"/payments/international-payments/accept-international-payments-from-indian-customers/standard-integration/offers/low-cost-emi/s2s-integration"}]},{"tab":"GIFT API Integration","hidden":true,"pages":[{"title":"GIFT API Integration","href":"/payments/international-payments/gift-city/standard-integration"}]},{"tab":"L1 \u0026 L2 videos","hidden":true,"pages":[{"title":"L1 \u0026 L2 videos","href":"/payments/mobile-app/onboarding-videos"}]},{"tab":"Integrate Offers with Custom Checkout (payments/offers/custom-integration)","hidden":true,"pages":[{"title":"Integrate Offers with Custom Checkout (payments/offers/custom-integration)","href":"/payments/offers/custom-integration"}]},{"tab":"Integrate Low Cost EMI Offers with Custom Checkout (payments/offers/low-cost-emi/custom-integration)","hidden":true,"pages":[{"title":"Integrate Low Cost EMI Offers with Custom Checkout (payments/offers/low-cost-emi/custom-integration)","href":"/payments/offers/low-cost-emi/custom-integration"}]},{"tab":"Integrating Low Cost EMI Offers in Server-to-Server (S2S) (payments/offers/low-cost-emi/s2s-integration)","hidden":true,"pages":[{"title":"Integrating Low Cost EMI Offers in Server-to-Server (S2S) (payments/offers/low-cost-emi/s2s-integration)","href":"/payments/offers/low-cost-emi/s2s-integration"}]},{"tab":"Integrating Offers in Server-to-Server (S2S) (payments/offers/voucher/s2s-integration)","hidden":true,"pages":[{"title":"Integrating Offers in Server-to-Server (S2S) (payments/offers/voucher/s2s-integration)","href":"/payments/offers/voucher/s2s-integration"}]},{"tab":"80 G-enabled Payment Receipt","hidden":true,"pages":[{"title":"80 G-enabled Payment Receipt","href":"/payments/payment-button/subscription-buttons/80g-receipt"}]},{"tab":"Generic Payment Receipt","hidden":true,"pages":[{"title":"Generic Payment Receipt","href":"/payments/payment-button/subscription-buttons/receipt"}]},{"tab":"Supported Platforms","hidden":true,"pages":[{"title":"Supported Platforms","href":"/payments/payment-button/subscription-buttons/supported-platforms"}]},{"tab":"Add Facebook Pixel in Payment Success Page","hidden":true,"pages":[{"title":"Add Facebook Pixel in Payment Success Page","href":"/payments/payment-button/subscription-buttons/advanced-options/add-fb-pixel"}]},{"tab":"Integrate Payment Methods in Custom Checkout","hidden":true,"pages":[{"title":"Integrate Payment Methods in Custom Checkout","href":"/payments/payment-gateway/emi²/payment-methods/custom-integration"}]},{"tab":"About Payment Methods","hidden":true,"pages":[{"title":"About Payment Methods","href":"/payments/payment-gateway/emi²/payment-methods/standard-integration"}]},{"tab":"Payment Links - Legacy","hidden":true,"pages":[{"title":"Payment Links - Legacy","href":"/payments/payment-links/legacy"}]},{"tab":"Increase Order Conversion Rate with Retry Links","hidden":true,"pages":[{"title":"Increase Order Conversion Rate with Retry Links","href":"/payments/payment-links/announcements/retry-link"}]},{"tab":"Google Pay™","hidden":true,"pages":[{"title":"Google Pay™","href":"/payments/payment-methods/google-pay"}]},{"tab":"International Alternative Payment Methods","hidden":true,"pages":[{"title":"International Alternative Payment Methods","href":"/payments/payment-methods/international-apms"}]},{"tab":"Bank Transfer on Custom Checkout","hidden":true,"pages":[{"title":"Bank Transfer on Custom Checkout","href":"/payments/payment-methods/bank-transfer/custom-integration"}]},{"tab":"Corporate Card Payments","hidden":true,"pages":[{"title":"Corporate Card Payments","href":"/payments/payment-methods/cards/corporate-cards"}]},{"tab":"Tokens (Private)","hidden":true,"pages":[{"title":"Tokens (Private)","href":"/payments/payment-methods/cards/token-private"}]},{"tab":"Tokens (Public)","hidden":true,"pages":[{"title":"Tokens (Public)","href":"/payments/payment-methods/cards/token-public"}]},{"tab":"Visa Safe Click for Payments via Juspay","hidden":true,"pages":[{"title":"Visa Safe Click for Payments via Juspay","href":"/payments/payment-methods/cards/visa-safe-click"}]},{"tab":"Cardless EMI - Custom Checkout","hidden":true,"pages":[{"title":"Cardless EMI - Custom Checkout","href":"/payments/payment-methods/emi/cardless-emi/custom-integration"}]},{"tab":"Cardless EMI - S2S","hidden":true,"pages":[{"title":"Cardless EMI - S2S","href":"/payments/payment-methods/emi/cardless-emi/s2s-integration"}]},{"tab":"ZestMoney Cardless EMI","hidden":true,"pages":[{"title":"ZestMoney Cardless EMI","href":"/payments/payment-methods/emi/cardless-emi/zestmoney"}]},{"tab":"axio Cardless EMI - Custom Checkout","hidden":true,"pages":[{"title":"axio Cardless EMI - Custom Checkout","href":"/payments/payment-methods/emi/cardless-emi/axio/custom-integration"}]},{"tab":"No Cost EMIs from Bajaj Finserv - Custom Checkout","hidden":true,"pages":[{"title":"No Cost EMIs from Bajaj Finserv - Custom Checkout","href":"/payments/payment-methods/emi/no-cost-emi/bajaj-finserv/custom-integration"}]},{"tab":"No Cost EMIs from Bajaj Finserv - S2S","hidden":true,"pages":[{"title":"No Cost EMIs from Bajaj Finserv - S2S","href":"/payments/payment-methods/emi/no-cost-emi/bajaj-finserv/s2s-integration"}]},{"tab":"No Cost EMIs from Bajaj Finserv - Standard Checkout","hidden":true,"pages":[{"title":"No Cost EMIs from Bajaj Finserv - Standard Checkout","href":"/payments/payment-methods/emi/no-cost-emi/bajaj-finserv/standard-integration"}]},{"tab":"Corporate Netbanking","hidden":true,"pages":[{"title":"Corporate Netbanking","href":"/payments/payment-methods/netbanking/corporate"}]},{"tab":"Pay Later - Custom Checkout","hidden":true,"pages":[{"title":"Pay Later - Custom Checkout","href":"/payments/payment-methods/pay-later/custom-integration"}]},{"tab":"Google Pay Integration - Custom Checkout","hidden":true,"pages":[{"title":"Google Pay Integration - Custom Checkout","href":"/payments/payment-methods/upi/google-pay/custom-integration"}]},{"tab":"Google Omnichannel Integration - Custom Checkout","hidden":true,"pages":[{"title":"Google Omnichannel Integration - Custom Checkout","href":"/payments/payment-methods/upi/google-pay/omnichannel/custom-integration"}]},{"tab":"Google Pay Omnichannel for Server-to-Server Integration","hidden":true,"pages":[{"title":"Google Pay Omnichannel for Server-to-Server Integration","href":"/payments/payment-methods/upi/google-pay/omnichannel/s2s-integration"}]},{"tab":"UPI Intent on iOS - S2S","hidden":true,"pages":[{"title":"UPI Intent on iOS - S2S","href":"/payments/payment-methods/upi/upi-intent/s2s-integration"}]},{"tab":"List of External Wallets","hidden":true,"pages":[{"title":"List of External Wallets","href":"/payments/payment-methods/wallets/external"}]},{"tab":"Paytm","hidden":true,"pages":[{"title":"Paytm","href":"/payments/payment-methods/wallets/paytm"}]},{"tab":"Amazon Pay - Custom Checkout","hidden":true,"pages":[{"title":"Amazon Pay - Custom Checkout","href":"/payments/payment-methods/wallets/amazon-pay/custom-integration"}]},{"tab":"Payment Failure Analysis","hidden":true,"pages":[{"title":"Payment Failure Analysis","href":"/payments/payments/failure-analysis"}]},{"tab":"Configure Payment Capture Settings using Orders API","hidden":true,"pages":[{"title":"Configure Payment Capture Settings using Orders API","href":"/payments/payments/capture-settings/api"}]},{"tab":"Linked Accounts Creation Via Batch","hidden":true,"pages":[{"title":"Linked Accounts Creation Via Batch","href":"/payments/route/batch-linked-accounts"}]},{"tab":"Other Features","hidden":true,"pages":[{"title":"Other Features","href":"/payments/route/other-features"}]},{"tab":"Pricing Model","hidden":true,"pages":[{"title":"Pricing Model","href":"/payments/route/pricing"}]},{"tab":"Instant Settlements on Route","hidden":true,"pages":[{"title":"Instant Settlements on Route","href":"/payments/settlements/instant/route"}]},{"tab":"Batch Creation","hidden":true,"pages":[{"title":"Batch Creation","href":"/payments/smart-collect/bulk"}]},{"tab":"API Endpoints","hidden":true,"pages":[{"title":"API Endpoints","href":"/payments/smart-collect/receiver-types"}]},{"tab":"Customer Identifier Status","hidden":true,"pages":[{"title":"Customer Identifier Status","href":"/payments/smart-collect/status"}]},{"tab":"Test Payments in Smart Collect","hidden":true,"pages":[{"title":"Test Payments in Smart Collect","href":"/payments/smart-collect/testing"}]},{"tab":"Update Expiry Date for an Individual Customer Identifier (payments/smart-collect/update-individual-expiry)","hidden":true,"pages":[{"title":"Update Expiry Date for an Individual Customer Identifier (payments/smart-collect/update-individual-expiry)","href":"/payments/smart-collect/update-individual-expiry"}]},{"tab":"Virtual UPI ID Format","hidden":true,"pages":[{"title":"Virtual UPI ID Format","href":"/payments/smart-collect/upi-id-format"}]},{"tab":"Generate TPV QR Codes Using UPI Intent Deep Links","hidden":true,"pages":[{"title":"Generate TPV QR Codes Using UPI Intent Deep Links","href":"/payments/third-party-validation/qr-code"}]},{"tab":"Enable NPS Declarations","hidden":true,"pages":[{"title":"Enable NPS Declarations","href":"/payroll/nps"}]},{"tab":"Declare NPS","hidden":true,"pages":[{"title":"Declare NPS","href":"/payroll/employees/declarations/nps"}]},{"tab":"Automate Karnataka Professional Tax Payments","hidden":true,"pages":[{"title":"Automate Karnataka Professional Tax Payments","href":"/payroll/professional-tax/2fa-automation"}]},{"tab":"Reverse Loss of Pay (RLOP)","hidden":true,"pages":[{"title":"Reverse Loss of Pay (RLOP)","href":"/payroll/run-payroll/rlop"}]},{"tab":"Payment Link/Invoices Callback Support","hidden":true,"pages":[{"title":"Payment Link/Invoices Callback Support","href":"/private/invoices-callback"}]},{"tab":"Microsoft .NET 3.5 Integration","hidden":true,"pages":[{"title":"Microsoft .NET 3.5 Integration","href":"/private/microsoft-net"}]},{"tab":"Razorpay Support Ticket API","hidden":true,"pages":[{"title":"Razorpay Support Ticket API","href":"/private/support-ticket-api"}]},{"tab":"Account Statements via SFTP","hidden":true,"pages":[{"title":"Account Statements via SFTP","href":"/x/account-statement/sftp"}]},{"tab":"Private / Public Limited Company / OPC","hidden":true,"pages":[{"title":"Private / Public Limited Company / OPC","href":"/x/icici-current-account/company"}]},{"tab":"Current Account Documents","hidden":true,"pages":[{"title":"Current Account Documents","href":"/x/icici-current-account/entity-address-proof"}]},{"tab":"Limited Liability Partnership (LLP)","hidden":true,"pages":[{"title":"Limited Liability Partnership (LLP)","href":"/x/icici-current-account/llp"}]},{"tab":"Partnership","hidden":true,"pages":[{"title":"Partnership","href":"/x/icici-current-account/partnership"}]},{"tab":"Sole Proprietorship","hidden":true,"pages":[{"title":"Sole Proprietorship","href":"/x/icici-current-account/sole-proprietorship"}]},{"tab":"User Groups","hidden":true,"pages":[{"title":"User Groups","href":"/x/manage-teams/user-groups"}]},{"tab":"Goods and Services Tax (GST)","hidden":true,"pages":[{"title":"Goods and Services Tax (GST)","href":"/x/tax-payments/gst"}]},{"tab":"Input Tax Credit Checker","hidden":true,"pages":[{"title":"Input Tax Credit Checker","href":"/x/vendor-payments/gst-credit-checker"}]},{"tab":"Multi Branch Management","hidden":true,"pages":[{"title":"Multi Branch Management","href":"/x/vendor-payments/multi-branch-management"}]},{"tab":"Pay TDS on Vendor Advances","hidden":true,"pages":[{"title":"Pay TDS on Vendor Advances","href":"/x/vendor-payments/advances/tds"}]},{"tab":"Web JS Integration (Dynamic Cart Value)","hidden":true,"pages":[{"title":"Web JS Integration (Dynamic Cart Value)","href":"/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-js-integration-dynamic-cart-value"}]},{"tab":"Recurring Payments API","hidden":true,"pages":[{"title":"Recurring Payments API","href":"/api/payments/recurring-payments"}]},{"tab":"Recurring Payments API - Custom Integration","hidden":true,"pages":[{"title":"Recurring Payments API - Custom Integration","href":"/api/payments/recurring-payments/custom"}]}]},{"version":"Singapore","pages":[{"title":"Singapore","href":"/sg/home"}]},{"version":"United States","pages":[{"title":"United States","href":"/us/home"}]},{"version":"Malaysia","pages":[{"title":"Malaysia","href":"/my/home"}]}]},"basePath":"","title":"Fetch Payments - Razorpay","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CqAH5gmw.js","snippetPresets-BJgunkn7.js","utils-2nvZyCRg.js","style-to-object-BY3JEAdk.js","utils-Dg_ccOpq.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Dx13yQ3Z.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BF2bK8_8.js","_Uint8Array-CroFGttd.js","isObject-FP1Yky1u.js","ApiExamples-DVMMKE_5.js","usePlaygroundInputsStore-CZqNhEOQ.js","shallow-lVKuG6ys.js","isEqual-BtwhVrrv.js","CodeSnippets-D1j3p1Ld.js","CodeSnippet-DZ0X6n6h.js","use-playground-group-access-CHc7bwGD.js","Page-Dsa0ree3.js","api-description-markdown-D8YljcAx.js","DynamicMarkdown-BpzBQATn.js","SectionHeading-DbMHVbf0.js","MethodPill-Bw-UUkE7.js","getPastedJson-DSpdmJSt.js","Check2Icon-CQQrmKnL.js","axios-CsQoIw0U.js"]}