RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, contact our Support team.
Use this endpoint to retrieve the balance of your RazorpayX account. Amounts are in sen.
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \-X GET https://api.razorpay.com/v1/banking_balances
Number of balances to be fetched. Use it with skip for pagination.
Default value: 10
Maximum value: 100
integer
Number of balances to be skipped. Use it with count for pagination.
Response Parameters
string
The entity being returned. Here it is collection. Each item in items has the entity banking_balance.
integer
The number of items returned. For example, 1.
array
The list of accounts and their balances.
string
The currency of the balance. Here it is MYR.
string
Your RazorpayX account number. It has 16 digits and starts with 818181. For example, 8181810000000000.
string
The account type of your RazorpayX account. Here it is razorpayx_lite.
long
The total balance, in sen. For example, 2500000 for RM 25,000.00.
long
The available balance, in sen. For example, 2500000 for RM 25,000.00.
long
Unix timestamp of when the balance was last updated. For example, 1795089601.
Errors
Invalid request
Code:400A query parameter is not valid. For example, count is greater than 100. The error.field parameter in the response names the parameter.Solution: Correct the parameter and send the request again.
Authentication failed
Code:401The key ID or key secret is missing or incorrect, or the request came from an IP address that is not on your allowlist.Solution: Use the correct key ID and key secret and call the API from an allowlisted server IP. Refer to API keys and Allowlist IPs.
Last modified on December 1, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Razorpay","colors":{"primary":"#3395FF","light":"#66B2FF","dark":"#0B62C4"},"logo":{"light":"https://mintcdn.com/doc-test-my/ZVMbrxgGis8rvt2g/logo/light.svg?fit=max\u0026auto=format\u0026n=ZVMbrxgGis8rvt2g\u0026q=85\u0026s=6aab4f40abeef4b048527ba9f05deda3","dark":"https://mintcdn.com/doc-test-my/ZVMbrxgGis8rvt2g/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZVMbrxgGis8rvt2g\u0026q=85\u0026s=46ee6143cb631297999f217bc077aded","href":"/home"},"favicon":"https://mintcdn.com/doc-test-my/ocuE3cGe6n9R22co/favicon.png?fit=max\u0026auto=format\u0026n=ocuE3cGe6n9R22co\u0026q=85\u0026s=923547044b089abf7dc4fc129ef43e00","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"basic"},"server":"https://api.razorpay.com"}},"navbar":{"links":[{"href":"https://curlec.com/support","label":"Support"},{"href":"https://curlec.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.curlec.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://curlec.com/payment-gateway"},{"label":"Payment Links","href":"https://curlec.com/payment-links"}]},{"header":"Resources","items":[{"label":"Documentation","href":"https://curlec.com/docs"},{"label":"API Reference","href":"https://curlec.com/docs/api"},{"label":"Support","href":"https://curlec.com/support"},{"label":"Blog","href":"https://curlec.com/blog"}]},{"header":"Company","items":[{"label":"About Us","href":"https://curlec.com/about"},{"label":"Careers","href":"https://curlec.com/careers"},{"label":"Pricing","href":"https://curlec.com/pricing"}]}]},"seo":{"metatags":{"canonical":"https://curlec.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":"doc-test-my","hasAudioNarration":false,"actualSubdomain":"doc-test-my","customDomains":["curlec.com"],"gitSource":{"type":"github","owner":"razorpay-vendor-integrations","repo":"docs-my","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10f8f59ffae5051c41a992"},"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":"6b12a423730128d490437419","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Payments","count":458},{"language":"default","tag":"API Reference","count":115},{"language":"default","tag":"Payment Gateway","count":98},{"language":"default","tag":"Dashboard","count":74},{"language":"default","tag":"Route","count":45},{"language":"default","tag":"Subscriptions","count":45},{"language":"default","tag":"Ecommerce Plugins","count":42},{"language":"default","tag":"Invoices","count":35},{"language":"default","tag":"Payment Links","count":35},{"language":"default","tag":"Developer Tools","count":28}]},"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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}"},{"filePath":"static/docs-home/styles.css","href":"/docs/_mintlify/custom/doc-test-my/8e676b2fb670224d/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/x/account-validation/balance-fetch","slug":"/api/x/account-validation/balance-fetch","pageMetadata":{"title":"Fetch Balance","description":"Fetch the balance of your RazorpayX account via API.","api":"GET /v1/banking_balances","hidden":true,"href":"/api/x/account-validation/balance-fetch","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 the balance of your RazorpayX account via 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={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Heading,Note,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,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:`🇲🇾 Malaysia`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, `,_jsx(_components.a,{href:`/payments/dashboard/support`,children:`contact our Support team`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Use this endpoint to retrieve the balance of your RazorpayX account. Amounts are in sen.`}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(ParamField,{query:`count`,type:`integer`,id:`param-count`,children:[_jsxs(_components.p,{children:[`Number of balances to be fetched. Use it with `,_jsx(_components.code,{children:`skip`}),` for pagination.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Default value: `,_jsx(_components.code,{children:`10`})]}),`\n`,_jsxs(_components.li,{children:[`Maximum value: `,_jsx(_components.code,{children:`100`})]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`skip`,type:`integer`,id:`param-skip`,children:_jsxs(_components.p,{children:[`Number of balances to be skipped. Use it with `,_jsx(_components.code,{children:`count`}),` for pagination.`]})}),`\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 being returned. Here it is `,_jsx(_components.code,{children:`collection`}),`. Each item in `,_jsx(_components.code,{children:`items`}),` has the entity `,_jsx(_components.code,{children:`banking_balance`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`count`,type:`integer`,id:`param-count-1`,children:_jsxs(_components.p,{children:[`The number of items returned. For example, `,_jsx(_components.code,{children:`1`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:_jsx(_components.p,{children:`The list of accounts and their balances.`})}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency of the balance. Here it is `,_jsx(_components.code,{children:`MYR`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`account_number`,type:`string`,id:`param-account-number`,children:_jsxs(_components.p,{children:[`Your RazorpayX account number. It has 16 digits and starts with `,_jsx(_components.code,{children:`818181`}),`. For example, `,_jsx(_components.code,{children:`8181810000000000`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`account_type`,type:`string`,id:`param-account-type`,children:_jsxs(_components.p,{children:[`The account type of your RazorpayX account. Here it is `,_jsx(_components.code,{children:`razorpayx_lite`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`long`,id:`param-amount`,children:_jsxs(_components.p,{children:[`The total balance, in sen. For example, `,_jsx(_components.code,{children:`2500000`}),` for RM 25,000.00.`]})}),`\n`,_jsx(ResponseField,{name:`available_amount`,type:`long`,id:`param-available-amount`,children:_jsxs(_components.p,{children:[`The available balance, in sen. For example, `,_jsx(_components.code,{children:`2500000`}),` for RM 25,000.00.`]})}),`\n`,_jsx(ResponseField,{name:`refreshed_at`,type:`long`,id:`param-refreshed-at`,children:_jsxs(_components.p,{children:[`Unix timestamp of when the balance was last updated. For example, `,_jsx(_components.code,{children:`1795089601`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Invalid request`,id:`invalid-request`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[`A query parameter is not valid. For example, `,_jsx(_components.code,{children:`count`}),` is greater than `,_jsx(_components.code,{children:`100`}),`. The `,_jsx(_components.code,{children:`error.field`}),` parameter in the response names the parameter.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Correct the parameter and send the request again.`]})]}),_jsxs(Accordion,{title:`Authentication failed`,id:`authentication-failed`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`401`})]}),_jsx(_components.p,{children:`The key ID or key secret is missing or incorrect, or the request came from an IP address that is not on your allowlist.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Use the correct key ID and key secret and call the API from an allowlisted server IP. Refer to `,_jsx(_components.a,{href:`/x/dashboard/api-keys`,children:`API keys`}),` and `,_jsx(_components.a,{href:`/x/dashboard/allowlist-ip`,children:`Allowlist IPs`}),`.`]})]})]})]})}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 Balance","description":"Fetch the balance of your RazorpayX account via API.","api":"GET /v1/banking_balances","hidden":true,"href":"/api/x/account-validation/balance-fetch","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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_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:`🇲🇾 Malaysia`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, `,_jsx(_components.a,{href:`/payments/dashboard/support`,children:`contact our Support team`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Use this endpoint to retrieve the balance of your RazorpayX account. Amounts are in sen.`}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Curl`,numberOfLines:`2`,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:`2`,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:` -u`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_KEY_I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`D`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_KEY_SECRE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`T`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_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:`-X `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.razorpay.com/v1/banking_balances`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success`,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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:`\"banking_balance\"`}),_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:`\"MYR\"`}),_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:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8181810000000000\"`}),_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:` \"account_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"razorpayx_lite\"`}),_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:`2500000`}),_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:` \"available_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2500000`}),_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:` \"refreshed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1795089601`})]}),`\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:`count`,type:`integer`,id:`param-count`,children:[_jsxs(_components.p,{children:[`Number of balances to be fetched. Use it with `,_jsx(_components.code,{children:`skip`}),` for pagination.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Default value: `,_jsx(_components.code,{children:`10`})]}),`\n`,_jsxs(_components.li,{children:[`Maximum value: `,_jsx(_components.code,{children:`100`})]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`skip`,type:`integer`,id:`param-skip`,children:_jsxs(_components.p,{children:[`Number of balances to be skipped. Use it with `,_jsx(_components.code,{children:`count`}),` for pagination.`]})}),`\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 being returned. Here it is `,_jsx(_components.code,{children:`collection`}),`. Each item in `,_jsx(_components.code,{children:`items`}),` has the entity `,_jsx(_components.code,{children:`banking_balance`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`count`,type:`integer`,id:`param-count-1`,children:_jsxs(_components.p,{children:[`The number of items returned. For example, `,_jsx(_components.code,{children:`1`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:_jsx(_components.p,{children:`The list of accounts and their balances.`})}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency of the balance. Here it is `,_jsx(_components.code,{children:`MYR`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`account_number`,type:`string`,id:`param-account-number`,children:_jsxs(_components.p,{children:[`Your RazorpayX account number. It has 16 digits and starts with `,_jsx(_components.code,{children:`818181`}),`. For example, `,_jsx(_components.code,{children:`8181810000000000`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`account_type`,type:`string`,id:`param-account-type`,children:_jsxs(_components.p,{children:[`The account type of your RazorpayX account. Here it is `,_jsx(_components.code,{children:`razorpayx_lite`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`long`,id:`param-amount`,children:_jsxs(_components.p,{children:[`The total balance, in sen. For example, `,_jsx(_components.code,{children:`2500000`}),` for RM 25,000.00.`]})}),`\n`,_jsx(ResponseField,{name:`available_amount`,type:`long`,id:`param-available-amount`,children:_jsxs(_components.p,{children:[`The available balance, in sen. For example, `,_jsx(_components.code,{children:`2500000`}),` for RM 25,000.00.`]})}),`\n`,_jsx(ResponseField,{name:`refreshed_at`,type:`long`,id:`param-refreshed-at`,children:_jsxs(_components.p,{children:[`Unix timestamp of when the balance was last updated. For example, `,_jsx(_components.code,{children:`1795089601`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Invalid request`,id:`invalid-request`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`400`})]}),_jsxs(_components.p,{children:[`A query parameter is not valid. For example, `,_jsx(_components.code,{children:`count`}),` is greater than `,_jsx(_components.code,{children:`100`}),`. The `,_jsx(_components.code,{children:`error.field`}),` parameter in the response names the parameter.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Correct the parameter and send the request again.`]})]}),_jsxs(Accordion,{title:`Authentication failed`,id:`authentication-failed`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`401`})]}),_jsx(_components.p,{children:`The key ID or key secret is missing or incorrect, or the request came from an IP address that is not on your allowlist.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Use the correct key ID and key secret and call the API from an allowlisted server IP. Refer to `,_jsx(_components.a,{href:`/x/dashboard/api-keys`,children:`API keys`}),` and `,_jsx(_components.a,{href:`/x/dashboard/allowlist-ip`,children:`Allowlist IPs`}),`.`]})]})]})]})}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 Balance","description":"Fetch the balance of your RazorpayX account via API.","api":"GET /v1/banking_balances","hidden":true,"href":"/api/x/account-validation/balance-fetch","hiddenSetByFrontmatter":true}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":2,"children":[]},{"title":"Errors","slug":"errors","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=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -u\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">YOUR_KEY_I\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">D\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">YOUR_KEY_SECRE\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">T\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-X \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.razorpay.com/v1/banking_balances\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","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=\"15\">\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\">\"banking_balance\"\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\">\"MYR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8181810000000000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"razorpayx_lite\"\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\">2500000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"available_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2500000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"refreshed_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1795089601\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 Balance","path":"/v1/banking_balances","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":{"count":{"schema":[{"type":"integer","description":"Number of balances to be fetched. Use it with `skip` for pagination. Default value: `10` Maximum value: `100`"}]},"skip":{"schema":[{"type":"integer","description":"Number of balances to be skipped. Use it with `count` for pagination."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"entity":[{"type":"string","description":"The entity being returned. Here it is `collection` . Each item in `items` has the entity `banking_balance` ."}],"count":[{"type":"integer","description":"The number of items returned. For example, `1` ."}],"items":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"The list of accounts and their balances."}],"currency":[{"type":"string","description":"The currency of the balance. Here it is `MYR` ."}],"account_number":[{"type":"string","description":"Your RazorpayX account number. It has 16 digits and starts with `818181` . For example, `8181810000000000` ."}],"account_type":[{"type":"string","description":"The account type of your RazorpayX account. Here it is `razorpayx_lite` ."}],"amount":[{"type":"number","description":"The total balance, in sen. For example, `2500000` for RM 25,000.00."}],"available_amount":[{"type":"number","description":"The available balance, in sen. For example, `2500000` for RM 25,000.00."}],"refreshed_at":[{"type":"number","description":"Unix timestamp of when the balance was last updated. For example, `1795089601` ."}]}}],"examples":{"example":{"value":{"entity":"\u003cstring>","count":123,"items":[{}],"currency":"\u003cstring>","account_number":"\u003cstring>","account_type":"\u003cstring>","amount":123,"available_amount":123,"refreshed_at":123}}}}}},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/doc-test-my/feb5e1f4e9db0a05/country-switcher.js","/docs/_mintlify/custom/doc-test-my/d04f2910efb9afc8/static/docs-home/script.js","/docs/_mintlify/custom/doc-test-my/297d7fb9a0227345/ga4.js","/docs/_mintlify/custom/doc-test-my/0ccbc66d726b02ea/static/nav-more.js","/docs/_mintlify/custom/doc-test-my/fe07c43033bf9a19/hreflang.js"],"subdomain":"doc-test-my","siteName":"Razorpay","title":"Fetch Balance - Razorpay","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"Malaysia":{"href":"/api/x/account-validation/balance-fetch","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T11:59:05.197Z","gitLastModified":"2026-12-01T11:58:48.000Z","originalFileLocation":"api/x/account-validation/balance-fetch.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 the balance of your RazorpayX account via 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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_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/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Fetch Balance - Razorpay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch the balance of your RazorpayX account via API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Razorpay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://curlec.com/docs/api/x/account-validation/balance-fetch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://doc-test-my.mintlify.site/docs/_mintlify/api/og/v2?division=Account+Validation\u0026amp;title=Fetch+Balance\u0026amp;description=Fetch+the+balance+of+your+RazorpayX+account+via+API.\u0026amp;theme=5bc23f2a92582ee811e41948\u0026amp;signature=79733bc66af42f1d2f4f7ae81eb9a8ea1db19fc1a6992ce5e2190652f2939d26\">\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 Balance - Razorpay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch the balance of your RazorpayX account via API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://doc-test-my.mintlify.site/docs/_mintlify/api/og/v2?division=Account+Validation\u0026amp;title=Fetch+Balance\u0026amp;description=Fetch+the+balance+of+your+RazorpayX+account+via+API.\u0026amp;theme=5bc23f2a92582ee811e41948\u0026amp;signature=79733bc66af42f1d2f4f7ae81eb9a8ea1db19fc1a6992ce5e2190652f2939d26\">\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/doc-test-my/oB0ktXq5JWJeSh8A/_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://curlec.com/docs/api/x/account-validation/balance-fetch\">\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/x/account-validation/balance-fetch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://curlec.com/#organization\",\"name\":\"Razorpay\",\"url\":\"https://curlec.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/doc-test-my/ZVMbrxgGis8rvt2g/logo/light.svg?fit=max\u0026auto=format\u0026n=ZVMbrxgGis8rvt2g\u0026q=85\u0026s=6aab4f40abeef4b048527ba9f05deda3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://curlec.com/docs#website\",\"name\":\"Razorpay\",\"url\":\"https://curlec.com/docs\",\"publisher\":{\"@id\":\"https://curlec.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch#webpage\",\"url\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch\",\"name\":\"Fetch Balance\",\"description\":\"Fetch the balance of your RazorpayX account via API.\",\"dateModified\":\"2026-12-01T11:58:48.000Z\",\"isPartOf\":{\"@id\":\"https://curlec.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Account Validation\",\"item\":\"https://curlec.com/docs/api/x/account-validation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fetch Balance\",\"item\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch#apireference\",\"headline\":\"Fetch Balance\",\"name\":\"Fetch Balance\",\"description\":\"Fetch the balance of your RazorpayX account via API.\",\"url\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch\",\"mainEntityOfPage\":{\"@id\":\"https://curlec.com/docs/api/x/account-validation/balance-fetch#webpage\"},\"dateModified\":\"2026-12-01T11:58:48.000Z\",\"publisher\":{\"@id\":\"https://curlec.com/#organization\"},\"isPartOf\":{\"@id\":\"https://curlec.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api/x/account-validation/balance-fetch.md","siteName":"Razorpay","nav":{"global":null,"versions":[{"version":"Malaysia","default":true,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/home"}]},{"tab":"Payments","icon":"credit-card","pages":[{"title":"Payments","href":"/payments"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api"}]},{"tab":"Developer Tools","icon":"screwdriver-wrench","pages":[{"title":"Developer Tools","href":"/developer-tools"}]},{"tab":"RazorpayX","hidden":true,"pages":[{"title":"RazorpayX","href":"/x"}]},{"tab":"RazorpayX APIs","hidden":true,"pages":[{"title":"Get Started","description":"Get started with the RazorpayX APIs to make payouts in Malaysia.","href":"/api/x"},{"group":"Payout Composite","pages":[{"title":"Payout Composite","description":"Use the Composite API to create a payout, the contact and the fund account in a single API call.","href":"/api/x/payout-composite"},{"title":"Payout Composite Entity","description":"View the parameters of the payout entity that the RazorpayX Composite API returns.","href":"/api/x/payout-composite/entity"},{"title":"Create a Payout to a Bank Account Using Composite API","description":"Create a payout to a bank account in Malaysia by IBFT using the Composite API.","api":"POST /v1/payouts","href":"/api/x/payout-composite/create/bank-account"},{"title":"Create a Payout to a DuitNow Proxy Using Composite API","description":"Create a payout to a DuitNow proxy in Malaysia using the Composite API.","api":"POST /v1/payouts","href":"/api/x/payout-composite/create/duitnow"}]},{"group":"Create and Manage Payouts","pages":[{"title":"Payouts","description":"Create, fetch and cancel payouts in Malaysia using the RazorpayX Payouts APIs.","href":"/api/x/payouts"},{"title":"Payouts Entity","description":"View the RazorpayX payout entity parameters and their descriptions for Malaysia.","href":"/api/x/payouts/entity"},{"title":"Create a Payout to a Saved Fund Account","description":"Create a payout in Malaysia to a saved fund account using its fund account ID.","api":"POST /v1/payouts","href":"/api/x/payouts/create/bank-account"},{"title":"Fetch All Payouts","description":"Fetch all payouts made from your RazorpayX account using the API.","api":"GET /v1/payouts?account_number=\\{account number\\}","href":"/api/x/payouts/fetch-all"},{"title":"Fetch a Payout With ID","description":"Fetch the details of a payout using its ID.","api":"GET /v1/payouts/:id","href":"/api/x/payouts/fetch-with-id"},{"title":"Cancel a Queued Payout","description":"Cancel a queued payout using the API.","api":"POST /v1/payouts/:id/cancel","href":"/api/x/payouts/cancel"}]},{"group":"Payout Idempotency","pages":[{"title":"Payout Idempotency","description":"Use an idempotency key to retry a payout request without creating a duplicate payout.","href":"/api/x/payout-idempotency"},{"title":"Make a Request Idempotent","description":"Make a payout request idempotent using the X-Payout-Idempotency header.","api":"POST /v1/payouts","href":"/api/x/payout-idempotency/make-request"}]},{"group":"Composite Account Validation","pages":[{"title":"Account Validation Composite","sidebarTitle":"Composite Account Validation","description":"Composite Account Validation APIs for RazorpayX in Malaysia. Validate a beneficiary's bank account or DuitNow proxy with a single API call before you make payouts.","href":"/api/x/composite-account-validation"},{"title":"Validate a Bank Account","description":"Create a contact and a fund account and validate a fund account of type bank account via a single API.","api":"POST /v1/fund_accounts/validations","href":"/api/x/composite-account-validation/bank-account"},{"title":"Validate a DuitNow Proxy","description":"Create a contact and a fund account and validate a fund account of type DuitNow via a single API.","api":"POST /v1/fund_accounts/validations","href":"/api/x/composite-account-validation/duitnow"},{"title":"Fetch All Account Validation Transactions","description":"Retrieve all account validation transactions via API.","api":"GET /v1/fund_accounts/validations?account_number=\\{account number\\}","href":"/api/x/composite-account-validation/fetch-all-transactions"},{"title":"Fetch Account Validation Transaction With ID","description":"Retrieve an account validation transaction with its id via API.","api":"GET /v1/fund_accounts/validations/:id","href":"/api/x/composite-account-validation/fetch-transactions-with-id"}]},{"group":"Account Validation","pages":[{"title":"Account Validation","description":"Overview of the Account Validation APIs for RazorpayX in Malaysia. Check a beneficiary's bank account or DuitNow proxy before you make payouts.","href":"/api/x/account-validation"},{"title":"Account Validation Entity","description":"Parameters of the Account Validation entity for RazorpayX in Malaysia.","href":"/api/x/account-validation/entity"},{"title":"Fetch All Account Validation Transactions","description":"Retrieve all account validation transactions via API.","api":"GET /v1/fund_accounts/validations?account_number=\\{account number\\}","href":"/api/x/account-validation/fetch-all-transactions"},{"title":"Fetch Account Validation Transaction With ID","description":"Retrieve an account validation transaction with its id via API.","api":"GET /v1/fund_accounts/validations/:id","href":"/api/x/account-validation/fetch-transactions-with-id"},{"title":"Fetch Balance","api":"GET /v1/banking_balances","href":"/api/x/account-validation/balance-fetch"}]},{"group":"Contacts","pages":[{"title":"Contacts","description":"List of Contacts APIs to create, retrieve and update RazorpayX Contacts in Malaysia.","href":"/api/x/contacts"},{"title":"Contacts Entity","description":"Check the entity code for Contacts APIs.","href":"/api/x/contacts/entity"},{"title":"Create a Contact","description":"Create a Contact using API.","api":"POST /v1/contacts","href":"/api/x/contacts/create"},{"title":"Update a Contact","description":"Update a Contact using APIs.","api":"PATCH /v1/contacts/:id","href":"/api/x/contacts/update"},{"title":"Fetch All Contacts","description":"Fetch all Contacts using API.","api":"GET /v1/contacts","href":"/api/x/contacts/fetch-all"},{"title":"Fetch Contact With ID","description":"Fetch Contact with ID using APIs.","api":"GET /v1/contacts/:id","href":"/api/x/contacts/fetch-with-id"}]},{"group":"Fund Accounts","pages":[{"title":"Fund Accounts","description":"List of Fund Accounts APIs to retrieve RazorpayX Fund Accounts in Malaysia.","href":"/api/x/fund-accounts"},{"title":"Fund Accounts Entity","description":"Check the entity code for Fund Accounts APIs.","href":"/api/x/fund-accounts/entity"},{"title":"Fetch All Fund Accounts","description":"Fetch all Fund Accounts using API.","api":"GET /v1/fund_accounts","href":"/api/x/fund-accounts/fetch-all"},{"title":"Fetch a Fund Account With ID","description":"Fetch a Fund Account with ID using API.","api":"GET /v1/fund_accounts/:id","href":"/api/x/fund-accounts/fetch-with-id"}]}]}]},{"version":"India","href":"https://razorpay.com/docs"},{"version":"Singapore","href":"https://razorpay.com/docs/sg"},{"version":"United States","href":"https://razorpay.com/docs/us"}]},"basePath":"","title":"Fetch Balance - Razorpay","deploymentId":"dpl_hSqyvJ4yQMj8zFViHgqnZFPm1xMv","buildId":"dpl_hSqyvJ4yQMj8zFViHgqnZFPm1xMv","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-dMMLDTIU.js","snippetPresets-QcUypRGT.js","utils-Br4-Z8t0.js","style-to-object-BY3JEAdk.js","utils-GmDMK9BG.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CImT44J1.js","conditional-requirements-CFM0id0Q.js","cloneDeep-De0u6l-0.js","_Uint8Array-DFGmIAJe.js","isObject-FP1Yky1u.js","ApiExamples-eUm2Ge_e.js","usePlaygroundInputsStore-BAilauYF.js","shallow-Z0k_fL-l.js","isEqual-BBOkDGmR.js","CodeSnippets-DORhwN-0.js","CodeSnippet-DV5Lj4DY.js","use-playground-group-access-CM_BSfmB.js","Page-_65rMYFd.js","api-description-markdown-nWfwWSzV.js","DynamicMarkdown-C-ybrQe5.js","SectionHeading-mysGfPJl.js","MethodPill-B29O_3ra.js","getPastedJson-Bnk6wgbx.js","Check2Icon-CWFt9B5t.js","axios-CsQoIw0U.js"]}