This API decrypts the encrypted response URL that your Financial Information User (FIU) application receives from the Account Aggregator (AA) platform. You should call this API after the user is redirected back to your application from the AA, following the user’s approval or rejection of a consent request. The decrypted response contains important information about the consent status, user details, and any error codes that indicate why a consent might have failed.
The encrypted response string containing the consent status and user information. This is the primary encrypted payload returned by the AA platform that needs to be decrypted to understand the consent flow outcome.
A numeric error code indicating the outcome of the consent flow. See the Error Codes section below for detailed descriptions. A value of 0 indicates success.
The unique transaction identifier (UUID) that was included in the original ecreq field of the encryption request. Use this to correlate the response with your original consent request.
The consent handle(s) that were included in the original ecreq request’s srcref field. This allows you to match the response to the specific consent request(s).
The Virtual User Account (VUA) identifier issued by the Account Aggregator when the user registered with the AA platform. This unique identifier represents the user within the AA ecosystem.Format: Typically in the format phonenumber@aa-handle (e.g., 1999999999@onemoney)
The URL of your FIU application page where the user should be redirected to after completing the AA consent flow. This is typically the page where you handle the consent outcome.
The following error codes are returned by the Account Aggregator to your FIU when the user is redirected back to your application. These codes help you understand what happened during the user’s consent journey on the AA platform.
Handle All Error Codes: Implement proper error handling for all error codes in your application. The mandatory error codes (0-3) will always be returned, while optional codes (4-20) provide granular details about specific failure scenarios.
Success Status: A status of S and errorcode of 0 indicates successful consent approval and account linking. In this case, you can proceed to fetch financial data using the consent.
Failure Status: A status of F indicates that the consent was not successfully approved. Use the errorcode to determine the specific reason for failure and provide appropriate feedback to the user.
User Communication: Based on the error code, provide clear and actionable feedback to users. For example:
Error code 1: Inform the user they rejected the consent and offer to retry
Error codes 7-9: Suggest checking if the user has accounts at the specified FIP
Error codes 12-15: Guide the user on OTP verification process
Error code 20: Display a generic error message and suggest contacting support
Transaction Correlation: Use the txnid field to correlate the decrypted response with your original consent request. This is especially important in high-traffic applications where multiple consent flows may be in progress simultaneously.
VUA Storage: Store the userid (VUA) securely in your system as it uniquely identifies the user within the Account Aggregator ecosystem. You’ll need this for future consent requests and data fetching operations.
Security Considerations:
Always validate the resdate to ensure the response is recent and not a replay attack
Verify that the decrypted srcref matches your original consent handle
Process the decrypted response immediately and do not store the encrypted ecres for extended periods
Partial Success Handling: Error codes 17-19 indicate partial success scenarios where some accounts were linked successfully. Consider implementing logic to handle these cases gracefully, allowing users to proceed with linked accounts or retry failed ones.
Contains the decrypted consent flow information and user details.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Moneyone FinPro","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/moneyone/t_yCSAXsCyvLCZIr/moneyone_docs_logo.png?fit=max\u0026auto=format\u0026n=t_yCSAXsCyvLCZIr\u0026q=85\u0026s=b61177eff37ad325cefe9285f04e7ea1","dark":"https://mintcdn.com/moneyone/t_yCSAXsCyvLCZIr/moneyone_docs_logo.png?fit=max\u0026auto=format\u0026n=t_yCSAXsCyvLCZIr\u0026q=85\u0026s=b61177eff37ad325cefe9285f04e7ea1"},"favicon":"https://mintcdn.com/moneyone/CzmkqzOBQ3ah8Hpd/favicon.svg?fit=max\u0026auto=format\u0026n=CzmkqzOBQ3ah8Hpd\u0026q=85\u0026s=3efa7fffb6065f206291eb5bce2171d0","api":{"playground":{}},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"gear","href":"https://console-uat.moneyone.in/scramblerpay/#/login","label":"Admin Portal"}],"primary":{"type":"button","label":"Support","href":"mailto:support@moneyone.in"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/moneyone","x":"https://twitter.com/moneyone"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"moneyone","hasAudioNarration":false,"actualSubdomain":"moneyone","customDomains":["developer.moneyone.in"],"gitSource":{"type":"github","owner":"inifity-tech","repo":"finpro-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae9d8939e45d74e232e13a8","collectionId":"c9518a25-3497-4461-86c3-8b358b335f59","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae9d8939e45d74e232e13a8"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae9d8939e45d74e232e13a8","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"PFM","count":29},{"language":"default","tag":"Finpro APIs","count":28},{"language":"default","tag":"Orchestration","count":28},{"language":"default","tag":"Finpro","count":15},{"language":"default","tag":"Data Management","count":8},{"language":"default","tag":"Integration Guide","count":8},{"language":"default","tag":"Consent Management","count":7},{"language":"default","tag":"Core Features","count":7},{"language":"default","tag":"Super App / LSP Integration","count":7},{"language":"default","tag":"Endpoints","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/web-redirection/decryption","slug":"/api-reference/web-redirection/decryption","pageMetadata":{"title":"Web Redirection Decryption","openapi":"POST /webRedirection/decryptUrl","description":"Decrypt the encrypted response URL received from Account Aggregator after user consent flow","href":"/api-reference/web-redirection/decryption"},"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: \"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\"\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`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This API decrypts the encrypted response URL that your Financial Information User (FIU) application receives from the Account Aggregator (AA) platform. You should call this API after the user is redirected back to your application from the AA, following the user’s approval or rejection of a consent request. The decrypted response contains important information about the consent status, user details, and any error codes that indicate why a consent might have failed.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`This API requires the following authentication headers to be included with every request:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`An API key issued to your organisation for authentication purposes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_secret`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A secret API key issued to your server-side application for secure authentication`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`organisationId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A unique identifier assigned to your organisation by the platform`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`appIdentifier`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A unique identifier assigned to your client application for tracking API usage`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be set to `,_jsx(_components.code,{children:`application/json`}),` to specify the request body format`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`webRedirectionURL`,type:`object`,required:true,id:`param-web-redirection-url`,children:[_jsx(_components.p,{children:`An object containing the encrypted response parameters received from the Account Aggregator when the user is redirected back to your application.`}),_jsxs(Expandable,{title:`webRedirectionURL properties`,children:[_jsx(ParamField,{body:`ecres`,type:`string`,required:true,id:`param-ecres`,children:_jsx(_components.p,{children:`The encrypted response string containing the consent status and user information. This is the primary encrypted payload returned by the AA platform that needs to be decrypted to understand the consent flow outcome.`})}),_jsxs(ParamField,{body:`resdate`,type:`string`,required:true,id:`param-resdate`,children:[_jsxs(_components.p,{children:[`The date and time when the response was generated by the Account Aggregator. This timestamp is in the format `,_jsx(_components.code,{children:`ddmmyyyyhh24misss`}),` where:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`dd`}),`: Day (01-31)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mm`}),`: Month (01-12)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`yyyy`}),`: Year (e.g., 2021)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hh24`}),`: Hour in 24-hour format (00-23)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mi`}),`: Minutes (00-59)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sss`}),`: Seconds and milliseconds (000-999)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example`}),`: `,_jsx(_components.code,{children:`270820211238139`}),` represents 27th August 2021, 12:38:139`]})]}),_jsx(ParamField,{body:`fi`,type:`string`,required:true,id:`param-fi`,children:_jsx(_components.p,{children:`The base64-encoded Entity ID of the Account Aggregator. This identifier helps the system determine which AA platform processed the consent request.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`Indicates the overall status of the API request. Possible values are `,_jsx(_components.code,{children:`success`}),` or `,_jsx(_components.code,{children:`failure`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`ver`,type:`string`,required:true,id:`param-ver`,children:_jsx(_components.p,{children:`The current version of the API being used for this request.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`A human-readable message describing the result of the API call, providing success confirmation or failure details.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Contains the decrypted consent flow information and user details.`}),_jsxs(Expandable,{title:`data properties`,children:[_jsxs(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`The status of the consent flow. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`S`}),`: Success - User has accepted the consent`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`F`}),`: Failure - User rejected the consent or an error occurred`]}),`\n`]})]}),_jsx(ResponseField,{name:`errorcode`,type:`string`,required:true,id:`param-errorcode`,children:_jsxs(_components.p,{children:[`A numeric error code indicating the outcome of the consent flow. See the Error Codes section below for detailed descriptions. A value of `,_jsx(_components.code,{children:`0`}),` indicates success.`]})}),_jsx(ResponseField,{name:`txnid`,type:`string`,id:`param-txnid`,children:_jsxs(_components.p,{children:[`The unique transaction identifier (UUID) that was included in the original `,_jsx(_components.code,{children:`ecreq`}),` field of the encryption request. Use this to correlate the response with your original consent request.`]})}),_jsx(ResponseField,{name:`sessionid`,type:`string`,id:`param-sessionid`,children:_jsxs(_components.p,{children:[`The session identifier that was included in the original `,_jsx(_components.code,{children:`ecreq`}),` field. This helps track the user’s session across the consent flow.`]})}),_jsx(ResponseField,{name:`srcref`,type:`string`,id:`param-srcref`,children:_jsxs(_components.p,{children:[`The consent handle(s) that were included in the original `,_jsx(_components.code,{children:`ecreq`}),` request’s `,_jsx(_components.code,{children:`srcref`}),` field. This allows you to match the response to the specific consent request(s).`]})}),_jsxs(ResponseField,{name:`userid`,type:`string`,id:`param-userid`,children:[_jsx(_components.p,{children:`The Virtual User Account (VUA) identifier issued by the Account Aggregator when the user registered with the AA platform. This unique identifier represents the user within the AA ecosystem.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Format`}),`: Typically in the format `,_jsx(_components.code,{children:`phonenumber@aa-handle`}),` (e.g., `,_jsx(_components.code,{children:`1999999999@onemoney`}),`)`]})]}),_jsx(ResponseField,{name:`redirect`,type:`string`,id:`param-redirect`,children:_jsx(_components.p,{children:`The URL of your FIU application page where the user should be redirected to after completing the AA consent flow. This is typically the page where you handle the consent outcome.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"webRedirectionURL\"`}),_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:` \"ecres\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1r8dWQqy3c5IY7uJdBkAERYhV_P01dAs6dMGrieo-D001LXoGuKnFtp_OXKVtpbpAEJVstVx_rCRHVpDEZvRGKkFnpJp9RbvdReWg4mi6hdQPa_hgGnYaOkSbWhBdYWfM6-kBgB4DfomidIWpTRMXe3BGko0tyMeL2gIW8jyp5hHMPovCar_Ux6QhNIyFGLaQmB-M_vE4Q0hi9erfXEHgKClubw12jzRrwJo2eC5NhX1UaWV3uFLtfB4XWGWQ2lAmGpMdhESJ91R94C5mcQ0OOF2jW69YLo6RspvzP454DrproVKy-PdHa3k9QRgt8f-\"`}),_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:` \"resdate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"270820211238139\"`}),_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:` \"fi\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XVlVVV1eV0g\"`})]}),`\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:`example-success-response`,children:`Example Success Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,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:` \"ver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.15.0\"`}),_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:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"S\"`}),_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:` \"errorcode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_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:` \"txnid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f32503c5-0af0-4831-a443-7adc500ccd22\"`}),_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:` \"sessionid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lJ4ImY1ET3yplGtIp3IvrrU\"`}),_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:` \"srcref\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"64cd9ace-f0e5-44cc-a686-1fe82bfa4ed8\"`}),_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:` \"userid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1999999999@onemoney\"`}),_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:` \"redirect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sandbox.moneyone.in/finproadminweb_sandbox\"`})]}),`\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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-error-response`,children:`Example Error Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"ver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.21.0\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-10-01T11:45:48.706Z\"`}),_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:` \"errorCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalidWebRedirectionUrl\"`}),_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:` \"errorMsg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid webRedirection Url is passed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes-from-account-aggregator`,children:`Error Codes from Account Aggregator`}),`\n`,_jsx(_components.p,{children:`The following error codes are returned by the Account Aggregator to your FIU when the user is redirected back to your application. These codes help you understand what happened during the user’s consent journey on the AA platform.`}),`\n`,_jsx(Heading,{level:`3`,id:`mandatory-error-codes`,children:`Mandatory Error Codes`}),`\n`,_jsx(_components.p,{children:`These error codes will always be returned in appropriate scenarios:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0`})}),_jsx(_components.td,{children:`Success`}),_jsx(_components.td,{children:`S`}),_jsx(_components.td,{children:`The user has successfully accepted the consent request and linked their accounts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1`})}),_jsx(_components.td,{children:`Consent is rejected`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The user explicitly rejected the consent request on the AA platform`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2`})}),_jsx(_components.td,{children:`Consent not available`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The consent request was not found on the Account Aggregator platform`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3`})}),_jsx(_components.td,{children:`Invalid request`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The redirection request contained invalid or malformed data`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`optional-error-codes`,children:`Optional Error Codes`}),`\n`,_jsx(_components.p,{children:`These error codes provide detailed information about specific failure scenarios:`}),`\n`,_jsx(Heading,{level:`4`,id:`authentication-and-session-errors`,children:`Authentication and Session Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4`})}),_jsx(_components.td,{children:`User authentication failed`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The user was unable to authenticate themselves on the AA platform (e.g., wrong credentials, failed OTP)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`6`})}),_jsx(_components.td,{children:`Session timeout`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The user did not take any action on the login page and the session expired`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`account-discovery-errors`,children:`Account Discovery Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`7`})}),_jsx(_components.td,{children:`Account not discovered`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`A specific FIP ID was provided but accounts were not found at that FIP (404 error), and the user cancelled or went back from the AA page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`8`})}),_jsx(_components.td,{children:`Account not discovered`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`A specific FIP ID was provided but account discovery failed due to an error at the FIP (non-404 error), and the user cancelled or went back`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9`})}),_jsx(_components.td,{children:`Account not discovered`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Multiple FIP IDs were provided (or none), and no accounts were discovered at any FIP due to errors or missing accounts`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`account-linking-errors`,children:`Account Linking Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10`})}),_jsx(_components.td,{children:`Account not linked`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Accounts were successfully discovered, but the user did not link any accounts and the session timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`11`})}),_jsx(_components.td,{children:`Account not linked`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Accounts were successfully discovered, but the user chose to cancel instead of linking any accounts`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`otp-related-errors`,children:`OTP-Related Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`12`})}),_jsx(_components.td,{children:`Account link OTP not attempted`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Accounts were discovered and the user clicked the link button, but did not enter the OTP and then cancelled the process`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`13`})}),_jsx(_components.td,{children:`Account link OTP not attempted`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Accounts were discovered and the user clicked the link button, but did not enter the OTP and the session timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`14`})}),_jsx(_components.td,{children:`OTP authentication failed`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`All account linking attempts failed because the user entered incorrect OTPs, and then cancelled the process`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`15`})}),_jsx(_components.td,{children:`OTP authentication failed`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`All account linking attempts failed because the user entered incorrect OTPs, and the session timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`16`})}),_jsx(_components.td,{children:`Account link failed`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The user entered a valid OTP, but all account linking attempts failed at the FIP level due to system errors`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`partial-success/failure-errors`,children:`Partial Success/Failure Errors`}),`\n`,_jsx(_components.p,{children:`These errors occur when dealing with multiple FIPs:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`17`})}),_jsx(_components.td,{children:`OTP failed (some accounts)`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Multiple FIPs were involved; some account linking attempts failed due to incorrect OTPs, and the user cancelled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`18`})}),_jsx(_components.td,{children:`OTP failed (some accounts)`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Multiple FIPs were involved; some account linking attempts failed due to incorrect OTPs, and the session timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`19`})}),_jsx(_components.td,{children:`Account link failed (partial)`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`Multiple FIPs were involved; some account linking attempts failed at the FIP level, and the user cancelled`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`general-error`,children:`General Error`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`20`})}),_jsx(_components.td,{children:`Unknown error`}),_jsx(_components.td,{children:`F`}),_jsx(_components.td,{children:`The Account Aggregator was unable to send any valid error code due to an unexpected system error`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage-notes`,children:`Usage Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Handle All Error Codes`}),`: Implement proper error handling for all error codes in your application. The mandatory error codes (0-3) will always be returned, while optional codes (4-20) provide granular details about specific failure scenarios.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Success Status`}),`: A `,_jsx(_components.code,{children:`status`}),` of `,_jsx(_components.code,{children:`S`}),` and `,_jsx(_components.code,{children:`errorcode`}),` of `,_jsx(_components.code,{children:`0`}),` indicates successful consent approval and account linking. In this case, you can proceed to fetch financial data using the consent.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Failure Status`}),`: A `,_jsx(_components.code,{children:`status`}),` of `,_jsx(_components.code,{children:`F`}),` indicates that the consent was not successfully approved. Use the `,_jsx(_components.code,{children:`errorcode`}),` to determine the specific reason for failure and provide appropriate feedback to the user.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`User Communication`}),`: Based on the error code, provide clear and actionable feedback to users. For example:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Error code `,_jsx(_components.code,{children:`1`}),`: Inform the user they rejected the consent and offer to retry`]}),`\n`,_jsxs(_components.li,{children:[`Error codes `,_jsx(_components.code,{children:`7-9`}),`: Suggest checking if the user has accounts at the specified FIP`]}),`\n`,_jsxs(_components.li,{children:[`Error codes `,_jsx(_components.code,{children:`12-15`}),`: Guide the user on OTP verification process`]}),`\n`,_jsxs(_components.li,{children:[`Error code `,_jsx(_components.code,{children:`20`}),`: Display a generic error message and suggest contacting support`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Transaction Correlation`}),`: Use the `,_jsx(_components.code,{children:`txnid`}),` field to correlate the decrypted response with your original consent request. This is especially important in high-traffic applications where multiple consent flows may be in progress simultaneously.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`VUA Storage`}),`: Store the `,_jsx(_components.code,{children:`userid`}),` (VUA) securely in your system as it uniquely identifies the user within the Account Aggregator ecosystem. You’ll need this for future consent requests and data fetching operations.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Security Considerations`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Always validate the `,_jsx(_components.code,{children:`resdate`}),` to ensure the response is recent and not a replay attack`]}),`\n`,_jsxs(_components.li,{children:[`Verify that the decrypted `,_jsx(_components.code,{children:`srcref`}),` matches your original consent handle`]}),`\n`,_jsxs(_components.li,{children:[`Process the decrypted response immediately and do not store the encrypted `,_jsx(_components.code,{children:`ecres`}),` for extended periods`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Partial Success Handling`}),`: Error codes 17-19 indicate partial success scenarios where some accounts were linked successfully. Consider implementing logic to handle these cases gracefully, allowing users to proceed with linked accounts or retry failed ones.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limiting`,children:`Rate Limiting`}),`\n`,_jsx(_components.p,{children:`This API is subject to rate limiting with the following limits:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Limit`}),`: 1000 requests per time window`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Remaining`}),`: Returned in the `,_jsx(_components.code,{children:`X-RateLimit-Remaining`}),` header`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reset`}),`: The time when the rate limit resets, returned in the `,_jsx(_components.code,{children:`X-RateLimit-Reset`}),` header`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Monitor these headers in the API response to ensure you stay within the allowed rate limits.`})]})}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":"Web Redirection Decryption","openapi":"POST /webRedirection/decryptUrl","description":"Decrypt the encrypted response URL received from Account Aggregator after user consent flow","href":"/api-reference/web-redirection/decryption"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Example Success Response","slug":"example-success-response","depth":2,"children":[]},{"title":"Example Error Response","slug":"example-error-response","depth":2,"children":[]},{"title":"Error Codes from Account Aggregator","slug":"error-codes-from-account-aggregator","depth":2,"children":[{"title":"Mandatory Error Codes","slug":"mandatory-error-codes","depth":3,"children":[]},{"title":"Optional Error Codes","slug":"optional-error-codes","depth":3,"children":[]},{"title":"Authentication and Session Errors","slug":"authentication-and-session-errors","depth":4,"children":[]},{"title":"Account Discovery Errors","slug":"account-discovery-errors","depth":4,"children":[]},{"title":"Account Linking Errors","slug":"account-linking-errors","depth":4,"children":[]},{"title":"OTP-Related Errors","slug":"otp-related-errors","depth":4,"children":[]},{"title":"Partial Success/Failure Errors","slug":"partial-success/failure-errors","depth":4,"children":[]},{"title":"General Error","slug":"general-error","depth":4,"children":[]}]},{"title":"Usage Notes","slug":"usage-notes","depth":2,"children":[]},{"title":"Rate Limiting","slug":"rate-limiting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"decryptWebRedirectionUrl","summary":"Decrypt Web Redirection URL","description":"Decrypt the encrypted response URL received from Account Aggregator after user consent flow","tags":["Web Redirection"],"security":["43c63343-a437-43e0-86e2-f015147fbba9"],"requestBody":"889a1604-254d-4314-bd37-6668f7c5de3a","responses":{"200":"ad8c3a88-61e0-4ce3-a504-e42afa052acb","400":"85f249be-1cda-4343-82ed-12d6cecdad72","401":"cd1e7402-dbd6-4ac0-a8ce-4eae584ebc23","429":"7d6f4120-d04d-432b-a685-e5ed6c97ff9b"},"method":"post","type":"path","servers":["c31dd7dd-03f9-43e6-a672-f70bc9126c2a"],"path":"/webRedirection/decryptUrl","baseUrlOptions":["{baseUrl}"],"title":"Decrypt Web Redirection URL","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body for decrypting the web redirection URL received from Account Aggregator.","required":["webRedirectionURL"],"properties":{"webRedirectionURL":{"type":"object","description":"An object containing the encrypted response parameters received from the Account Aggregator when the user is redirected back to your application.","required":["ecres","resdate","fi"],"properties":{"ecres":{"type":"string","description":"The encrypted response string containing the consent status and user information. This is the primary encrypted payload returned by the AA platform that needs to be decrypted to understand the consent flow outcome.","isRequired":true,"uniqueKey":"webRedirectionURL.ecres","typeLabel":"string"},"resdate":{"type":"string","description":"The date and time when the response was generated by the Account Aggregator. This timestamp is in the format ddmmyyyyhh24misss where: dd=Day (01-31), mm=Month (01-12), yyyy=Year, hh24=Hour in 24-hour format (00-23), mi=Minutes (00-59), sss=Seconds and milliseconds (000-999). Example: 270820211238139 represents 27th August 2021, 12:38:139","isRequired":true,"uniqueKey":"webRedirectionURL.resdate","typeLabel":"string"},"fi":{"type":"string","description":"The base64-encoded Entity ID of the Account Aggregator. This identifier helps the system determine which AA platform processed the consent request.","isRequired":true,"uniqueKey":"webRedirectionURL.fi","typeLabel":"string"}},"isRequired":true,"uniqueKey":"webRedirectionURL","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"webRedirectionURL":{"ecres":"1r8dWQqy3c5IY7uJdBkAERYhV_P01dAs6dMGrieo-D001LXoGuKnFtp_OXKVtpbpAEJVstVx_rCRHVpDEZvRGKkFnpJp9RbvdReWg4mi6hdQPa_hgGnYaOkSbWhBdYWfM6-kBgB4DfomidIWpTRMXe3BGko0tyMeL2gIW8jyp5hHMPovCar_Ux6QhNIyFGLaQmB-M_vE4Q0hi9erfXEHgKClubw12jzRrwJo2eC5NhX1UaWV3uFLtfB4XWGWQ2lAmGpMdhESJ91R94C5mcQ0OOF2jW69YLo6RspvzP454DrproVKy-PdHa3k9QRgt8f-","resdate":"270820211238139","fi":"XVlVVV1eV0g"}},"examples":{"Example":{"title":"Example","value":{"webRedirectionURL":{"ecres":"1r8dWQqy3c5IY7uJdBkAERYhV_P01dAs6dMGrieo-D001LXoGuKnFtp_OXKVtpbpAEJVstVx_rCRHVpDEZvRGKkFnpJp9RbvdReWg4mi6hdQPa_hgGnYaOkSbWhBdYWfM6-kBgB4DfomidIWpTRMXe3BGko0tyMeL2gIW8jyp5hHMPovCar_Ux6QhNIyFGLaQmB-M_vE4Q0hi9erfXEHgKClubw12jzRrwJo2eC5NhX1UaWV3uFLtfB4XWGWQ2lAmGpMdhESJ91R94C5mcQ0OOF2jW69YLo6RspvzP454DrproVKy-PdHa3k9QRgt8f-","resdate":"270820211238139","fi":"XVlVVV1eV0g"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ad8c3a88-61e0-4ce3-a504-e42afa052acb":{"description":"URL decrypted successfully","content":{"application/json":{"schema":{"type":"object","description":"Response containing the decrypted consent flow information and user details.","properties":{"ver":{"type":"string","description":"The current version of the API being used for this request.","uniqueKey":"ver","typeLabel":"string"},"status":{"type":"string","description":"Indicates the overall status of the API request. Possible values are success or failure.","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message describing the result of the API call, providing success confirmation or failure details.","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"Contains the decrypted consent flow information and user details.","properties":{"status":{"type":"string","description":"The status of the consent flow. Possible values: S (Success - User has accepted the consent), F (Failure - User rejected the consent or an error occurred).","enum":["S","F"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"errorcode":{"type":"string","description":"A numeric error code indicating the outcome of the consent flow. A value of 0 indicates success. See documentation for detailed error code descriptions (0-20).","uniqueKey":"data.errorcode","typeLabel":"string"},"txnid":{"type":"string","format":"uuid","description":"The unique transaction identifier (UUID) that was included in the original ecreq field of the encryption request. Use this to correlate the response with your original consent request.","uniqueKey":"data.txnid","typeLabel":"string\u003cuuid>"},"sessionid":{"type":"string","description":"The session identifier that was included in the original ecreq field. This helps track the user's session across the consent flow.","uniqueKey":"data.sessionid","typeLabel":"string"},"srcref":{"type":"string","description":"The consent handle(s) that were included in the original ecreq request's srcref field. This allows you to match the response to the specific consent request(s).","uniqueKey":"data.srcref","typeLabel":"string"},"userid":{"type":"string","description":"The Virtual User Account (VUA) identifier issued by the Account Aggregator when the user registered with the AA platform. This unique identifier represents the user within the AA ecosystem. Format: Typically in the format phonenumber@aa-handle (e.g., 1999999999@onemoney)","uniqueKey":"data.userid","typeLabel":"string"},"redirect":{"type":"string","format":"uri","description":"The URL of your FIU application page where the user should be redirected to after completing the AA consent flow. This is typically the page where you handle the consent outcome.","uniqueKey":"data.redirect","typeLabel":"string\u003curi>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"ver":"1.15.0","status":"success","data":{"status":"S","errorcode":"0","txnid":"f32503c5-0af0-4831-a443-7adc500ccd22","sessionid":"lJ4ImY1ET3yplGtIp3IvrrU","srcref":"64cd9ace-f0e5-44cc-a686-1fe82bfa4ed8","userid":"1999999999@onemoney","redirect":"https://sandbox.moneyone.in/finproadminweb_sandbox"},"message":"Success"},"examples":{"Example":{"title":"Example","value":{"ver":"1.15.0","status":"success","data":{"status":"S","errorcode":"0","txnid":"f32503c5-0af0-4831-a443-7adc500ccd22","sessionid":"lJ4ImY1ET3yplGtIp3IvrrU","srcref":"64cd9ace-f0e5-44cc-a686-1fe82bfa4ed8","userid":"1999999999@onemoney","redirect":"https://sandbox.moneyone.in/finproadminweb_sandbox"},"message":"Success"}}},"exampleType":"examples"}},"exampleType":"examples"},"85f249be-1cda-4343-82ed-12d6cecdad72":{"description":"Bad Request - Invalid webRedirection URL","content":{"application/json":{"schema":{"type":"object","properties":{"ver":{"type":"string","description":"API version","uniqueKey":"ver","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error occurred","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"errorCode":{"type":"string","description":"Error category code","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","description":"Detailed error message","uniqueKey":"errorMsg","typeLabel":"string"},"status":{"type":"string","description":"FinPro-specific error code (FPxxxx format)","uniqueKey":"status","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"ver":"1.21.0","timestamp":"2025-10-01T11:45:48.706Z","errorCode":"invalidWebRedirectionUrl","errorMsg":"Invalid webRedirection Url is passed"},"examples":{"Example":{"title":"Example","value":{"ver":"1.21.0","timestamp":"2025-10-01T11:45:48.706Z","errorCode":"invalidWebRedirectionUrl","errorMsg":"Invalid webRedirection Url is passed"}}},"exampleType":"examples"}},"exampleType":"examples"},"cd1e7402-dbd6-4ac0-a8ce-4eae584ebc23":{"description":"Authentication Failed - Invalid credentials","content":{"application/json":{"schema":{"type":"object","properties":{"ver":{"type":"string","description":"API version","uniqueKey":"ver","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error occurred","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"errorCode":{"type":"string","description":"Error category code","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","description":"Detailed error message","uniqueKey":"errorMsg","typeLabel":"string"},"status":{"type":"string","description":"FinPro-specific error code (FPxxxx format)","uniqueKey":"status","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ver":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z","errorCode":"\u003cstring>","errorMsg":"\u003cstring>","status":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7d6f4120-d04d-432b-a685-e5ed6c97ff9b":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"ver":{"type":"string","description":"API version","uniqueKey":"ver","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error occurred","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"errorCode":{"type":"string","description":"Error category code","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","description":"Detailed error message","uniqueKey":"errorMsg","typeLabel":"string"},"status":{"type":"string","description":"FinPro-specific error code (FPxxxx format)","uniqueKey":"status","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ver":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z","errorCode":"\u003cstring>","errorMsg":"\u003cstring>","status":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"43c63343-a437-43e0-86e2-f015147fbba9":{"clientId":{"type":"apiKey","in":"header","name":"client_id","description":"Your unique client identifier provided by MoneyOne during FIU onboarding","scopes":[],"schemeName":"clientId"},"clientSecret":{"type":"apiKey","in":"header","name":"client_secret","description":"Your confidential client secret provided by MoneyOne","scopes":[],"schemeName":"clientSecret"},"organisationId":{"type":"apiKey","in":"header","name":"organisationId","description":"Your organization's unique identifier in the FinPro system","scopes":[],"schemeName":"organisationId"},"appIdentifier":{"type":"apiKey","in":"header","name":"appIdentifier","description":"Application-specific identifier for tracking API calls","scopes":[],"schemeName":"appIdentifier"}}},"servers":{"c31dd7dd-03f9-43e6-a672-f70bc9126c2a":{"url":"{baseUrl}","description":"FinPro API Server","variables":{"baseUrl":{"default":"https://scramblerpay-uat.moneyone.in","description":"API Base URL - change this to your environment"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"client_id","description":"Your unique client identifier provided by MoneyOne during FIU onboarding","scopes":[],"schemeName":"clientId"},"schema":{"title":"client_id","type":"string","description":"Your unique client identifier provided by MoneyOne during FIU onboarding","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientId","name":"client_id"},{"scheme":{"type":"apiKey","in":"header","name":"client_secret","description":"Your confidential client secret provided by MoneyOne","scopes":[],"schemeName":"clientSecret"},"schema":{"title":"client_secret","type":"string","description":"Your confidential client secret provided by MoneyOne","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"clientSecret","name":"client_secret"},{"scheme":{"type":"apiKey","in":"header","name":"organisationId","description":"Your organization's unique identifier in the FinPro system","scopes":[],"schemeName":"organisationId"},"schema":{"title":"organisationId","type":"string","description":"Your organization's unique identifier in the FinPro system","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"organisationId","name":"organisationId"},{"scheme":{"type":"apiKey","in":"header","name":"appIdentifier","description":"Application-specific identifier for tracking API calls","scopes":[],"schemeName":"appIdentifier"},"schema":{"title":"appIdentifier","type":"string","description":"Application-specific identifier for tracking API calls","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"appIdentifier","name":"appIdentifier"}],"title":"clientId \u0026 clientSecret \u0026 organisationId \u0026 appIdentifier"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"moneyone","siteName":"Moneyone FinPro","title":"Web Redirection Decryption - Moneyone FinPro","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-23T08:30:48.602Z","originalFileLocation":"api-reference/web-redirection/decryption.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=\"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\">\u003cmeta data-mint-head name=\"application-name\" content=\"Moneyone FinPro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Web Redirection Decryption - Moneyone FinPro\">\u003cmeta data-mint-head property=\"og:description\" content=\"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Moneyone FinPro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.moneyone.in/api-reference/web-redirection/decryption\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://moneyone.mintlify.app/_mintlify/api/og/v2?division=Web+Redirection\u0026amp;title=Web+Redirection+Decryption\u0026amp;description=Decrypt+the+encrypted+response+URL+received+from+Account+Aggregator+after+user+consent+flow\u0026amp;theme=d29dda5cb4109a2da02b35d1\u0026amp;signature=61d76e9d3010f31ca2e7af69eee5bd2c7619914a99cd3bd9b614083b6669fd00\">\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=\"Web Redirection Decryption - Moneyone FinPro\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://moneyone.mintlify.app/_mintlify/api/og/v2?division=Web+Redirection\u0026amp;title=Web+Redirection+Decryption\u0026amp;description=Decrypt+the+encrypted+response+URL+received+from+Account+Aggregator+after+user+consent+flow\u0026amp;theme=d29dda5cb4109a2da02b35d1\u0026amp;signature=61d76e9d3010f31ca2e7af69eee5bd2c7619914a99cd3bd9b614083b6669fd00\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/moneyone/7RspItk06M139IaZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Moneyone FinPro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.moneyone.in/api-reference/web-redirection/decryption\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/web-redirection/decryption.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.moneyone.in/#organization\",\"name\":\"Moneyone FinPro\",\"url\":\"https://developer.moneyone.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/moneyone/t_yCSAXsCyvLCZIr/moneyone_docs_logo.png?fit=max\u0026auto=format\u0026n=t_yCSAXsCyvLCZIr\u0026q=85\u0026s=b61177eff37ad325cefe9285f04e7ea1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.moneyone.in#website\",\"name\":\"Moneyone FinPro\",\"url\":\"https://developer.moneyone.in\",\"publisher\":{\"@id\":\"https://developer.moneyone.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption#webpage\",\"url\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption\",\"name\":\"Web Redirection Decryption\",\"description\":\"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\",\"dateModified\":\"2026-01-23T08:30:48.602Z\",\"isPartOf\":{\"@id\":\"https://developer.moneyone.in#website\"},\"breadcrumb\":{\"@id\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web Redirection\",\"item\":\"https://developer.moneyone.in/api-reference/web-redirection/encryption\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Redirection Decryption\",\"item\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption#apireference\",\"headline\":\"Web Redirection Decryption\",\"name\":\"Web Redirection Decryption\",\"description\":\"Decrypt the encrypted response URL received from Account Aggregator after user consent flow\",\"url\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption\",\"mainEntityOfPage\":{\"@id\":\"https://developer.moneyone.in/api-reference/web-redirection/decryption#webpage\"},\"dateModified\":\"2026-01-23T08:30:48.602Z\",\"publisher\":{\"@id\":\"https://developer.moneyone.in/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.moneyone.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Moneyone FinPro\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Moneyone FinPro","nav":{"global":null,"tabs":[{"tab":"Finpro","icon":"book-open","pages":[{"title":"Finpro","href":"/overview/introduction"}]},{"tab":"Finpro APIs","icon":"square-terminal","groups":[{"group":"Consent Management","pages":[{"title":"Consent Request V2","openapi":"POST /v2/requestconsent","tag":"Legacy","href":"/api-reference/consent/request-v2"},{"title":"Consent Request V3","openapi":"POST /v3/requestconsent","href":"/api-reference/consent/request-v3"},{"title":"Consent List","openapi":"POST /getconsentslist","tag":"Legacy","href":"/api-reference/consent/list"},{"title":"Consent List V2","openapi":"POST /v2/getconsentslist","href":"/api-reference/consent/list-v2"},{"title":"Consent List V3","openapi":"POST /v3/getconsentslist","href":"/api-reference/consent/list-v3"},{"title":"Consent List with Unique Accounts","openapi":"POST /v1/accounts/getconsentslist","href":"/api-reference/consent/list-unique-accounts"},{"title":"Revoke Consent","openapi":"POST /revokeconsent","href":"/api-reference/consent/revoke"}]},{"group":"Data Management","pages":[{"title":"FI Request","openapi":"POST /fi/request","href":"/api-reference/data/fi-request"},{"title":"FI Request Status","openapi":"POST /consent/firequest/status","href":"/api-reference/data/fi-request-status"},{"title":"Get All FI Data","openapi":"POST /getallfidata","href":"/api-reference/data/get-all-fi-data"},{"title":"Get All FI Data PDF","openapi":"POST /getallfidataPdf","href":"/api-reference/data/get-all-fi-data-pdf"},{"title":"Get All Latest Data","openapi":"POST /getalllatestfidata","href":"/api-reference/data/get-all-latest-data"},{"title":"Get FI Data","openapi":"POST /getfidata","href":"/api-reference/data/get-fi-data"},{"title":"Get FI Data XML","openapi":"POST /xml/getfidata","tag":"Legacy","href":"/api-reference/data/get-fi-data-xml"},{"title":"Get FI Balance","openapi":"POST /getfibalance","href":"/api-reference/data/get-fi-balance"}]},{"group":"Bulk Operations","pages":[{"title":"Schedule Bulk FI Requests","api":"POST /v2/schedule/fi/requests","href":"/api-reference/bulk/schedule"},{"title":"Schedule Bulk FI Requests (File Upload)","api":"POST /fi/requests/schedule/upload/v3","href":"/api-reference/bulk/upload"},{"title":"Bulk Status","api":"POST /bulk/status","href":"/api-reference/bulk/status"}]},{"group":"Web Redirection","pages":[{"title":"Web Redirection Encryption","openapi":"POST /webRedirection/getEncryptedUrl","description":"Generate an encrypted web redirection URL for Account Aggregator consent flow","href":"/api-reference/web-redirection/encryption"},{"title":"Web Redirection Decryption","openapi":"POST /webRedirection/decryptUrl","href":"/api-reference/web-redirection/decryption"}]},{"group":"User Management","pages":[{"title":"Check Profile","openapi":"POST /profile","description":"Check if a user is registered with Account Aggregators and has linked financial accounts","href":"/api-reference/user/check-profile"}]},{"group":"Analytics","pages":[{"title":"Analytics JSON","openapi":"POST /analytics/json","href":"/api-reference/analytics/analytics-json"},{"title":"Analytics Excel","openapi":"POST /analytics/excel","href":"/api-reference/analytics/analytics-excel"}]},{"group":"Miscellaneous","pages":[{"title":"Product List","openapi":"POST /productslist","href":"/api-reference/misc/product-list"},{"title":"Account Aggregator List","openapi":"POST /accountaggregatorlist","href":"/api-reference/misc/aa-list"},{"title":"FIP List","openapi":"GET /list/fips","href":"/api-reference/misc/fip-list"},{"title":"FIP Health","openapi":"POST /fiphealth","href":"/api-reference/misc/fip-health"},{"title":"Delete FI Data","openapi":"DELETE /fidata","href":"/api-reference/misc/delete-fi-data"}]}]},{"tab":"Orchestration","icon":"diagram-project","pages":[{"title":"Orchestration","href":"/orchestration/aa/overview"}]},{"tab":"Bank Statement Analytics","icon":"file-pdf","pages":[{"title":"Bank Statement Analytics","href":"/api-reference/analytics/pdf-push"}]},{"tab":"Super App / LSP Integration","icon":"plug","pages":[{"title":"Super App / LSP Integration","href":"/lsp/overview"}]},{"tab":"PFM","icon":"chart-line","pages":[{"title":"PFM","href":"/pfm/overview"}]},{"tab":"Analytics","icon":"chart-column","pages":[{"title":"Analytics","href":"/analytics/overview"}]}]},"basePath":"","title":"Web Redirection Decryption - Moneyone FinPro","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}