{"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/transfer-funds","slug":"/api/lending/transfer-funds","pageMetadata":{"title":"Transfer Funds to Bank","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank","description":"Allows customers to transfer funds from their loan wallet to a bank account.","href":"/api/lending/transfer-funds"},"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 transfer funds from their loan wallet to a bank account.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Customers can use this endpoint to transfer funds from their loan wallet balance to a registered bank account.`}),`\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(ParamField,{header:`Content-Type`,type:`string`,required:true,default:`application/json`,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`application/json`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`customerId`,type:`string`,required:true,id:`param-customer-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the customer making the transfer.`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Amount to transfer from wallet to bank account.`})}),`\n`,_jsx(ParamField,{body:`bankAccountId`,type:`string`,required:true,id:`param-bank-account-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the bank account to transfer funds to.`})}),`\n`,_jsx(ParamField,{body:`accountNumber`,type:`string`,required:true,id:`param-account-number`,children:_jsx(_components.p,{children:`Bank account number to transfer to.`})}),`\n`,_jsx(ParamField,{body:`bankCode`,type:`string`,required:true,id:`param-bank-code`,children:_jsx(_components.p,{children:`Bank code of the destination bank.`})}),`\n`,_jsx(ParamField,{body:`accountName`,type:`string`,required:true,id:`param-account-name`,children:_jsx(_components.p,{children:`Account holder name as it appears on the bank account.`})}),`\n`,_jsx(ParamField,{body:`transactionPin`,type:`string`,id:`param-transaction-pin`,children:_jsx(_components.p,{children:`Transaction PIN for authorization (if required).`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Optional description or reference for the transfer.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns confirmation of the fund transfer with transaction details.`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,default:`SUCCESS`,id:`param-status`,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:`Transfer confirmation details.`}),_jsxs(Expandable,{title:`data object`,children:[_jsx(ResponseField,{name:`transactionReference`,type:`string`,id:`param-transaction-reference`,children:_jsx(_components.p,{children:`Unique reference number for the transfer transaction.`})}),_jsx(ResponseField,{name:`transferId`,type:`string`,id:`param-transfer-id`,children:_jsx(_components.p,{children:`Unique identifier for the transfer.`})}),_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Amount transferred.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Status of the transfer (e.g., `,_jsx(_components.code,{children:`PENDING`}),`, `,_jsx(_components.code,{children:`PROCESSING`}),`, `,_jsx(_components.code,{children:`COMPLETED`}),`, `,_jsx(_components.code,{children:`FAILED`}),`).`]})}),_jsx(ResponseField,{name:`transferDate`,type:`string`,id:`param-transfer-date`,children:_jsx(_components.p,{children:`Date and time when the transfer was initiated.`})}),_jsx(ResponseField,{name:`estimatedSettlementTime`,type:`string`,id:`param-estimated-settlement-time`,children:_jsx(_components.p,{children:`Estimated time for the transfer to be completed.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,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:`17`,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:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank'`}),_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'`}),_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:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerId\": \"123e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 10000.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bankAccountId\": \"123e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountNumber\": \"1234567890\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bankCode\": \"058\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountName\": \"John Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transactionPin\": \"1234\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Transfer to savings account\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`52`,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:`52`,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:` transferFundsToBank`}),_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:`transferData`}),_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:`post`}),_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:\"/transfer-funds-to-bank`\"}),_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:` customerId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`customerId`}),_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:` amount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount`}),_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:` bankAccountId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bankAccountId`}),_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:` accountNumber:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accountNumber`}),_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:` bankCode:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bankCode`}),_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:` accountName:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accountName`}),_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:` transactionPin:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`transactionPin`}),_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:` description:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#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`,_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_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:`#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 transfer funds:'`}),_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`})}),`\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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`transferFundsToBank`}),_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:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` customerId:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10000.00`}),_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:` bankAccountId:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accountNumber:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1234567890'`}),_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:` bankCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '058'`}),_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:` accountName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'John Doe'`}),_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:` transactionPin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1234'`}),_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:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Transfer to savings account'`}),_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`]})})})]})]})}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":"Transfer Funds to Bank","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank","description":"Allows customers to transfer funds from their loan wallet to a bank account.","href":"/api/lending/transfer-funds"}}},"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,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(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Customers can use this endpoint to transfer funds from their loan wallet balance to a registered bank account.`}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL POST`,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/transfer-funds-to-bank`})]}),`\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(ParamField,{header:`Content-Type`,type:`string`,required:true,default:`application/json`,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`application/json`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`customerId`,type:`string`,required:true,id:`param-customer-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the customer making the transfer.`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Amount to transfer from wallet to bank account.`})}),`\n`,_jsx(ParamField,{body:`bankAccountId`,type:`string`,required:true,id:`param-bank-account-id`,children:_jsx(_components.p,{children:`The unique identifier (UUID) of the bank account to transfer funds to.`})}),`\n`,_jsx(ParamField,{body:`accountNumber`,type:`string`,required:true,id:`param-account-number`,children:_jsx(_components.p,{children:`Bank account number to transfer to.`})}),`\n`,_jsx(ParamField,{body:`bankCode`,type:`string`,required:true,id:`param-bank-code`,children:_jsx(_components.p,{children:`Bank code of the destination bank.`})}),`\n`,_jsx(ParamField,{body:`accountName`,type:`string`,required:true,id:`param-account-name`,children:_jsx(_components.p,{children:`Account holder name as it appears on the bank account.`})}),`\n`,_jsx(ParamField,{body:`transactionPin`,type:`string`,id:`param-transaction-pin`,children:_jsx(_components.p,{children:`Transaction PIN for authorization (if required).`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Optional description or reference for the transfer.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns confirmation of the fund transfer with transaction details.`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,default:`SUCCESS`,id:`param-status`,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:`Transfer confirmation details.`}),_jsxs(Expandable,{title:`data object`,children:[_jsx(ResponseField,{name:`transactionReference`,type:`string`,id:`param-transaction-reference`,children:_jsx(_components.p,{children:`Unique reference number for the transfer transaction.`})}),_jsx(ResponseField,{name:`transferId`,type:`string`,id:`param-transfer-id`,children:_jsx(_components.p,{children:`Unique identifier for the transfer.`})}),_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Amount transferred.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Status of the transfer (e.g., `,_jsx(_components.code,{children:`PENDING`}),`, `,_jsx(_components.code,{children:`PROCESSING`}),`, `,_jsx(_components.code,{children:`COMPLETED`}),`, `,_jsx(_components.code,{children:`FAILED`}),`).`]})}),_jsx(ResponseField,{name:`transferDate`,type:`string`,id:`param-transfer-date`,children:_jsx(_components.p,{children:`Date and time when the transfer was initiated.`})}),_jsx(ResponseField,{name:`estimatedSettlementTime`,type:`string`,id:`param-estimated-settlement-time`,children:_jsx(_components.p,{children:`Estimated time for the transfer to be completed.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,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:`17`,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:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank'`}),_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'`}),_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:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerId\": \"123e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 10000.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bankAccountId\": \"123e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountNumber\": \"1234567890\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bankCode\": \"058\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountName\": \"John Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transactionPin\": \"1234\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Transfer to savings account\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`52`,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:`52`,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:` transferFundsToBank`}),_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:`transferData`}),_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:`post`}),_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:\"/transfer-funds-to-bank`\"}),_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:` customerId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`customerId`}),_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:` amount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount`}),_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:` bankAccountId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bankAccountId`}),_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:` accountNumber:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accountNumber`}),_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:` bankCode:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bankCode`}),_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:` accountName:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accountName`}),_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:` transactionPin:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`transactionPin`}),_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:` description:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` transferData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#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`,_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_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:`#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 transfer funds:'`}),_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`})}),`\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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`transferFundsToBank`}),_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:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` customerId:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10000.00`}),_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:` bankAccountId:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accountNumber:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1234567890'`}),_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:` bankCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '058'`}),_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:` accountName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'John Doe'`}),_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:` transactionPin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1234'`}),_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:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Transfer to savings account'`}),_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`]})})})]})]})}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":"Transfer Funds to Bank","api":"POST https://{your-domain}.fincode.software/api/v1/services/user/transfer-funds-to-bank","description":"Allows customers to transfer funds from their loan wallet to a bank account.","href":"/api/lending/transfer-funds"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Headers","slug":"request-headers","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","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 POST","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/transfer-funds-to-bank\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Transfer Funds to Bank","path":"/api/v1/services/user/transfer-funds-to-bank","servers":[{"url":"https://{your-domain}.fincode.software"}],"method":"post","request":{"security":[],"parameters":{"query":{},"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}]},"Content-Type":{"schema":[{"type":"string","description":"Must be `application/json` .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"customerId":[{"type":"string","description":"The unique identifier (UUID) of the customer making the transfer.","required":true}],"amount":[{"type":"number","description":"Amount to transfer from wallet to bank account.","required":true}],"bankAccountId":[{"type":"string","description":"The unique identifier (UUID) of the bank account to transfer funds to.","required":true}],"accountNumber":[{"type":"string","description":"Bank account number to transfer to.","required":true}],"bankCode":[{"type":"string","description":"Bank code of the destination bank.","required":true}],"accountName":[{"type":"string","description":"Account holder name as it appears on the bank account.","required":true}],"transactionPin":[{"type":"string","description":"Transaction PIN for authorization (if required)."}],"description":[{"type":"string","description":"Optional description or reference for the transfer."}]}}],"examples":{"example":{"value":{"customerId":"\u003cstring>","amount":123,"bankAccountId":"\u003cstring>","accountNumber":"\u003cstring>","bankCode":"\u003cstring>","accountName":"\u003cstring>","transactionPin":"\u003cstring>","description":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"Overall status of the API request."}],"data":[{"type":"object","properties":{"transactionReference":[{"type":"string","description":"Unique reference number for the transfer transaction."}],"transferId":[{"type":"string","description":"Unique identifier for the transfer."}],"amount":[{"type":"number","description":"Amount transferred."}],"status":[{"type":"string","description":"Status of the transfer (e.g., `PENDING` , `PROCESSING` , `COMPLETED` , `FAILED` )."}],"transferDate":[{"type":"string","description":"Date and time when the transfer was initiated."}],"estimatedSettlementTime":[{"type":"string","description":"Estimated time for the transfer to be completed."}]},"description":"Transfer confirmation details."}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","data":{"transactionReference":"\u003cstring>","transferId":"\u003cstring>","amount":123,"status":"\u003cstring>","transferDate":"\u003cstring>","estimatedSettlementTime":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"fincode","siteName":"FinCode Platform","title":"Transfer Funds to Bank - FinCode Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-23T14:17:46.139Z","originalFileLocation":"api/lending/transfer-funds.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 transfer funds from their loan wallet to a bank account.\">\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=\"Transfer Funds to Bank - FinCode Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Allows customers to transfer funds from their loan wallet to a bank account.\">\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/transfer-funds\">\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=Transfer+Funds+to+Bank\u0026amp;description=Allows+customers+to+transfer+funds+from+their+loan+wallet+to+a+bank+account.\u0026amp;theme=5cb295c43f2caf87cf931732\u0026amp;signature=5de8083d4ea0a6ab4cd1412b95e4fc90f7e2ac7f8d1c7006250c15e45ddc7f48\">\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=\"Transfer Funds to Bank - FinCode Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Allows customers to transfer funds from their loan wallet to a bank account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fincode.mintlify.site/_mintlify/api/og/v2?division=API+Endpoints\u0026amp;title=Transfer+Funds+to+Bank\u0026amp;description=Allows+customers+to+transfer+funds+from+their+loan+wallet+to+a+bank+account.\u0026amp;theme=5cb295c43f2caf87cf931732\u0026amp;signature=5de8083d4ea0a6ab4cd1412b95e4fc90f7e2ac7f8d1c7006250c15e45ddc7f48\">\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/transfer-funds\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/lending/transfer-funds.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/transfer-funds#webpage\",\"url\":\"https://docs.fincode.technology/api/lending/transfer-funds\",\"name\":\"Transfer Funds to Bank\",\"description\":\"Allows customers to transfer funds from their loan wallet to a bank account.\",\"dateModified\":\"2026-07-23T14:17:46.139Z\",\"isPartOf\":{\"@id\":\"https://docs.fincode.technology#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fincode.technology/api/lending/transfer-funds#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fincode.technology/api/lending/transfer-funds#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.fincode.technology/api/lending/get-application\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transfer Funds to Bank\",\"item\":\"https://docs.fincode.technology/api/lending/transfer-funds\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fincode.technology/api/lending/transfer-funds#apireference\",\"headline\":\"Transfer Funds to Bank\",\"name\":\"Transfer Funds to Bank\",\"description\":\"Allows customers to transfer funds from their loan wallet to a bank account.\",\"url\":\"https://docs.fincode.technology/api/lending/transfer-funds\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fincode.technology/api/lending/transfer-funds#webpage\"},\"dateModified\":\"2026-07-23T14:17:46.139Z\",\"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/transfer-funds.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}","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","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}","description":"Allows customers to accept loan terms and conditions, which triggers automatic loan disbursement.","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","description":"Allows customers to pay off their entire loan balance in a single transaction.","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}","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","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}","description":"Allows customers to accept loan terms and conditions, which triggers automatic loan disbursement.","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","description":"Allows customers to pay off their entire loan balance in a single transaction.","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":"Transfer Funds to Bank - 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"]}