Customers can use this endpoint to respond to a loan offer. If the offer is accepted, the application status changes to ACCEPTED. If withdrawn, the status changes to WITHDRAWN.
This endpoint can only be used when the loan application status is OFFER_SENT. Attempting to use it with any other status will result in an error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FinCode Platform","colors":{"primary":"#734CDC","light":"#734CDC","dark":"#79359F"},"logo":{"light":"https://mintcdn.com/fincode/8bMKpNvzhWMZ8TuP/logo/logo.png?fit=max\u0026auto=format\u0026n=8bMKpNvzhWMZ8TuP\u0026q=85\u0026s=db1240518f55835a324cde1e8377682d","dark":"https://mintcdn.com/fincode/8bMKpNvzhWMZ8TuP/logo/logo.png?fit=max\u0026auto=format\u0026n=8bMKpNvzhWMZ8TuP\u0026q=85\u0026s=db1240518f55835a324cde1e8377682d","href":"https://docs.fincode.technology"},"favicon":"https://mintcdn.com/fincode/ryDAHkGMzsGXiEgb/favicon.svg?fit=max\u0026auto=format\u0026n=ryDAHkGMzsGXiEgb\u0026q=85\u0026s=bc4af5ca2aa38e3d5a719288084c0e4e","appearance":{"default":"light"},"navbar":{"primary":{"type":"button","label":"Contact Sales","href":"https://fincode.co.uk/contact-us/"}},"footer":{"socials":{"github":"https://github.com/fincodeuk","linkedin":"https://linkedin.com/company/fincodeUk","twitter":"https://twitter.com/fincodehq"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fincode","hasAudioNarration":false,"actualSubdomain":"fincode","customDomains":["docs.fincode.technology"],"gitSource":{"type":"github","owner":"trillionclues-fincode","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af6ff7d565e709b752983ff","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"API Reference","count":152},{"language":"default","tag":"Customer Identity \u0026 Access Management","count":59},{"language":"default","tag":"Lending","count":37},{"language":"default","tag":"Remittance","count":26},{"language":"default","tag":"Getting Started","count":17},{"language":"default","tag":"Deposit Engine","count":15},{"language":"default","tag":"Core Flows","count":14},{"language":"default","tag":"Ledger Engine","count":12},{"language":"default","tag":"Songhai Exchange (Payment Switch)","count":12},{"language":"default","tag":"Savings \u0026 Investment","count":11}]},"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":"custom-rbac-roles","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":"workos-onboarding","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":"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":"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":"editor-metadata","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/lending/update-application","slug":"/api/lending/update-application","pageMetadata":{"title":"Update Loan Offer","api":"PUT https://{your-domain}.fincode.software/api/v1/services/user/update-application/{loan-application-id}","description":"Allows customers to accept or withdraw from a loan offer that has been sent to them.","href":"/api/lending/update-application"},"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: \"Allows customers to accept or withdraw from a loan offer that has been sent to them.\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,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(_components.p,{children:[`Customers can use this endpoint to respond to a loan offer. If the offer is accepted, the application status changes to `,_jsx(_components.code,{children:`ACCEPTED`}),`. If withdrawn, the status changes to `,_jsx(_components.code,{children:`WITHDRAWN`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint can only be used when the loan application status is `,_jsx(_components.code,{children:`OFFER_SENT`}),`. Attempting to use it with any other status will result in an error.`]})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request Headers`}),`\n`,_jsx(ParamField,{header:`X-Auth-Token`,type:`string`,required:true,id:`param-x-auth-token`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`JWT Access Token`}),` obtained from the `,_jsx(_components.code,{children:`/login`}),` or `,_jsx(_components.code,{children:`/refresh-token`}),` endpoint.`]})}),`\n`,_jsx(ParamField,{header:`x-idempotency-key`,type:`string`,required:true,id:`param-x-idempotency-key`,children:_jsx(_components.p,{children:`Unique idempotency key for the request to prevent duplicate processing.`})}),`\n`,_jsx(ParamField,{header:`x-fapi-auth-date`,type:`string`,required:true,id:`param-x-fapi-auth-date`,children:_jsx(_components.p,{children:`The date and time at which the request was initiated (ISO 8601 format).`})}),`\n`,_jsx(ParamField,{header:`x-fapi-customer-ip-address`,type:`string`,required:true,id:`param-x-fapi-customer-ip-address`,children:_jsx(_components.p,{children:`The IP address of the customer making the request.`})}),`\n`,_jsx(ParamField,{header:`x-fapi-interaction-id`,type:`string`,required:true,id:`param-x-fapi-interaction-id`,children:_jsx(_components.p,{children:`Unique identifier for the interaction/session.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`loan-application-id`,type:`string`,required:true,id:`param-loan-application-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the loan application to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`status`,type:`boolean`,required:true,id:`param-status`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: Accept the loan offer (status changes to `,_jsx(_components.code,{children:`ACCEPTED`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: Withdraw from the loan offer (status changes to `,_jsx(_components.code,{children:`WITHDRAWN`}),`)`]}),`\n`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the updated loan application details.`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,default:`SUCCESS`,id:`param-status-1`,children:_jsx(_components.p,{children:`Overall status of the API request.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Updated loan application details.`}),_jsxs(Expandable,{title:`data object`,children:[_jsx(ResponseField,{name:`applicationId`,type:`string`,id:`param-application-id`,children:_jsx(_components.p,{children:`Unique identifier of the loan application.`})}),_jsx(ResponseField,{name:`loanProductId`,type:`string`,id:`param-loan-product-id`,children:_jsx(_components.p,{children:`Identifier of the loan product.`})}),_jsx(ResponseField,{name:`userName`,type:`string`,id:`param-user-name`,children:_jsx(_components.p,{children:`Name of the customer.`})}),_jsx(ResponseField,{name:`productName`,type:`string`,id:`param-product-name`,children:_jsx(_components.p,{children:`Name of the loan product.`})}),_jsx(ResponseField,{name:`currencyCode`,type:`string`,id:`param-currency-code`,children:_jsx(_components.p,{children:`Currency code.`})}),_jsx(ResponseField,{name:`employmentStatus`,type:`string`,id:`param-employment-status`,children:_jsx(_components.p,{children:`Employment status of the customer.`})}),_jsx(ResponseField,{name:`loanApplicationcreatedDate`,type:`string`,id:`param-loan-applicationcreated-date`,children:_jsx(_components.p,{children:`Date when the loan application was created.`})}),_jsx(ResponseField,{name:`userId`,type:`string`,id:`param-user-id`,children:_jsx(_components.p,{children:`Unique identifier of the user.`})}),_jsx(ResponseField,{name:`durationCounterUnitEnum`,type:`string`,id:`param-duration-counter-unit-enum`,children:_jsxs(_components.p,{children:[`Duration counter unit (e.g., `,_jsx(_components.code,{children:`MONTH`}),`, `,_jsx(_components.code,{children:`WEEK`}),`, `,_jsx(_components.code,{children:`DAY`}),`).`]})}),_jsx(ResponseField,{name:`requestedLoanAmount`,type:`number`,id:`param-requested-loan-amount`,children:_jsx(_components.p,{children:`Requested loan amount.`})}),_jsx(ResponseField,{name:`loanStatus`,type:`string`,id:`param-loan-status`,children:_jsxs(_components.p,{children:[`Updated loan application status (`,_jsx(_components.code,{children:`ACCEPTED`}),` or `,_jsx(_components.code,{children:`WITHDRAWN`}),`).`]})}),_jsx(ResponseField,{name:`monthlyIncome`,type:`number`,id:`param-monthly-income`,children:_jsx(_components.p,{children:`Customer’s monthly income.`})}),_jsx(ResponseField,{name:`dateOfBirth`,type:`string`,id:`param-date-of-birth`,children:_jsx(_components.p,{children:`Customer’s date of birth.`})}),_jsx(ResponseField,{name:`loanDuration`,type:`number`,id:`param-loan-duration`,children:_jsx(_components.p,{children:`Loan duration.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user/update-application/123e4567-e89b-12d3-a456-426614174000?status=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-idempotency-key: unique-key-12345'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-auth-date: 2024-01-15T10:30:00Z'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-customer-ip-address: 192.168.1.1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-interaction-id: interaction-12345'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`41`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`41`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` axios`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'axios'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`acceptOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` axios`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`put`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/update-application/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` params:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` status:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` acceptOffer`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Auth-Token'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-idempotency-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `key-\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`()`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-auth-date'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toISOString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-customer-ip-address'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '192.168.1.1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-interaction-id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `interaction-\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`()`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Loan offer updated:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Failed to update loan offer:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`})]}),`\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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Usage Example - Accept offer`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` accessToken`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'YOUR_JWT_ACCESS_TOKEN'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` loanApplicationId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123e4567-e89b-12d3-a456-426614174000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Usage Example - Withdraw from offer`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})]})}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":"Update Loan Offer","api":"PUT https://{your-domain}.fincode.software/api/v1/services/user/update-application/{loan-application-id}","description":"Allows customers to accept or withdraw from a loan offer that has been sent to them.","href":"/api/lending/update-application"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,RequestExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Customers can use this endpoint to respond to a loan offer. If the offer is accepted, the application status changes to `,_jsx(_components.code,{children:`ACCEPTED`}),`. If withdrawn, the status changes to `,_jsx(_components.code,{children:`WITHDRAWN`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint can only be used when the loan application status is `,_jsx(_components.code,{children:`OFFER_SENT`}),`. Attempting to use it with any other status will result in an error.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL PUT`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`https://`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`{your-domain}`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`.fincode.software/api/v1/services/user/update-application/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`{loan-application-id}`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`?status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`true`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request Headers`}),`\n`,_jsx(ParamField,{header:`X-Auth-Token`,type:`string`,required:true,id:`param-x-auth-token`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`JWT Access Token`}),` obtained from the `,_jsx(_components.code,{children:`/login`}),` or `,_jsx(_components.code,{children:`/refresh-token`}),` endpoint.`]})}),`\n`,_jsx(ParamField,{header:`x-idempotency-key`,type:`string`,required:true,id:`param-x-idempotency-key`,children:_jsx(_components.p,{children:`Unique idempotency key for the request to prevent duplicate processing.`})}),`\n`,_jsx(ParamField,{header:`x-fapi-auth-date`,type:`string`,required:true,id:`param-x-fapi-auth-date`,children:_jsx(_components.p,{children:`The date and time at which the request was initiated (ISO 8601 format).`})}),`\n`,_jsx(ParamField,{header:`x-fapi-customer-ip-address`,type:`string`,required:true,id:`param-x-fapi-customer-ip-address`,children:_jsx(_components.p,{children:`The IP address of the customer making the request.`})}),`\n`,_jsx(ParamField,{header:`x-fapi-interaction-id`,type:`string`,required:true,id:`param-x-fapi-interaction-id`,children:_jsx(_components.p,{children:`Unique identifier for the interaction/session.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`loan-application-id`,type:`string`,required:true,id:`param-loan-application-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the loan application to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`status`,type:`boolean`,required:true,id:`param-status`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: Accept the loan offer (status changes to `,_jsx(_components.code,{children:`ACCEPTED`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: Withdraw from the loan offer (status changes to `,_jsx(_components.code,{children:`WITHDRAWN`}),`)`]}),`\n`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the updated loan application details.`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,default:`SUCCESS`,id:`param-status-1`,children:_jsx(_components.p,{children:`Overall status of the API request.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Updated loan application details.`}),_jsxs(Expandable,{title:`data object`,children:[_jsx(ResponseField,{name:`applicationId`,type:`string`,id:`param-application-id`,children:_jsx(_components.p,{children:`Unique identifier of the loan application.`})}),_jsx(ResponseField,{name:`loanProductId`,type:`string`,id:`param-loan-product-id`,children:_jsx(_components.p,{children:`Identifier of the loan product.`})}),_jsx(ResponseField,{name:`userName`,type:`string`,id:`param-user-name`,children:_jsx(_components.p,{children:`Name of the customer.`})}),_jsx(ResponseField,{name:`productName`,type:`string`,id:`param-product-name`,children:_jsx(_components.p,{children:`Name of the loan product.`})}),_jsx(ResponseField,{name:`currencyCode`,type:`string`,id:`param-currency-code`,children:_jsx(_components.p,{children:`Currency code.`})}),_jsx(ResponseField,{name:`employmentStatus`,type:`string`,id:`param-employment-status`,children:_jsx(_components.p,{children:`Employment status of the customer.`})}),_jsx(ResponseField,{name:`loanApplicationcreatedDate`,type:`string`,id:`param-loan-applicationcreated-date`,children:_jsx(_components.p,{children:`Date when the loan application was created.`})}),_jsx(ResponseField,{name:`userId`,type:`string`,id:`param-user-id`,children:_jsx(_components.p,{children:`Unique identifier of the user.`})}),_jsx(ResponseField,{name:`durationCounterUnitEnum`,type:`string`,id:`param-duration-counter-unit-enum`,children:_jsxs(_components.p,{children:[`Duration counter unit (e.g., `,_jsx(_components.code,{children:`MONTH`}),`, `,_jsx(_components.code,{children:`WEEK`}),`, `,_jsx(_components.code,{children:`DAY`}),`).`]})}),_jsx(ResponseField,{name:`requestedLoanAmount`,type:`number`,id:`param-requested-loan-amount`,children:_jsx(_components.p,{children:`Requested loan amount.`})}),_jsx(ResponseField,{name:`loanStatus`,type:`string`,id:`param-loan-status`,children:_jsxs(_components.p,{children:[`Updated loan application status (`,_jsx(_components.code,{children:`ACCEPTED`}),` or `,_jsx(_components.code,{children:`WITHDRAWN`}),`).`]})}),_jsx(ResponseField,{name:`monthlyIncome`,type:`number`,id:`param-monthly-income`,children:_jsx(_components.p,{children:`Customer’s monthly income.`})}),_jsx(ResponseField,{name:`dateOfBirth`,type:`string`,id:`param-date-of-birth`,children:_jsx(_components.p,{children:`Customer’s date of birth.`})}),_jsx(ResponseField,{name:`loanDuration`,type:`number`,id:`param-loan-duration`,children:_jsx(_components.p,{children:`Loan duration.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user/update-application/123e4567-e89b-12d3-a456-426614174000?status=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-idempotency-key: unique-key-12345'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-auth-date: 2024-01-15T10:30:00Z'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-customer-ip-address: 192.168.1.1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-fapi-interaction-id: interaction-12345'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`41`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`41`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` axios`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'axios'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`acceptOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` axios`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`put`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/update-application/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` params:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` status:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` acceptOffer`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Auth-Token'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-idempotency-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `key-\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`()`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-auth-date'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toISOString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-customer-ip-address'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '192.168.1.1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-fapi-interaction-id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `interaction-\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`()`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Loan offer updated:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Failed to update loan offer:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`})]}),`\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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Usage Example - Accept offer`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` accessToken`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'YOUR_JWT_ACCESS_TOKEN'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` loanApplicationId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123e4567-e89b-12d3-a456-426614174000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Usage Example - Withdraw from offer`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateLoanApplicationOffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`loanApplicationId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})]})}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":"Update Loan Offer","api":"PUT https://{your-domain}.fincode.software/api/v1/services/user/update-application/{loan-application-id}","description":"Allows customers to accept or withdraw from a loan offer that has been sent to them.","href":"/api/lending/update-application"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Headers","slug":"request-headers","depth":2,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Code Examples","slug":"code-examples","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL PUT","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=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">https://\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">{your-domain}\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">.fincode.software/api/v1/services/user/update-application/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">{loan-application-id}\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">?status\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">=\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">true\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update Loan Offer","path":"/api/v1/services/user/update-application/{loan-application-id}","servers":[{"url":"https://{your-domain}.fincode.software"}],"method":"put","request":{"security":[],"parameters":{"query":{"status":{"schema":[{"type":"boolean","description":"`true` : Accept the loan offer (status changes to `ACCEPTED` ) `false` : Withdraw from the loan offer (status changes to `WITHDRAWN` )","required":true}]}},"header":{"X-Auth-Token":{"schema":[{"type":"string","description":"The JWT Access Token obtained from the `/login` or `/refresh-token` endpoint.","required":true}]},"x-idempotency-key":{"schema":[{"type":"string","description":"Unique idempotency key for the request to prevent duplicate processing.","required":true}]},"x-fapi-auth-date":{"schema":[{"type":"string","description":"The date and time at which the request was initiated (ISO 8601 format).","required":true}]},"x-fapi-customer-ip-address":{"schema":[{"type":"string","description":"The IP address of the customer making the request.","required":true}]},"x-fapi-interaction-id":{"schema":[{"type":"string","description":"Unique identifier for the interaction/session.","required":true}]}},"cookie":{},"path":{"loan-application-id":{"schema":[{"type":"string","description":"The unique identifier (UUID) of the loan application to update.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"Overall status of the API request."}],"data":[{"type":"object","properties":{"applicationId":[{"type":"string","description":"Unique identifier of the loan application."}],"loanProductId":[{"type":"string","description":"Identifier of the loan product."}],"userName":[{"type":"string","description":"Name of the customer."}],"productName":[{"type":"string","description":"Name of the loan product."}],"currencyCode":[{"type":"string","description":"Currency code."}],"employmentStatus":[{"type":"string","description":"Employment status of the customer."}],"loanApplicationcreatedDate":[{"type":"string","description":"Date when the loan application was created."}],"userId":[{"type":"string","description":"Unique identifier of the user."}],"durationCounterUnitEnum":[{"type":"string","description":"Duration counter unit (e.g., `MONTH` , `WEEK` , `DAY` )."}],"requestedLoanAmount":[{"type":"number","description":"Requested loan amount."}],"loanStatus":[{"type":"string","description":"Updated loan application status ( `ACCEPTED` or `WITHDRAWN` )."}],"monthlyIncome":[{"type":"number","description":"Customer’s monthly income."}],"dateOfBirth":[{"type":"string","description":"Customer’s date of birth."}],"loanDuration":[{"type":"number","description":"Loan duration."}]},"description":"Updated loan application details."}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","data":{"applicationId":"\u003cstring>","loanProductId":"\u003cstring>","userName":"\u003cstring>","productName":"\u003cstring>","currencyCode":"\u003cstring>","employmentStatus":"\u003cstring>","loanApplicationcreatedDate":"\u003cstring>","userId":"\u003cstring>","durationCounterUnitEnum":"\u003cstring>","requestedLoanAmount":123,"loanStatus":"\u003cstring>","monthlyIncome":123,"dateOfBirth":"\u003cstring>","loanDuration":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"fincode","siteName":"FinCode Platform","title":"Update Loan Offer - FinCode Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-23T14:17:46.098Z","originalFileLocation":"api/lending/update-application.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=\"light\"}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=\"Allows customers to accept or withdraw from a loan offer that has been sent to them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FinCode Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_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/fincode/F2sLn9W_rtCfFlNs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Loan Offer - FinCode Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Allows customers to accept or withdraw from a loan offer that has been sent to them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FinCode Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fincode.technology/api/lending/update-application\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fincode.mintlify.site/_mintlify/api/og/v2?division=API+Endpoints\u0026amp;title=Update+Loan+Offer\u0026amp;description=Allows+customers+to+accept+or+withdraw+from+a+loan+offer+that+has+been+sent+to+them.\u0026amp;theme=5cb295c43f2caf87cf931732\u0026amp;signature=2e74e84daffcd9db0b211f7de5c4c1af9de3e84f2963e1dc6ee1e50c891635b4\">\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=\"Update Loan Offer - FinCode Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Allows customers to accept or withdraw from a loan offer that has been sent to them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fincode.mintlify.site/_mintlify/api/og/v2?division=API+Endpoints\u0026amp;title=Update+Loan+Offer\u0026amp;description=Allows+customers+to+accept+or+withdraw+from+a+loan+offer+that+has+been+sent+to+them.\u0026amp;theme=5cb295c43f2caf87cf931732\u0026amp;signature=2e74e84daffcd9db0b211f7de5c4c1af9de3e84f2963e1dc6ee1e50c891635b4\">\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/fincode/F2sLn9W_rtCfFlNs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FinCode Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#734CDC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fincode.technology/api/lending/update-application\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/lending/update-application.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fincode.technology/#organization\",\"name\":\"FinCode Platform\",\"url\":\"https://docs.fincode.technology\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fincode/8bMKpNvzhWMZ8TuP/logo/logo.png?fit=max\u0026auto=format\u0026n=8bMKpNvzhWMZ8TuP\u0026q=85\u0026s=db1240518f55835a324cde1e8377682d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fincode.technology#website\",\"name\":\"FinCode Platform\",\"url\":\"https://docs.fincode.technology\",\"publisher\":{\"@id\":\"https://docs.fincode.technology/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fincode.technology/api/lending/update-application#webpage\",\"url\":\"https://docs.fincode.technology/api/lending/update-application\",\"name\":\"Update Loan Offer\",\"description\":\"Allows customers to accept or withdraw from a loan offer that has been sent to them.\",\"dateModified\":\"2026-07-23T14:17:46.098Z\",\"isPartOf\":{\"@id\":\"https://docs.fincode.technology#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fincode.technology/api/lending/update-application#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fincode.technology/api/lending/update-application#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.fincode.technology/api/lending/get-application\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Loan Offer\",\"item\":\"https://docs.fincode.technology/api/lending/update-application\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fincode.technology/api/lending/update-application#apireference\",\"headline\":\"Update Loan Offer\",\"name\":\"Update Loan Offer\",\"description\":\"Allows customers to accept or withdraw from a loan offer that has been sent to them.\",\"url\":\"https://docs.fincode.technology/api/lending/update-application\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fincode.technology/api/lending/update-application#webpage\"},\"dateModified\":\"2026-07-23T14:17:46.098Z\",\"publisher\":{\"@id\":\"https://docs.fincode.technology/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fincode.technology#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FinCode Platform\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FinCode Platform\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/lending/update-application.md","siteName":"FinCode Platform","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Remittance","pages":[{"title":"Remittance","href":"/remittance/overview"}]},{"tab":"Lending","groups":[{"group":"Getting Started","pages":[{"title":"Overview","icon":"atom","href":"/lending/overview"},{"title":"Process Flow","icon":"diagram-project","href":"/lending/process-flow"}]},{"group":"Core Flows","pages":[{"title":"Loan Lifecycle","icon":"arrows-spin","href":"/lending/loan-lifecycle"},{"title":"Underwriting","icon":"file-signature","href":"/lending/underwriting"},{"title":"Disbursement \u0026 Withdrawal","icon":"money-bill-transfer","href":"/lending/disbursement"},{"title":"Repayment Flow","icon":"money-bill-transfer","href":"/lending/repayment-flow"}]},{"group":"API Endpoints","pages":[{"title":"Get Application","openapi":"GET /admin/loan-application/{loan-application-id}","href":"/api/lending/get-application"},{"title":"List Loan Products","openapi":"GET /user/list-products","href":"/api/lending/list-products"},{"title":"Eligibility Questions","openapi":"GET /user/loan-eligibility-questions/{productId}","href":"/api/lending/loan-eligibility-questions"},{"title":"Loan History","openapi":"GET /user/get-loan-history/{customerId}","href":"/api/lending/get-loan-history"},{"title":"Customers Total Loan","openapi":"GET /user/get-total/{customerId}","href":"/api/lending/get-total-loan"},{"title":"Get Loan Offer","openapi":"GET /user/get-loan-offer","href":"/api/lending/get-loan-offer"},{"title":"Available Banks","openapi":"GET /user/get-available-banks/","href":"/api/lending/get-available-banks"},{"title":"Verify Bank Account","openapi":"GET /user/verify-bank-account/{bankCode}/{accountNumber}","href":"/api/lending/verify-bank-account"},{"title":"List Bank Accounts","openapi":"GET /user/list-customer-bank-accounts/{customerId}","href":"/api/lending/list-customer-bank-accounts"},{"title":"Transfer History","openapi":"GET /user/transfer-history/{customerId}","href":"/api/lending/transfer-history"},{"title":"Manage Loans","openapi":"GET /user/manage-loans/{customerId}","href":"/api/lending/manage-loans"},{"title":"List Repayments","openapi":"GET /admin/repayments/list","href":"/api/lending/list-repayments"},{"title":"Transfer Status","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/check-transfer-status/{transactionReference}","href":"/api/lending/transfer-status"},{"title":"Get Loan Terms","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/get-loan-terms/{organisationId}","href":"/api/lending/get-loan-terms"},{"title":"Pending Repayments","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/pending-repayments/{user-id}","href":"/api/lending/pending-repayments"},{"title":"Repaid Transactions","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/repaid-transactions/{user-id}","href":"/api/lending/repaid-transactions"},{"title":"Repayment Instructions","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/repayment-instructions/{loan-application-id}","href":"/api/lending/repayment-instructions"},{"title":"Loan Details with Payment History","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/loan-details-with-payment-history/{loan-application-id}","href":"/api/lending/loan-details-with-payment-history"},{"title":"View Bank Account","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/view-bank-account/{account-id}","href":"/api/lending/view-bank-account"},{"title":"Loan Application Details","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/loan-application-details/{loan-application-id}","href":"/api/lending/loan-application-details"},{"title":"List Customer Repayments","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id}","description":"Retrieves a list of all repayments for a specific customer across all their loans.","href":"/api/lending/list-customer-repayments"},{"title":"Update Loan Offer","api":"PUT https://{your-domain}.fincode.software/api/v1/services/user/update-application/{loan-application-id}","href":"/api/lending/update-application"},{"title":"Accept Loan Offer","openapi":"PUT /user/accept-loan-offer/{loanApplicationId}/accept","description":"Accepts the loan offer.","href":"/api/lending/accept-loan-offer"},{"title":"Reject Loan Offer","openapi":"PUT /user/accept-loan-offer/{loanApplicationId}/reject","href":"/api/lending/reject-loan-offer"},{"title":"Accept Loan Terms","openapi":"PUT /user/accept-terms-and-conditions/{loanApplicationId}","href":"/api/lending/accept-loan-terms"},{"title":"Transfer Funds to Bank","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank","href":"/api/lending/transfer-funds"},{"title":"Payoff Loan","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/payoff-loan","href":"/api/lending/payoff-loan"},{"title":"Repay Loan","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/repay-loan/{user-id}","href":"/api/lending/repay-loan"},{"title":"Calculate APR","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/calculate-apr","href":"/api/lending/calculate-apr"},{"title":"Add Bank Account","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/create-bank-account","href":"/api/lending/add-bank-account"},{"title":"Request Loan","openapi":"POST /user/request-loan","href":"/api/lending/loan-request"}]}]},{"tab":"Savings \u0026 Investment","pages":[{"title":"Savings \u0026 Investment","href":"/investment/overview"}]},{"tab":"Customer Identity \u0026 Access Management","pages":[{"title":"Customer Identity \u0026 Access Management","href":"/ciam/overview"}]},{"tab":"Payment Switch","pages":[{"title":"Payment Switch","href":"/songhai-exchange/overview"}]},{"tab":"Ledger Engine","pages":[{"title":"Ledger Engine","href":"/ledger/overview"}]},{"tab":"Deposit Engine","pages":[{"title":"Deposit Engine","href":"/deposit-engine/overview"}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"API Reference","icon":"code","href":"/api/authentication"}]},{"group":"Authentication","pages":[{"title":"Login","openapi":"PUT /securitymanagement/login","href":"/api/auth/login"},{"title":"Logout","openapi":"PUT /securitymanagement/logout","href":"/api/auth/logout"},{"title":"Refresh Token","openapi":"PUT /securitymanagement/refresh-token","href":"/api/auth/refresh-token"}]},{"group":"Security \u0026 Utilities","pages":[{"title":"List Countries","openapi":"GET /utilitiesmanagement/list-all-countries","href":"/api/security/list-countries"},{"title":"Active Countries","openapi":"GET /utilitiesmanagement/active-countries","href":"/api/security/active-countries"},{"title":"Password Policy","openapi":"GET /admin/security/view-password-policy","href":"/api/security/password-policy"},{"title":"Fetch Preference","openapi":"GET /admin/organisation-preference-management/fetch-organisaction-preference","href":"/api/security/fetch-preference"}]},{"group":"Remittance","pages":[{"title":"Wallet Account List","openapi":"GET /walletmanagement/walletaccountlist","href":"/api/transactions/wallet-account"},{"title":"Find All Beneficiary","openapi":"GET /usermanagement/find-all-beneficiery","href":"/api/transactions/beneficiary-list"},{"title":"Transaction Types","openapi":"GET /transactionmanagement/transaction-types","href":"/api/transactions/transaction-types"},{"title":"Beneficiary Details","openapi":"GET /usermanagement/view-beneficiery-details/{beneficiaryId}","href":"/api/transactions/beneficiary-details"},{"title":"Delivery Currencies","openapi":"GET /quote/supported-delivery-currencies/{sendingCountryCode}/{receivingCountryCode}/{deliveryMethod}/{sendingCurrencyCode}","href":"/api/transactions/delivery-currencies"},{"title":"Destination Countries","openapi":"GET /quote/destination-country-by-delivery-method/{sendingCountryCode}/{deliveryMethod}","href":"/api/transactions/destination-countries"},{"title":"Supported Currencies","openapi":"GET /quote/supported-currencies/{sendingCountryCode}/{receivingCountryCode}/{deliveryMethod}","href":"/api/transactions/supported-currencies"},{"title":"Validate Recipient Account","openapi":"GET /usermanagement/validate-bank-account","href":"/api/transactions/validate-account"},{"title":"List Supported Banks","openapi":"GET /bankmanagement/list-supported-banks-iso3/{country}","href":"/api/transactions/list-supported-banks"},{"title":"Required Bank Fields","openapi":"GET /bankmanagement/required-bank-fields/{country}","href":"/api/transactions/required-bank-fields"},{"title":"List Mobile Operators","openapi":"GET /admin/bank/config/find-all-mobile-operator/{country}","href":"/api/transactions/list-mobile-operators"},{"title":"Add Bank Details","openapi":"POST /bankmanagement/add-bank-details-key-value-pairs","href":"/api/transactions/add-bank-details"},{"title":"Get Transaction Quote","openapi":"POST /quote/callQuote","href":"/api/transactions/call-quote"},{"title":"Payment Methods","api":"POST /paymentmanagement/supported-payment-methods","href":"/api/transactions/payment-methods"},{"title":"Create Beneficiary","openapi":"POST /usermanagement/new-beneficiary","href":"/api/transactions/create-beneficiary"},{"title":"Customer Transaction History","openapi":"POST /transactionmanagement/history-data","href":"/api/transactions/history-data"},{"title":"Check Transaction Status","openapi":"GET /transactionmanagement/checktransactionstatus/{transaction_identification_number}","href":"/api/transactions/check-transaction-status"},{"title":"Fetch Transaction Details","openapi":"GET /transactionmanagement/fetch-payable-type/{pcn}/{payable_type}","href":"/api/transactions/fetch-transaction-details"},{"title":"Create Transaction","openapi":"POST /transactionmanagement/create-transaction","href":"/api/transactions/create-transaction"},{"title":"Create Transaction (Direct)","openapi":"POST /transactionmanagement/create-transaction","href":"/api/transactions/create-transaction-direct"}]},{"group":"Lending","pages":[{"title":"Get Application","openapi":"GET /admin/loan-application/{loan-application-id}","href":"/api/lending/get-application"},{"title":"List Loan Products","openapi":"GET /user/list-products","href":"/api/lending/list-products"},{"title":"Eligibility Questions","openapi":"GET /user/loan-eligibility-questions/{productId}","href":"/api/lending/loan-eligibility-questions"},{"title":"Loan History","openapi":"GET /user/get-loan-history/{customerId}","href":"/api/lending/get-loan-history"},{"title":"Customers Total Loan","openapi":"GET /user/get-total/{customerId}","href":"/api/lending/get-total-loan"},{"title":"Get Loan Offer","openapi":"GET /user/get-loan-offer","href":"/api/lending/get-loan-offer"},{"title":"Available Banks","openapi":"GET /user/get-available-banks/","href":"/api/lending/get-available-banks"},{"title":"Verify Bank Account","openapi":"GET /user/verify-bank-account/{bankCode}/{accountNumber}","href":"/api/lending/verify-bank-account"},{"title":"List Bank Accounts","openapi":"GET /user/list-customer-bank-accounts/{customerId}","href":"/api/lending/list-customer-bank-accounts"},{"title":"Transfer History","openapi":"GET /user/transfer-history/{customerId}","href":"/api/lending/transfer-history"},{"title":"Manage Loans","openapi":"GET /user/manage-loans/{customerId}","href":"/api/lending/manage-loans"},{"title":"List Repayments","openapi":"GET /admin/repayments/list","href":"/api/lending/list-repayments"},{"title":"Transfer Status","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/check-transfer-status/{transactionReference}","href":"/api/lending/transfer-status"},{"title":"Get Loan Terms","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/get-loan-terms/{organisationId}","href":"/api/lending/get-loan-terms"},{"title":"Pending Repayments","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/pending-repayments/{user-id}","href":"/api/lending/pending-repayments"},{"title":"Repaid Transactions","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/repaid-transactions/{user-id}","href":"/api/lending/repaid-transactions"},{"title":"Repayment Instructions","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/repayment-instructions/{loan-application-id}","href":"/api/lending/repayment-instructions"},{"title":"Loan Details with Payment History","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/loan-details-with-payment-history/{loan-application-id}","href":"/api/lending/loan-details-with-payment-history"},{"title":"View Bank Account","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/view-bank-account/{account-id}","href":"/api/lending/view-bank-account"},{"title":"Loan Application Details","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/loan-application-details/{loan-application-id}","href":"/api/lending/loan-application-details"},{"title":"List Customer Repayments","api":"GET https://{your-domain}.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id}","description":"Retrieves a list of all repayments for a specific customer across all their loans.","href":"/api/lending/list-customer-repayments"},{"title":"Update Loan Offer","api":"PUT https://{your-domain}.fincode.software/api/v1/services/user/update-application/{loan-application-id}","href":"/api/lending/update-application"},{"title":"Accept Loan Offer","openapi":"PUT /user/accept-loan-offer/{loanApplicationId}/accept","description":"Accepts the loan offer.","href":"/api/lending/accept-loan-offer"},{"title":"Reject Loan Offer","openapi":"PUT /user/accept-loan-offer/{loanApplicationId}/reject","href":"/api/lending/reject-loan-offer"},{"title":"Accept Loan Terms","openapi":"PUT /user/accept-terms-and-conditions/{loanApplicationId}","href":"/api/lending/accept-loan-terms"},{"title":"Transfer Funds to Bank","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank","href":"/api/lending/transfer-funds"},{"title":"Payoff Loan","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/payoff-loan","href":"/api/lending/payoff-loan"},{"title":"Repay Loan","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/repay-loan/{user-id}","href":"/api/lending/repay-loan"},{"title":"Calculate APR","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/calculate-apr","href":"/api/lending/calculate-apr"},{"title":"Add Bank Account","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/create-bank-account","href":"/api/lending/add-bank-account"},{"title":"Request Loan","openapi":"POST /user/request-loan","href":"/api/lending/loan-request"}]},{"group":"Ledger Engine","pages":[{"title":"Account Balance","openapi":"GET /ledger/account-balance/{account_id}","href":"/api/ledger/account-balance"},{"title":"Ledger History","openapi":"GET /ledger/account-ledger-history/{account_id}/{page}/{size}","href":"/api/ledger/ledger-history"},{"title":"Ledger History by ID","openapi":"GET /ledger/account-ledger-history-interaction-id","href":"/api/ledger/ledger-history-interaction-id"},{"title":"Ledger History by Idempotency Key","openapi":"GET /ledger/account-ledger-history-idempotencykey","href":"/api/ledger/ledger-history-idempotency-key"},{"title":"List Accounts","openapi":"GET /account-maintenance/list-accounts/{account-owner-id}","href":"/api/ledger/list-accounts"},{"title":"Change Account Permission","openapi":"GET /account-maintenance/change-account-permission/{id}/{permission}","href":"/api/ledger/change-account-permission"},{"title":"Post to Account","openapi":"POST /gateway/post-account","href":"/api/ledger/post-account"}]},{"group":"Savings \u0026 Investment","pages":[{"title":"Get Total Investments","openapi":"GET /get-total/{user-id}","href":"/api/investment/get-total-investments"},{"title":"List Customer Portfolios","openapi":"GET /portfolios/{customer-id}","href":"/api/investment/list-portfolios"},{"title":"Get Investment Quote","openapi":"GET /quote/get-quote/{product-id}/{number-of-units-to-purchase}","href":"/api/investment/get-quote"},{"title":"Fund Wallet","openapi":"PUT /wallet/fund-wallet/{wallet-id}/{amount}","href":"/api/investment/fund-wallet"},{"title":"Create Investment Application","openapi":"POST /apply","href":"/api/investment/create-investment-application"}]},{"group":"Deposit Engine","pages":[{"title":"List Awaiting Payments","openapi":"GET /paymentmanagement/awaiting-payments","href":"/api/deposit-engine/awaiting-payments"},{"title":"Bank Pay Later (Wallet)","openapi":"PUT /paymentmanagement/bank-iwillpaylater-wallet/{pcn}/{payableType_String}","href":"/api/deposit-engine/bank-iwillpaylater"},{"title":"Awaiting Payment Actions","openapi":"POST /paymentmanagement/awaiting-payment-actions","href":"/api/deposit-engine/awaiting-payment-actions"},{"title":"Payment Methods Charges","openapi":"POST /paymentmanagement/payment-methods-charges","href":"/api/deposit-engine/payment-methods-charges"},{"title":"Notify Bank Transfer Payment","openapi":"POST /paymentmanagement/notify-bank-transfer-payment","href":"/api/deposit-engine/notify-bank-transfer-payment"},{"title":"Supported Payment Methods","openapi":"POST /paymentmanagement/supported-payment-methods","href":"/api/deposit-engine/supported-payment-methods"},{"title":"Make Payment from Wallet","openapi":"POST /paymentmanagement/makepaymentfromwalletaccount","href":"/api/deposit-engine/make-payment-from-wallet"},{"title":"Fund Customer Wallet by Payment Token","openapi":"POST /paymentmanagement/processpaymentwithpaymenttoken","href":"/api/deposit-engine/process-payment-with-token"},{"title":"Process Card Payment","openapi":"POST /paymentmanagement/process-card-payment","href":"/api/deposit-engine/process-card-payment"}]},{"group":"Customer Identity \u0026 Access Management","pages":[{"title":"Customer Profile","openapi":"GET /usermanagement/profile","href":"/api/ciam/profile"},{"title":"Get Customer By ID","openapi":"GET /admin/customer-management/profile/{id}","href":"/api/ciam/customer-by-id"},{"title":"Deactivate User Account","openapi":"GET /usermanagement/deactivate-user-account/{id}","href":"/api/ciam/deactivate-user"},{"title":"Activate User Account","openapi":"GET /usermanagement/activate-user-account/{id}","href":"/api/ciam/activate-user"},{"title":"Find Customer By Name or Phone","openapi":"GET /usermanagement/find-customer-by-name-or-phone-no/{search-criteria}","href":"/api/ciam/find-customer-by-name-or-phone-no"},{"title":"Generate and send otp toemail","href":"/api/ciam/generate-and-send-otp-toemail"},{"title":"List Employees","openapi":"GET /admin/employee-management/list-employees","href":"/api/ciam/list-employees"},{"title":"Start/Continue Verification","openapi":"GET /admin/compliance/continue-enrolment","href":"/api/ciam/continue-enrolment"},{"title":"Get Dynamic Fields","openapi":"GET /dynamicfields/dynamic-fields-group/{processGroupCode}","href":"/api/ciam/dynamic-fields"},{"title":"Get Pay Centre By ID","openapi":"GET /admin/pay-centre-management/pay-centre-by/{id}","href":"/api/ciam/pay-centre-by-id"},{"title":"List Connectors","openapi":"GET /admin/connector-management/list-connectors","href":"/api/ciam/list-connectors"},{"title":"Reset Password","openapi":"GET /securitymanagement/reset-password/{email}","href":"/api/ciam/reset-password"},{"title":"KYC Detail By ID","openapi":"GET /admin/compliance/kyc-detail/{id}","href":"/api/ciam/kyc-detail-by-id"},{"title":"Dynamic Fields Group","openapi":"GET /dynamicfields/dynamic-fields-group/{groupName}","href":"/api/ciam/dynamic-fields-group"},{"title":"View Password Policy","openapi":"GET /admin/security/view-password-policy","href":"/api/ciam/view-password-policy"},{"title":"Fetch Organisation Preference","openapi":"GET /admin/organisation-preference-management/fetch-organisaction-preference","href":"/api/ciam/fetch-organisaction-preference"},{"title":"List Customers","openapi":"GET /admin/customer-management/list-customers","href":"/api/ciam/list-customers"},{"title":"Verify Customer","openapi":"GET /admin/customer-management/verify-customer/{id}","href":"/api/ciam/verify-customer"},{"title":"KYC Requirements by Country","openapi":"GET /compliance/kyc-requirements-by-isocountry/{countryIso}/{triggerPoint}","href":"/api/ciam/kyc-requirements-by-isocountry"},{"title":"Awaiting Compliance Requirements","openapi":"GET /compliance/awaiting-compliance-requirements","href":"/api/ciam/awaiting-compliance-requirements"},{"title":"Pre-Transaction Compliance Checklist","openapi":"PUT /compliance/customer-compliance-checklist","href":"/api/ciam/compliance-checklist"},{"title":"Organisation Compliance Policy","openapi":"GET /compliance/list-organisation-compliance-policy","href":"/api/ciam/list-organisation-compliance-policy"},{"title":"List Pay Centers by Type","openapi":"GET /branches/list-paycenters-by-type/{type}","href":"/api/ciam/list-paycenters-by-type"},{"title":"List Attached Dynamic Forms","openapi":"GET /admin/compliance/list-attached-form","href":"/api/ciam/cra-forms"},{"title":"List AML Rules","openapi":"GET /admin/compliance/list-aml-rules","href":"/api/ciam/list-aml-rules"},{"title":"Change Password","openapi":"PUT /securitymanagement/change-password","href":"/api/ciam/change-password"},{"title":"Edit Customer Profile","openapi":"PUT /usermanagement/profile-edit","href":"/api/ciam/edit-profile"},{"title":"Update Connector Instance","openapi":"PUT /admin/connector-management/update-connector-instance","href":"/api/ciam/update-connector-instance"},{"title":"Delete Customer Bank Details","openapi":"DELETE /bankmanagement/delete-customer-bank-details/{account-owner-id}/{bank-detail-id}","href":"/api/ciam/delete-customer-bank-details"},{"title":"Awaiting Payments","openapi":"PUT /admin/payment-management/awaiting-payments","href":"/api/ciam/awaiting-payments"},{"title":"Upload Profile Picture","openapi":"PUT /documentmanagement/upload-profile-picture","href":"/api/ciam/upload-profile-picture"},{"title":"Edit Employee","openapi":"PUT /admin/employee-management/edit-employee/{id}","href":"/api/ciam/edit-employee"},{"title":"Update Organisation Preference","openapi":"PUT /admin/organisation-preference-management/update-organisaction-preference","href":"/api/ciam/update-organisaction-preference"},{"title":"Deactivate AML Rule","openapi":"PUT /admin/compliance/deactivate-aml-rule/{id}","href":"/api/ciam/deactivate-aml-rule"},{"title":"Activate AML Rule","openapi":"PUT /admin/compliance/activate-aml-rule/{id}","href":"/api/ciam/activate-aml-rule"},{"title":"Update AML Rules","openapi":"PUT /admin/compliance/update-aml-rules","href":"/api/ciam/update-aml-rules"},{"title":"Edit KYC Rule","openapi":"PUT /admin/compliance/edit-kyc-rule","href":"/api/ciam/edit-kyc-rule"},{"title":"Create Transaction PIN","openapi":"POST /usermanagement/create-transaction-pin","href":"/api/ciam/create-transaction-pin"},{"title":"Create Customer","openapi":"POST /usermanagement/register-customer","href":"/api/ciam/create-customer"},{"title":"Verify Login OTP","openapi":"POST /securitymanagement/verify-login-otp","href":"/api/ciam/verify-login-otp"},{"title":"Submit CRA Form","openapi":"POST /admin/compliance/submit-cra","href":"/api/ciam/submit-cra"},{"title":"Create User PIN","openapi":"POST /securitymanagement/create-user-pin","href":"/api/ciam/create-user-pin"},{"title":"List Pay Points","openapi":"POST /branches/listpaypoints","href":"/api/ciam/listpaypoints"},{"title":"List Payout Points","openapi":"POST /branches/listpayoutpoints","href":"/api/ciam/listpayoutpoints"},{"title":"Add Default Charge","openapi":"POST /admin/fee-management/add-default-charge","href":"/api/ciam/add-default-charge"},{"title":"Create Connector Instance","openapi":"POST /admin/connector-management/create-connector-instance","href":"/api/ciam/create-connector-instance"},{"title":"Product Payment Details","openapi":"POST /admin/account-product/payment-details","href":"/api/ciam/product-payment-details"},{"title":"List Payment Collectors by Address","openapi":"POST /branches/listpaymentcollectorsbyaddress","href":"/api/ciam/listpaymentcollectorsbyaddress"},{"title":"List Allocated Payout Points","openapi":"POST /branches/listallocatedpayoutpoints","href":"/api/ciam/listallocatedpayoutpoints"},{"title":"Payout Center Branches","openapi":"POST /branches/payoutCenter","href":"/api/ciam/payoutCenter-branches"},{"title":"Documents Required For Transaction","openapi":"POST /complaince/documents-required-for-transaction","href":"/api/ciam/documents-required-for-transaction"},{"title":"Submit KYC Documents","openapi":"POST /documentmanagement/attach-documents","href":"/api/ciam/attach-documents"},{"title":"Initiate Compliance Action","openapi":"GET /compliance/initiate-awaiting-compliance-action/{customer-kyc-record-id}","href":"/api/ciam/initiate-compliance-action"},{"title":"Initiate External KYC Provider","openapi":"POST /compliance/external-provider/initiate","href":"/api/ciam/initiate-external-provider"},{"title":"External Screening Webhook","openapi":"POST /compliance/external-screening/webhooks/{provider-code}","href":"/api/ciam/external-screening-webhook"},{"title":"Verify Contact","openapi":"POST /compliance/external-provider/verify-contact","href":"/api/ciam/verify-contact"},{"title":"OTP Verification","openapi":"GET /securitymanagement/otp-verification/{email}/{verification-code}","href":"/api/ciam/otp-verification"},{"title":"Add KYC Rule","openapi":"POST /admin/compliance/add-kyc-rule","href":"/api/ciam/add-kyc-rule"},{"title":"Delete API Connector Instance","openapi":"DELETE /admin/connector-management/delete-api-connector-instance/{id}","href":"/api/ciam/delete-api-connector-instance"}]},{"group":"Songhai Exchange (Payment Switch)","pages":[{"title":"Change Password","openapi":"PUT /v1/services/usermanagement/change-password/{id}","href":"/api/songhai-exchange/change-password"},{"title":"Generate Token","openapi":"POST /oauth/token","href":"/api/songhai-exchange/generate-token"},{"title":"Exchange Rate","openapi":"POST /gateway/quote","href":"/api/songhai-exchange/exchange-rate"},{"title":"Create Transaction","openapi":"POST /gateway/transaction/banktransfers","href":"/api/songhai-exchange/create-transaction"},{"title":"Check Transaction Status","openapi":"POST /gateway/transaction/checkstatus","href":"/api/songhai-exchange/transaction-status"},{"title":"Client End-of-Day Report","openapi":"POST /gateway/list-end-Of-day-position-report","href":"/api/songhai-exchange/end-of-day-report"},{"title":"Generating Wallet Account Statement","openapi":"POST /v1/services/walletmanagement/walletledgerbyclient/{startDate}/{endDate}/{currency}/","href":"/api/songhai-exchange/wallet-account-statement"},{"title":"Bank Account Validation","openapi":"POST /gateway/v2/account-number-validation","href":"/api/songhai-exchange/bank-account-validation"},{"title":"Mobile Money Creation","openapi":"POST /gateway/v3/transaction/mobilemoney","href":"/api/songhai-exchange/mobile-money-creation"},{"title":"Mobile Money Validation","openapi":"POST /gateway/account-number-validation","href":"/api/songhai-exchange/mobile-money-validation"},{"title":"Domiciliary Account (Account Number)","openapi":"POST /gateway/create-domiciliary-bank-account","href":"/api/songhai-exchange/domiciliary-account-with-account-number"},{"title":"Domiciliary Account (BVN)","openapi":"POST /gateway/create-domiciliary-bank-account-with-bvn","href":"/api/songhai-exchange/domiciliary-account-with-bvn"}]},{"group":"Webhooks \u0026 Events","pages":[{"title":"Webhooks","href":"/api/webhooks"},{"title":"Webhook Security","href":"/api/webhook-security"}]},{"group":"Testing \u0026 Tools","pages":[{"title":"Postman collection","href":"/api/postman-collection"}]}]}]},"basePath":"","title":"Update Loan Offer - FinCode Platform","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js"]}