{"info":{"_postman_id":"b572c885-365b-4c64-be94-bb319d0aabc0","name":"Abel API","description":"<html><head></head><body><p>Abel provides small business lenders with advanced risk and operational capabilities via a single API.</p>\n<p>Our technology platform combines granular control over products, risk parameters and lending processes, with SME-specific risk innovations to identify new lending opportunties, unlock new levels of automation, and deliver improved lender profitability.</p>\n<p>Lenders can use individual API services to enhance their existing technology estate or combine our APIs to deliver end-to-end lending propositions on Abel infrastructure.</p>\n<p>Our capabilities are broadly broken down into 5 key areas, reflecting the major stages of the credit lifecycle and lending experience.</p>\n<h2 id=\"origination\">Origination</h2>\n<p>Originate new lending opportunities quickly, accurately and efficiently.</p>\n<p>Lending profitability starts with originating the right clients for your lending approach and appetite. Using advanced data science and real-world lending experience, Abel's origination models generates a range of interactive quotes, considering your full product catalogue, and fit to the unique profile and context.</p>\n<ul>\n<li>Generate lending quotes in &lt;50 seconds, using only customer-provided 5 data points, and with &gt;85% likelihood of acceptance at the final offer phase.</li>\n<li>Adjust 100+ precise risk parameters that allows you dynamic decision models balance risk, CX and cost</li>\n<li>Meet and exceed consumer duty requirements, by matching your customer to the most appropriate product based on their preferences, financial situation and funding context.</li>\n<li>Multi-product offers provide</li>\n</ul>\n<h2 id=\"decisioning\">Decisioning</h2>\n<p>Make quick and confident lending decisions. Abel provides precise control over the underwriting process, augmenting traditional datasets with proprietary models designed to identify lending opportunities missed by tradtional lenders.</p>\n<p>Our granular risk controls allow you to precisely understand the risk profile of a company, accelerating underwriter triage and enabling 100% straight through processing for low risk customers and applications.</p>\n<ul>\n<li>Fine-grain control of 200+ risk parameters, enabling accurate decisions with a high degree of flexibility. All parameters can be adjusted by business users in seconds using our no-code risk configuration platform.</li>\n<li>SME-specific models, including forward-looking affordability and sub-sector economic outlook models, provide additional insight into a customer application, credit worthiness and growth potential, helping you to identify high potential customers missed by traditional approaches.</li>\n<li>Transaction analysis via Open Banking or our proprietary statement scanning technology provides us a time series of cashflow and trajectory without requiring manual document review.</li>\n</ul>\n<h2 id=\"onboarding\">Onboarding</h2>\n<p>Onboard all SME companies, however complex. Abel’s onboarding process has automated verification, customer communications and loan processes to increase turnaround speed and consistency while reducing risks.</p>\n<ul>\n<li>A fully paperless onboarding processes, integrateable with leading KYC, KYB and digital documentation applicaitons.</li>\n<li>Multi-director processing, verifying all directors depending on policy requirements.</li>\n<li>Anti-fraud measures including automated data validation with Companies House and multi-stage withdrawal approval options.</li>\n<li>Integrations with GoCardless to setup automated direct debit repayments</li>\n</ul>\n<h2 id=\"servicing\">Servicing</h2>\n<p>If there is a choice of who to pay, the better relationship wins. Our APIs enable seamless customer self-service and fully automated loan servicing journeys.</p>\n<p>Integrate directly with your chosen Loan Management System or make use of our native Abel Servicing stack, custom-built to support specific SME digital servicing functionality.</p>\n<ul>\n<li>Fully automated loan processing and direct debit set up</li>\n<li>Embed rich loan detail and interactions into any customer channel.</li>\n<li>Advanced capabilities, including early loan repayment, payment holiday calculations and arrears management automation available via the Abel LMS.</li>\n</ul>\n<h2 id=\"monitoring\">Monitoring</h2>\n<p>Abel's range of granular and forward-looking SME insights help lenders anticipate both challenges and opportunities, enabling a front-footed and agile risk strategy and proactive approach to customer service.</p>\n<p>We've developed a continuous feedback loop across macroeconomic, sector, bureau and transactional data, helping you determine the health of a business or portfolio in real-time.</p>\n<ul>\n<li>Complete book visibility to individual loan level</li>\n<li>Adjust 200+ risk and model parameters in real-time to deliver, granular behavioural segmentation</li>\n<li>Push granular risk strategy and appetite changes in real-time using our no-code risk configuration dashboard.</li>\n<li>Insert SME-specific intelligence into your monitoring processes, including sub-sector economic outlook indices, behavioural P(d) scores, and forward-looking affordability scores .</li>\n</ul>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>To get started with the Abel API</p>\n<ol>\n<li>Generate and retrieve your API key from the Abel Dashboard. (<a href=\"mailto:client-support@beabel.io\">Contact our team</a> for access)</li>\n<li>Authenticate your API key using the getToken endpoint.</li>\n<li>[Optional] <a href=\"mailto:client-support@beabel.io\">Contact our team</a> to get access to a sandbox environment with historic company and risk data, and a range of developer tools to speed testing and integration.</li>\n<li>Browse our API collections, and read the step-by-step guides to get successfully integrate with Abels services.</li>\n</ol>\n<h1 id=\"authentication-and-security\">Authentication and Security</h1>\n<p>The Abel API uses <a href=\"https://stripe.com/docs/keys\">API keys</a> to authenticate requests. You can view and manage your API keys in your Abel Dashboard.</p>\n<p>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.</p>\n<p>Authentication to the API is performed via <a href=\"http://en.wikipedia.org/wiki/Basic_access_authentication\">HTTP Basic Auth</a>. Provide your API key as the basic auth username value. You do not need to provide a password.</p>\n<p>All requests need to contain the <code>x-api-key</code> header.</p>\n<p>All API requests must be made over <a href=\"http://en.wikipedia.org/wiki/HTTP_Secure\">HTTPS</a>. Calls made over plain HTTP will fail. API requests without authentication will also fail.</p>\n<p>You can retrieve a token using the following endpoint: <code>POST /api/v1/get-token</code></p>\n<p>Request:</p>\n<p><code>{ \"client_id\": \"{{client_id}}\", \"client_secret\": \"{{client_secret}}\" }</code></p>\n<p>Response:</p>\n<p><code>{ \"success\": true, \"message\": \"Success\", \"result\": { \"token\": \"{{TOKEN}}\" } }</code></p>\n<h1 id=\"api-basics\">API Basics</h1>\n<h2 id=\"api-architecture\">API Architecture</h2>\n<p>The Abel API is organised around <a href=\"http://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a>. The API attempts to use predictable, resource-oriented URLs and to use HTTP status codes to indicate errors.</p>\n<h2 id=\"request-methods\">Request Methods</h2>\n<p>Abel follows standard RESTful API Method conventions to expose API functionality. These are summarised in the table below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Method</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>The GET method is used to retrieve data from the server.  <br>Use the GET method when you want to read or fetch information.  <br>It is safe and idempotent, meaning that multiple identical requests will produce the same result.  <br>GET requests should not have any side effects on the server or modify the data.</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>Send data to the server to create a new resource. Use the POST method when you want to create a new entity or submit data to be processed.  <br>It is not idempotent, meaning that sending the same request multiple times may result in different outcomes.  <br>POST requests can have side effects, such as creating a new record in the database.</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td>Send data to the server to update or create a resource. Use the PUT method when you want to update an entire resource with new data or replace it entirely.  <br>It is idempotent, meaning that sending the same request multiple times will have the same effect as sending it once.  <br>PUT requests can be used to create a resource if you provide the identifier.</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td>Remove a specified resource from the server. Use the DELETE method when you want to remove a specific resource or entity.  <br>It is idempotent, meaning that sending the same request multiple times will have the same effect as sending it once.  <br>DELETE requests should not have any side effects other than removing the resource.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-headers\">Request Headers</h2>\n<p>All the requests need to contain the <code>x-api-key</code> header and all, execept the getToken endpoint require an authorisation token.</p>\n<h2 id=\"response-codes\">Response Codes</h2>\n<p>Abel adheres to the range of <a href=\"https://restfulapi.net/http-status-codes/\">HTTP Status Codes</a> typical to RESTful APIs.</p>\n<h2 id=\"pagination\">Pagination</h2>\n<p>Pagination is not currently supported in this version of the Abel API. We are working to provide support pagination in subsequent versions of this API.</p>\n<h2 id=\"rate-and-usage-limits\">Rate and usage limits</h2>\n<p>API access rate limits apply at a per-API key basis in unit time. The limit is 1000 requests per minute. Also, depending on your plan, you may have usage limits. If you exceed either limit, your request will return an HTTP 429 Too Many Requests status code.</p>\n<p>Each API response returns the following set of headers to help you identify your use status:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>X-RateLimit-Limit</code></td>\n<td>The maximum number of requests that the consumer is permitted to make per minute.</td>\n</tr>\n<tr>\n<td><code>X-RateLimit-Remaining</code></td>\n<td>The number of requests remaining in the current rate limit window.</td>\n</tr>\n<tr>\n<td><code>X-RateLimit-Reset</code></td>\n<td>The time at which the current rate limit window resets in UTC epoch seconds.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"503-response\">503 response</h3>\n<p>An HTTP <code>503</code> response from our servers indicates there is an unexpected spike in API access traffic. The server is usually operational within the next five minutes. If the outage persists or you receive any other form of an HTTP <code>5XX</code> error, <a href=\"mailto:client-support@beabel.io\">contact support</a>.</p>\n<h1 id=\"integration-guides\">Integration Guides</h1>\n<h2 id=\"step-by-step-guides\">Step-by-step guides</h2>\n<p>The Abel API is organised into five key collections, reflecting the key stages and activities of each stage of the SME lending lifecycle:</p>\n<ul>\n<li><strong>Origination:</strong> generating 'quick offer' quotes for a customer</li>\n<li><strong>Decisioning:</strong> converting those quotes to fully risk underwritten lending decisions.</li>\n<li><strong>Onboarding</strong>: activating a customer and loan in the systems and disbursing funds</li>\n<li><strong>Servicing:</strong> exposing live loan information, and automating repayment processes</li>\n<li><strong>Monitoring</strong>: conducting loan, customer and portfolio-level monitoring activities.</li>\n</ul>\n<p>Each collection is prefaced by a step-by-step guides to implement the key lending activities in each phase. Refer to the guides in each section for best practice implementation suggestions and review the various configuration options Abel supports.</p>\n<h1 id=\"support\">Support</h1>\n<p>For implementation, troubleshooting and best practice support contact our engineering team directly at <a href=\"mailto:client-support@beabel.io\">client-support@beabel.io</a>.</p>\n<h1 id=\"api-reference\">API Reference</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Authentication and Security","slug":"authentication-and-security"},{"content":"API Basics","slug":"api-basics"},{"content":"Integration Guides","slug":"integration-guides"},{"content":"Support","slug":"support"},{"content":"API Reference","slug":"api-reference"}],"owner":"24900067","collectionId":"b572c885-365b-4c64-be94-bb319d0aabc0","publishedId":"2s93z6ciGX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"021715","highlight":"03966F"},"publishDate":"2023-07-14T20:42:36.000Z"},"item":[{"name":"Authentication","item":[{"name":"getToken","event":[{"listen":"test","script":{"id":"f1cdd9e5-54cc-4a0b-9673-b438db8ad860","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.result.token);"],"type":"text/javascript"}}],"id":"9822060d-93c1-4cac-8846-47350347fef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{client_id}}\",\n    \"clientSecret\": \"{{client_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/get-token","description":"<p>Retrieves the bearer token to be used in the Authentication header for all requests. The token is valid for 10 minutes.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body parameter</strong></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>string</td>\n</tr>\n<tr>\n<td>clientSecret</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-body\">Response body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response parameter</strong></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>string (JWT token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","get-token"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e12292a2-9765-491f-8c90-9c6780f545e1","name":"getToken","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"a034ef58-fcc5-414d-acdf-cb4609562b51\",\n    \"client_secret\": \"1Dr>o{-<eL-J6Pq976c:KwoHI<_'=7Eu\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/get-token","host":["{{baseUrl}}"],"path":["api","v1","get-token"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"248"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 Mar 2023 12:46:47 GMT"},{"key":"x-amzn-RequestId","value":"ed46a690-85c3-451e-8a87-2d4f82c747ba"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BJ0ckFDBLPEFi6w="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64009ab6-0f73b5e3764e4bd71ab4ec78;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7d4502925a4a466598af9dc0cff9e994.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"h9xkF1EMwj9ZODsUnSaBiZO2JRUeOKWS3N3FT_fkb3zAS17ifGTjpw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"token\": \"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpZCI6ImEwMzRlYTU4LWZjYzUtNDE0Zi1hY2RhLWNiMTYwOTU2MmIyMSJ9.8-nNwkppycRqSWKtzfzFgyJH4Hnqq0mhI56nf9UiEOjtIX_u3GnB6CmHKIig_F94HOMC4EAFyF5grYRICQRcBQ\"\n    }\n}"}],"_postman_id":"9822060d-93c1-4cac-8846-47350347fef3"}],"id":"c12dd24a-7e02-4064-bbfd-3b58c6309ef6","description":"<p>To acces the API every request needs to have the header <code>x-api-key: {{API-KEY}}</code> and the Authentication header <code>Authentication: Bearer {{token}}</code>. The authentication token can be aquired via the getToken request and is valid for up to 10 minutes. Once 10 minutes has elapsed, you can retrieve another authentication token by re-invoking the getToken request.</p>\n","_postman_id":"c12dd24a-7e02-4064-bbfd-3b58c6309ef6"},{"name":"Sandbox","item":[{"name":"deleteCompany","id":"96d4932a-5f4c-4298-b94f-63e155f5aaff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"{{baseUrl}}/api/v1/sandbox/delete-company?companyId={{company_id}}","description":"<p>Endpoint to delete a company. Use it when you want to delete a company and start the processing over, perhaps with different imput parameters, or to test error behaviours.</p>\n<p><strong>Note, this endpont is for Staging use only, and is not available in Production.</strong></p>\n<p>This request is asynchronous. You will receive the response code 200 immediately, and then a webhook event of type <code>ACTION_COMPLETED</code> category <code>SANDBOX</code> and detail <code>{\"companyId\": {{companyId}}, \"action\": \"delete\"}</code> when the action is completed.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<ul>\n<li>companyId - string, mandatory</li>\n</ul>\n","urlObject":{"path":["api","v1","sandbox","delete-company"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"34078d52-126c-475b-82e9-2259de94b7c5","name":"deleteCompany","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/sandbox/delete-company?companyId=3049710886601099109","host":["{{baseUrl}}"],"path":["api","v1","sandbox","delete-company"],"query":[{"key":"companyId","value":"3049710886601099109"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 Mar 2023 20:15:31 GMT"},{"key":"x-amzn-RequestId","value":"3f54222d-76a7-4bd1-beee-72804ce58c63"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BK2KnGqiLPEFtXw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640103dd-61f1a48564ef7dd16d3396d3;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b6dd76b2674d0d05f01c7ffe053c33aa.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"2n-UFnLQFCFCD_XRL8jVDEhlgmXqVKNV4PXLvMngcGFXrYzQKPcZ1g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Company deletion initiated\",\n    \"result\": {}\n}"}],"_postman_id":"96d4932a-5f4c-4298-b94f-63e155f5aaff"}],"id":"30fc8953-2b2a-4690-8e24-fa67cb07614c","description":"<p>The Sandbox environment helps developers test production-ready functionality in a controlled environment using mock data.</p>\n<p>It also provides additional functionality not available in the production environment to assist with testing and prototyping workflows.</p>\n<p>You can access the Sandbox environment by...</p>\n","_postman_id":"30fc8953-2b2a-4690-8e24-fa67cb07614c"},{"name":"Status","item":[{"name":"getStatus","id":"e9c6794b-8367-425f-bfc7-113712835ebd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"{{baseUrl}}/api/v1/status","description":"<p>Get the status and the version of the system.</p>\n<h3 id=\"response-fields\">Response fields</h3>\n<p><code>version</code> string <strong>REQUIRED</strong>.\nDeclares the current version of the Abel system.</p>\n<hr />\n","urlObject":{"path":["api","v1","status"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"4ecad147-c0d8-4e5a-bd13-14f1f3c0c071","name":"getStatus","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/status","host":["{{baseUrl}}"],"path":["api","v1","status"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 Mar 2023 16:18:03 GMT"},{"key":"x-amzn-RequestId","value":"0e6a9425-780d-4991-bde8-350bedfe0165"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BKTZQHBiLPEFjcA="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6400cc3a-499c7bcb7824801d27572323;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 800675e91c111e7a276d8d8cb01627b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"-QWm9lCBGllQZgzSbJE_0N1_UQ1OH9AqCGAKZppwy7Vv_USHsomhaA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"version\": \"1.0.0\"\n    }\n}"}],"_postman_id":"e9c6794b-8367-425f-bfc7-113712835ebd"}],"id":"bd606621-fcc1-43ce-ae96-6cd92bd3056e","description":"<p>The status endpoint returns the current system status and version of the targeted Abel API.</p>\n","_postman_id":"bd606621-fcc1-43ce-ae96-6cd92bd3056e"},{"name":"Origination","item":[{"name":"Users and Company","item":[{"name":"createCompany","event":[{"listen":"test","script":{"id":"9906a439-326c-46b5-a600-b9ae5b841d5e","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"company_id\", jsonData.result.companyId);"],"type":"text/javascript"}}],"id":"50104262-1fc9-4729-8e95-180c80148af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companiesHouseNumber\": \"11289915\",\n    \"annualTurnover\": 1000000,\n    \"desiredAmount\": 10000,\n    \"tradesWithRestrictedCountries\": false,\n    \"tradesMostlyAbroad\": false,\n    \"tradesOutsideUk\": false,\n    \"isSme\": true,\n    \"reasonForFunding\": \"Making a purchase\",\n    \"detailedLoanPurpose\": \"Car\",\n    \"costPreference\": \"lowestMonthlyRepayment\",\n    \"netProfit\": 500000,\n    \"accountEndDate\": \"2022-04-30\",\n    \"accountDepreciation\": 20000,\n    \"accountAmortisation\": 20000,\n    \"otherAccountOperatingIncome\": 100000,\n    \"tradingAddress\": \"54-56 High Street, Grays, Essex, United Kingdom\",\n    \"tradingAddressPostcode\": \"RM17 6NA\",\n    \"tradingName\": \"WS GLOBAL SERVICES LTD\",\n    \"website\": \"www.test.com\",\n    \"declaredBrokerEmail\": \"broker@x.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/create-company","description":"<p>A company is created based on Companies House data, customer preference, and company financial status.</p>\n<p>Note, an <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-b48f7275-600c-4cb0-a087-45d3841d69df?ctx=documentation\">Application</a> is automatically created alongside a new company.</p>\n<h3 id=\"request-body-parameters\">Request body parameters</h3>\n<p><code>companiesHouseNumber</code> string, <strong>REQUIRED</strong><br />The Companies House number of the company you wish to create.</p>\n<hr />\n<p><code>companiesHouseNumber</code> (string): <strong>REQUIRED</strong></p>\n<hr />\n<p><code>annualTurnover</code> (number): <strong>REQUIRED</strong></p>\n<hr />\n<p><code>desiredAmount</code> (number): <strong>REQUIRED</strong>.<br />Minimum value: 10000</p>\n<hr />\n<p><code>tradesWithRestrictedCountries</code> (boolean): <em>OPTIONAL</em></p>\n<hr />\n<p><code>tradesMostlyAbroad</code> (boolean): <em>OPTIONAL</em></p>\n<hr />\n<p><code>tradesOutsideUk</code> (boolean): <em>OPTIONAL</em></p>\n<hr />\n<p><code>isSme</code> (boolean): <em>OPTIONAL</em></p>\n<hr />\n<p><code>reasonForFunding</code> (string): <em>OPTIONAL</em>.</p>\n<p>Default: \"Making a purchase\"</p>\n<hr />\n<p><code>detailedLoanPurpose</code> (string): <em>OPTIONAL</em></p>\n<hr />\n<p><code>costPreference</code> (string): <em>OPTIONAL</em>.<br />Allowed values: \"lowestMonthlyRepayment\" and \"lowestTotalRepayment\". Default: \"lowestMonthlyRepayment\"</p>\n<hr />\n<p><code>netProfit</code> (number): <em>OPTIONAL</em></p>\n<hr />\n<p><code>accountEndDate</code> (date): <em>OPTIONAL</em>.<br />Format: YYYY-MM-DD</p>\n<hr />\n<p><code>accountDepreciation</code> (number): <em>OPTIONAL</em></p>\n<hr />\n<p><code>accountAmortisation</code> (number): <em>OPTIONAL</em></p>\n<hr />\n<p><code>otherAccountOperatingIncome</code> (number): <em>OPTIONAL</em></p>\n<hr />\n<p><code>tradingAddress</code> (string): <em>OPTIONAL</em></p>\n<hr />\n<p><code>tradingAddressPostcode</code> (string): <em>OPTIONAL</em></p>\n<hr />\n<p><code>tradingName</code> (string): <em>OPTIONAL</em></p>\n<hr />\n<p><code>website</code> (string): <em>OPTIONAL</em></p>\n<hr />\n<p><code>declaredBrokerEmail</code> (string): <em>OPTIONAL</em></p>\n<h3 id=\"response-body\">Response body</h3>\n<p><code>companyId</code> (string)<br />A unique company ID; a large integer, returned as string</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","create-company"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"8bc5f6f8-1a99-4028-a7ed-f16233afe34c","name":"createCompany - single director","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"companiesHouseNumber\": \"11289915\",\n        \"annualTurnover\": 1000000,\n        \"desiredAmount\": 10000,\n        \"tradesWithRestrictedCountries\": false,\n        \"tradesMostlyAbroad\": false,\n        \"tradesOutsideUk\": false,\n        \"isSme\": true,\n        \"reasonForFunding\": \"Making a purchase\",\n        \"detailedLoanPurpose\": \"Car\",\n        \"costPreference\": \"lowestMonthlyRepayment\",\n        \"netProfit\": 500000,\n        \"accountEndDate\": \"2022-04-30\",\n        \"accountDepreciation\": 20000,\n        \"accountAmortisation\": 20000,\n        \"otherAccountOperatingIncome\": 100000,\n        \"tradingAddress\": \"54-56 High Street, Grays, Essex, United Kingdom\",\n        \"tradingAddressPostcode\": \"RM17 6NA\",\n        \"tradingName\": \"WS GLOBAL SERVICES LTD\",\n        \"website\": \"www.test.com\",\n        \"declaredBrokerEmail\": \"broker@x.com\"\n    }\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/create-company","host":["{{baseUrl}}"],"path":["api","v1","origination","create-company"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"87"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 11:14:26 GMT"},{"key":"x-amzn-RequestId","value":"b718db31-eb6a-471c-9339-a6b8a935d5fe"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bj-ayF9yrPEF0xg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b1111-5cb907d43389452b04cce024;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b78cc6d01d4e7856002e813febd954e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG50-C1"},{"key":"X-Amz-Cf-Id","value":"CovcZ7jZtznfpbRaki59sVINfH5g1M4ufimJ2Dg4Mpmhz3auiHqigQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"companyId\": \"3055356223458117123\"\n    }\n}"},{"id":"96616c93-ca25-4764-abd8-8318c7e53a90","name":"createCompany - two directors","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"companiesHouseNumber\": \"07979499\",\n        \"annualTurnover\": 1000000,\n        \"desiredAmount\": 10000,\n        \"tradesWithRestrictedCountries\": false,\n        \"tradesMostlyAbroad\": false,\n        \"tradesOutsideUk\": false,\n        \"isSme\": true,\n        \"reasonForFunding\": \"Making a purchase\",\n        \"detailedLoanPurpose\": \"Car\",\n        \"costPreference\": \"lowestMonthlyRepayment\",\n        \"netProfit\": 500000,\n        \"accountEndDate\": \"2022-04-30\",\n        \"accountDepreciation\": 20000,\n        \"accountAmortisation\": 20000,\n        \"otherAccountOperatingIncome\": 100000,\n        \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n        \"tradingAddressPostcode\": \"S71 2LG\",\n        \"tradingName\": \"SAUK UTILITIES LIMITED\",\n        \"website\": \"www.test.com\",\n        \"declaredBrokerEmail\": \"broker@x.com\"\n    }\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/create-company","host":["{{baseUrl}}"],"path":["api","v1","origination","create-company"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"87"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 12:56:42 GMT"},{"key":"x-amzn-RequestId","value":"b5653ad6-ceb7-453a-baab-6d8c48a178bb"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BkNZiFJvrPEFkWA="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b2909-3c8d9af97f23655757fe467d;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b02c5108645d71e94b66c369c35c449a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"iWQJzZ-3C62NBG0_U9cBWgCHYkKOKKUuQqxIJduLS_N7dfnp3TYarg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"companyId\": \"3055407695034058353\"\n    }\n}"}],"_postman_id":"50104262-1fc9-4729-8e95-180c80148af8"},{"name":"createUser","event":[{"listen":"test","script":{"id":"16985268-797e-4e79-aaa7-c00f178c62df","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"user_id\", jsonData.result.userId);"],"type":"text/javascript"}}],"id":"d25bf610-ec13-4835-be21-8df9a4ae7a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"catherine.rybinska+{{client_code}}_customer1@beabel.io\",\n    \"phone\": \"09876543234\",\n    \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n    \"firstName\": \"Waqas\",\n    \"lastName\": \"IQBAL\",\n    \"dateOfBirth\": \"1989-09-01\",\n    \"companyId\": \"{{company_id}}\",\n    \"postcode\": \"DA9 9XU\",\n    \"role\": \"director\",\n    \"occupation\": \"director\",\n    \"ukResidencyAboveTwoYears\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/create-user","description":"<p>A user must be a director of the company in Companies House. Their first, last name, and year and month of their date of birth must match Companies House data.</p>\n<p>If the company has more than one directors, a user will be created for each director. Directors can be listed using the getDirectors call. All users can be updated using updateUser call.</p>\n<h3 id=\"request-body\">Request body</h3>\n<p><code>companyID</code> string, <strong>REQUIRED</strong><br />The Companies House number of the company you wish to create.</p>\n<hr />\n<p><code>email</code> (string): <strong>REQUIRED</strong><br />The email address associated with the user.</p>\n<hr />\n<p><code>phone</code> (string): <strong>REQUIRED</strong><br />The phone number associated with the user.</p>\n<hr />\n<p><code>address</code> (string):<br />The user's address in the following format: {line_1}, {line_2}, {line_3}, {line_4}, {town_or_city}, {locality}, {county}, {country}. Line 1 and town/city are <strong>REQUIRED</strong>.</p>\n<hr />\n<p><code>postcode</code> (string): <strong>REQUIRED</strong><br />The postcode associated with the user's address.</p>\n<hr />\n<p><code>firstName</code> (string): <strong>REQUIRED</strong><br />The first name of the director, which must match the Companies House data.</p>\n<hr />\n<p><code>lastName</code> (string): <strong>REQUIRED</strong><br />The last name of the director, which must match the Companies House data.</p>\n<hr />\n<p><code>dateOfBirth</code> (date): <strong>REQUIRED</strong><br />The date of birth of the director, in the format YYYY-MM-DD. The year and month must match the Companies House data.</p>\n<hr />\n<p><code>role</code> (string): <em>OPTIONAL</em><br />The role or position of the user in the company.</p>\n<hr />\n<p><code>occupation</code> (string): <em>OPTIONAL</em><br />The occupation or job title of the user.</p>\n<hr />\n<p><code>ukResidencyAboveTwoYears</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the user has been a UK resident for more than two years.</p>\n<h3 id=\"response-body\">Response body</h3>\n<p><code>userID</code> (string)<br />A unique identifier for the user; a large integer returned as a string.</p>\n","urlObject":{"path":["api","v1","origination","create-user"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"62fc79a2-2fb3-47f4-9587-d2342d1b18d5","name":"createUser (GENERAL)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"customer1@beabel.io\",\n    \"phone\": \"09876543234\",\n    \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n    \"firstName\": \"Waqas\",\n    \"lastName\": \"IQBAL\",\n    \"dateOfBirth\": \"1989-09-01\",\n    \"companyId\": \"3055356223458117123\",\n    \"postcode\": \"DA9 9XU\",\n    \"role\": \"director\",\n    \"occupation\": \"director\",\n    \"ukResidencyAboveTwoYears\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/create-user","host":["{{baseUrl}}"],"path":["api","v1","origination","create-user"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"84"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 11:15:07 GMT"},{"key":"x-amzn-RequestId","value":"59791666-2855-435e-8eaa-f6438b68781b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bj-hIFo_LPEFl_g="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b113a-1a96a37e14c6c117430a1a71;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b78cc6d01d4e7856002e813febd954e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG50-C1"},{"key":"X-Amz-Cf-Id","value":"l7Xxne_D4uzsgMMHvzULNcVDTiQ-N9xjhilCnabDjF-LY3uPBUFeNw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"userId\": \"3055356561384801803\"\n    }\n}"}],"_postman_id":"d25bf610-ec13-4835-be21-8df9a4ae7a50"}],"id":"7ba3c041-19b4-46ea-b288-30dd4e8673f0","description":"<p>All Abel decisions are based on Companies and Users. You can use any of Abel’s toolkit and modules by simply creating a Company and a User. Alongside the application, they are the primary means to access the range of services availalble in the Abel platform.</p>\n","_postman_id":"7ba3c041-19b4-46ea-b288-30dd4e8673f0"},{"name":"Quick Offers","item":[{"name":"generateQuickOffers","id":"03a9744c-a0d7-4c8d-a549-0bca1bea2b01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\" \n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/generate-quick-offers","description":"<p>Invoke this API to begin the risk assessment sequence to generate a range of Quick Offers.</p>\n<p><strong>This request is asynchronous.</strong> You will receive the response code 200 immediately, and then a webhook event of type <code>ACTION_COMPLETED</code> category <code>RISK</code> and detail <code>{\"companyId\": {{companyId}}, \"action\": \"generate_quick_offers\"}</code> when the action is completed.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong></p>\n<p>The company ID for whom you wish to generate quick offers.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","generate-quick-offers"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"f85628b0-30ba-4d79-a384-cb2a507c11d9","name":"generateQuickOffers","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3050258468087792821\" \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/generate-quick-offers","host":["{{baseUrl}}"],"path":["api","v1","origination","generate-quick-offers"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 Mar 2023 10:51:25 GMT"},{"key":"x-amzn-RequestId","value":"5adc58cc-9157-494c-8e2e-399aa1c8d02d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BM2eMFMkLPEFrKQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6401d127-1213b3fc5a3561ed2c8d2860;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 a332ecb068a370997b5e7bc811ff54ea.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"RKXGT2a0trFvYSGKTWLekSQxEFr4XAK3RIvSZqvtC1a_gZlz0asWKw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"03a9744c-a0d7-4c8d-a549-0bca1bea2b01"},{"name":"getCustomerStatus","id":"3fe8fe86-6824-4a51-9a89-f6bbedaae0b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/get-customer-status?companyId={{company_id}}","description":"<p>This endpoint returns the cutomer status mostly for the purpose of generating quick offers.</p>\n<p><strong>Developers note</strong>: we will be updating this endpoint in the near future to provide a greater range of customer processing statuses, covering a larger number of journeys and processes.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The Companies House number of the company you wish to query.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>companyId</code> (string)\nThe Companies House number of the company you queried</p>\n<hr />\n<p><code>status</code> (string)\nThe status of the quick offer generation process. Possible values are included in the table below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>WAITING_FOR_PARTNER</code></td>\n<td>Quick offer processing has not yet been initiated by the origination partner (e.g. a broker or sales representative)</td>\n</tr>\n<tr>\n<td><code>WAITING_FOR_LENDER</code></td>\n<td>Quick offer processing is in progress.</td>\n</tr>\n<tr>\n<td><code>WAITING_FOR_CUSTOMER</code></td>\n<td>Quick offer processing has been completed and quick offers are ready for customers to review.</td>\n</tr>\n<tr>\n<td><code>REJECTED</code></td>\n<td>Quick Offer processing has failed; the customer's application was rejected.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","origination","get-customer-status"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"9432a8d0-2cc9-4a7f-9aa3-7d777e888cac","name":"getCustomerStatus","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/get-customer-status?companyId=3050258468087792821","host":["{{baseUrl}}"],"path":["api","v1","origination","get-customer-status"],"query":[{"key":"companyId","value":"3050258468087792821"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"121"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 Mar 2023 14:31:53 GMT"},{"key":"x-amzn-RequestId","value":"534b0044-e3ca-4ff6-b011-63a18cad0396"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BNWxtFHBLPEF1nQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640204d7-18b058855ec1b6a70cb9197e;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f9e281a6bf2f092f94317867f8034cf8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"SQ5wJRZrhSYt6E8M-djY6OoijINdMHO5m3syr8bRhAyibfhFj1n6Zw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"companyId\": \"3050258468087792821\",\n        \"status\": \"WAITING_FOR_CUSTOMER\"\n    }\n}"}],"_postman_id":"3fe8fe86-6824-4a51-9a89-f6bbedaae0b6"},{"name":"getQuickOffers","id":"c406e46c-64ed-4da8-847b-dc179b5d1947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/get-quick-offers?companyId={{company_id}}","description":"<p>This endpoint is designed to be used in your customer interface. It returns a shortlist of Quick Offers based on customer's affordability, their preferences and your configuration.</p>\n<p>There will be a maximum of 3 offers returned, ordered by a priority. One offer will have a priority <code>primary</code>, while the other two <code>secondary.</code></p>\n<p>The list of generated quick offers may be longer, and you will be able to assign priorities yoursef.</p>\n<p>If you configure your Quick Offer process accordingly (<code>AUTOMATICALLY_SHOW_QO</code> set to <code>false</code>), otherwise a shortlist will be selected for you.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>comapnyId</code> (string) <strong>REQUIRED</strong><br />The Company ID of the company you wish to retrieve Quick Offers for.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>Response is an array of quick offers with the following values:</p>\n<hr />\n<p><code>offerId</code> (string)<br />The ID of the offer.</p>\n<hr />\n<p><code>type</code> (string)<br />Possible values: \"quickOffer\" and \"firmOffer\". This endpoint will only return quick offers.</p>\n<hr />\n<p><code>productName</code> (string)<br />Possible values: \"floc\" (flexible line of credit) and \"term-loan\".</p>\n<hr />\n<p><code>priority</code> (string)<br />Possible values: \"primary\" and \"secondary\".</p>\n<hr />\n<p><code>status</code> (string)<br />Possible values: \"DRAFT\", \"DRAFT_ACCEPTED\", \"APPROVED\", \"NEEDS_REVIEW\", \"ACTIVE\". This endpoint will only return offers with the status \"DRAFT\".</p>\n<hr />\n<p><code>fundingLimit</code> (number)<br />The funding limit amount.</p>\n<hr />\n<p><code>term</code> (number)<br />The term duration in months.</p>\n<hr />\n<p><code>percentageFee</code> (number)<br />Decimal value specific to flexible line of credit (floc).</p>\n<hr />\n<p><code>apr</code> (number)<br />Decimal value specific to flexible line of credit (floc).</p>\n<hr />\n<p><code>setupFee</code> (number)<br />Decimal value specific to term loan.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number)<br />Decimal value specific to term loan.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number)<br />Decimal value representing the monthly repayment amount.</p>\n<hr />\n<p><code>createdAt</code> (datetime)<br />The date and time when the offer was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime)<br />The date and time when the offer was last updated.</p>\n","urlObject":{"path":["api","v1","origination","get-quick-offers"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"73797a57-5af4-45c9-baf2-7e50d46a1d8d","name":"getQuickOffers","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/get-quick-offers?companyId=3090844002002404643","host":["{{baseUrl}}"],"path":["api","v1","origination","get-quick-offers"],"query":[{"key":"companyId","value":"3090844002002404643"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1171"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 10:27:39 GMT"},{"key":"x-amzn-RequestId","value":"570aa3ab-8b14-48ff-984c-de50bb3cbb24"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFXgGE3qLPEFyYw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644b9f99-6aceb4500702b68f4e4394a5;Sampled=0;lineage=03f05429:0|f706fc82:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1679d4f06b5f1d02b9d3d9343e40b5cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"-WKiraBJecae6AojwIIinauVkS3LOXaTwb3b3Ssk_VC1TlmwCX5rCg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": [\n        {\n            \"offerId\": \"3090844480195003781\",\n            \"type\": \"quickOffer\",\n            \"productName\": \"floc\",\n            \"priority\": \"secondary\",\n            \"status\": \"DRAFT\",\n            \"fundingLimit\": 10000,\n            \"term\": 12,\n            \"percentageFee\": 0.14,\n            \"setupFee\": 0,\n            \"monthlyInterestRate\": 0,\n            \"apr\": 0.1396,\n            \"monthlyRepaymentAmount\": 950,\n            \"createdAt\": \"2023-04-28T10:23:16.316986+00:00\",\n            \"updatedAt\": \"2023-04-28T10:23:25.467378+00:00\"\n        },\n        {\n            \"offerId\": \"3090844479934956932\",\n            \"type\": \"quickOffer\",\n            \"productName\": \"floc\",\n            \"priority\": \"secondary\",\n            \"status\": \"DRAFT\",\n            \"fundingLimit\": 10000,\n            \"term\": 24,\n            \"percentageFee\": 0.235,\n            \"setupFee\": 0,\n            \"monthlyInterestRate\": 0,\n            \"apr\": 0.1175,\n            \"monthlyRepaymentAmount\": 514.58,\n            \"createdAt\": \"2023-04-28T10:23:16.281919+00:00\",\n            \"updatedAt\": \"2023-04-28T10:23:25.467378+00:00\"\n        },\n        {\n            \"offerId\": \"3090844480379553158\",\n            \"type\": \"quickOffer\",\n            \"productName\": \"term-loan\",\n            \"priority\": \"primary\",\n            \"status\": \"DRAFT\",\n            \"fundingLimit\": 10000,\n            \"term\": 24,\n            \"percentageFee\": 0,\n            \"setupFee\": 0.055,\n            \"monthlyInterestRate\": 0.0084,\n            \"apr\": 0.0858,\n            \"monthlyRepaymentAmount\": 487.22,\n            \"createdAt\": \"2023-04-28T10:23:16.338537+00:00\",\n            \"updatedAt\": \"2023-04-28T10:23:25.467378+00:00\"\n        }\n    ]\n}"}],"_postman_id":"c406e46c-64ed-4da8-847b-dc179b5d1947"},{"name":"acceptQuickOffer","id":"fa7d3d25-0c9f-40d9-97ef-b38f411895a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3155310443954701834\",\n    \"offerId\": \"3155310943378867816\"\n}\napi/v1/origination/accept-quick-offer\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/accept-quick-offer","description":"<p>Endpoint to be used by your customer to accept quick offers.</p>\n<p>When the endpoint is invoked you will receive a webhook event type <code>OFFER_ACCEPTED</code>, category <code>OFFER</code> detail <code>{\"companyId\": {{companyId}}, \"action\": \"accept_quick_offer\"}</code>.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company accepting the offer.</p>\n<hr />\n<p>﻿<code>offerId</code> (string) <strong>REQUIRED</strong><br />The ID of the offer being accepted.</p>\n","urlObject":{"path":["api","v1","origination","accept-quick-offer"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"c61c6495-8285-449c-a47b-74fc194108a6","name":"acceptQuickOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3050258468087792821\",\n    \"offerId\": \"3050271577921815865\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/accept-quick-offer","host":["{{baseUrl}}"],"path":["api","v1","origination","accept-quick-offer"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 Mar 2023 15:51:13 GMT"},{"key":"x-amzn-RequestId","value":"18087e67-4700-4fe1-900e-264976c7db6e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BNiYOG2drPEFphg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64021767-7da56b3c3af77ac74273d536;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"PwpI8DxIAKxle8saXXvt81lk1Dm1Yd2cawvoc-axyXyF5jj7quS4FQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"fa7d3d25-0c9f-40d9-97ef-b38f411895a6"},{"name":"getAcceptedQuickOffer","id":"5982018d-c0bd-43f5-b063-436dd14cf5d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/get-accepted-quick-offer?companyId={{company_id}}","description":"<p>This endpoint returns an accepted quick offer for a given customer.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company you wish to retrieve accepted Quick Offers for.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>offerId</code> (string)<br />The ID of the offer.</p>\n<hr />\n<p><code>type</code> (string)<br />Possible values: \"quickOffer\" and \"firmOffer\". This endpoint will only return quick offers.</p>\n<hr />\n<p><code>productName</code> (string)<br />Possible values: \"floc\" (flexible line of credit) and \"term-loan\".</p>\n<hr />\n<p><code>priority</code> (string)<br />Possible values: \"primary\" and \"secondary\".</p>\n<hr />\n<p><code>status</code> (string)<br />The status of the offer. The only possible value is \"DRAFT_ACCEPTED\".</p>\n<hr />\n<p><code>fundingLimit</code> (number)<br />The funding limit amount.</p>\n<hr />\n<p><code>term</code> (number)<br />The term duration in months.</p>\n<hr />\n<p><code>percentageFee</code> (number)<br />Decimal value specific to flexible line of credit (floc).</p>\n<hr />\n<p><code>apr</code> (number)<br />Decimal value specific to flexible line of credit (floc).</p>\n<hr />\n<p><code>setupFee</code> (number)<br />Decimal value specific to term loan.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number)<br />Decimal value specific to term loan.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number)<br />Decimal value representing the monthly repayment amount.</p>\n<hr />\n<p><code>createdAt</code> (datetime)<br />The date and time when the offer was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime)<br />The date and time when the offer was last updated.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","get-accepted-quick-offer"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"39b82d39-54a9-4a54-9923-38d5fd99727c","name":"getAcceptedQuickOffer","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/get-accepted-quick-offer?companyId=3090844002002404643","host":["{{baseUrl}}"],"path":["api","v1","origination","get-accepted-quick-offer"],"query":[{"key":"companyId","value":"3090844002002404643"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"404"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 16 May 2023 10:29:23 GMT"},{"key":"x-amzn-RequestId","value":"b3fd2694-b133-4ea8-8a94-27d471dd4d80"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"FAsoZEwXLPEFkPQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64635b02-05005d9e49431abd4ab0e387;Sampled=0;lineage=03f05429:0|7054fade:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b8a2d5a6ce8c091b497397f77c25cff6.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"2_CcEzHTSd_UJXjj_OI7pD_kZ37D4dwYLiHKlM6sdCo8BlhNNNRGrw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"offerId\": \"3103883377967629916\",\n        \"type\": \"quickOffer\",\n        \"productName\": \"floc\",\n        \"priority\": \"secondary\",\n        \"status\": \"DRAFT_ACCEPTED\",\n        \"fundingLimit\": 10000,\n        \"term\": 12,\n        \"percentageFee\": 0.14,\n        \"setupFee\": 0,\n        \"monthlyInterestRate\": 0,\n        \"apr\": 0.14,\n        \"monthlyRepaymentAmount\": 950,\n        \"createdAt\": \"2023-05-16T10:09:14Z\",\n        \"updatedAt\": \"2023-05-16T10:12:38Z\"\n    }\n}"}],"_postman_id":"5982018d-c0bd-43f5-b063-436dd14cf5d8"},{"name":"releaseQuickOffers","id":"20dae0d9-77e6-4e5b-bd5d-6ac98113f785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/release-quick-offers","description":"<p>Endpoint to be called when the quick offers were reviewed, and you are ready to show them to the client. After this call you will no longer be able to update them.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company for whom you wish to release Quick Offers to.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","release-quick-offers"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"c6f81ca4-8c53-49ab-a299-9c1b59f93fc4","name":"releaseQuickOffers","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055407695034058353\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/release-quick-offers","host":["{{baseUrl}}"],"path":["api","v1","origination","release-quick-offers"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 24 Mar 2023 18:35:08 GMT"},{"key":"x-amzn-RequestId","value":"069dc013-310c-4eb6-9372-5a9263797264"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"CTIGSHkqLPEFsbQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-641ded5b-36bb48a649a94f5c67160534;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1679d4f06b5f1d02b9d3d9343e40b5cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"sFc9-1tVlVtiXxLGjB3RWoGVtOpd7Y0KNCT54uh91YjX2-YU9Y8CRQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"20dae0d9-77e6-4e5b-bd5d-6ac98113f785"},{"name":"updateQuickOffer","id":"35f5372a-c778-4ba9-9097-ef9d89cef202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"offerId\": \"3065765420054087383\",\n    \"fundingLimit\": 30000,\n    \"percentageFee\": 0.13,\n    \"apr\": 0.13,\n    \"priority\": \"primary\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/update-quick-offer","description":"<p>Endpoint to update quick offers by overwriting key parameters.</p>\n<h3 id=\"constraints\">Constraints</h3>\n<ul>\n<li>This endpoint can be called only if the configuration parameter <code>AUTOMATICALLY_SHOW_QO</code> was set to false when a company was created.</li>\n<li>There can be only one primary offer.</li>\n<li>APR is calculated automatically and cannot be overwritten.</li>\n</ul>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the offer.</p>\n<hr />\n<p><code>productName</code> (string) <strong>REQUIRED</strong><br />Possible values include <code>floc</code> (flexible line of credit), and <code>term-loan</code></p>\n<hr />\n<p><code>term</code> (number) <strong>REQUIRED</strong><br />Represents the term length of the loan in months.</p>\n<hr />\n<p><code>fundingLimit</code> (number) <strong>REQUIRED</strong><br />Maximimum amount of funding offered.</p>\n<hr />\n<p><code>priority</code> (string or null) <strong>REQUIRED</strong><br />Denotes the ranking of offers. Used to indicate product appropriateness for the customer. Possible values can include <code>primary</code> or <code>secondary</code>.</p>\n<hr />\n<h4 id=\"product-specific-parameters\">Product Specific parameters</h4>\n<h5 id=\"floc-flexible-line-of-credit\">FLOC (Flexible Line of Credit)</h5>\n<hr />\n<p><code>percentageFee</code> (number, decimal) <strong>REQUIRED</strong><br />Indicates the percentage fee assigned to the FLOC product.</p>\n<hr />\n<h5 id=\"term-loan\">Term Loan</h5>\n<hr />\n<p><code>monthlyInterestRate</code> (number, decimal) <strong>REQUIRED</strong><br />Indicates the monthly interest rate charged for the product.</p>\n<hr />\n<p><code>setupFee</code> (number, decimal) <strong>REQUIRED</strong><br />Indicates the setup fee charged for the product.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","update-quick-offer"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"487155c2-9f12-4fa1-b1be-38829f61ccd7","name":"updateQuickOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055407695034058353\",\n    \"offerId\": \"3065765420054087383\",\n    \"fundingLimit\": 30000,\n    \"percentageFee\": 0.13,\n    \"apr\": 0.13,\n    \"priority\": \"primary\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/update-quick-offer","host":["{{baseUrl}}"],"path":["api","v1","origination","update-quick-offer"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 24 Mar 2023 21:14:00 GMT"},{"key":"x-amzn-RequestId","value":"f584dfe0-8ef9-480e-9345-67904b1d8729"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"CTfXFH64LPEFxIg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-641e1293-3939a6d07ecd574e1739277a;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 a25f829e86f504a329e71fa3f4d21484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"8Mr3K9WbVfDhNpV8nzs9EFPYhpUvqwUKCZychYvjIpFOpmk_umDTbg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"35f5372a-c778-4ba9-9097-ef9d89cef202"}],"id":"71c140ca-ab3e-4dde-9709-e6f0d986b1c5","description":"<p>Quotes, or 'Quick Offers', are provional loan offers. They provide customers with an array of indicative loan offers, based on their funding requests and risk profile, and your configured risk appetite, product catalogue and pricing.</p>\n<p>Using advanced data science, in-depth analysis and real-world lending experience Abel provides fast, accurate and compelling quotes. The quotes generated at this stage combine:</p>\n<ul>\n<li>Quotes within 50 seconds with limited user-provided data up front to improve conversion</li>\n<li>Accurate quotations that are constantly refined by historical trends, live monitoring of loan performance and current market conditionsto to ensure a &gt;85% likelihood of acceptance at <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-ea398117-e7df-4572-9f12-e15d46461c27?ctx=documentation\">firm offer</a>.</li>\n<li>A product appropriateness assessment, fulfiling the duty of the lender to make sure that products are suitable and fair. We rank the most suitable borrowing options based on defined client preference and our product suitability hierarchy.</li>\n</ul>\n<p>Dependencies for creating a meaningful quick offer are:</p>\n<ul>\n<li><strong>Products</strong> - pre-configured products and associated pricing information. We have provided two products in the Sandbox for demonstration and testing purposes.</li>\n<li><strong>Configured risk parameters per product</strong> - you can configure these in the Risk Management section of your Abel console. Defaults have been applied in Sandbox for testing</li>\n<li><strong>Customer Data</strong> <strong>-</strong> you must have <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-50104262-1fc9-4729-8e95-180c80148af8?ctx=documentation\">created a company</a>. We have provided sample data in the Sandbox for testing purposes.</li>\n</ul>\n<h2 id=\"generating-quick-offers\">Generating Quick Offers</h2>\n<p>Follow these steps to generate Quick Offers for your applicant company.</p>\n<h3 id=\"1-generate-quick-offers\">1. Generate Quick Offers</h3>\n<p>Start the Quick Offer generation process by submitting the Customer ID to the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-03a9744c-a0d7-4c8d-a549-0bca1bea2b01?ctx=documentation\">generateQuickOffers</a> endpoint.</p>\n<h3 id=\"2-await-processing-confirmation\">2. Await processing confirmation</h3>\n<p>Quick Offer generation is an asynchronous process. You will receive the response code 200 immediately, and then a webhook event of type <code>ACTION_COMPLETED</code> category <code>RISK</code> and detail <code>{\"companyId\": {{companyId}}, \"action\": \"generate_quick_offers\"}</code> when the action is completed.</p>\n<h3 id=\"3-optional-review-and-edit-quick-offers\">3. (OPTIONAL) Review and edit Quick Offers</h3>\n<p>By setting <code>AUTOMATICALLY_SHOW_QO</code> set to <code>false</code>, quick offers will be not be made available for retrieval until approval has been given.</p>\n<p>To do this,</p>\n<ol>\n<li>Review draft quick offers via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-1d3d3a16-3a5f-404f-9654-3fb713399cf5?ctx=documentation\">getOffers</a> endpoint</li>\n<li>Make edits to any of the candidate Quick Offers using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-35f5372a-c778-4ba9-9097-ef9d89cef202?ctx=documentation\">updateQuickOffer</a> endpoint.</li>\n<li>Once you are happy with the quick offers, you can approve them for release via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-20dae0d9-77e6-4e5b-bd5d-6ac98113f785?ctx=documentation\">releaseQuickOffers</a> endpoint.</li>\n</ol>\n<p>By setting <code>AUTOMATICALLY_SHOW_QO</code> set to <code>true</code>, quick offers will be made available for retrieval via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-c406e46c-64ed-4da8-847b-dc179b5d1947?ctx=documentation\">getQuickOffers</a> endpoint.</p>\n<h3 id=\"4-share-quick-offers-with-customers\">4. Share Quick Offers with customers</h3>\n<p>You can retrieve Quick Offers for displaying to your customer or broker using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-c406e46c-64ed-4da8-847b-dc179b5d1947?ctx=documentation\">getQuickOffer</a> endpoint.</p>\n<h3 id=\"5-accept-a-quick-offer\">5. Accept a Quick Offer</h3>\n<p>Once a customer has selected the Quick Offer they'd like to progress with, use the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-fa7d3d25-0c9f-40d9-97ef-b38f411895a6?ctx=documentation\">acceptQuickOffer</a>. Accepted Quick Offers can be retrieved for other display purposes using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-5982018d-c0bd-43f5-b063-436dd14cf5d8?ctx=documentation\">getAcceptedQuickOffer</a> endpoint.</p>\n<h2 id=\"other-features\">Other features</h2>\n<h3 id=\"adding-notes-to-an-application\">Adding notes to an application</h3>\n<p>Notes can be added to an application to document any actions taken by the customer, underwriting or operational teams. You can add and view notes using the various methods in the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-937d24cb-0749-470e-aa2b-578bf53afd8a?ctx=documentation\">Notes collection</a>.</p>\n<h3 id=\"view-risk-analysis\">View Risk Analysis</h3>\n<p>Once a Quick Offer has been generated you can review the outcome of the risk models and ruleset evaluation by using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-729f6c6f-fc38-458f-978e-bfe5701b9fde?ctx=documentation\">getRiskData API</a>.</p>\n","_postman_id":"71c140ca-ab3e-4dde-9709-e6f0d986b1c5"},{"name":"Notes","item":[{"name":"getCompanyNotes","id":"08a1803e-40db-4c2c-bbd0-8a4fedd38ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/get-company-notes?companyId={{company_id}}","description":"<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company you wish to retrieve notes from.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p>﻿<code>notes</code> (string)<br />Free text note.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","get-company-notes"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"9627ed3e-e8a4-4c8c-8d7b-51d39f9d0b1e","name":"getCompanyNotes","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/get-company-notes?companyId=3055407695034058353","host":["{{baseUrl}}"],"path":["api","v1","origination","get-company-notes"],"query":[{"key":"companyId","value":"3055407695034058353"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"86"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 14:49:27 GMT"},{"key":"x-amzn-RequestId","value":"72101156-6228-48e2-8991-17e6c9a890c8"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BrDyuEMnrPEFrEg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640de677-3e03caf7475514040465e189;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fc1dbced8ce91560eb48784488ea4384.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Id","value":"PQxwB-b4nIxN1hJPDSfD4eqBGZCzozGTcE6R8Inlrlen9cpOHZYh6w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"notes\": \"This is a company note\"\n    }\n}"}],"_postman_id":"08a1803e-40db-4c2c-bbd0-8a4fedd38ebb"},{"name":"updateCompanyNotes","id":"6fe63baa-1527-4a3c-ae33-55e4a06a71a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"notes\": \"...\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/update-company-notes","description":"<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company you wish to assign a note to.</p>\n<hr />\n<p><code>notes</code> (string) <strong>REQUIRED</strong><br />The free text note you wish to add for this company.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","update-company-notes"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"5fdb07d5-2f6d-48af-82da-461abe1aa519","name":"updateCompanyNotes","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055407695034058353\",\n    \"notes\": \"This is a company note\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/update-company-notes","host":["{{baseUrl}}"],"path":["api","v1","origination","update-company-notes"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 14:49:19 GMT"},{"key":"x-amzn-RequestId","value":"4d7f4d1b-32d1-45f4-b373-4a594948cc62"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BrDxaHh6rPEFuqg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640de66f-2c5cfd9541524a0c499c221e;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fc1dbced8ce91560eb48784488ea4384.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Id","value":"oGE5_jxw3zJWnS-rjlGld8hCETC01PKUh5N8Ij6uVDdol-NX0ftZRQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"6fe63baa-1527-4a3c-ae33-55e4a06a71a8"},{"name":"getApplicationNotes","id":"35d61c09-27e7-4aab-bb8e-86f45096d080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/get-application-notes?companyId={{company_id}}&applicationId=3049696933443536586","description":"<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company you wish to assign a note to.</p>\n<hr />\n<p><code>applicationId</code> (string) <strong>REQUIRED</strong><br />The ID of the application you wish to assign a note to.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>notes</code> (string)<br />Free text notes added to the application.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","get-application-notes"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"applicationId","value":"3049696933443536586"}],"variable":[]}},"response":[{"id":"0694412a-9e24-4f2b-a104-bfc96aaff8ad","name":"getApplicationNotes","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/get-application-notes?companyId=3055407695034058353&applicationId=3055407695478654581","host":["{{baseUrl}}"],"path":["api","v1","origination","get-application-notes"],"query":[{"key":"companyId","value":"3055407695034058353"},{"key":"applicationId","value":"3055407695478654581"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 14:49:53 GMT"},{"key":"x-amzn-RequestId","value":"21c9a46c-bd31-44c4-b6b3-aa6714c23665"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BrD2tGUJrPEFqcw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640de691-08ce379b3c34e5585a86dfd7;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fc1dbced8ce91560eb48784488ea4384.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Id","value":"ROhdCAI9AKksrM9xskx6JpWa5E3lSl6d4hf1ccaRsHBCpr3vM11bjg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"notes\": \"This is an application note\"\n    }\n}"}],"_postman_id":"35d61c09-27e7-4aab-bb8e-86f45096d080"},{"name":"updateApplicationNotes","id":"3857f922-2e4e-4b17-b6e5-37ad77ecede9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"applicationId\": \"3057131806777148500\",\n    \"notes\": \"This is an application note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/origination/update-application-notes","description":"<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company you wish to update a note for.</p>\n<hr />\n<p><code>applicationId</code> (string) <strong>REQUIRED</strong><br />The ID of the application you wish to update a note for.</p>\n<hr />\n<p><code>notes</code> (string) <strong>REQUIRED</strong><br />The free text note you wish to add to the application.</p>\n<hr />\n","urlObject":{"path":["api","v1","origination","update-application-notes"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"5a7efb00-35e2-4857-9d03-90ef18e11d87","name":"updateApplicationNotes","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055407695034058353\",\n    \"applicationId\": \"3055407695478654581\",\n    \"notes\": \"This is an application note\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/origination/update-application-notes","host":["{{baseUrl}}"],"path":["api","v1","origination","update-application-notes"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 14:49:49 GMT"},{"key":"x-amzn-RequestId","value":"4db9e7c3-e48d-4d3f-b978-8479d21d981e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BrD2KEZnrPEFQ4w="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640de68d-56c840f4062432d47c66b79f;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fc1dbced8ce91560eb48784488ea4384.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Id","value":"yA5WzM3xSUjwnmd5B7VUSMR7mehHHgUPXwvbQgAx8hch3sMcftMbCA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"3857f922-2e4e-4b17-b6e5-37ad77ecede9"}],"id":"937d24cb-0749-470e-aa2b-578bf53afd8a","description":"<h2 id=\"notes\">Notes</h2>\n<p>Store all of the important information about your application in one convienent location.</p>\n<p>You can store and retrieve clear text notes about a company and a company application, in a form of a long string, which can be updated. An update will overwrite the previous value of the field.</p>\n","_postman_id":"937d24cb-0749-470e-aa2b-578bf53afd8a"}],"id":"6654905a-59fd-4d19-96c8-630d29d806e6","description":"<p>Originate new customers quickly and efficiently. Abel’s origination framework understands the lender with 5 simple questions. Using advanced data science, in-depth analysis and real-world lending experience Abel provides realistic and fast origination offers</p>\n<p>Lending profitability starts with originating the right clients for your lending approach</p>\n<ul>\n<li>100+ risk parameters that allows you dynamic decision models balance risk, CX and cost</li>\n<li>Quotes within 50 seconds with limited questions up front to improve conversion</li>\n<li>Accurate quotations that have been proven and are 'tuned' to &gt;85% likelihood of acceptance at full offer</li>\n<li>Product recommendation engine that fulfils the duty of the lender to make sure that products are suitable and fair. We rank the most suitable borrowing options</li>\n</ul>\n<p>The following APIs allow you to quickly create a quick offer in three steps:</p>\n<ol>\n<li><a href=\"https://abel-tech.postman.co/workspace/ABEL-APIs~43111afa-715c-42e8-8b8b-e858a2e4af8a/request/12577292-911d3945-ad32-4cf9-b400-0d1c3211e10f?ctx=documentation\">Create a Company</a></li>\n<li><a href=\"https://abel-tech.postman.co/workspace/ABEL-APIs~43111afa-715c-42e8-8b8b-e858a2e4af8a/request/12577292-7d486d76-f6bb-433c-8732-6a021bab8984?ctx=documentation\">Create a User</a></li>\n<li><a href=\"https://abel-tech.postman.co/workspace/ABEL-APIs~43111afa-715c-42e8-8b8b-e858a2e4af8a/request/12577292-cf3550c6-a01b-400e-b39c-dfcff74ac2f1?ctx=documentation\">Generate Quick Offer</a></li>\n</ol>\n<p>Dependencies for creating a meaningful quick offer are:</p>\n<ol>\n<li><a href=\"https://abel-tech.postman.co/workspace/ABEL-APIs~43111afa-715c-42e8-8b8b-e858a2e4af8a/request/12577292-69b3bb11-3fc6-45ae-a32c-266366217b09?ctx=documentation\">Authentication</a> of your API to ensure security</li>\n<li>Setup up your Risk parameters in your Abel dashboard - defaults have been applied in Sandbox for testing</li>\n<li>Understand the sample data</li>\n</ol>\n","_postman_id":"6654905a-59fd-4d19-96c8-630d29d806e6"},{"name":"Decisioning","item":[{"name":"Users and Company","item":[{"name":"updateCompany","id":"35031460-4677-4e7b-98dc-9f8c689118fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"annualTurnover\": 1000000,\n    \"desiredAmount\": 30000,\n    \"tradesWithRestrictedCountries\": true,\n    \"tradesMostlyAbroad\": false,\n    \"tradesOutsideUk\": false,\n    \"isSme\": true,\n    \"reasonForFunding\": \"Purchase\",\n    \"detailedLoanPurpose\": \"Car\",\n    \"costPreference\": \"lowestMonthlyRepayment\",\n    \"netProfit\": 500000,\n    \"accountEndDate\": \"2022-04-30\",\n    \"accountDepreciation\": 20000,\n    \"accountAmortisation\": 20000,\n    \"otherAccountOperatingIncome\": 100000,\n    \"tradingAddress\": \"8 Havelock Drive, Greenhithe, Kent\",\n    \"tradingAddressPostcode\": \"DA9 9XU\",\n    \"tradingName\": \"Something LTD\",\n    \"website\": \"www.test.com\",\n    \"declaredBrokerEmail\": \"broker@x.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-company","description":"<p>Endpoint to update provided information for a given company.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The Companies House number of the company you wish to create.</p>\n<hr />\n<p><code>annualTurnover</code> (number): <em>OPTIONAL</em><br />The annual turnover of the company.</p>\n<hr />\n<p><code>desiredAmount</code> (number): <em>OPTIONAL</em><br />The desired funding amount.</p>\n<hr />\n<p><code>tradesWithRestrictedCountries</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the company trades with restricted countries.</p>\n<hr />\n<p><code>tradesMostlyAbroad</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the company mostly trades abroad.</p>\n<hr />\n<p><code>tradesOutsideUk</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the company trades outside the UK.</p>\n<hr />\n<p><code>isSme</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the company is an SME (Small and Medium-sized Enterprise).</p>\n<hr />\n<p><code>reasonForFunding</code> (string): <em>OPTIONAL</em><br />The reason for funding.</p>\n<hr />\n<p><code>detailedLoanPurpose</code> (string): <em>OPTIONAL</em><br />The detailed purpose of the loan.</p>\n<hr />\n<p><code>costPreference</code> (string): <em>OPTIONAL</em><br />The customer's repayment preference. Allowed values include: \"lowestMonthlyRepayment\" (default value) and \"lowestTotalRepayment\".</p>\n<hr />\n<p><code>netProfit</code> (number): <em>OPTIONAL</em><br />The net profit of the company.</p>\n<hr />\n<p><code>accountEndDate</code> (date): <em>OPTIONAL</em><br />The end date of the company's accounting period. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>accountDepreciation</code> (number): <em>OPTIONAL</em><br />The depreciation amount in the company's accounts.</p>\n<hr />\n<p><code>accountAmortisation</code> (number): <em>OPTIONAL</em><br />The amortisation amount in the company's accounts.</p>\n<hr />\n<p><code>otherAccountOperatingIncome</code> (number): <em>OPTIONAL</em><br />The operating income from other accounts.</p>\n<hr />\n<p><code>tradingAddress</code> (string): <em>OPTIONAL</em><br />The trading address of the company.</p>\n<hr />\n<p><code>tradingAddressPostcode</code> (string): <em>OPTIONAL</em><br />The postcode of the trading address.</p>\n<hr />\n<p><code>tradingName</code> (string): <em>OPTIONAL</em><br />The trading name of the company.</p>\n<hr />\n<p><code>website</code> (string): <em>OPTIONAL</em><br />The website URL of the company.</p>\n<hr />\n<p><code>declaredBrokerEmail</code> (string): <em>OPTIONAL</em><br />The email address of the declared broker.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","update-company"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e797aad9-32a2-4171-a866-fd007e9a3a54","name":"updateCompany","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"annualTurnover\": 1000000,\n    \"desiredAmount\": 30000,\n    \"tradesWithRestrictedCountries\": false,\n    \"tradesMostlyAbroad\": false,\n    \"tradesOutsideUk\": false,\n    \"isSme\": true,\n    \"reasonForFunding\": \"Purchase\",\n    \"detailedLoanPurpose\": \"Car\",\n    \"costPreference\": \"lowestMonthlyRepayment\",\n    \"netProfit\": 500000,\n    \"accountEndDate\": \"2022-04-30\",\n    \"accountDepreciation\": 20000,\n    \"accountAmortisation\": 20000,\n    \"otherAccountOperatingIncome\": 100000,\n    \"tradingAddress\": \"8 Havelock Drive, Greenhithe, Kent\",\n    \"tradingAddressPostcode\": \"DA9 9XU\",\n    \"tradingName\": \"Something LTD\",\n    \"website\": \"www.test.com\",\n    \"declaredBrokerEmail\": \"broker@x.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 11:16:35 GMT"},{"key":"x-amzn-RequestId","value":"7e8dd18b-235a-42d6-a188-5add489f5458"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bj-u8FapLPEFphg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b1192-13faa7687161dc6b345f5741;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b78cc6d01d4e7856002e813febd954e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG50-C1"},{"key":"X-Amz-Cf-Id","value":"ECi2Imc5H-oE-DuTA0ms3wC6yk02oqvAn-Rc6sd9W1gHcxWaBVtuQw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"35031460-4677-4e7b-98dc-9f8c689118fd"},{"name":"getCompany","id":"4e001896-f7d7-44ac-8eb1-9b0a2de5cf84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-company?companyId={{company_id}}","description":"<p>Retrieves all data for a given company.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong></p>\n<p>The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>companyId</code> (string)<br />The ID of the company.</p>\n<hr />\n<p><code>name</code> (string)<br />The name of the company.</p>\n<hr />\n<p><code>companyHouseNo</code> (string)<br />The Companies House number of the company.</p>\n<hr />\n<p><code>registeredAddress</code> (string)<br />The registered address of the company.</p>\n<hr />\n<p><code>tradingAddress</code> (string)</p>\n<p>The trading address of the company.</p>\n<hr />\n<p><code>website</code> (string)<br />The website URL of the company.</p>\n<hr />\n<p><code>registeredAddressPostcode</code> (string)</p>\n<p>The postcode of the registered address.</p>\n<hr />\n<p><code>tradingAddressPostcode</code> (string)<br />The postcode of the trading address.</p>\n<hr />\n<p><code>companyStatus</code> (string)</p>\n<p>The status of the company.</p>\n<hr />\n<p><code>sicCodes</code> (array)</p>\n<p>An array of SIC codes associated with the company.</p>\n<hr />\n<p><code>incorporationDate</code> (string)</p>\n<p>The date of incorporation of the company.</p>\n<hr />\n<p><code>tradingName</code> (string)</p>\n<p>The trading name of the company.</p>\n<hr />\n<p><code>type</code> (string)</p>\n<p>The type of the company.</p>\n<hr />\n<p><code>createdAt</code> (datetime):</p>\n<p>The date and time when the company was created in the Abel system.</p>\n<hr />\n<p><code>industry</code> (array)</p>\n<p>An array of industries associated with the company.</p>\n<hr />\n<p><code>reasonForFunding</code> (string)</p>\n<p>The reason for the funding application.</p>\n<hr />\n<p><code>updatedAt</code> (datetime)<br />The date and time when the company information was last updated.</p>\n<hr />\n<p><code>desiredAmount</code> (number): The desired funding amount.</p>\n<hr />\n<p><code>tradesWithRestrictedCountries</code> (boolean)</p>\n<p>Indicates whether the company trades with restricted countries, as defined in the Risk Management configuration.</p>\n<hr />\n<p><code>tradesMostlyAbroad</code> (boolean)</p>\n<p>Indicates whether the company mostly trades abroad.</p>\n<hr />\n<p><code>isSme</code> (boolean)</p>\n<p>Indicates whether the company is an SME (Small and Medium-sized Enterprise).</p>\n<hr />\n<p><code>costPreference</code> (string)</p>\n<p>The customer's repayment preference.</p>\n<hr />\n<p><code>detailedLoanPurpose</code> (string)</p>\n<p>The detailed purpose of the loan.</p>\n<hr />\n<p><code>declaredBrokerEmail</code> (string)</p>\n<p>The email address of the declared broker.</p>\n<hr />\n<p><code>annualTurnover</code> (number)</p>\n<p>The annual turnover of the company.</p>\n<hr />\n<p><code>primaryUserId</code> (string)</p>\n<p>The ID of the primary user associated with the company.</p>\n<hr />\n<p><code>netProfit</code> (number)</p>\n<p>The net profit of the company.</p>\n<hr />\n<p><code>accountEndDate</code> (date)</p>\n<p>The end date of the company's accounting period. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>accountDepreciation</code> (number)</p>\n<p>The depreciation amount in the company's accounts.</p>\n<hr />\n<p><code>accountAmortisation</code> (number)</p>\n<p>The amortisation amount in the company's accounts.</p>\n<hr />\n<p><code>otherAccountOperatingIncome</code> (number)</p>\n<p>The operating income from other accounts.</p>\n<hr />\n<p><code>tradesOutsideUk</code> (boolean)</p>\n<p>Indicates whether the company trades outside the UK.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-company"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"04abb19c-74c9-40e6-95fa-8b1aaa861cfc","name":"getCompany","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-company?companyId=3055407695034058353","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-company"],"query":[{"key":"companyId","value":"3055407695034058353"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1233"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 19:22:04 GMT"},{"key":"x-amzn-RequestId","value":"23c303e9-ad88-426d-aa8e-e4066076d315"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BlF02FTwLPEF14A="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b8351-50a0396f03af4f361c76dd4f;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 38f98563ce0383d146e2eef6f867b714.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG50-C1"},{"key":"X-Amz-Cf-Id","value":"Ro7r0SJZFlZ2epH5_cpEQt9Ls9GQZ5JlsSMAwRRPZuz6qfZ7p3ymiQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"companyId\": \"3055407695034058353\",\n        \"name\": \"SAUK UTILITIES LIMITED\",\n        \"companiesHouseNumber\": \"07979499\",\n        \"registeredAddress\": \"175 Rotherham Road, Barnsley\",\n        \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n        \"website\": \"www.test.com\",\n        \"registeredAddressPostcode\": \"S71 2LG\",\n        \"tradingAddressPostcode\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n        \"companyStatus\": \"SIGNUP_INCOMPLETE\",\n        \"sicCodes\": [\n            \"43999\"\n        ],\n        \"incorporationDate\": null,\n        \"tradingName\": \"SAUK UTILITIES LIMITED\",\n        \"type\": \"ltd\",\n        \"createdAt\": \"2023-03-10T12:56:42.332Z\",\n        \"industry\": [\n            \"Other specialised construction activities n.e.c.\"\n        ],\n        \"reasonForFunding\": \"Making a purchase\",\n        \"updatedAt\": \"2023-03-10T12:56:42.332Z\",\n        \"desiredAmount\": 10000,\n        \"tradesWithRestrictedCountries\": false,\n        \"tradesMostlyAbroad\": false,\n        \"isSme\": true,\n        \"costPreference\": \"lowestMonthlyRepayment\",\n        \"detailedLoanPurpose\": \"Car\",\n        \"declaredBrokerEmail\": \"broker@x.com\",\n        \"annualTurnover\": 1000000,\n        \"primaryUserId\": \"3055408741311579773\",\n        \"netProfit\": 500000,\n        \"accountEndDate\": \"2022-04-30\",\n        \"accountDepreciation\": 20000,\n        \"accountAmortisation\": 20000,\n        \"otherAccountOperatingIncome\": 100000,\n        \"tradesOutsideUk\": false\n    }\n}"}],"_postman_id":"4e001896-f7d7-44ac-8eb1-9b0a2de5cf84"},{"name":"updateUser","id":"07c17391-7ab6-4f6f-8254-41e97f3d7581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"{{user_id}}\",\n    \"companyId\": \"{{company_id}}\",\n    \"phone\": \"07656789876\",\n    \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n    \"postcode\": \"DA9 9XU\",\n    \"dateOfBirth\": \"1983-01-02\",\n    \"role\": \"director\",\n    \"occupation\": \"CTO\",\n    \"ukResidencyAboveTwoYears\": false,\n    \"requireSoftKycCheck\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-user","description":"<p>Updates the information stored for a given user.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>userId</code> (string) <strong>REQUIRED</strong><br />The ID of the user.</p>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>phone</code> (string): <em>OPTIONAL</em><br />The phone number associated with the user.</p>\n<hr />\n<p><code>address</code> (string):<br />The user's address in the following format: {line_1}, {line_2}, {line_3}, {line_4}, {town_or_city}, {locality}, {county}, {country}. Line 1 and town/city are <em>OPTIONAL</em>.</p>\n<hr />\n<p><code>postcode</code> (string): <em>OPTIONAL</em><br />The postcode associated with the user's address.</p>\n<hr />\n<p><code>dateOfBirth</code> (date): <em>OPTIONAL</em><br />The date of birth of the user, in the format YYYY-MM-DD. The year and month must match the Companies House data of the director.</p>\n<hr />\n<p><code>role</code> (string): <em>OPTIONAL</em><br />The role or position of the user.</p>\n<hr />\n<p><code>occupation</code> (string): <em>OPTIONAL</em><br />The occupation or job title of the user.</p>\n<hr />\n<p><code>ukResidencyAboveTwoYears</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the user has been a UK resident for more than two years.</p>\n<hr />\n<p><code>requireSoftKycCheck</code> (boolean): <em>OPTIONAL</em><br />Indicates whether a soft KYC check is required. Note that this parameter does not work for a primary user, as a hard KYC check is mandatory for them.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","update-user"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b06cfc77-2829-4865-acf4-44c62e9b5394","name":"updateUser","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"3055408746655123073\",\n    \"companyId\": \"3055356223458117123\",\n    \"phone\": \"07656789876\",\n    \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n    \"postcode\": \"DA9 9XU\",\n    \"dateOfBirth\": \"1975-08-02\",\n    \"role\": \"director\",\n    \"occupation\": \"CTO\",\n    \"ukResidencyAboveTwoYears\": false,\n    \"requireSoftKycCheck\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 15:49:56 GMT"},{"key":"x-amzn-RequestId","value":"9cf93e5a-44a5-4bb0-a2f8-07aaa4090d6e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BkmxmEuSLPEFvfw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b51a3-601238141b3f38f8457717af;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0f34c0d3b0e50b8875bcbb7d41684a58.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"eOaBoXdOocLS9XvRwkVVd-vKdM4poDD_j8F5Rp2GLTH3UjElRQqVtQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"07c17391-7ab6-4f6f-8254-41e97f3d7581"},{"name":"getUser","id":"c45deba5-66c2-48be-a463-f10c1bf33446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-user?userId={{user_id}}&companyId={{company_id}}","description":"<p>Retrieves information on a given user.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>userId</code> (string) <strong>REQUIRED</strong><br />The ID of the user.</p>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>email</code> (string)<br />The email address associated with the user.</p>\n<hr />\n<p><code>dateOfBirth</code> (date)<br />The date of birth of the user, in the format YYYY-MM-DD.</p>\n<hr />\n<p><code>phone</code> (string)<br />The phone number associated with the user.</p>\n<hr />\n<p><code>address</code> (string)<br />The user's address.</p>\n<hr />\n<p><code>postcode</code> (string)<br />The postcode associated with the user's address.</p>\n<hr />\n<p><code>role</code> (string)<br />The role or position of the user.</p>\n<hr />\n<p><code>occupation</code> (string)<br />The occupation or job title of the user.</p>\n<hr />\n<p><code>firstName</code> (string)<br />The first name of the user.</p>\n<hr />\n<p><code>lastName</code> (string)<br />The last name of the user.</p>\n<hr />\n<p><code>residencyAboveTwoYears</code> (boolean)<br />Indicates whether the user has been a resident for more than two years.</p>\n<hr />\n<p><code>requireSoftKycCheck</code> (boolean)<br />Indicates whether a soft KYC check is required.</p>\n<hr />\n<p><code>status</code> (string)<br />The status of the user.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-user"],"host":["{{baseUrl}}"],"query":[{"key":"userId","value":"{{user_id}}"},{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"d9cafe76-f09a-475c-9ba4-674f117dbb10","name":"getUser","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-user?userId=3055356561384801803&companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-user"],"query":[{"key":"userId","value":"3055356561384801803"},{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"419"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 11:19:12 GMT"},{"key":"x-amzn-RequestId","value":"2544b961-d4be-42dd-b5ac-aba419e48af0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bj_HnF9ILPEFgkA="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b1230-68db8df03832127a033e4b78;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b78cc6d01d4e7856002e813febd954e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG50-C1"},{"key":"X-Amz-Cf-Id","value":"leied3u95eB-HJCTmf_pzFPX9JA32VGUm8dsyYZiAIm9FcBXPhIHUg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"userId\": \"3055356561384801803\",\n        \"email\": \"customer1@beabel.io\",\n        \"dateOfBirth\": \"1982-04-02\",\n        \"phone\": \"07656789876\",\n        \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n        \"role\": \"director\",\n        \"occupation\": \"CTO\",\n        \"firstName\": \"Waqas\",\n        \"lastName\": \"IQBAL\",\n        \"postcode\": \"DA9 9XU\",\n        \"ukResidencyAboveTwoYears\": false,\n        \"requireSoftKycCheck\": false,\n        \"status\": \"SIGNUP_INCOMPLETE\"\n    }\n}"}],"_postman_id":"c45deba5-66c2-48be-a463-f10c1bf33446"}],"id":"02d60a07-ce3f-4e42-9bd2-44078dd65023","description":"<p>All Abel decisions are based on Companies and Users. As you progress during your loan decision journey with a customer, you are likely to find out more information about them. Use the updateCompany and updateUser APIs to add to your knowledge of the customer.</p>\n<p>You can use any of Abel’s toolkit and modules by simply creating a Company and a User.</p>\n","_postman_id":"02d60a07-ce3f-4e42-9bd2-44078dd65023"},{"name":"Uploads","item":[{"name":"getUploadUrl","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"signedUrl\", jsonData.result.uploadUrl);"],"type":"text/javascript"}}],"id":"e378e6d2-8ec0-415f-9412-cdb9288a9c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank-statements\",\n    \"fileName\": \"2021_May_Statement.pdf\",\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-upload-url","description":"<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>type</code> (string) <strong>REQUIRED</strong><br />The type of the file. Allowed values include \"bank-statements\", \"financial-accounts\", and \"other\".</p>\n<hr />\n<p><code>filename</code> (string) <strong>REQUIRED</strong><br />The name of the file.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>uploadUrl</code><br />The URL where the file can be uploaded.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-upload-url"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"baa6ddb1-1ddc-4112-9ddf-0d8816158d13","name":"getUploadUrl","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank-statements\",\n    \"fileName\": \"2021_May_Statement.pdf\",\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-upload-url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1549"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 15:06:08 GMT"},{"key":"x-amzn-RequestId","value":"6921e945-75c1-4189-889a-9e6e738c60b2"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BrGNlGc0LPEFZbw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640dea56-679eba523377007b6e3ed70c;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 699b505ca4c2135b52633ef9f9cd2ac0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Id","value":"HKY2rp3R7g6MCRZ7a9nALc2clVXcqTP91E2hURz-b1SHZ6iHmC1umA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"uploadUrl\": \"https://dev-company-uploads-90a151a.s3.eu-west-2.amazonaws.com/test982/3055407695034058353/3055407695478654581/bank-statements/2021_May_Statement.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7JPUUA3A4%2F20230312%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230312T150608Z&X-Amz-Expires=300&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEO%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMiJHMEUCIQD08HlFluBQuT0XAcjz19SIeB6FL7O2Ndfzo95Lmps76wIgAYk4OBVbAoZhgOUMnqQ0ZscgOZe5JY%2FJA49nRs1L%2Fq8qqAMIqP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDISnin%2B5OPjMdFa2Uyr8AsxBbnxtENyqcCihtFUv5FRn3ISPip%2BgiXvufNWJ0aEQXatlAPXfYrmy5y88JJVPAkfKk21bCkDLYVqe3WqlhAZ%2Bc4luDJX%2FoMBemCk4VAiYK4lCSE%2Fq0MYUZBa1AUFOZ11KTxN%2FUruJ4EOik3L7zYjzy1gagl%2F4Xvr%2B0gKyUEBNr0akVa5P5e9m3VSCeyQ0I4nntK4s0sJLg3cRDQKVYnriDP1x3oA03arpUVHCUotOLlcOUrnhc7U5wVDemsyRr2iRUpkJeizLG1tK%2B9vprEd%2FwhDqxNi4QgBUvLZdBqWXhVTNUgYJFThj%2FKvx0dplSeexb3mr61tuMjZ5DLOwaAIa4wjajV7iEnCUyS%2Fqe%2Fa3JmRY%2BiL2BPHQvmNTMX2xe%2BllnRXltuJKgGOLrUB253xgr%2BVVJ6Q6hYzxq7yq4Ol%2Bs%2FfPtcdMkJKQSsiivnp69hud5qsxIEKV6WY3ontxqwpfwI%2FlzfHy4MkJXZqW5jq2jpf5yLuyfT12lV5TMNzUt6AGOp0BlzwHNIouuL0ZK7fOw%2Bt%2FsbBeIuweG4xVrWDXwl7OrWM45KbWISda8lRk8T2uOf%2F5LYrpnywE0doVt9wUq3sCoyAe9uSi%2BWGJseGLmbGhDLx7L%2BP11%2FI6Mcj3qpWdwe3Iij1%2B8%2FT7fO%2B22aoJoJk1uGv0U3ulhJ8uVOLkb7g02p3bBaLCEPCttLSUec7SRkFENhRZFZx3MlZmrUpg%2Bw%3D%3D&X-Amz-Signature=bfeec45055b032c9506422b599ee3f8f87098785f610a3720944aac4b7197011&X-Amz-SignedHeaders=host\"\n    }\n}"}],"_postman_id":"e378e6d2-8ec0-415f-9412-cdb9288a9c51"},{"name":"uploadFile","id":"0da03be0-ff20-47b6-b23b-029c3d151d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"file","file":{"src":"/Users/rybinska/Downloads/test_accounts.pdf"}},"url":"{{signedUrl}}","description":"<p>This is a PUT request directly to the AWS S3 API. The URL is returned by the previous endpoint, <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e378e6d2-8ec0-415f-9412-cdb9288a9c51?ctx=documentation\">getUploadUrl</a>. Upload a binary file to this URL.</p>\n","urlObject":{"host":["{{signedUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0da03be0-ff20-47b6-b23b-029c3d151d97"},{"name":"submitUploadsByType","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"e85d6110-e436-4792-ac34-f3fed6aa6cff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank-statements\",\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/submit-uploads","description":"<p>Endpoint to submit uploads by type. Each type needs to be sumbitted separately. After submitting documents you can no longer upload files of a given category.</p>\n<p>Submitting documents starts an OCR process. You will receive a webhook request when the process is completed.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>type</code> (string) <strong>REQUIRED</strong><br />The type of the file. Allowed values: \"bank-statements\", \"financial-accounts\", and \"other\".</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","submit-uploads"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"db2f7cbd-764b-4cb7-85d5-520b4117d989","name":"submitUplodsByType","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"financial-accounts\",\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/submit-uploads"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 11 Mar 2023 21:45:39 GMT"},{"key":"x-amzn-RequestId","value":"eaa2be63-b043-4d84-a4fd-a81ee9ffc67e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BotzfF74rPEF4yw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640cf67c-0e90af081ee9bb1242a8c5c4;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 95e5e67fa5d157cb509d06500fad3cc4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"HtObzWO4VPfrvEf6rEqNba7cT2gqR_YmJJAFYY5iDPqC_feOn_jBVg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"e85d6110-e436-4792-ac34-f3fed6aa6cff"},{"name":"getUploadedDocuments","id":"f51fef47-249a-4474-a131-05970a4d68ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-uploaded-documents?companyId={{company_id}}","description":"<p>Endpoint to get a list of uploaded documents.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<h5 id=\"an-object-of-document-types-each-being-an-object\">An object of document types, each being an object:</h5>\n<hr />\n<p><code>files</code> (array)<br />An array of file objects.</p>\n<hr />\n<p><code>submitted</code> (datetime)<br />The date and time when the submission was made.</p>\n<hr />\n<h5 id=\"each-file-array-contains-the-following-file-objects\">Each file array contains the following file objects</h5>\n<hr />\n<p><code>fileName</code> (string)<br />The name of the file.</p>\n<hr />\n<p><code>path</code> (string)<br />The path of the file.</p>\n<hr />\n<p><code>lastModified</code> (datetime)<br />The date and time when the file was last modified.</p>\n<hr />\n<p><code>downloadUrl</code> (string)<br />The URL for downloading the file.</p>\n<hr />\n<p><code>submitted</code> (datetime)<br />The date and time when the submission was made.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-uploaded-documents"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"8f2d6340-4a13-43ba-933d-04abc708c105","name":"getUploadedDocuments","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-uploaded-documents?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-uploaded-documents"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3514"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 12 Mar 2023 22:44:29 GMT"},{"key":"x-amzn-RequestId","value":"f5131e38-cfc8-46d2-8061-83a400122551"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BsJWmF6MLPEFRqw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640e55c3-218e90a1779dfdfd74bddd92;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 a332ecb068a370997b5e7bc811ff54ea.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"c68Pg6YjSBiVu0CglE1_2KmH9P3726vc8HJdUg8yTqbxhDAjPez_IQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"bank-statements\": {\n            \"files\": [\n                {\n                    \"fileName\": \"2021_May_Statement.pdf\",\n                    \"path\": \"test982/3057131806089282640/3057131806777148500/bank-statements/2021_May_Statement.pdf\",\n                    \"lastModified\": \"2023-03-12T22:03:06.000Z\",\n                    \"downloadUrl\": \"https://dev-company-uploads-90a151a.s3.eu-west-2.amazonaws.com/test982/3057131806089282640/3057131806777148500/bank-statements/2021_May_Statement.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7C2WUKBEP%2F20230312%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230312T224429Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMiJHMEUCIBaiZRm4N%2FYL3sb5Diu9zI7i9sFDl0zz34S%2FKdXkshktAiEAsfsbNjMAlT3Mc0UK%2FDaSYKit8i6M2jWwIPQnvMdU9o8qngMIsP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDAi956ukuBxKu6RBmSryAm%2BZuPxr79d1PurpkgucD74dLr5YvrlX384bdTScqji1hZcqrU3nW6lzkcGS03yrTdXZwSY39OnGtZ85z2T3oQDyCUq0tdmtDT4l%2BmFbVNS%2FLBNDs2RsIYnSY3sTmzLCgDcEdmVHRxzQ8DvUzJGjK86kk7M6WMnPlij%2F7Xn3zFe5Wzzdw5uiAYgIopCrXQIjrR4aMuJ7Lbt97qijGVeuvbyjXSBp1%2BNMaUupz7YBxe%2FbQ1ZkOfNKJanRiaz5Bv%2Fh6trt3fErb1S%2BYSpZLsA2XmhHMf5Uz7yTzB%2F6Foyg3gH%2FkRUsXOtkBEHUw0TZFCFNQwsukBAaSAv5YsJ3Mm3Jyqa%2FIh0sxqcJCqKG5vSvgW8139zn0PBcFw8WVJGhBvw37aBQztKMkSAs%2FJBelgoaHENCeGHZR1qKqUKMjiWLLyF9b2oqHuNcNtr1e5d6tlI7v%2FNNP%2BGlNs0Cku5O3e%2Fz4XIr123JUG8L%2FIXqU6RQLKjRCeAwyKu5oAY6nQGO5TlM9%2Bp1Dkwi8ry%2BnTWTVoHytENGWfGlzOi58eoHdYMOICfZr5GlQmt7TpBySTUPNbLMTWXq2r5ukfRD9yNN4lNBDkmhAJQMLIJFCh177o8dIkIyg0wRetw52JQddiYBmCzXj8sJ4ljBkgiOrGqRGmJ%2BArJnGBkEMwR152mVTj7zoNTrviruLNGpdtow%2B%2F6KYwF2bGIm%2BRPhcQJ7&X-Amz-Signature=444af686f4be6816775625487d6d59196920015f38088e27674c90bd01d19a6c&X-Amz-SignedHeaders=host\"\n                }\n            ],\n            \"submitted\": \"2023-03-12T22:24:50.863Z\"\n        },\n        \"financial-accounts\": {\n            \"files\": [\n                {\n                    \"fileName\": \"test_accounts.pdf\",\n                    \"path\": \"test982/3057131806089282640/3057131806777148500/financial-accounts/test_accounts.pdf\",\n                    \"lastModified\": \"2023-03-12T22:03:30.000Z\",\n                    \"downloadUrl\": \"https://dev-company-uploads-90a151a.s3.eu-west-2.amazonaws.com/test982/3057131806089282640/3057131806777148500/financial-accounts/test_accounts.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7C2WUKBEP%2F20230312%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230312T224429Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMiJHMEUCIBaiZRm4N%2FYL3sb5Diu9zI7i9sFDl0zz34S%2FKdXkshktAiEAsfsbNjMAlT3Mc0UK%2FDaSYKit8i6M2jWwIPQnvMdU9o8qngMIsP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDAi956ukuBxKu6RBmSryAm%2BZuPxr79d1PurpkgucD74dLr5YvrlX384bdTScqji1hZcqrU3nW6lzkcGS03yrTdXZwSY39OnGtZ85z2T3oQDyCUq0tdmtDT4l%2BmFbVNS%2FLBNDs2RsIYnSY3sTmzLCgDcEdmVHRxzQ8DvUzJGjK86kk7M6WMnPlij%2F7Xn3zFe5Wzzdw5uiAYgIopCrXQIjrR4aMuJ7Lbt97qijGVeuvbyjXSBp1%2BNMaUupz7YBxe%2FbQ1ZkOfNKJanRiaz5Bv%2Fh6trt3fErb1S%2BYSpZLsA2XmhHMf5Uz7yTzB%2F6Foyg3gH%2FkRUsXOtkBEHUw0TZFCFNQwsukBAaSAv5YsJ3Mm3Jyqa%2FIh0sxqcJCqKG5vSvgW8139zn0PBcFw8WVJGhBvw37aBQztKMkSAs%2FJBelgoaHENCeGHZR1qKqUKMjiWLLyF9b2oqHuNcNtr1e5d6tlI7v%2FNNP%2BGlNs0Cku5O3e%2Fz4XIr123JUG8L%2FIXqU6RQLKjRCeAwyKu5oAY6nQGO5TlM9%2Bp1Dkwi8ry%2BnTWTVoHytENGWfGlzOi58eoHdYMOICfZr5GlQmt7TpBySTUPNbLMTWXq2r5ukfRD9yNN4lNBDkmhAJQMLIJFCh177o8dIkIyg0wRetw52JQddiYBmCzXj8sJ4ljBkgiOrGqRGmJ%2BArJnGBkEMwR152mVTj7zoNTrviruLNGpdtow%2B%2F6KYwF2bGIm%2BRPhcQJ7&X-Amz-Signature=1d23b4e69e292f8b0b03afce2203ed1c2e82f65cd3cffca10c5ee51c5bfc1f2a&X-Amz-SignedHeaders=host\"\n                }\n            ],\n            \"submitted\": null\n        },\n        \"other\": {\n            \"files\": [],\n            \"submitted\": null\n        }\n    }\n}"}],"_postman_id":"f51fef47-249a-4474-a131-05970a4d68ac"}],"id":"229504bc-4947-4a78-ba65-9349171884b6","description":"<p>Abel's file upload service can ingest key financial documents, such as financial accounts and bank statments, processing them using OCR technology and feeding into our risk models.</p>\n<p>Documents can be uploaded by first retrieving an upload ULR (<a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e378e6d2-8ec0-415f-9412-cdb9288a9c51?ctx=documentation\">getUploadURL</a>) and then writing the file to that location in the AWS S3 bucket (<a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-0da03be0-ff20-47b6-b23b-029c3d151d97?ctx=documentation\">uploadFile</a>).</p>\n<p>Once all documents of a given type have been uploaded, you can submit these for processing via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e85d6110-e436-4792-ac34-f3fed6aa6cff?ctx=documentation\">submitUploadsByType</a> endpoint.</p>\n<p><strong>Note, there is no automated way to upload additional documents once they have been submitted. It is advised that a review is conducted by Operations or the Broking team to ensure the correct documents have been uploaded prior to submission.</strong></p>\n<p>Once submitted, the documents will be processed using OCR technology and prepared for further processing. This is an asynchronous process; once complete, a <code>documents-processed</code> event will be triggered, specifying the document type.</p>\n<p>The original copy of the documents can also be downloaded for manual underwriting review. They can be accessed by calling the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-f51fef47-249a-4474-a131-05970a4d68ac?ctx=documentation\">getUploadedDocuments</a> endpoint, and retrieving them from the provided URLs.</p>\n<h4 id=\"available-upload-types\">Available upload types</h4>\n<ul>\n<li>financial-accounts</li>\n<li>bank-statements</li>\n<li>other</li>\n</ul>\n","_postman_id":"229504bc-4947-4a78-ba65-9349171884b6"},{"name":"Affordability and Risk","item":[{"name":"runAffordabilityProcessing","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"6a2cc61c-e5bc-4ef6-8e7f-10afa9c4ed6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/run-affordability-processing","description":"<p><strong>Note, affordability processes can only be run after financial documents have been submitted and processed.</strong> Subscribe to the <code>documents-processed</code> event to be notified when all processing has been complete.</p>\n<p>Once the customer's financial information has been processed, you can invoke the affordability service by calling the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-6a2cc61c-e5bc-4ef6-8e7f-10afa9c4ed6b?ctx=documentation\">runAffordabilityProcessing</a> endpoint.</p>\n<p>This endpoint uses the Abel Affordability models to analyse a customers affordability score, and runs the additional customer information through the risk rulesets to generate the final firm offers.</p>\n<p>This process is asynchronous, and you will receive webhook requests for each of the processes</p>\n<ul>\n<li>Affordability sheets generation - type <code>ACTION_COMPLETED</code>, category <code>AFFORDABILITY</code>, action <code>generate_affordability_sheets</code></li>\n<li>Firm offer rules - type <code>ACTION_COMPLETED</code>, category <code>RISK</code>, action <code>process_firm_offer_rules</code></li>\n</ul>\n<p>Once the process has completed, you can view the Affordability and rulset results programmatically via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-729f6c6f-fc38-458f-978e-bfe5701b9fde?ctx=documentation\">getRiskData</a> endpoint, or download the results in a .csv format via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-d4a947e7-2da1-424a-b2f2-375b98a269d4?ctx=documentation\">getAffordabilitySheets</a> endpoint.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The Companies House number of the company you wish to create.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","run-affordability-processing"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1642426d-7e60-448a-8d98-7a7ac20315b8","name":"runAffordabilityProcessing","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/run-affordability-processing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 14 Mar 2023 13:38:25 GMT"},{"key":"x-amzn-RequestId","value":"ffb2de34-c4e1-4e03-964b-aee54d9b9445"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BxfQyH60rPEFntQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-641078d1-15768a01063ab8a1105fb5e6;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 78a48d8d46b0e5cf69ec8a7f633776e0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"CDG52-P1"},{"key":"X-Amz-Cf-Id","value":"Bd6nluKCVt-4iAfy9FyexssJiRvK1W_xUGif89rwAGE4abdp7zHt0w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"6a2cc61c-e5bc-4ef6-8e7f-10afa9c4ed6b"},{"name":"getRiskData","id":"729f6c6f-fc38-458f-978e-bfe5701b9fde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"{{baseUrl}}/api/v1/decisioning/get-risk-data?companyId={{company_id}}&offerType=quickOffer","description":"<p>Endpoint to retrieve the results of the risk rulesets.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerType</code> (string) <em>OPTIONAL</em><br />The type of offer. Allowed values: \"quickOffer\", \"firmOffer\". Default value: \"quickOffer\".</p>\n<hr />\n<p><code>applicationId</code> (string): <em>OPTIONAL</em><br />The ID of the application. If not provided, only the results for the open application will be returned. If there are no open applications, the request will fail.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>If a client doesn't have open application</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": false,\n    \"message\": \"Open application not found\",\n    \"result\": {}\n}json\n\n</code></pre>\n<p>If a Quick Offer is ready to review the enpoint return 2 sections:</p>\n<h4 id=\"summary-section\"><strong>Summary section</strong></h4>\n<p>contains results of 2 base products FastTrack and Standard. The subresults are the same for all products and contains results for all terms 12-60 months.</p>\n<img src=\"https://content.pstmn.io/88936572-3dd1-4469-a83c-f706771c365f/aW1hZ2UucG5n\" alt=\"Collapsed%20view%20\" width=\"436\" height=\"334\" />\n\n<img src=\"https://content.pstmn.io/69848301-31bb-4f86-9cea-db0f1351a7f3/aW1hZ2UucG5n\" width=\"236\" height=\"358\" />\n\n<p>Each term has status ( FAILED or PASSED ) and resuls of the special rules or few rules based on below setings</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-python\">    summary_elements = {\n        12: [\"Delphi_Cashflow_Score\"],\n        24: [\"Delphi_Cashflow_Score\", \"Minimum_Requested_Amount_24\"],\n        36: [\"Delphi_Cashflow_Score\", \"Minimum_Requested_Amount_36\", \"Max_PD\"],\n        48: [\"Delphi_Cashflow_Score\", \"Minimum_Requested_Amount_48\", \"Max_PD\"],\n        60: [\"Delphi_Cashflow_Score\", \"Minimum_Requested_Amount_60\", \"Max_PD\"],\n    }\n\n</code></pre>\n<h4 id=\"rules-section\"><strong>Rules section</strong></h4>\n<p>Contains results data and base settings for each rule, organised by product variant (e.g. Term) as shown in the image below.</p>\n<img src=\"https://content.pstmn.io/c5eee978-9546-4bf9-89de-889f2f2fcf11/aW1hZ2UucG5n\" width=\"451\" height=\"414\" />\n\n<h4 id=\"parameters\"><strong>Parameters</strong></h4>\n<hr />\n<p><code>route</code> (string)<br />Denotes whether the ruleset relates to standard or fast track approval routes.</p>\n<hr />\n<p><code>value</code> (string)<br />Declares the results of the rule.</p>\n<hr />\n<p><code>displayName</code> (string)<br />Name of the rule in human readable format. For use in UI.</p>\n<hr />\n<p><code>ruleName</code> (string)<br />Name of the rule as declared in the system.</p>\n<hr />\n<p><code>product</code> (string)<br />Denotes the offer type applicable for this rule object. Valid values include <code>quick_offer</code> and <code>firm_offer</code></p>\n<hr />\n<p><code>loanPeriod</code> (string)<br />Denotes the loan periods for which the ruleset is applicable.</p>\n<hr />\n<p><code>passed</code> (boolean)<br />Declares whether a ruleset criteria has been passed. Valid values are TRUE, if a company has successfully met the rule criteria, or FAILED, if they have not.</p>\n<hr />\n<p><code>ruleType</code> (string)<br />Denotes the severity of the rule. Valid values include <code>hard</code> or <code>soft</code>.</p>\n<hr />\n<p><code>unitType</code> (string)<br />Declares the results of the rule.</p>\n<hr />\n<p><code>status</code> (string)<br />Denotes the status of the rule. Valid values are dependent on rule type. <code>hard</code> rules can have the status PASSED or FAILED; <code>soft</code> rules can have the status PASSED or REFER.</p>\n<hr />\n<p><code>ruleLimit</code> (string)<br />Denotes the threshold value or setting determining if a rule has passed or failed. Dependent on unitType.</p>\n<hr />\n<img src=\"https://content.pstmn.io/15e5ff22-eb95-4aef-ac5c-79f3611cd870/aW1hZ2UucG5n\" width=\"464\" height=\"397\" />\n\n<p>More information about details of each ruleset has been described in \"rules\" section in our Risk Documentation.</p>\n<p>A full example repsonse is included below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"summary\": {\n            \"FastTrack\": {\n                \"term_12\": {\n                    \"term\": 12,\n                    \"status\": \"PASSED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Delphi Cashflow Score\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        }\n                    ]\n                },\n                \"term_24\": {\n                    \"term\": 24,\n                    \"status\": \"PASSED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Delphi Cashflow Score\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £50.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_24\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"10000\"\n                        }\n                    ]\n                },\n                \"term_36\": {\n                    \"term\": 36,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Delphi Cashflow Score\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"Probability of Default\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.1\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_36\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                36\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                },\n                \"term_48\": {\n                    \"term\": 48,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Delphi Cashflow Score\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"Probability of Default\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.1\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_48\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                48\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                },\n                \"term_60\": {\n                    \"term\": 60,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Delphi Cashflow Score\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"Probability of Default\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12,\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.1\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_60\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                60\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                }\n            },\n            \"Standard\": {\n                \"term_12\": {\n                    \"term\": 12,\n                    \"status\": \"PASSED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Cashflow score above 8\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                12\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"8\"\n                        }\n                    ]\n                },\n                \"term_24\": {\n                    \"term\": 24,\n                    \"status\": \"PASSED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Cashflow score above 12\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £50.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_24\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"10000\"\n                        }\n                    ]\n                },\n                \"term_36\": {\n                    \"term\": 36,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Cashflow score above 12\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"PD =&lt; 5%\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.05\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_36\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                36\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                },\n                \"term_48\": {\n                    \"term\": 48,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Cashflow score above 12\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"PD =&lt; 5%\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.05\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_48\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                48\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                },\n                \"term_60\": {\n                    \"term\": 60,\n                    \"status\": \"FAILED\",\n                    \"rules\": [\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"56\",\n                            \"displayName\": \"Cashflow score above 12\",\n                            \"ruleName\": \"Delphi_Cashflow_Score\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                24,\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"12\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\"\n                            ],\n                            \"value\": \"0.027\",\n                            \"displayName\": \"PD =&lt; 5%\",\n                            \"ruleName\": \"Max_PD\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                36,\n                                48,\n                                60\n                            ],\n                            \"passed\": true,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"float\",\n                            \"status\": \"PASSED\",\n                            \"ruleLimit\": \"0.05\"\n                        },\n                        {\n                            \"route\": [\n                                \"Standard\",\n                                \"FastTrack\"\n                            ],\n                            \"value\": \"10000.0\",\n                            \"displayName\": \"Minimum loan size £100.000\",\n                            \"ruleName\": \"Minimum_Requested_Amount_60\",\n                            \"product\": \"quick_offer\",\n                            \"loanPeriods\": [\n                                60\n                            ],\n                            \"passed\": false,\n                            \"ruleType\": \"hard\",\n                            \"unitType\": \"number\",\n                            \"status\": \"FAILED\",\n                            \"ruleLimit\": \"100000\"\n                        }\n                    ]\n                }\n            }\n        },\n        \"rules\": [\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Company_Active\",\n                \"unitType\": \"text\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"active\",\n                \"displayName\": \"Company is active\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"active\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Director_Insolvency\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"No directorships linked to insolvent businesses in Last 2yrs\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"No_Phoenix_Company_in_last_2-5_Years\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"No Phoenix Company in last 2-5 Years\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Accounts_filing\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2022-05-04\",\n                \"displayName\": \"Accounts filing in L36M\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"2020-05-05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Accounts_filing\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2022-05-04\",\n                \"displayName\": \"Accounts filing in L18M'-alert(1)-'\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"2021-11-03\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Director_Insolvency_2_5_Years\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"Director Insolvency 2-5 Years\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Account_filings_counter\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"4\",\n                \"displayName\": \"At least 2 Account filings\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"2\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Legal_Entity_LTD\",\n                \"unitType\": \"text\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"ltd\",\n                \"displayName\": \"Legal Entity LTD\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"ltd\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Ineligible_Company\",\n                \"unitType\": \"text\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"Not listed\",\n                \"displayName\": \"Ineligible Company Type\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"Not listed\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Account_Exists\",\n                \"unitType\": \"text\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"Account exists\",\n                \"displayName\": \"Account exists\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"Account exists\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Dormant_Accounts_L36M\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"No Dormant Accounts L36M\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"No_Phoenix_Company_2_Years\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"No Phoenix Company 2 Years\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Ineligible_Industry_Type\",\n                \"unitType\": \"text\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"Eligible Industry\",\n                \"displayName\": \"Ineligible Industry Type\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"Eligible Industry\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Company_Country\",\n                \"unitType\": \"range\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"11\",\n                \"displayName\": \"UK Registered Business\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"{\\\"FC\\\",\\\"BR\\\",\\\"NI\\\"}\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Incorporation_Date_Check\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2018-04-04\",\n                \"displayName\": \"Incorporation date of the company\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"2021-11-11\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Incorporation_Date_Check\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2018-04-04\",\n                \"displayName\": \"Incorporation date of the company\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24\n                ],\n                \"ruleLimit\": \"2020-05-05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Incorporation_Date_Check\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2018-04-04\",\n                \"displayName\": \"Incorporation date of the company\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    36\n                ],\n                \"ruleLimit\": \"2020-05-05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Incorporation_Date_Check\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2018-04-04\",\n                \"displayName\": \"Incorporation date of the company\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    48\n                ],\n                \"ruleLimit\": \"2020-05-05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CH_Incorporation_Date_Check\",\n                \"unitType\": \"days\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"2018-04-04\",\n                \"displayName\": \"Incorporation date of the company\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    60\n                ],\n                \"ruleLimit\": \"2020-05-05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Dormant_Accounts_L18M\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"False\",\n                \"displayName\": \"No Dormant Accounts L18M\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Minimum_Turnover_Declared\",\n                \"unitType\": \"GBP\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"1000000\",\n                \"displayName\": \"Minimum Turnover Declared\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100000\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"CCJ_value_in_L24-L12M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ value in L24-L12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"1000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Minority_Shareholder_Forbidden_Countries\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Minority shareholder is from Unacceptable Risk country\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Minority_Shareholders_is_from_Risk_Country\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Minority Shareholders is from High Medium Risk Country\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CAIS_Default_value_in_L12M_24M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CAIS Default value in L12M 24M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"1000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Intercompany_Loans_15_50_Procent\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Intercompany loans 15%-50%\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Intercompany_Loans_Over_50_Procent\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Intercompany Loans Over 50%\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"false\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Majority_Shareholders_Are_Residing_In_The_UK_Holding\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Majority Shareholders Are Residing In The UK - Holding Company\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"true\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Current_Worst_CAIS_Status_Hard\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Current Worst CAIS Status Hard\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CAIS_Default_value_in_L12M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CAIS Default value in L12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Current_Worst_CAIS_Status\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Current Worst CAIS Status\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Positive_Net_Current_Assets\",\n                \"unitType\": \"GBP\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Positive Net Current Assets\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CAIS_Default_value_in_L24M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CAIS Default value in L24M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"100\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CAIS_Default_in_L48-L12M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CAIS Default in L48-L12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"0\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Minimum_Turnover_Credit_Experian\",\n                \"unitType\": \"GBP\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Turnover L12M (Asset Proxy)\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"43000000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Holding_Company_Delphi_score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Holding Company Delphi score\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"35\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Majority_Shareholder_Is_a_UK_Resident\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Majority Shareholder (&gt;=51%) is a UK resident\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"true\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"UK_Registered_Holding_Company\",\n                \"unitType\": \"range\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"UK Registered Business (Holding company)\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"{\\\"FC\\\",\\\"BR\\\",\\\"NI\\\"}\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Number_Employees\",\n                \"unitType\": \"range_number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Employees Number\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"2-250\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Business_Current_Ratio\",\n                \"unitType\": \"float\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Business Current Ratio\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0.9\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Delphi_Cashflow_Score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"56\",\n                \"displayName\": \"Delphi Cashflow Score\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"12\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Minimum_Turnover_Cato\",\n                \"unitType\": \"range_number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Turnover L12M (CATO)\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100000-50000000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Positive_Shareholder_Equity\",\n                \"unitType\": \"GBP\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Positive Shareholder Equity\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Bounced_Payments_Last_6M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Bounced payments Last 6M (CATO)\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"2\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Value_CCJs_Last12Months\",\n                \"unitType\": \"GBP\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ Value in last 12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"1000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Commercial_Arrears_In_L12M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"Commercial arrears in last 12 Months\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"2\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Value_CCJs_Last24Months\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ Value in last 24M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CCJ_value_in_L24-L12M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ value in L24-L12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"100\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"CCJ_value_in_L24M\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ value in L24M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"1000\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Value_CCJs_Last12Months\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"-\",\n                \"displayName\": \"CCJ Value in last 12M\",\n                \"status\": \"NOT_RUN\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"1000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Delphi_Cashflow_Score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"56\",\n                \"displayName\": \"Cashflow score above 8\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12\n                ],\n                \"ruleLimit\": \"8\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Delphi_Cashflow_Score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"56\",\n                \"displayName\": \"Cashflow score above 12\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"12\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Commercial_Delphi_Score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"40\",\n                \"displayName\": \"CAIS Delphi score\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"30\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Commercial_Delphi_Score\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"40\",\n                \"displayName\": \"CAIS Delphi score\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"17\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Max_Fast_Track_Amount\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"10000.0\",\n                \"displayName\": \"Max Fast Track Amount\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"100000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Minimum_Requested_Amount_24\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"10000.0\",\n                \"displayName\": \"Minimum loan size £50.000\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    24\n                ],\n                \"ruleLimit\": \"10000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Minimum_Requested_Amount_36\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"10000.0\",\n                \"displayName\": \"Minimum loan size £100.000\",\n                \"status\": \"FAILED\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    36\n                ],\n                \"ruleLimit\": \"100000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Minimum_Requested_Amount_48\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"10000.0\",\n                \"displayName\": \"Minimum loan size £100.000\",\n                \"status\": \"FAILED\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    48\n                ],\n                \"ruleLimit\": \"100000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Minimum_Requested_Amount_60\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"10000.0\",\n                \"displayName\": \"Minimum loan size £100.000\",\n                \"status\": \"FAILED\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    60\n                ],\n                \"ruleLimit\": \"100000\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Application_Data_Net_Profit\",\n                \"unitType\": \"number\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"500000\",\n                \"displayName\": \"Application Data Net Profit\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0\"\n            },\n            {\n                \"route\": [\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"Max_PD\",\n                \"unitType\": \"float\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"0.027\",\n                \"displayName\": \"Probability of Default\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0.1\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Max_PD\",\n                \"unitType\": \"float\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"0.027\",\n                \"displayName\": \"PD =&lt; 5%\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0.05\"\n            },\n            {\n                \"route\": [\n                    \"Standard\"\n                ],\n                \"ruleName\": \"Lead_Scoring_Rule\",\n                \"unitType\": \"float\",\n                \"ruleType\": \"hard\",\n                \"product\": \"quick_offer\",\n                \"value\": \"No Data\",\n                \"displayName\": \"Lead Scoring Rule\",\n                \"status\": \"REFER\",\n                \"passed\": false,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"0.067\"\n            },\n            {\n                \"route\": [\n                    \"Standard\",\n                    \"FastTrack\"\n                ],\n                \"ruleName\": \"All_Directors_UK_Residents\",\n                \"unitType\": \"boolean\",\n                \"ruleType\": \"soft\",\n                \"product\": \"quick_offer\",\n                \"value\": \"True\",\n                \"displayName\": \"All directors are UK residents\",\n                \"status\": \"PASSED\",\n                \"passed\": true,\n                \"loanPeriods\": [\n                    12,\n                    24,\n                    36,\n                    48,\n                    60\n                ],\n                \"ruleLimit\": \"true\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","decisioning","get-risk-data"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"offerType","value":"quickOffer"}],"variable":[]}},"response":[],"_postman_id":"729f6c6f-fc38-458f-978e-bfe5701b9fde"},{"name":"getAffordabilitySheets","id":"d4a947e7-2da1-424a-b2f2-375b98a269d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"{{baseUrl}}/api/v1/decisioning/get-affordability-sheets?companyId={{company_id}}&versions=true","description":"<p>An endpoint to retrieve affordability analysis of a given customer in a .csv file format.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string) <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>applicationId</code> (string): <em>OPTIONAL</em><br />If provided, it will only return the result for this specific application.</p>\n<hr />\n<p><code>versions</code> (boolean): <em>OPTIONAL</em><br />If set to true, all versions of the sheets will be returned.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an object where the keys are <code>applicationIds</code>, and the values are arrays of sheet objects.</p>\n<p>A sheet object contains the following properties:</p>\n<hr />\n<p><code>filename</code> (string)<br />The name of the sheet.</p>\n<hr />\n<p><code>lastModified</code> (datetime)<br />The date and time when the sheet was last modified.</p>\n<hr />\n<p><code>size</code> (number)<br />The size of the sheet.</p>\n<hr />\n<p><code>downloadLink</code> (string)<br />The URL for downloading the sheet.</p>\n<hr />\n<p><code>versions</code> (array)<br />An array containing versions of the sheet.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-affordability-sheets"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"versions","value":"true"}],"variable":[]}},"response":[{"id":"6f103cfd-9cc2-4f79-a20c-e622d1108ec8","name":"getAffordabilitySheets","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-affordability-sheets?companyId=3055356223458117123&versions=false&applicationId=3058291873903806406","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-affordability-sheets"],"query":[{"key":"companyId","value":"3055356223458117123"},{"key":"versions","value":"false"},{"key":"applicationId","value":"3058291873903806406"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4622"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 14 Mar 2023 16:13:27 GMT"},{"key":"x-amzn-RequestId","value":"e30b2168-9978-41d6-b547-6ec8eb183dd5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bx1-EFfOrPEFyhw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64109d26-69ed1a1e66667e4b7fa68244;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 a8f77777c0752dad31367fbd24424a90.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"iNY1BFoQoSK8OluepXJbyxAG5BZXn04rGwsLDmVDep9ayRwZuLJfmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"3058291873903806406\": [\n            {\n                \"filename\": \"AffordabilityfromP&LProposal.xlsx\",\n                \"lastModified\": \"2023-03-14T13:38:53+00:00\",\n                \"size\": 120341,\n                \"downloadLink\": \"https://dev-company-sheets-90a151a.s3.amazonaws.com/test982/3058291873106888642/3058291873903806406/AffordabilityfromP%26LProposal.xlsx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7CP67IXK5%2F20230314%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230314T161327Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjECAaCWV1LXdlc3QtMiJHMEUCIQD1a6OqkowhVVlSRvO6j3OwP3YMUFFFkg3Qz5f%2FPvBYJAIgNZWfuJF3wJVvUJBHuN4XWn8uPVaWf2oWeyn4iQGegAAqlgMI2f%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDD0OaDxWWhoIZjcdmirqAvyEmaxHVLwkAsuGG4%2FHMUx1rZgJvbG7r7O4cDZlvBqji9EkCR3gOyIzQnQjvzU21LvCOV3q1htSPnnWaJ3vcFGyQbTS3lN0n6fCcew9vH0zQAkNRbU%2Baw28LYY91jNgVAbheT70qXV9KLjun3Vqq5JsUQVDszwIJNELtI2fJBJIwoNcQMSyNs9ZjeaNTRWRNUGYLWKUE%2FGVovlfvuw5c%2FheQbsQO6Vh806ZBrz%2Fm6HLJQXOcKivN0fYVWi2umklJaED2BOw8CVXKVXNXMJtPNhYAsHnxQP5BveYB1NAyz%2FQ0K0lM8ly%2BaKvwEMz%2BeBk5IT%2BftGmqCMRkK5hWHwczjAJIKeLYvVVd1O%2BCwE9GzIYtklSCQyiB%2By5NxxCR92Ndcs%2BmITfABCUkEc0RRrd4LqMrr41pXuTTY%2BwfXGyQqMRTWfIqCKGEhzi2pNnXS4kJ3gwMoWZYIHa8%2BMAIdAEDrnrPg1Z4wCKT8BOMMumwqAGOp0BjQ5lV2zhZJRwy2%2F0vSQMXZwWtoIyjIrE9iXB4YWTGKHU19x6YhuGgN3P6YghFT5E5v0SXWPhRETM6h9HQx6p2fReWf7IMwmjJqb5MScdPHAFNsckWlVChOyIVexdWSPJTV0Tz7AVBt4NhCSogZd47r0YqjuY8Ig1uaTpVbOvOz0o3y1ynOBoYQXUyqNS%2B8rWQgwirG2WCVYXaYJT5w%3D%3D&X-Amz-Signature=e76d69dbdb192a8e18677b29358a1bb46fc7a4dbac09632855c6ced0db59cb91\",\n                \"versions\": []\n            },\n            {\n                \"filename\": \"KYCKYBChecklist.xlsx\",\n                \"lastModified\": \"2023-03-14T13:38:55+00:00\",\n                \"size\": 93496,\n                \"downloadLink\": \"https://dev-company-sheets-90a151a.s3.amazonaws.com/test982/3058291873106888642/3058291873903806406/KYCKYBChecklist.xlsx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7CP67IXK5%2F20230314%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230314T161327Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjECAaCWV1LXdlc3QtMiJHMEUCIQD1a6OqkowhVVlSRvO6j3OwP3YMUFFFkg3Qz5f%2FPvBYJAIgNZWfuJF3wJVvUJBHuN4XWn8uPVaWf2oWeyn4iQGegAAqlgMI2f%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDD0OaDxWWhoIZjcdmirqAvyEmaxHVLwkAsuGG4%2FHMUx1rZgJvbG7r7O4cDZlvBqji9EkCR3gOyIzQnQjvzU21LvCOV3q1htSPnnWaJ3vcFGyQbTS3lN0n6fCcew9vH0zQAkNRbU%2Baw28LYY91jNgVAbheT70qXV9KLjun3Vqq5JsUQVDszwIJNELtI2fJBJIwoNcQMSyNs9ZjeaNTRWRNUGYLWKUE%2FGVovlfvuw5c%2FheQbsQO6Vh806ZBrz%2Fm6HLJQXOcKivN0fYVWi2umklJaED2BOw8CVXKVXNXMJtPNhYAsHnxQP5BveYB1NAyz%2FQ0K0lM8ly%2BaKvwEMz%2BeBk5IT%2BftGmqCMRkK5hWHwczjAJIKeLYvVVd1O%2BCwE9GzIYtklSCQyiB%2By5NxxCR92Ndcs%2BmITfABCUkEc0RRrd4LqMrr41pXuTTY%2BwfXGyQqMRTWfIqCKGEhzi2pNnXS4kJ3gwMoWZYIHa8%2BMAIdAEDrnrPg1Z4wCKT8BOMMumwqAGOp0BjQ5lV2zhZJRwy2%2F0vSQMXZwWtoIyjIrE9iXB4YWTGKHU19x6YhuGgN3P6YghFT5E5v0SXWPhRETM6h9HQx6p2fReWf7IMwmjJqb5MScdPHAFNsckWlVChOyIVexdWSPJTV0Tz7AVBt4NhCSogZd47r0YqjuY8Ig1uaTpVbOvOz0o3y1ynOBoYQXUyqNS%2B8rWQgwirG2WCVYXaYJT5w%3D%3D&X-Amz-Signature=c54ebbebf8e3e8dd808ae0aeba4ed6d1c10b584a37c25eadb0a6dee77d57241a\",\n                \"versions\": []\n            },\n            {\n                \"filename\": \"UWTemplateNewChecklist.xlsx\",\n                \"lastModified\": \"2023-03-14T13:38:57+00:00\",\n                \"size\": 81878,\n                \"downloadLink\": \"https://dev-company-sheets-90a151a.s3.amazonaws.com/test982/3058291873106888642/3058291873903806406/UWTemplateNewChecklist.xlsx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6JLRQTX7CP67IXK5%2F20230314%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230314T161327Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjECAaCWV1LXdlc3QtMiJHMEUCIQD1a6OqkowhVVlSRvO6j3OwP3YMUFFFkg3Qz5f%2FPvBYJAIgNZWfuJF3wJVvUJBHuN4XWn8uPVaWf2oWeyn4iQGegAAqlgMI2f%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw5ODIxNzQ5NjUyNDYiDD0OaDxWWhoIZjcdmirqAvyEmaxHVLwkAsuGG4%2FHMUx1rZgJvbG7r7O4cDZlvBqji9EkCR3gOyIzQnQjvzU21LvCOV3q1htSPnnWaJ3vcFGyQbTS3lN0n6fCcew9vH0zQAkNRbU%2Baw28LYY91jNgVAbheT70qXV9KLjun3Vqq5JsUQVDszwIJNELtI2fJBJIwoNcQMSyNs9ZjeaNTRWRNUGYLWKUE%2FGVovlfvuw5c%2FheQbsQO6Vh806ZBrz%2Fm6HLJQXOcKivN0fYVWi2umklJaED2BOw8CVXKVXNXMJtPNhYAsHnxQP5BveYB1NAyz%2FQ0K0lM8ly%2BaKvwEMz%2BeBk5IT%2BftGmqCMRkK5hWHwczjAJIKeLYvVVd1O%2BCwE9GzIYtklSCQyiB%2By5NxxCR92Ndcs%2BmITfABCUkEc0RRrd4LqMrr41pXuTTY%2BwfXGyQqMRTWfIqCKGEhzi2pNnXS4kJ3gwMoWZYIHa8%2BMAIdAEDrnrPg1Z4wCKT8BOMMumwqAGOp0BjQ5lV2zhZJRwy2%2F0vSQMXZwWtoIyjIrE9iXB4YWTGKHU19x6YhuGgN3P6YghFT5E5v0SXWPhRETM6h9HQx6p2fReWf7IMwmjJqb5MScdPHAFNsckWlVChOyIVexdWSPJTV0Tz7AVBt4NhCSogZd47r0YqjuY8Ig1uaTpVbOvOz0o3y1ynOBoYQXUyqNS%2B8rWQgwirG2WCVYXaYJT5w%3D%3D&X-Amz-Signature=15e37837ae0b676a21ac23c2f97d60d3ec2289d8c369c8da6c5419078fc439c9\",\n                \"versions\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"d4a947e7-2da1-424a-b2f2-375b98a269d4"}],"id":"6cf14f2e-f4af-41f0-8dd2-92d21e36ad06","_postman_id":"6cf14f2e-f4af-41f0-8dd2-92d21e36ad06","description":""},{"name":"Applications","item":[{"name":"getApplications","id":"37129789-8f2c-4c0f-90ff-32735e50bfeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"{{baseUrl}}/api/v1/decisioning/get-applications?companyId={{company_id}}&open=false","description":"<p>Endpoint to retrieve applications for a given company.</p>\n<h3 id=\"request-query-parameters\">Request query parameters</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>open</code> (boolean): <em>OPTIONAL</em><br />If provided and set to true, it will only return open applications.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an array of application objects. Each application object contains the following properties:</p>\n<hr />\n<p><code>applicationId</code> (string):<br />The ID of the application.</p>\n<hr />\n<p><code>tradingAddress</code> (string):<br />The trading address of the company.</p>\n<hr />\n<p><code>tradingAddressPostcode</code> (string):<br />The postcode of the trading address.</p>\n<hr />\n<p><code>website</code> (string):<br />The website URL of the company.</p>\n<hr />\n<p><code>tradingName</code> (string):<br />The trading name of the company.</p>\n<hr />\n<p><code>tradesOutsideUk</code> (boolean):<br />Indicates whether the company trades outside the UK.</p>\n<hr />\n<p><code>fasttrackRoutePass</code> (boolean):<br />Indicates if the application has passed the fast track route.</p>\n<hr />\n<p><code>standardRoutePass</code> (boolean):<br />Indicates if the application has passed the standard route.</p>\n<hr />\n<p><code>isFasttrackRoute</code> (boolean):<br />Indicates if the application is eligible for the fast track route.</p>\n<hr />\n<p><code>defaultProbability</code> (number):<br />The default probability score.</p>\n<hr />\n<p><code>defaultProbabilityBlendedModel</code> (number):<br />The default probability score from the blended model.</p>\n<hr />\n<p><code>defaultProbabilityExperian</code> (number):<br />The default probability score from Experian.</p>\n<hr />\n<p><code>closedAt</code> (date):<br />The date when the application was closed. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>submittedAt</code> (date):<br />The date when the application was submitted. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>createdAt</code> (date):<br />The date when the application was created. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>updatedAt</code> (date):<br />The date when the application was last updated. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>desiredAmount</code> (number):<br />The desired funding amount.</p>\n<hr />\n<p><code>declaredBrokerEmail</code> (string):<br />The email address of the declared broker.</p>\n<hr />\n<p><code>reasonForFunding</code> (string):<br />The reason for funding.</p>\n<hr />\n<p><code>cashflowScore</code> (number):<br />The cashflow score.</p>\n<hr />\n<p><code>leadScoringScore</code> (number):<br />The lead scoring score.</p>\n<hr />\n<p><code>tradesWithRestrictedCountries</code> (boolean):<br />Indicates whether the company trades with restricted countries.</p>\n<hr />\n<p><code>forwardLookingScalar</code> (number):<br />The forward-looking scalar.</p>\n<hr />\n<p><code>delphiScore</code> (number):<br />The Delphi score.</p>\n<hr />\n<p><code>declaredTurnover</code> (number):<br />The declared turnover of the company.</p>\n<hr />\n<p><code>isSme</code> (boolean):<br />Indicates whether the company is an SME (Small and Medium-sized Enterprise).</p>\n<hr />\n<p><code>detailedLoanPurpose</code> (string):<br />The detailed purpose of the loan.</p>\n<hr />\n<p><code>costPreference</code> (string):<br />The customer's repayment preference.</p>\n<hr />\n<p><code>tradesMostlyAbroad</code> (boolean):<br />Indicates whether the company mostly trades abroad.</p>\n<hr />\n<p><code>accountEndDate</code> (date):<br />The end date of the company's accounting period. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>accountDepreciation</code> (number):<br />The depreciation amount in the company's accounts.</p>\n<hr />\n<p><code>accountAmortisation</code> (number):<br />The amortisation amount in the company's accounts.</p>\n<hr />\n<p><code>netProfit</code> (number):<br />The net profit of the company.</p>\n<hr />\n<p><code>otherAccountOperatingIncome</code> (number):<br />The operating income from other accounts.</p>\n<hr />\n<p><code>closureReason</code> (string):<br />The reason for application closure.</p>\n<hr />\n<p><code>turnoverCato</code> (number):<br />The turnover Cato score.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-applications"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"open","value":"false"}],"variable":[]}},"response":[{"id":"6ad5453a-584b-4f83-b7e2-5c2356dda2e8","name":"getApplications","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-applications?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-applications"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3452"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 18 Mar 2023 21:12:33 GMT"},{"key":"x-amzn-RequestId","value":"19f320f4-97ce-4df0-9e64-cb31af50881c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"B_thcEZ5LPEFjuQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6416293c-2d9ee638611aacaa49da58d9;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 8cbc26e2bd6bdffe912d067e513f8b2c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"y-MeRlH3iKeGKffCeCKj9w11BHTFCu2c6BCL74zYYUHqDLOEAk3vDQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": [\n        {\n            \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n            \"tradingAddressPostcode\": \"S71 2LG\",\n            \"website\": \"www.test.com\",\n            \"tradingName\": \"SAUK UTILITIES LIMITED\",\n            \"tradesOutsideUk\": false,\n            \"applicationId\": \"3061411507687392947\",\n            \"fasttrackRoutePass\": true,\n            \"standardRoutePass\": true,\n            \"isFasttrackRoute\": true,\n            \"defaultProbability\": 0.0056,\n            \"defaultProbabilityBlendedModel\": null,\n            \"defaultProbabilityExperian\": 0.0056,\n            \"closedAt\": null,\n            \"createdAt\": \"2023-03-18T19:45:12.448491\",\n            \"updatedAt\": \"2023-03-18T19:46:19.905315\",\n            \"desiredAmount\": 30000,\n            \"declaredBrokerEmail\": \"broker@x.com\",\n            \"reasonForFunding\": \"Purchase\",\n            \"closureReason\": \"\",\n            \"cashflowScore\": null,\n            \"leadScoringScore\": null,\n            \"tradesWithRestrictedCountries\": false,\n            \"forwardLookingScalar\": null,\n            \"delphiScore\": null,\n            \"declaredTurnover\": 1000000,\n            \"isSme\": true,\n            \"detailedLoanPurpose\": \"Car\",\n            \"costPreference\": \"lowestMonthlyRepayment\",\n            \"tradesMostlyAbroad\": false,\n            \"turnoverCato\": null,\n            \"accountEndDate\": null,\n            \"accountDepreciation\": null,\n            \"accountAmortisation\": null,\n            \"netProfit\": null,\n            \"otherAccountOperatingIncome\": null\n        },\n        {\n            \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n            \"tradingAddressPostcode\": \"S71 2LG\",\n            \"website\": \"www.test.com\",\n            \"tradingName\": \"SAUK UTILITIES LIMITED\",\n            \"tradesOutsideUk\": false,\n            \"applicationId\": \"3061401394759075416\",\n            \"fasttrackRoutePass\": true,\n            \"standardRoutePass\": true,\n            \"isFasttrackRoute\": true,\n            \"defaultProbability\": 0.0056,\n            \"defaultProbabilityBlendedModel\": null,\n            \"defaultProbabilityExperian\": 0.0056,\n            \"closedAt\": \"2023-03-18T19:44:57.935991+00:00\",\n            \"createdAt\": \"2023-03-18T19:25:07.016578\",\n            \"updatedAt\": \"2023-03-18T19:44:57.918636\",\n            \"desiredAmount\": 30000,\n            \"declaredBrokerEmail\": \"broker@x.com\",\n            \"reasonForFunding\": \"Purchase\",\n            \"closureReason\": \"Failed KYC\",\n            \"cashflowScore\": null,\n            \"leadScoringScore\": null,\n            \"tradesWithRestrictedCountries\": false,\n            \"forwardLookingScalar\": null,\n            \"delphiScore\": null,\n            \"declaredTurnover\": 1000000,\n            \"isSme\": true,\n            \"detailedLoanPurpose\": \"Car\",\n            \"costPreference\": \"lowestMonthlyRepayment\",\n            \"tradesMostlyAbroad\": false,\n            \"turnoverCato\": null,\n            \"accountEndDate\": null,\n            \"accountDepreciation\": null,\n            \"accountAmortisation\": null,\n            \"netProfit\": null,\n            \"otherAccountOperatingIncome\": null\n        },\n        {\n            \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n            \"tradingAddressPostcode\": \"S71 2LG\",\n            \"website\": \"www.test.com\",\n            \"tradingName\": \"SAUK UTILITIES LIMITED\",\n            \"tradesOutsideUk\": false,\n            \"applicationId\": \"3059938312186758778\",\n            \"fasttrackRoutePass\": true,\n            \"standardRoutePass\": true,\n            \"isFasttrackRoute\": true,\n            \"defaultProbability\": 0.0056,\n            \"defaultProbabilityBlendedModel\": null,\n            \"defaultProbabilityExperian\": 0.0056,\n            \"closedAt\": \"2023-03-17T12:17:40.079355+00:00\",\n            \"createdAt\": \"2023-03-16T18:58:13.986232\",\n            \"updatedAt\": \"2023-03-17T12:17:40.079355\",\n            \"desiredAmount\": 10000,\n            \"declaredBrokerEmail\": \"broker@x.com\",\n            \"reasonForFunding\": \"Making a purchase\",\n            \"closureReason\": \"\",\n            \"cashflowScore\": null,\n            \"leadScoringScore\": null,\n            \"tradesWithRestrictedCountries\": false,\n            \"forwardLookingScalar\": null,\n            \"delphiScore\": null,\n            \"declaredTurnover\": 1000000,\n            \"isSme\": true,\n            \"detailedLoanPurpose\": \"Car\",\n            \"costPreference\": \"lowestMonthlyRepayment\",\n            \"tradesMostlyAbroad\": false,\n            \"turnoverCato\": null,\n            \"accountEndDate\": \"2022-04-30\",\n            \"accountDepreciation\": 20000,\n            \"accountAmortisation\": 20000,\n            \"netProfit\": 500000,\n            \"otherAccountOperatingIncome\": 100000\n        }\n    ]\n}"}],"_postman_id":"37129789-8f2c-4c0f-90ff-32735e50bfeb"},{"name":"createApplication","id":"51825528-9f82-4322-b007-9bb970c5289b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"annualTurnover\": 1000000.0,\n    \"desiredAmount\": 30000.0,\n    \"tradesWithRestrictedCountries\": false,\n    \"tradesMostlyAbroad\": false,\n    \"isSme\": true,\n    \"reasonForFunding\": \"Purchase\",\n    \"detailedLoanPurpose\": \"Car\",\n    \"costPreference\": \"lowestMonthlyRepayment\",\n    \"netProfit\": 500000,\n    \"accountEndDate\": \"2022-04-30\",\n    \"accountDepreciation\": 20000,\n    \"accountAmortisation\": 20000,\n    \"otherAccountOperatingIncome\": 100000,\n    \"tradesOutsideUk\": false,\n    \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n    \"tradingAddressPostcode\": \"S71 2LG\",\n    \"tradingName\": \"SAUK UTILITIES LIMITED\",\n    \"website\": \"www.test.com\",\n    \"declaredBrokerEmail\": \"broker@x.com\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/create-application","description":"<p>An endpoint to create a new application for a given customer.</p>\n<p><strong>Note, an application is automatically created when a customer is first created.</strong> Use this endpoint when opening a subsequent application for an existing customer.</p>\n<h3 id=\"request-body\"><strong>Request body</strong></h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>annualTurnover</code> (number): <strong>REQUIRED</strong><br />The annual turnover of the company.</p>\n<hr />\n<p><code>desiredAmount</code> (number): <strong>REQUIRED</strong><br />The desired funding amount.</p>\n<hr />\n<p><code>tradesWithRestrictedCountries</code> (boolean): <strong>REQUIRED</strong><br />Indicates whether the company trades with restricted countries.</p>\n<hr />\n<p><code>tradesMostlyAbroad</code> (boolean): <strong>REQUIRED</strong><br />Indicates whether the company mostly trades abroad.</p>\n<hr />\n<p><code>isSme</code> (boolean): <strong>REQUIRED</strong><br />Indicates whether the company is an SME (Small and Medium-sized Enterprise).</p>\n<hr />\n<p><code>reasonForFunding</code> (string): <em>OPTIONAL</em><br />The reason for funding.</p>\n<hr />\n<p><code>detailedLoanPurpose</code> (string): <em>OPTIONAL</em><br />The detailed purpose of the loan.</p>\n<hr />\n<p><code>costPreference</code> (string): <em>OPTIONAL</em><br />The customer's repayment preference.</p>\n<hr />\n<p><code>netProfit</code> (number): <em>OPTIONAL</em><br />The net profit of the company.</p>\n<hr />\n<p><code>accountEndDate</code> (date): <em>OPTIONAL</em><br />The end date of the company's accounting period.</p>\n<hr />\n<p><code>accountDepreciation</code> (number): <em>OPTIONAL</em><br />The depreciation amount in the company's accounts.</p>\n<hr />\n<p><code>accountAmortisation</code> (number): <em>OPTIONAL</em><br />The amortisation amount in the company's accounts.</p>\n<hr />\n<p><code>otherAccountOperatingIncome</code> (number): <em>OPTIONAL</em><br />The operating income from other accounts.</p>\n<hr />\n<p><code>tradesOutsideUk</code> (boolean): <em>OPTIONAL</em><br />Indicates whether the company trades outside the UK.</p>\n<hr />\n<p><code>tradingAddress</code> (string): <em>OPTIONAL</em><br />The trading address of the company.</p>\n<hr />\n<p><code>tradingAddressPostcode</code> (string): <em>OPTIONAL</em><br />The postcode of the trading address.</p>\n<hr />\n<p><code>tradingName</code> (string): <em>OPTIONAL</em><br />The trading name of the company.</p>\n<hr />\n<p><code>website</code> (string): <em>OPTIONAL</em><br />The website URL of the company.</p>\n<hr />\n<p><code>declaredBrokerEmail</code> (string): <em>OPTIONAL</em><br />The email address of the declared broker.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","create-application"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3eb60b93-28b8-4451-a38e-a55f31bcb587","name":"createApplication","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"annualTurnover\": 1000000.0,\n    \"desiredAmount\": 30000.0,\n    \"tradesWithRestrictedCountries\": false,\n    \"tradesMostlyAbroad\": false,\n    \"isSme\": true,\n    \"reasonForFunding\": \"Purchase\",\n    \"detailedLoanPurpose\": \"Car\",\n    \"costPreference\": \"lowestMonthlyRepayment\",\n    \"netProfit\": 500000,\n    \"accountEndDate\": \"2022-04-30\",\n    \"accountDepreciation\": 20000,\n    \"accountAmortisation\": 20000,\n    \"otherAccountOperatingIncome\": 100000,\n    \"tradesOutsideUk\": false,\n    \"tradingAddress\": \"175 Rotherham Road, Barnsley, South Yorkshire\",\n    \"tradingAddressPostcode\": \"S71 2LG\",\n    \"tradingName\": \"SAUK UTILITIES LIMITED\",\n    \"website\": \"www.test.com\",\n    \"declaredBrokerEmail\": \"broker@x.com\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/create-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 18 Mar 2023 21:13:44 GMT"},{"key":"x-amzn-RequestId","value":"2e88ad25-f46f-4eb5-a0cd-f07b515f9859"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"B_tswHKtLPEF7Qw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64162984-35eef7c34914012b3be017d9;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 8cbc26e2bd6bdffe912d067e513f8b2c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"kQNQP-gcyXnnhGwzkRZMf_fOfwLaO2pmw4gIHUcZzka1LDOXzogfNg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"51825528-9f82-4322-b007-9bb970c5289b"},{"name":"closeApplication","id":"e8f64baf-5d83-41c9-834c-4bcdba3faea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"applicationId\": \"3103882936517133822\",\n    \"closureReason\": \"Failed KYC\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/close-application","description":"<p>Endpoint to close a customer application.</p>\n<p><strong>Note, as customer can't have multiple applications open at the same time you will need to close any existing open applications before creating a new one.</strong></p>\n<h3 id=\"request-body\"><strong>Request body</strong></h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>applicationId</code> (number): <strong>REQUIRED</strong><br />The ID of the application.</p>\n<hr />\n<p><code>closureReason</code> (number): <strong>REQUIRED</strong><br />The reason for application closure.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","close-application"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f9508990-3380-433f-a6b5-39a647c149ef","name":"closeApplication","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"applicationId\": \"3061411507687392947\",\n    \"closureReason\": \"Failed KYC\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/close-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 18 Mar 2023 21:13:36 GMT"},{"key":"x-amzn-RequestId","value":"8a6a86b6-d32c-4db5-bc62-4cad52c8deb5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"B_tsKFBjrPEFo3Q="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64162980-279390ca683773bb312bca5f;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 8cbc26e2bd6bdffe912d067e513f8b2c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"31XlHWMML3QykJN40n6Cbm2rZiiR7jSeyflxIsnfM1F43HA6B-Wx1w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"e8f64baf-5d83-41c9-834c-4bcdba3faea9"},{"name":"submitApplication","id":"3a7c3fbe-46e8-4df9-a2dd-5383d619ea1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"applicationId\": \"3103972482516780791\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/submit-application","description":"<p>Endpoint to submit a customer application.</p>\n<h3 id=\"request-body\"><strong>Request body</strong></h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>applicationId</code> (number): <strong>REQUIRED</strong><br />The ID of the application.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","submit-application"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a7c3fbe-46e8-4df9-a2dd-5383d619ea1f"}],"id":"b48f7275-600c-4cb0-a087-45d3841d69df","description":"<p>Application objects work in tandem with the <code>customer</code> entity to store information related to a given customers loan applicaiton. It is intended for use predominatly with internal stakeholders, including underwriting and operations, to provide a single source of data for evaluating risk and processing credit applications.</p>\n<h4 id=\"new-customer-applications\">New customer applications</h4>\n<p>An <code>application</code> is automatically created when a new <code>customer</code> entity is created. Subsequent applications, for returning customers or for second product applications, can be created using the <strong>createApplication</strong> endpoint.</p>\n<h4 id=\"submitting-applications\">Submitting applications</h4>\n<p>To provide flexibility in your workflow, there are no system dependencies on submitting an application (see <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-3a7c3fbe-46e8-4df9-a2dd-5383d619ea1f?ctx=documentation\">submitApplication</a>), but it can be used to set a status flag in the database that supports user experience triggers in front end applications. For example, lenders have historically used this status to trigger the presentation of Terms and Conditions to end customers, and maintain a holding screen ahead of presenting an approved firm offer.</p>\n<h4 id=\"restrictions\">Restrictions</h4>\n<p>Customers can only have one application open at a time. To open a new application, close any existing applications via the <strong>closeApplication</strong> endpoint.</p>\n","_postman_id":"b48f7275-600c-4cb0-a087-45d3841d69df"},{"name":"Firm Offer","item":[{"name":"createFirmOffer","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"5da98c36-e40a-40b4-b8f8-68df2035e151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"productName\": \"floc\",\n    \"term\": 12,\n    \"fundingLimit\": 20000,\n    \"percentageFee\": 0.12,\n    \"apr\": 0.12\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/create-firm-offer","description":"<p>Endpoint to create firm offers.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>productName</code> (string): <strong>REQUIRED</strong><br />The name of the product. Possible values: \"floc\" (flexible line of credit), \"term-loan\".</p>\n<hr />\n<p><code>term</code> (number): <strong>REQUIRED</strong><br />The term duration in months.</p>\n<hr />\n<p><code>fundingLimit</code> (number): <strong>REQUIRED</strong><br />The funding limit amount.</p>\n<hr />\n<p><code>apr</code> (number): <strong>REQUIRED</strong><br />The annual percentage rate (APR) as a decimal.</p>\n<h4 id=\"product-specific-parameters\"><strong>Product specific parameters:</strong></h4>\n<p>For the <strong>\"floc\" (flexible line of credit)</strong> product:</p>\n<hr />\n<p><code>percentageFee</code> (number): <strong>REQUIRED</strong><br />The percentage fee as a decimal.</p>\n<hr />\n<p>For the <strong>\"term-loan\"</strong> product:</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number): <strong>REQUIRED</strong><br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number): <strong>REQUIRED</strong><br />The setup fee as a decimal.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","create-firm-offer"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c788259c-fc1c-4e82-91a9-f41250e37201","name":"createFirmOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"productName\": \"term-loan\",\n    \"term\": 36,\n    \"fundingLimit\": 200000,\n    \"monthlyInterestRate\": 0.012,\n    \"setupFee\": 0.045\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/create-firm-offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 10:28:51 GMT"},{"key":"x-amzn-RequestId","value":"eb1b665a-2d58-49d8-be07-90a557f5ae39"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFXrTFbWLPEFYiQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644b9fe1-27266a0408aded5c7ce322ae;Sampled=0;lineage=03f05429:0|e896816e:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1679d4f06b5f1d02b9d3d9343e40b5cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"M0U5zFVc0JRm8NW3n_4eDZwgdeyhYEeMmkfov5lWBSUnloq1ODxWzg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"offerId\": \"3090847291016218006\"\n    }\n}"}],"_postman_id":"5da98c36-e40a-40b4-b8f8-68df2035e151"},{"name":"updateFirmOffer","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"7d547557-0fcf-4090-809d-4c5822bfb07c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"offerId\": \"3055543578353731530\",\n    \"fundingLimit\": 100000,\n    \"setupFee\": 0.05,\n    \"monthlyInterestRate\": 0.015\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-firm-offer","description":"<p>Endpoint to update firm offers.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>productName</code> (string): <strong>REQUIRED</strong><br />The name of the product. Possible values: \"floc\" (flexible line of credit), \"term-loan\".</p>\n<hr />\n<p><code>term</code> (number): <strong>REQUIRED</strong><br />The term duration in months.</p>\n<hr />\n<p><code>fundingLimit</code> (number): <strong>REQUIRED</strong><br />The funding limit amount.</p>\n<hr />\n<p><code>apr</code> (number): <strong>REQUIRED</strong><br />The annual percentage rate (APR) as a decimal.</p>\n<h4 id=\"product-specific-parameters\"><strong>Product specific parameters:</strong></h4>\n<p>For the <strong>\"floc\" (flexible line of credit)</strong> product:</p>\n<hr />\n<p><code>percentageFee</code> (number): <strong>REQUIRED</strong><br />The percentage fee as a decimal.</p>\n<hr />\n<p>For the <strong>\"term-loan\"</strong> product:</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number): <strong>REQUIRED</strong><br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number): <strong>REQUIRED</strong><br />The setup fee as a decimal.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","update-firm-offer"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f275a7d6-1076-460b-a52d-cb8c48c780cc","name":"updateFirmOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"offerId\": \"3058267207327810976\",\n    \"fundingLimit\": 110000,\n    \"percentageFee\": 0.11,\n    \"apr\": 0.11\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/update-firm-offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 14 Mar 2023 11:51:04 GMT"},{"key":"x-amzn-RequestId","value":"6d99070e-a67b-44e3-9e26-d6c2d4e60a5d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BxPiSE6QrPEFu0w="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64105fa7-224c794677cf0a6c44a871b3;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f08d6273dc5cb518c4c1c81c2bc6d722.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"kd8wuP2ItrbQw8oZwfUqL84zdRp2O5ZQGRDAMxr9VDLIgu8owRX4sw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"7d547557-0fcf-4090-809d-4c5822bfb07c"},{"name":"getOffers","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"1d3d3a16-3a5f-404f-9654-3fb713399cf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-offers?companyId={{company_id}}","description":"<p>Endpoint to retrieve all available offers assigned to a customer.</p>\n<p>This endpoint is designed to work within your back office application and returns all the offers, regardless of status, which allows you to modify and approve them prior to releasing to end-customers.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an object containing two arrays, \"quickOffers\" and \"firmOffers\".</p>\n<p>Each offer object has the following properties:</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer.</p>\n<hr />\n<p><code>type</code> (string):<br />The type of the offer. Possible values: \"quickOffer\" and \"firmOffer\". This endpoint will only return quick offers.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product. Possible values: \"floc\" (flexible line of credit) and \"term-loan\".</p>\n<hr />\n<p><code>priority</code> (string):<br />The priority of the offer. Possible values: \"primary\" and \"secondary\".</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the offer. Possible values: \"DRAFT\", \"DRAFT_ACCEPTED\", \"APPROVED\", \"NEEDS_REVIEW\", \"ACTIVE\". This endpoint will only return offers with the status \"DRAFT\".</p>\n<hr />\n<p><code>fundingLimit</code> (number):<br />The funding limit amount.</p>\n<hr />\n<p><code>term</code> (number):<br />The term duration in months.</p>\n<hr />\n<p><code>percentageFee</code> (number):<br />The percentage fee as a decimal. Specific to the \"floc\" (flexible line of credit) product.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal. Specific to the \"term-loan\" product.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal. Specific to the \"term-loan\" product.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount as a decimal.</p>\n<hr />\n<p><code>createdAt</code> (datetime):<br />The date and time when the offer was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime):<br />The date and time when the offer was last updated.</p>\n<p>Additionally, for <strong>firm offers</strong>, the offer object contains:</p>\n<hr />\n<p><code>approved_by_1</code> (string):<br />The ID or name of the first approver.</p>\n<hr />\n<p><code>approved_at_1</code> (datetime):<br />The date and time when the offer was approved by the first approver.</p>\n<hr />\n<p><code>approved_at_2</code> (datetime):<br />The date and time when the offer was approved by the second approver.</p>\n<hr />\n<p><code>approved_by_2</code> (string):<br />The ID or name of the second approver.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","get-offers"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"5e394fa5-21a1-4872-b108-6b5def592cd3","name":"getOffers","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-offers?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-offers"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2846"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 11:19:24 GMT"},{"key":"x-amzn-RequestId","value":"e0b593f9-6fa0-4c88-ae46-1ad245aeb28a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFfFaHDRrPEF_aw="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644babbb-2243880f16c106bd187cd992;Sampled=0;lineage=03f05429:0|8cb0690a:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 40cca5ba9d58d2863aa64808c5af6212.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"GQvTTXm1jcJ47VlJh8a_r2mykID_ah-HXs5p_txBtgndj5bdf4hOAQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"quickOffers\": [\n            {\n                \"offerId\": \"3090870144746915364\",\n                \"type\": \"quickOffer\",\n                \"productName\": \"floc\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 10000,\n                \"term\": 12,\n                \"percentageFee\": 0.14,\n                \"setupFee\": 0,\n                \"monthlyInterestRate\": 0,\n                \"apr\": 0.1396,\n                \"monthlyRepaymentAmount\": 950,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\"\n            },\n            {\n                \"offerId\": \"3090870144537200163\",\n                \"type\": \"quickOffer\",\n                \"productName\": \"floc\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 10000,\n                \"term\": 24,\n                \"percentageFee\": 0.235,\n                \"setupFee\": 0,\n                \"monthlyInterestRate\": 0,\n                \"apr\": 0.1175,\n                \"monthlyRepaymentAmount\": 514.58,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\"\n            },\n            {\n                \"offerId\": \"3090870144897910309\",\n                \"type\": \"quickOffer\",\n                \"productName\": \"term-loan\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 10000,\n                \"term\": 24,\n                \"percentageFee\": 0,\n                \"setupFee\": 0.055,\n                \"monthlyInterestRate\": 0.0084,\n                \"apr\": 0.0858,\n                \"monthlyRepaymentAmount\": 487.22,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\"\n            }\n        ],\n        \"firmOffers\": [\n            {\n                \"offerId\": \"3090870144746915364\",\n                \"type\": \"firmOffer\",\n                \"productName\": \"floc\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 73000,\n                \"term\": 12,\n                \"percentageFee\": 0.1,\n                \"setupFee\": 0,\n                \"monthlyInterestRate\": 0,\n                \"apr\": 0.0997,\n                \"monthlyRepaymentAmount\": 6691.66,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\",\n                \"approvedAt1\": null,\n                \"approvedBy1\": null,\n                \"approvedAt2\": null,\n                \"approvedBy2\": null\n            },\n            {\n                \"offerId\": \"3090870144537200163\",\n                \"type\": \"firmOffer\",\n                \"productName\": \"floc\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 145000,\n                \"term\": 24,\n                \"percentageFee\": 0.195,\n                \"setupFee\": 0,\n                \"monthlyInterestRate\": 0,\n                \"apr\": 0.0975,\n                \"monthlyRepaymentAmount\": 7219.79,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\",\n                \"approvedAt1\": null,\n                \"approvedBy1\": null,\n                \"approvedAt2\": null,\n                \"approvedBy2\": null\n            },\n            {\n                \"offerId\": \"3090870144897910309\",\n                \"type\": \"firmOffer\",\n                \"productName\": \"term-loan\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 145000,\n                \"term\": 24,\n                \"percentageFee\": 0,\n                \"setupFee\": 0.055,\n                \"monthlyInterestRate\": 0.0084,\n                \"apr\": 0.0858,\n                \"monthlyRepaymentAmount\": 7064.67,\n                \"createdAt\": \"2023-04-28T11:14:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:19Z\",\n                \"approvedAt1\": null,\n                \"approvedBy1\": null,\n                \"approvedAt2\": null,\n                \"approvedBy2\": null\n            },\n            {\n                \"offerId\": \"3090872656229041717\",\n                \"type\": \"firmOffer\",\n                \"productName\": \"term-loan\",\n                \"priority\": null,\n                \"status\": \"DRAFT\",\n                \"fundingLimit\": 200000,\n                \"term\": 36,\n                \"percentageFee\": 0,\n                \"setupFee\": 0.045,\n                \"monthlyInterestRate\": 0.012,\n                \"apr\": 0.0996,\n                \"monthlyRepaymentAmount\": 7183.8,\n                \"createdAt\": \"2023-04-28T11:19:15Z\",\n                \"updatedAt\": \"2023-04-28T11:19:15Z\",\n                \"approvedAt1\": null,\n                \"approvedBy1\": null,\n                \"approvedAt2\": null,\n                \"approvedBy2\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"1d3d3a16-3a5f-404f-9654-3fb713399cf5"},{"name":"approveFirmOffer","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"409f5185-3de9-4e2c-8d5d-9cc54e10b36d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offerId\": \"3100417467109868697\",\n    \"approvedBy\": \"user@x.com\",\n    \"isFinalApproval\": true,\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/approve-firm-offer","description":"<p>Endpoint to approve Firm Offers.</p>\n<p>This endpoint accepts a maximum of two approvals, the second of which must be final, which allows you to design a two stage approval process.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerID</code> (string): <strong>REQUIRED</strong><br />The ID of the offer being approved.</p>\n<hr />\n<p><code>approvedBy</code> (string): <strong>REQUIRED</strong><br />Your internal approver identifier (e.g. email address or unique employee ID).</p>\n<hr />\n<p><code>isFinalApproval</code> (boolean): <strong>REQUIRED</strong><br />Boolean flag designating whether this approval is the final required approval. Note, this endpoint only takes a maximum of two approvals. The second must be final.</p>\n","urlObject":{"path":["api","v1","decisioning","approve-firm-offer"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b10f3bde-278f-4e89-903d-2f73d13a6c11","name":"approveFirmOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offerId\": \"3058267207327810976\",\n    \"approvedBy\": \"user@x.com\",\n    \"isFinalApproval\": true,\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/approve-firm-offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 14 Mar 2023 11:50:00 GMT"},{"key":"x-amzn-RequestId","value":"93ee5ffc-d232-49a5-bbe1-d65622af0bab"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BxPYHFyTrPEFvCg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64105f66-4a5183eb517e45195d746a5f;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f08d6273dc5cb518c4c1c81c2bc6d722.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"KN2qCdoF7jQuKu5waT-yk1o1Vy_d-EYBCKcGogriPDaktWylmnedcw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"409f5185-3de9-4e2c-8d5d-9cc54e10b36d"},{"name":"getApprovedFirmOffers","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"ec0da3ac-eaf3-4d96-89f6-bf5f6c2a8b42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/get-approved-firm-offers?companyId={{company_id}}","description":"<p>Endpoint to retrieve all firm offers that have received final approvals.</p>\n<p>This endpoint is designed to be used in your customer interface as it only returns approved Firm Offers .</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<ul>\n<li>companyId - string, mandatory</li>\n</ul>\n<h2 id=\"response-body\">Response body</h2>\n<p>Response is an array of firm offers.</p>\n<ul>\n<li>offerId - string</li>\n<li>type - string, possible values: \"quickOffer\" and \"firmOffer\", this endpoint will only return firm offers</li>\n<li>productName - string, possible values: \"floc\" (flexible line of credit) and \"term-loan\"</li>\n<li>priority - string, possible values: \"primary\" and \"secondary\", not relevant for this endpoint</li>\n<li>status - string, possoble values: \"DRAFT\", \"DRAFT_ACCEPTED\", \"APPROVED\", \"NEEDS_REVIEW\", \"ACTIVE\", this endpoint will onlu return offers with status \"APPROVED\"</li>\n<li>fundingLimit - number, amount</li>\n<li>term - number, months</li>\n<li>percentageFee - number, decimal, floc specific</li>\n<li>apr - number, decimal, floc specific</li>\n<li>setupFee - number, decimal, term-loan specific</li>\n<li>monthlyInterestRate - number, decimal, term-loan specific</li>\n<li>monthlyRepaymentAmount - number, decimal</li>\n<li>createdAt - datetime</li>\n<li>updatedAt - datetime</li>\n<li>approved_at_1 - datetime</li>\n<li>approved_by_1 - string</li>\n<li>approved_at_2 - datetime</li>\n</ul>\n<h2 id=\"request-query-params-1\">Request query params</h2>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h2 id=\"response-body-1\">Response body</h2>\n<p>The response is an array of firm offers.</p>\n<p>Each firm offer object has the following properties:</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer.</p>\n<hr />\n<p><code>type</code> (string):<br />The type of the offer. Possible values: \"quickOffer\" and \"firmOffer\". This endpoint will only return firm offers.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product. Possible values: \"floc\" (flexible line of credit) and \"term-loan\".</p>\n<hr />\n<p><code>priority</code> (string):<br />The priority of the offer. Possible values: \"primary\" and \"secondary\". Not relevant for this endpoint.</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the offer. Possible values: \"DRAFT\", \"DRAFT_ACCEPTED\", \"APPROVED\", \"NEEDS_REVIEW\", \"ACTIVE\". This endpoint will only return offers with the status \"APPROVED\".</p>\n<hr />\n<p><code>fundingLimit</code> (number):<br />The funding limit amount.</p>\n<hr />\n<p><code>term</code> (number):<br />The term duration in months.</p>\n<hr />\n<p><code>percentageFee</code> (number):<br />The percentage fee as a decimal. Specific to the \"floc\" (flexible line of credit) product.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal. Specific to the \"floc\" (flexible line of credit) product.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal. Specific to the \"term-loan\" product.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal. Specific to the \"term-loan\" product.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount as a decimal.</p>\n<hr />\n<p><code>createdAt</code> (datetime):<br />The date and time when the offer was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime):<br />The date and time when the offer was last updated.</p>\n<hr />\n<p><code>approved_at_1</code> (datetime):<br />The date and time when the offer was approved by the first approver.</p>\n<hr />\n<p><code>approved_by_1</code> (string):<br />The ID or name of the first approver.</p>\n<hr />\n<p><code>approved_at_2</code> (datetime):<br />The date and time when the offer was approved by the second approver.</p>\n<hr />\n<p><code>approved_by_2</code> (string):<br />The ID or name of the second approver.</p>\n","urlObject":{"path":["api","v1","decisioning","get-approved-firm-offers"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"d88fcf00-5064-40b0-b8eb-af4552a0c2c8","name":"getApprovedFirmOffers","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/decisioning/get-approved-firm-offers?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","decisioning","get-approved-firm-offers"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"539"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 11:21:29 GMT"},{"key":"x-amzn-RequestId","value":"6996c504-3852-453b-80ef-86e8a784a14e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFfYwFdmrPEFbRg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644bac37-77a8a0367b2e8ca533998e9d;Sampled=0;lineage=03f05429:0|ef807287:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 40cca5ba9d58d2863aa64808c5af6212.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"0Y9YXgvRbLgKDhbtZNWkxAwvq_SOtSEMPfKLLmGDsu_HiphcpacKkg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": [\n        {\n            \"offerId\": \"3090870144746915364\",\n            \"type\": \"firmOffer\",\n            \"productName\": \"floc\",\n            \"priority\": null,\n            \"status\": \"APPROVED\",\n            \"fundingLimit\": 73000,\n            \"term\": 12,\n            \"percentageFee\": 0.1,\n            \"setupFee\": 0,\n            \"monthlyInterestRate\": 0,\n            \"apr\": 0.0997,\n            \"monthlyRepaymentAmount\": 6691.67,\n            \"createdAt\": \"2023-04-28T11:14:15.769793+00:00\",\n            \"updatedAt\": \"2023-04-28T11:21:07.079644+00:00\",\n            \"approvedAt1\": \"2023-04-28T11:21:06.796626+00:00\",\n            \"approvedBy1\": \"user@x.com\",\n            \"approvedAt2\": null,\n            \"approvedBy2\": null\n        }\n    ]\n}"}],"_postman_id":"ec0da3ac-eaf3-4d96-89f6-bf5f6c2a8b42"},{"name":"acceptFirmOffer","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"a31c8e77-ecf7-4473-82cc-e94659f7cbd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offerId\": \"3100417467109868697\",\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/accept-firm-offer","description":"<p>Endpoint to accept firm offers, designed to be used by your customers.</p>\n<h2 id=\"request-body\">Request body</h2>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer being accepted.</p>\n<hr />\n","urlObject":{"path":["api","v1","decisioning","accept-firm-offer"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b2bd1dfd-4a7e-4ab0-a651-ae2f706f5766","name":"acceptFirmOffer","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offerId\": \"3053897421953172842\",\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/decisioning/accept-firm-offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 08 Mar 2023 11:13:43 GMT"},{"key":"x-amzn-RequestId","value":"0287e785-aaf5-4342-b51f-4e42493fc8b6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BdYb8H91rPEFnUA="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64086de5-7b5daa754ac143b14233b78b;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 72c9d865b9f90117e753b40c0f979644.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"GHAhlO_tE_3kEmTrZy5c9zL1HuQz6lb-3VcgjiHTgFQbbVrG8zZS1g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"a31c8e77-ecf7-4473-82cc-e94659f7cbd9"}],"id":"ea398117-e7df-4572-9f12-e15d46461c27","_postman_id":"ea398117-e7df-4572-9f12-e15d46461c27","description":""}],"id":"8dc254d9-45b1-4acc-9991-655ea5145539","description":"<p>The Decisioning collection contains APIs that fulfill the key functions to move a customer from an indicative 'Quick Offer' quote, to a final 'Firm Offer'.</p>\n<p>This includes steps to:</p>\n<ol>\n<li>Confirm and update any <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-02d60a07-ce3f-4e42-9bd2-44078dd65023?ctx=documentation\">Company or User Information</a></li>\n<li><a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-229504bc-4947-4a78-ba65-9349171884b6?ctx=documentation\">Upload</a> financial documents</li>\n<li>Run the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-6cf14f2e-f4af-41f0-8dd2-92d21e36ad06?ctx=documentation\">Affordability and Risk processes</a></li>\n<li>Create and review final <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-ea398117-e7df-4572-9f12-e15d46461c27?ctx=documentation\">Firm Offers</a> to extend to the customer</li>\n<li>Document <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-a70c0219-057e-4a69-992a-efeea6ca730f?ctx=documentation\">KYC and KYB</a> checks</li>\n<li>Setup a customer's <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-136aedde-8ea9-4263-aaa7-2b3b3aeed22b?ctx=documentation\">Banking and Direct Debit</a> information</li>\n</ol>\n<h2 id=\"creating-a-firm-offer\">Creating a Firm Offer</h2>\n<p>Follow the steps below to create a Firm offer for a customer application.</p>\n<h3 id=\"1-collect-and-confirm-company-and-user-information\">1. Collect and confirm Company and User Information</h3>\n<p>If you have not already done so during an Origination phase, you can create a company and associated user using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-50104262-1fc9-4729-8e95-180c80148af8?ctx=documentation\">createCompany</a> and <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-d25bf610-ec13-4835-be21-8df9a4ae7a50?ctx=documentation\">createUser</a>.</p>\n<p>You can also update both entities with further information that, whilst not required to generate an indicative quote, is required for your underwriting teams to safely make a full and final credit offer.</p>\n<h4 id=\"anti-fraud-measures\">Anti-fraud measures</h4>\n<h5 id=\"companies-house-data\">Companies House Data</h5>\n<p>To reduce fraud, Abel considers Companies House as a golden source for Company and Director data. Any data we retrieven directly from this source on your behalf takes priority over user-provided information; any discrepencies will invalidate. If a customer wishes to override their Companies House data, they must do so with Companies House directly.</p>\n<h5 id=\"change-alerts\">Change Alerts</h5>\n<p>We have a dedicated <code>company-information-udpated</code> event in our event stream service that can be used to alert teams when certain high risk fields have been edited by the customer or broker.</p>\n<h4 id=\"updating-company-information\">Updating company information</h4>\n<p>Customer information can be retrieved using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-4e001896-f7d7-44ac-8eb1-9b0a2de5cf84?ctx=documentation\">getCompany</a> endpoint, and updates made using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-35031460-4677-4e7b-98dc-9f8c689118fd?ctx=documentation\">updateCompany</a> endpoint.</p>\n<h4 id=\"updating-user-information\">Updating user information</h4>\n<p>Customer information can be retrieved using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-c45deba5-66c2-48be-a463-f10c1bf33446?ctx=documentation\">getUser</a> endpoint, and updates made using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-c45deba5-66c2-48be-a463-f10c1bf33446?ctx=documentation\">updateUser</a> endpoint. You can also use this endpoint to specify which directors will be required to conduct a KYC check.</p>\n<h3 id=\"2-upload-financial-information\">2. Upload financial information</h3>\n<h4 id=\"financial-documents\">Financial Documents</h4>\n<p>Abel's file upload service can ingest key financial documents, such as financial accounts and bank statments, processing them using OCR technology and feeding into our risk models.</p>\n<p>Documents can be uploaded by first retrieving an upload ULR (<a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e378e6d2-8ec0-415f-9412-cdb9288a9c51?ctx=documentation\">getUploadURL</a>) and then writing the file to that location in the AWS S3 bucket (<a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-0da03be0-ff20-47b6-b23b-029c3d151d97?ctx=documentation\">uploadFile</a>).</p>\n<p>Once all documents of a given type have been uploaded, you can submit these for processing via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e85d6110-e436-4792-ac34-f3fed6aa6cff?ctx=documentation\">submitUploadsByType</a> endpoint.</p>\n<p><strong>Note, there is no automated way to upload additional documents once they have been submitted. It is advised that a review is conducted by Operations or the Broking team to ensure the correct documents have been uploaded prior to submission.</strong></p>\n<p>Once submitted, the documents will be processed using OCR technology and prepared for further processing. This is an asynchronous process; once complete, a <code>documents-processed</code> event will be triggered, specifying the document type.</p>\n<p>The original copy of the documents can also be downloaded for manual underwriting review. They can be accessed by calling the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-f51fef47-249a-4474-a131-05970a4d68ac?ctx=documentation\">getUploadedDocuments</a> endpoint, and retrieving them from the provided URLs.</p>\n<h4 id=\"open-banking\">Open Banking</h4>\n<p>We also support Open Banking connectivity for clients who have the requesite permissions to access this information. Get in touch with our support team for more information on how to integrate your Open Banking service with the Abel platform.</p>\n<h3 id=\"3-anaylse-customer-affordability\">3. Anaylse customer affordability</h3>\n<p><strong>Note, affordability processes can only be run after financial documents have been submitted and processed.</strong> Subscribe to the <code>documents-processed</code> event to be notified when all processing has been complete.</p>\n<p>Once the customer's financial information has been processed, you can invoke the affordability service by calling the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-6a2cc61c-e5bc-4ef6-8e7f-10afa9c4ed6b?ctx=documentation\">runAffordabilityProcessing</a> endpoint.</p>\n<p>This endpoint uses the Abel Affordability models to analyse a customers affordability score, and runs the additional customer information through the risk rulesets to generate the final firm offers.</p>\n<p>This process is asynchronous, and you will receive webhook requests for each of the processes</p>\n<ul>\n<li>Affordability sheets generation - type <code>ACTION_COMPLETED</code>, category <code>AFFORDABILITY</code>, action <code>generate_affordability_sheets</code></li>\n<li>Firm offer rules - type <code>ACTION_COMPLETED</code>, category <code>RISK</code>, action <code>process_firm_offer_rules</code></li>\n</ul>\n<p>Once the process has completed, you can view the Affordability and rulset results programmatically via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-729f6c6f-fc38-458f-978e-bfe5701b9fde?ctx=documentation\">getRiskData</a> endpoint, or download the results in a .csv format via the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-d4a947e7-2da1-424a-b2f2-375b98a269d4?ctx=documentation\">getAffordabilitySheets</a> endpoint.</p>\n<h3 id=\"4-create-firm-offers\">4. Create firm offers</h3>\n<p>Once processing has been completed, you can use the provided information to form candidate Firm Offers using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-5da98c36-e40a-40b4-b8f8-68df2035e151?ctx=documentation\">createFirmOffer</a> endpoint.</p>\n<p>Once submitted these can be retrieved from the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-1d3d3a16-3a5f-404f-9654-3fb713399cf5?ctx=documentation\">getOffers</a> endpoint.</p>\n<h3 id=\"5-optional-approve-and-edit-firm-offers\">5. (Optional) Approve and edit firm offers</h3>\n<p>If desired, you can create a two-stage approval process for all firm offers.</p>\n<p>Setting the config</p>\n<p>Approval can be provided using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-409f5185-3de9-4e2c-8d5d-9cc54e10b36d?ctx=documentation\">approveFirmOffer</a> endpoint. The endpoint accepts a maximum of two approvals.</p>\n<p>Firm Offers can be updated using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-7d547557-0fcf-4090-809d-4c5822bfb07c?ctx=documentation\">updateFirmOffer</a> endpoint, but cannot be updated further once approved.</p>\n<h3 id=\"6-share-firm-offers-with-the-customer-for-review-and-acceptance\">6. Share Firm Offers with the customer for review and acceptance</h3>\n<p>Firm offers can be retrieved using either the getApprovedFirmOffers endpoint and presented to the client for selection. Once selected, invoke the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-a31c8e77-ecf7-4473-82cc-e94659f7cbd9?ctx=documentation\">acceptFirmOffer</a>, with the selected offer to update the status in the system.</p>\n<h3 id=\"7-conduct-and-confirm-kyc-and-kyb-checks\">7. Conduct and confirm KYC and KYB checks</h3>\n<p><strong>Note, the KYC and KYB services are provided to assist with the full and secure automation of lending processes. Abel does not conduct, nor take responsiblity for the validity of KYC and KYB services, but record the stated outcome for the purposes of secure automation.</strong> We support integrations with several leading KYC and KYB providers, allowing you to automate these key processes from within a single API. Get in touch with our team to explore and activate these integrations for your instance.</p>\n<p>You can retrieve the list of directors attached to an applicant company by calling the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-b8022f00-94fa-4cdf-b27f-11e48483536d?ctx=documentation\">getDirectors</a> endpoint.</p>\n<p>The <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-e22a336a-98f1-4b68-ba0f-f58d5d4a10de?ctx=documentation\">confirmKYCBKYB</a> endpoint can be used to capture all details of the KYC and KYB checks. This endpoint can be called multiple times untill all the required data is provided, as follows:</p>\n<ul>\n<li>KYC result with status \"completed for the primary user\"</li>\n<li>KYC result with status \"completed\" for any other user, which has requireSoftKycCheck set to true</li>\n<li>KYB result Overall field value \"Pass\"</li>\n</ul>\n<p>Once those requirements are fulfilled both company and primary user statuses are changed to \"NEEDS_REVIEW\". Once the company status transitions to \"NEEDS_REVIEW\" the company can be activated and this endpoint will no longer function.</p>\n<p><strong>All named users must hold a \"NEEDS_REVIEW\" status for users and companies to be activated and loans to be disbursed.</strong></p>\n<h3 id=\"8-setup-banking-and-direct-debit\">8. Setup banking and Direct Debit</h3>\n<h4 id=\"setting-up-a-customers-bank-account\">Setting up a customer's bank account</h4>\n<p>Customer bank details are required to make disbursals and to setup Direct Debits.</p>\n<p>Bank accounts can be added by providing the required details to the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-b929ca05-d779-4921-86fa-deee3c27fb0f?ctx=documentation\">addBankAccount</a> endpoint. Added bank account details can be retrieved using the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-f210bd46-02f6-46d8-9aee-fed30ba556f1?ctx=documentation\">getBankAccounts</a> endpoint.</p>\n<h4 id=\"nominating-a-primary-bank-account\">Nominating a primary bank account</h4>\n<p>Primary bank accounts determine which account to request or, in the case of Direct Debits, pull repayments from. Primary bank accounts can be nominated by invoking the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-9703ed5c-518b-48a9-b0c6-6a0b6f935444?ctx=documentation\">changePrimaryBankAccount</a> endpoint with the target customer and bank account ID.</p>\n<h4 id=\"setting-up-a-direct-debit\">Setting up a Direct Debit</h4>\n<p><strong>Note, this service is only available for Abel clients with a GoCardless integration.</strong></p>\n<p>You can automatically setup a direct debit service on a customers primary bank account (as configured above) by invoking the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-644b658c-1f15-4e68-aadd-b5afdfb3682b?ctx=documentation\">setupDirectDebit</a> endpoint.</p>\n<h2 id=\"other-features\">Other features</h2>\n<h3 id=\"loan-application-management\">Loan Application management</h3>\n<p>The Application entity is used to assist the processing of loans through the middle and back office workflows. It combines information from the <code>customer</code> entity on a customer's specific loan application, and notes that can be managed via the application specific endpoints in the <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/folder/24900067-937d24cb-0749-470e-aa2b-578bf53afd8a?ctx=documentation\">Notes collection.</a></p>\n<p>To provide flexibility in your workflow, there are no system dependencies on submitting an application (see <a href=\"https://abel-tech.postman.co/workspace/43111afa-715c-42e8-8b8b-e858a2e4af8a/request/24900067-3a7c3fbe-46e8-4df9-a2dd-5383d619ea1f?ctx=documentation\">submitApplication</a>), but it can be used to set a status flag in the database that supports user experience triggers in front end applications. For example, lenders have historically used this status to trigger the presentation of Terms and Conditions to end customers, and maintain a holding screen ahead of presenting an approved firm offer.</p>\n","_postman_id":"8dc254d9-45b1-4acc-9991-655ea5145539"},{"name":"Onboarding","item":[{"name":"KYC/KYB","item":[{"name":"confirmKYCKYB","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"e22a336a-98f1-4b68-ba0f-f58d5d4a10de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"kycResult\":[{\n        \"userId\": \"{{user_id}}\",\n        \"applicantId\": \"123445678XYZ\",\n        \"status\": \"completed\",\n        \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n        \"postcode\": \"DA9 9XU\",\n        \"dateOfBirth\": \"1989-09-01\"\n    }],\n    \"kybResult\":{\n        \"Overall\": \"Pass\",\n        \"CIFASResult\": \"Pass\",\n        \"AdverseResult\": \"Pass\",\n        \"BusinessResult\": \"Pass\",\n        \"SanctionResult\": \"Pass\",\n        \"ShareholderResult\": \"Pass\",\n        \"ShareholdingResult\": \"Pass\",\n        \"TradingAddressResult\": \"Pass\",\n        \"RegisteredAddressResult\": \"Pass\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/confirm-kyc-kyb","description":"<p>Endpoint to supply the details of the KYC and KYB checks. This endpoint can be called multiple times untill all the required data is provided. Once the company status transitions to \"NEEDS_REVIEW\" the company is eligible for actiation (via the <strong>activateUser</strong> endpoint) and this endpoint will no longer function.</p>\n<p>To complete the KYC and KYB checks, the following data is required:</p>\n<ul>\n<li>KYC result with status \"completed for the primary user\"</li>\n<li>KYC result with status \"completed\" for any other user, which has requireSoftKycCheck set to TRUE</li>\n<li>KYB result Overall field value \"Pass\"</li>\n</ul>\n<p>Once those requirements are fulfilled both company and primary user statuses are changed to \"NEEDS_REVIEW\", and the company can be activated.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h4 id=\"kyc-result-object\">KYC Result Object</h4>\n<hr />\n<p><code>kycResult</code> (array): <em>OPTIONAL</em><br />An array of objects representing the KYC results for each user.</p>\n<hr />\n<p><code>userId</code> (string): <strong>REQUIRED</strong><br />The ID of the user.</p>\n<hr />\n<p><code>applicantId</code> (string): <strong>REQUIRED</strong><br />The applicant identifier from the KYC provider.</p>\n<hr />\n<p><code>status</code> (string): <strong>REQUIRED</strong><br />The status of the KYC result. Allowed values: \"failed\", \"completed\", \"in_progress\".</p>\n<hr />\n<p><code>address</code> (string): <em>OPTIONAL</em><br />The address of the user. Mandatory if it's not yet set for the user.</p>\n<hr />\n<p><code>postcode</code> (string): <em>OPTIONAL</em><br />The postcode of the user. Mandatory if it's not yet set for the user.</p>\n<hr />\n<p><code>dateOfBirth</code> (date): <em>OPTIONAL</em><br />The date of birth of the user. Mandatory if it's not yet set for the user. Format: YYYY-MM-DD. Must agree with Companies House data.</p>\n<hr />\n<h4 id=\"kyb-result-object\">KYB Result Object</h4>\n<hr />\n<p><code>kybResult</code> (object): <em>OPTIONAL</em><br />An object containing the KYB (Know Your Business) check results.</p>\n<hr />\n<p><code>Overall</code> (string):<br />The overall result of the KYB check. Allowed values: \"Fail\", \"Review\", \"Pass\", \"None\". The overall result must be \"Pass\" in order to continue with company activation.</p>\n<hr />\n<p><code>CIFASResult</code> (string):<br />The result of the CIFAS check.</p>\n<hr />\n<p><code>AdverseResult</code> (string):<br />The result of the adverse check.</p>\n<hr />\n<p><code>BusinessResult</code> (string):<br />The result of the business check.</p>\n<hr />\n<p><code>SanctionResult</code> (string):<br />The result of the sanction check.</p>\n<hr />\n<p><code>ShareholderResult</code> (string):<br />The result of the shareholder check.</p>\n<hr />\n<p><code>ShareholdingResult</code> (string):</p>\n<p>The result of the shareholding check.</p>\n<hr />\n<p><code>TradingAddressResult</code> (string):<br />The result of the trading address check.</p>\n<hr />\n<p><code>RegisteredAddressResult</code> (string):<br />The result of the registered address check.</p>\n","urlObject":{"path":["api","v1","onboarding","confirm-kyc-kyb"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"22e2e009-7698-4a2b-b72c-3ab65322a6b6","name":"confirmKYCKYB","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"kycResult\":[{\n        \"userId\": \"3055408746655123073\",\n        \"applicantId\": \"123445678XYZ\",\n        \"status\": \"completed\",\n        \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n        \"postcode\": \"DA9 9XU\",\n        \"dateOfBirth\": \"1989-09-01\"\n    }],\n    \"kybResult\":{\n        \"Overall\": \"Pass\",\n        \"CIFASResult\": \"Pass\",\n        \"AdverseResult\": \"Pass\",\n        \"BusinessResult\": \"Pass\",\n        \"SanctionResult\": \"Pass\",\n        \"ShareholderResult\": \"Pass\",\n        \"ShareholdingResult\": \"Pass\",\n        \"TradingAddressResult\": \"Pass\",\n        \"RegisteredAddressResult\": \"Pass\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/confirm-kyc-kyb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 08 Mar 2023 11:13:59 GMT"},{"key":"x-amzn-RequestId","value":"e71218b8-cc23-44de-927a-0ec9ddeeabe7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BdYejG2TLPEF5aQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64086df6-34cfb57a2ec32e7b18d0d5ba;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 72c9d865b9f90117e753b40c0f979644.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"M4Fm2pKmgQCFTm0cGbob0bTUD-qvhw3pseGKwqVVtHz94TwuW5tIsw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"e22a336a-98f1-4b68-ba0f-f58d5d4a10de"},{"name":"getDirectors","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"b8022f00-94fa-4cdf-b27f-11e48483536d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-directors?companyId={{company_id}}","description":"<p>Retrieve all the company directors for a given company.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h2 id=\"response-body\">Response body</h2>\n<p>The response is an array of objects.</p>\n<p>Each object represents a user and contains the following properties:</p>\n<hr />\n<p><code>userId</code> (string):<br />The ID of the user.</p>\n<hr />\n<p><code>companyId</code> (string):<br />The ID of the company.</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the user. Possible values: \"SIGNUP_INCOMPLETE\", \"NEEDS_REVIEW\", \"ACTIVE\".</p>\n<hr />\n<p><code>isPrimaryUser</code> (boolean):<br />Indicates whether the user is the primary user.</p>\n<hr />\n<p><code>firstName</code> (string):<br />The first name of the user.</p>\n<hr />\n<p><code>lastName</code> (string):<br />The last name of the user.</p>\n<hr />\n<p><code>email</code> (string):<br />The email address of the user.</p>\n<hr />\n<p><code>address</code> (string):<br />The address of the user.</p>\n<hr />\n<p><code>postcode</code> (string):<br />The postcode of the user.</p>\n<hr />\n<p><code>dateOfBirth</code> (date):<br />The date of birth of the user. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>requireSoftKycCheck</code> (boolean):<br />Indicates whether a soft KYC check is required for the user.</p>\n<hr />\n<p><code>kycApplicantId</code> (string):<br />The applicant ID from the KYC provider for the user.</p>\n<hr />\n<p><code>kycStatus</code> (string):<br />The status of the KYC check for the user.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","get-directors"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"5b43f94a-4d95-491a-a9fd-b3de6fffa21e","name":"getDirectors","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/onboarding/get-directors?companyId=3055407695034058353","host":["{{baseUrl}}"],"path":["api","v1","onboarding","get-directors"],"query":[{"key":"companyId","value":"3055407695034058353"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"819"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 10 Mar 2023 18:31:28 GMT"},{"key":"x-amzn-RequestId","value":"ab62c8ff-3527-4691-9cf5-1ce7c9a96945"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"Bk-cEExYLPEFy5A="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-640b7780-4a37c4191b08b4a3335020f9;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 a332ecb068a370997b5e7bc811ff54ea.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"hgVVBWWMcJvLS9odpeqahOgtC-u0QFX8e0mS9_XRozRXmutSm0AdyQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": [\n        {\n            \"firstName\": \"Antanas\",\n            \"lastName\": \"SAUKAITIS\",\n            \"kycApplicantId\": null,\n            \"kycStatus\": null,\n            \"email\": \"customer2@beabel.io\",\n            \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n            \"postcode\": \"DA9 9XU\",\n            \"dateOfBirth\": \"1982-04-02\",\n            \"requireSoftKycCheck\": false,\n            \"userId\": \"3055408741311579773\",\n            \"isPrimaryUser\": true,\n            \"companyId\": \"3055407695034058353\",\n            \"status\": \"SIGNUP_INCOMPLETE\"\n        },\n        {\n            \"firstName\": \"Edmundas\",\n            \"lastName\": \"SAUKAITIS\",\n            \"kycApplicantId\": null,\n            \"kycStatus\": null,\n            \"email\": null,\n            \"address\": \"65 Havelock Drive, Greenhithe, Kent\",\n            \"postcode\": \"DA9 9XU\",\n            \"dateOfBirth\": \"1975-08-02\",\n            \"requireSoftKycCheck\": true,\n            \"userId\": \"3055408746655123073\",\n            \"isPrimaryUser\": false,\n            \"companyId\": \"3055407695034058353\",\n            \"status\": \"NEEDS_REVIEW\"\n        }\n    ]\n}"}],"_postman_id":"b8022f00-94fa-4cdf-b27f-11e48483536d"}],"id":"a70c0219-057e-4a69-992a-efeea6ca730f","_postman_id":"a70c0219-057e-4a69-992a-efeea6ca730f","description":""},{"name":"Banking","item":[{"name":"getBankAccounts","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"f210bd46-02f6-46d8-9aee-fed30ba556f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-bank-accounts?companyId={{company_id}}","description":"<p>Retrieve all bank accounts listed for a given company.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<ul>\n<li>companyId - string, mandatory</li>\n</ul>\n<h2 id=\"response-body\">Response body</h2>\n<p>An object containing two arrays:</p>\n<ul>\n<li>bankAccounts</li>\n<li>bankCredentials - not implemented yet</li>\n</ul>\n<p>bankCredentials object contains:</p>\n<ul>\n<li>bankAccountId - string</li>\n<li>account - object</li>\n<li>providerAccountId - string</li>\n<li>availableBalance - number</li>\n<li>currentBalance - number</li>\n<li>overdraft - number</li>\n<li>isPrimary - boolean</li>\n<li>accountClosed - boolean</li>\n<li>accountClosedAt - datetime</li>\n<li>isOpenBanking - boolean</li>\n<li>createdAt - datetime</li>\n<li>updatedAt - datetime</li>\n</ul>\n<p>account object contains:</p>\n<ul>\n<li>currency - string</li>\n<li>accountType - string</li>\n<li>displayName - string</li>\n<li>accountHolderName - string</li>\n<li>businessAccountName - string</li>\n<li>provider - object<ul>\n<li>providerId - string</li>\n<li>logoUri - string</li>\n<li>displayName - string</li>\n</ul>\n</li>\n<li>accountNumber<ul>\n<li>number - string</li>\n<li>sortCode - string</li>\n<li>swiftBic - string</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"request-query-params-1\">Request query params</h2>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h2 id=\"response-body-1\">Response body</h2>\n<p>The response is an object containing two arrays: \"bankAccounts\" and \"bankCredentials\".</p>\n<hr />\n<p><code>bankAccounts</code> (array):<br />An array of bank account objects.</p>\n<p>Each bank account object has the following properties:</p>\n<ul>\n<li><code>bankAccountId</code> (string):<br />  The ID of the bank account.</li>\n<li><code>account</code> (object):<br />  An object representing the bank account details.<ul>\n<li><code>currency</code> (string):<br />  The currency of the bank account.</li>\n<li><code>accountType</code> (string):<br />  The type of the bank account.</li>\n<li><code>displayName</code> (string):<br />  The display name of the bank account.</li>\n<li><code>accountHolderName</code> (string):<br />  The name of the account holder.</li>\n<li><code>businessAccountName</code> (string):<br />  The name of the business account.</li>\n<li><code>provider</code> (object):<br />  An object representing the provider details.<ul>\n<li><code>providerId</code> (string):<br />  The ID of the provider.</li>\n<li><code>logoUri</code> (string):<br />  The URI of the provider's logo.</li>\n<li><code>displayName</code> (string):<br />  The display name of the provider.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><code>accountNumber</code> (object):<br />  An object representing the account number details.<ul>\n<li><code>number</code> (string):<br />  The account number.</li>\n<li><code>sortCode</code> (string):<br />  The sort code.</li>\n<li><code>swiftBic</code> (string):<br />  The SWIFT/BIC code.</li>\n</ul>\n</li>\n<li><code>bankCredentials</code> (object):<br />  An object representing the bank credentials.<ul>\n<li><code>bankAccountId</code> (string):<br />  The ID of the bank account.</li>\n<li><code>account</code> (object):<br />  An object representing the account details.</li>\n<li><code>providerAccountId</code> (string):<br />  The ID of the provider account.</li>\n<li><code>availableBalance</code> (number):<br />  The available balance of the account.</li>\n<li><code>currentBalance</code> (number):<br />  The current balance of the account.</li>\n<li><code>overdraft</code> (number):<br />  The overdraft amount of the account.</li>\n<li><code>isPrimary</code> (boolean):<br />  Indicates whether the account is the primary account.</li>\n<li><code>accountClosed</code> (boolean):<br />  Indicates whether the account is closed.</li>\n<li><code>accountClosedAt</code> (datetime):<br />  The date and time when the account was closed.</li>\n<li><code>isOpenBanking</code> (boolean):<br />  Indicates whether the account is open banking.</li>\n<li><code>createdAt</code> (datetime):<br />  The date and time when the account was created.</li>\n<li><code>updatedAt</code> (datetime):<br />  The date and time when the account was last updated.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","onboarding","get-bank-accounts"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"b68e2733-2900-4ddc-9113-6849179c0d11","name":"getBankAccounts","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/onboarding/get-bank-accounts?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","onboarding","get-bank-accounts"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1355"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 14:28:06 GMT"},{"key":"x-amzn-RequestId","value":"808563b3-e5b8-4d1f-b39a-e6f51dd6e7ad"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EF6t5FR4rPEF7-Q="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644bd7f2-545e3abc085939841c8c99fc;Sampled=0;lineage=03f05429:0|e1f6f180:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 40cca5ba9d58d2863aa64808c5af6212.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"HHY5B3BRED32gYC2JUl1ddSRuFEJiVa_VdOUMX0IKUfOlpCRvuAB9Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"bankAccounts\": [\n            {\n                \"bankAccountId\": \"3090875796814825031\",\n                \"account\": {\n                    \"currency\": \"GBP\",\n                    \"accountType\": \"TRANSACTION\",\n                    \"displayName\": \"TRANSACTION ACCOUNT 1\",\n                    \"accountHolderName\": \"Test Tester\",\n                    \"businessAccountName\": \"my account\",\n                    \"provider\": {\n                        \"logoUri\": \"\",\n                        \"providerId\": \"\",\n                        \"displayName\": \"\"\n                    },\n                    \"accountNumber\": {\n                        \"number\": \"10000001\",\n                        \"sortCode\": \"000000\",\n                        \"swiftBic\": null\n                    }\n                },\n                \"providerAccountId\": null,\n                \"availableBalance\": \"0\",\n                \"currentBalance\": \"0\",\n                \"overdraft\": \"0\",\n                \"isPrimary\": false,\n                \"accountClosed\": false,\n                \"accountClosedAt\": null,\n                \"isOpenBanking\": false,\n                \"createdAt\": \"2023-04-28T11:25:29.545Z\",\n                \"updatedAt\": \"2023-04-28T11:46:17.890Z\"\n            },\n            {\n                \"bankAccountId\": \"3090886032854353516\",\n                \"account\": {\n                    \"currency\": \"GBP\",\n                    \"accountType\": \"TRANSACTION\",\n                    \"displayName\": \"TRANSACTION ACCOUNT 1\",\n                    \"accountHolderName\": \"Test Tester\",\n                    \"businessAccountName\": \"my account\",\n                    \"provider\": {\n                        \"logoUri\": \"\",\n                        \"providerId\": \"\",\n                        \"displayName\": \"\"\n                    },\n                    \"accountNumber\": {\n                        \"number\": \"10000000\",\n                        \"sortCode\": \"000000\",\n                        \"swiftBic\": null\n                    }\n                },\n                \"providerAccountId\": null,\n                \"availableBalance\": \"0\",\n                \"currentBalance\": \"0\",\n                \"overdraft\": \"0\",\n                \"isPrimary\": true,\n                \"accountClosed\": false,\n                \"accountClosedAt\": null,\n                \"isOpenBanking\": false,\n                \"createdAt\": \"2023-04-28T11:45:49.768Z\",\n                \"updatedAt\": \"2023-04-28T11:46:17.899Z\"\n            }\n        ],\n        \"bankCredentials\": []\n    }\n}"}],"_postman_id":"f210bd46-02f6-46d8-9aee-fed30ba556f1"},{"name":"addBankAccount","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"b929ca05-d779-4921-86fa-deee3c27fb0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"accountName\": \"my account\",\n    \"accountHolderName\": \"Test Tester\",\n    \"accountNumber\": \"10000002\",\n    \"sortCode\": \"000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/create-bank-account","description":"<p>Endpoint to add a bank account.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>accountName</code> (string): <strong>REQUIRED</strong><br />The name of the bank account.</p>\n<hr />\n<p><code>accountHolderName</code> (string): <strong>REQUIRED</strong><br />The name of the account holder.</p>\n<hr />\n<p><code>accountNumber</code> (string): <strong>REQUIRED</strong><br />The account number.</p>\n<hr />\n<p><code>sortCode</code> (string): <strong>REQUIRED</strong><br />The sort code of the bank account. Example: \"123456\".</p>\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>bankAccountId</code> (string):<br />The ID of the bank account.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","create-bank-account"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f8b98f53-5c11-4b03-ab7f-32d46bc65822","name":"addBankAccount","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"accountName\": \"my account\",\n    \"accountHolderName\": \"Test Tester\",\n    \"accountNumber\": \"10000000\",\n    \"sortCode\": \"000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/create-bank-account"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"89"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 25 Apr 2023 10:57:32 GMT"},{"key":"x-amzn-RequestId","value":"2ca867a6-e37c-4400-b664-bdb4f2a8cb0f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"D7jEQF73rPEFYRQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6447b21a-0e02ddca4e8ff5903be61627;Sampled=0;lineage=03f05429:0|64686528:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 cd8f4ac94836dc54b056844b56c2bb70.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"iH14emMXwskzkZP92OXpFyiP7Ljludah-Q4H3VhacLj8eJC15J2K5g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"bankAccountId\": \"3088687398192678442\"\n    }\n}"}],"_postman_id":"b929ca05-d779-4921-86fa-deee3c27fb0f"},{"name":"setupDirectDebit","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"644b658c-1f15-4e68-aadd-b5afdfb3682b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/setup-direct-debit","description":"<p>Endpoint to setup a GoCardless Direct Debit mandate on customer's primary bank account.</p>\n<p><strong>Note, this endpoint requires an active GoCardless integration. You can configure your integration in the Abel Developer Portal.</strong></p>\n<p>You can designate a primary bank account for a customer using the <strong>changePrimaryBankAccount</strong> endpoint.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","setup-direct-debit"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"55934402-b86d-4b92-b4c3-31f9b654ea43","name":"setupDirectDebit","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/setup-direct-debit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 11:26:03 GMT"},{"key":"x-amzn-RequestId","value":"9f954c34-30ea-4894-9a51-d8b35a69ff6b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFgB_EdgrPEF2UQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644bad3f-097e3bce18d6045d2b3fa1eb;Sampled=0;lineage=03f05429:0|b583a3ad:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 40cca5ba9d58d2863aa64808c5af6212.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"o1sBrUcn64aPjQCSbqv8oo1JEoUPZKFD3nQWevWqfu02LkeBy_V-6w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"644b658c-1f15-4e68-aadd-b5afdfb3682b"},{"name":"changePrimaryBankAccount","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"9703ed5c-518b-48a9-b0c6-6a0b6f935444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"bankAccountId\": \"3090968382829233908\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/change-primary-bank-account","description":"<p>Endpoint change the primary bank account. This cancels an existing GoCardless Direct Debit mandate and creates a new one on the new primary bank account.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>bankAccountID</code> (string): <strong>REQUIRED</strong><br />The ID of the bank account you wish to designate as the primary account.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","change-primary-bank-account"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"5011fda1-8b7a-4c7c-bf7d-2ffdccad3d0f","name":"changePrimaryBankAccount","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"bankAccountId\": \"3090886032854353516\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/change-primary-bank-account"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 11:46:25 GMT"},{"key":"x-amzn-RequestId","value":"4a2fc854-4d2e-4370-a1cc-4c2e0f743313"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EFjAvHiyrPEF8hA="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644bb204-7c4298bf2952710f38505821;Sampled=0;lineage=03f05429:0|fb23fee7:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b02c5108645d71e94b66c369c35c449a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"HgJUST1cyBx21sd2w5ku_s7SW_yzYbbr880e-cOZMM-GlVC955662Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"9703ed5c-518b-48a9-b0c6-6a0b6f935444"},{"name":"getDirectDebit","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"91336486-7292-4bb7-b275-0103627982ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-direct-debit?companyId={{company_id}}","description":"<p>Endpoint to check if a customer has a Direct Debit mandate setup, and on which bank account.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>accountNumber</code> (string): <strong>REQUIRED</strong><br />The bank account number.</p>\n<hr />\n<p><code>sortCode</code> (string): <strong>REQUIRED</strong><br />The sort code of the bank account.</p>\n<hr />\n<p><code>holderName</code> (string): <strong>REQUIRED</strong><br />The account holder's name.</p>\n<hr />\n<p><code>companyName</code> (string): <strong>REQUIRED</strong><br />The name of the company who own the account.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","get-direct-debit"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[{"id":"f39c420b-b3a5-46fe-b93d-5465636abab3","name":"getDirectDebit","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/v1/onboarding/get-direct-debit?companyId=3055356223458117123","host":["{{baseUrl}}"],"path":["api","v1","onboarding","get-direct-debit"],"query":[{"key":"companyId","value":"3055356223458117123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"172"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 28 Apr 2023 14:30:17 GMT"},{"key":"x-amzn-RequestId","value":"cba253c0-1a45-490c-8700-60d895d56022"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"EF7C7F-SrPEF41g="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-644bd878-4567de9e5af2b8f159e7891a;Sampled=0;lineage=03f05429:0|fbc21e29:0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 40cca5ba9d58d2863aa64808c5af6212.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"Kfr_GKGZZc7GsFf7M_2RmwCAkSTOuRsLODNu4kRTuX0r7y2cKab-yA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {\n        \"accountNumber\": \"10000002\",\n        \"sortCode\": \"000000\",\n        \"holderName\": \"Waqas IQBAL\",\n        \"companyName\": \"WS GLOBAL SERVICES LTD\"\n    }\n}"}],"_postman_id":"91336486-7292-4bb7-b275-0103627982ae"}],"id":"136aedde-8ea9-4263-aaa7-2b3b3aeed22b","_postman_id":"136aedde-8ea9-4263-aaa7-2b3b3aeed22b","description":""},{"name":"activateUser","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"f0405c06-d7fa-4971-bf32-138607b60b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"{{user_id}}\",\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-user","description":"<p>Endpoint to activate a user.</p>\n<p>To activate the company all users must be active. A user can only be activated if they are in a \"NEEDS_REVIEW\" status.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>userId</code> (string): <strong>REQUIRED</strong><br />The ID of the user to activate.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","activate-user"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c694749a-3906-4498-945d-9e47d328996e","name":"activateUser","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"3055408746655123073\",\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 08 Mar 2023 11:14:11 GMT"},{"key":"x-amzn-RequestId","value":"31d620b9-0b68-42bc-bcdb-c626a6375037"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BdYggFz1LPEFeGg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64086e02-65f727dc1a52e8c87391cc46;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 72c9d865b9f90117e753b40c0f979644.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"VS8VLgGGCGK6E7mJkSvPLEtJ4lNIl-l0ZIjS-b0OIyyWqfW955w-iQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"f0405c06-d7fa-4971-bf32-138607b60b05"},{"name":"activateCompany","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"6e00c937-0e78-4bc1-a707-0bf80e3f2743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-company","description":"<p>A company can only be activated when all the users are active, and the company status is \"NEEDS_REVIEW\".</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","activate-company"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4e0fcd3f-06b3-4912-ad2a-9a3776526f62","name":"activateCompany","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 08 Mar 2023 11:14:16 GMT"},{"key":"x-amzn-RequestId","value":"28089c1b-0694-41f1-aff7-0888b2101556"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BdYhAFC0rPEF_MQ="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-64086e06-6fbfa1f03561d0b84aab9739;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 72c9d865b9f90117e753b40c0f979644.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"f_WZG-8kdG4jT8Ij3Bb24v-X3eCnjUc-M0HvShBgwJVvq7SafO_bXw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"result\": {}\n}"}],"_postman_id":"6e00c937-0e78-4bc1-a707-0bf80e3f2743"},{"name":"activateProduct","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"e0f82546-5134-4418-9c8e-9205dcbecfa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"productName\": \"term-loan\",\n    \"offerId\": \"3099042370482603382\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-product","description":"<p>Endpoint to activate a product for a given customer.</p>\n<p><strong>Note, this endpoint is required for subsequent products only</strong>. For first-time customers, the product is activated automatically the company is activated.</p>\n<p>This endpoint is asynchronous. When the procesing is over you will receive a webhook request of type <code>ACTION_COMPLETED</code>, category <code>PRODUCT</code>, action <code>activate_product.</code></p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>productName</code> (string): <strong>REQUIRED</strong><br />The name of the product to be activated.</p>\n<hr />\n<p><code>offerId</code> (string): <strong>REQUIRED</strong><br />The ID of the related offer.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","activate-product"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"53ecac1e-06af-4ba8-8900-e01b13f255af","name":"activateProduct","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"jK89BOl6t6tF41roNYcGI6GmLGCACOC54TPlo9Fq","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"3055356223458117123\",\n    \"productName\": \"floc\",\n    \"offerId\": \"3048320875850892983\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/activate-product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"74"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Feb 2023 18:43:14 GMT"},{"key":"x-amzn-RequestId","value":"04b699af-1e8e-4a70-83b1-31cb748108ab"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"x-amz-apigw-id","value":"BECyXF7uLPEFThg="},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE"},{"key":"X-Amzn-Trace-Id","value":"Root=1-63fe4b42-5af251c4180561bd444bac9e;Sampled=0"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ce084a1179392e1921b98c60a4590284.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Amz-Cf-Id","value":"17gv0312pYe5KIL9mIA9E1ku0-224oy97ui3zEBHoM-CIb5PZs5hsg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Product activation initiated\",\n    \"result\": {}\n}"}],"_postman_id":"e0f82546-5134-4418-9c8e-9205dcbecfa5"},{"name":"getProducts","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"cd2b1f0b-74a1-4bef-af1f-a8e15b7cb1ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-products?companyId={{company_id}}","description":"<p>This endpint returns the list of active products, with funding limits, for a given customer.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an array of products.</p>\n<p>Each product object contains the following properties:</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product.</p>\n<hr />\n<p><code>precentageFee</code> (number):<br />The percentage fee as a decimal.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>totalFundingLimit</code> (number):<br />The total funding limit.</p>\n<hr />\n<p><code>currentFundingLimit</code> (number):<br />The current funding limit.</p>\n","urlObject":{"path":["api","v1","onboarding","get-products"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[],"_postman_id":"cd2b1f0b-74a1-4bef-af1f-a8e15b7cb1ae"},{"name":"getLoans","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"a23c1f71-8193-4336-b90e-686c3ad1a045","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-loans?companyId={{company_id}}","description":"<p>This endpoint returns the list of all the customer's loans, regardless of their status.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an array of loans.</p>\n<p>Each loan object contains the following properties:</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer associated with the loan.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product.</p>\n<hr />\n<p><code>withdrawalId</code> (string):<br />The ID of the withdrawal.</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the loan.</p>\n<hr />\n<p><code>term</code> (number):<br />The term length of the loan.</p>\n<hr />\n<p><code>amount</code> (number):<br />The amount of the loan.</p>\n<hr />\n<p><code>precentageFee</code> (number):<br />The percentage fee as a decimal.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>firstPaymentDate</code> (date):<br />The date of the first payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>lastPaymentDate</code> (date):<br />The date of the last payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount.</p>\n<hr />\n<p><code>approvedBy</code> (string):<br />The ID or name of the approver who approved the loan.</p>\n<hr />\n<p><code>approvedAt</code> (datetime):<br />The date and time when the loan was approved.</p>\n<hr />\n<p><code>createdAt</code> (datetime):<br />The date and time when the loan was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime):<br />The date and time when the loan was last updated.</p>\n","urlObject":{"path":["api","v1","onboarding","get-loans"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"}],"variable":[]}},"response":[],"_postman_id":"a23c1f71-8193-4336-b90e-686c3ad1a045"},{"name":"getLoanEstimate","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"37f0b6d9-0f15-4749-bc7d-1f30170460d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/get-loan-estimate?companyId={{company_id}}&offerId=3093912013290604218&amount=20000","description":"<p>This endpoint allows you to simulate a loan repayment plan for your customer depending on the amount they would like to withdraw.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerId</code> (string): <strong>REQUIRED</strong><br />The ID of the offer.</p>\n<hr />\n<p><code>amount</code> (number): <strong>REQUIRED</strong><br />The loan amount.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response contains the following properties:</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount.</p>\n<hr />\n<p><code>firstRepaymentDate</code> (date):<br />The date of the first repayment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>finalRepaymentDate</code> (date):<br />The date of the final repayment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>totalRepaymentAmount</code> (number):<br />The total repayment amount.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","get-loan-estimate"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"offerId","value":"3093912013290604218"},{"key":"amount","value":"20000"}],"variable":[]}},"response":[],"_postman_id":"37f0b6d9-0f15-4749-bc7d-1f30170460d6"},{"name":"withdraw","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"58f6d7e2-fe02-4e93-beee-9109db0bd947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"offerId\": \"3100417467109868697\",\n    \"amount\": 20000\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/withdraw","description":"<p>Endpoint to withdraw money from a loan.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerId</code> (string): <strong>REQUIRED</strong><br />The ID of the offer.</p>\n<hr />\n<p><code>amount</code> (number): <strong>REQUIRED</strong><br />The amount to be withdrawn</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>loanId</code> (string):<br />The ID of the loan to be drawndown.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","withdraw"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"58f6d7e2-fe02-4e93-beee-9109db0bd947"},{"name":"approveLoan","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"7371625e-0fe9-4e05-841f-fa08c3d4732d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3100417852037924008\",\n    \"approvedBy\": \"x@test.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/approve-loan","description":"<p>Endpoint to approve a loan withdrawal request.</p>\n<p>This endpoint is asynchronous. Once the loan is ready to be disbursed you will receive the <code>awaiting-disbursal-confirmation</code> event.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>approvedBy</code> (string): <strong>REQUIRED</strong><br />Recognisable approval name or ID (e.g. employee email address or unique ID).</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","approve-loan"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7371625e-0fe9-4e05-841f-fa08c3d4732d"},{"name":"confirmDisbursal","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"ee5b98e9-bf9b-49d5-8d80-a8eeebcd67bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3104609827687499397\",\n    \"amount\": 20000\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/onboarding/confirm-disbursal","description":"<p>This endpoint can be used to confirm that a disbursal has been successfully made to the user via an external payment rail.</p>\n<p>It is asynchronous; when the processing is over you will receive the <code>loan-activated</code> event.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>amount</code> (number): OPTIONAL<br />Amount disbursed.</p>\n<hr />\n","urlObject":{"path":["api","v1","onboarding","confirm-disbursal"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee5b98e9-bf9b-49d5-8d80-a8eeebcd67bf"}],"id":"d2977f62-fba5-4d9a-82e0-6aa2497c4212","description":"<p>The Onboarding collection contains services required to onboard a customer, activate their product and disburse their funds.</p>\n<p>At this point of the process you've got the company and company directors verified, a firm offer accepted, and contracts signed. Your goal now it to issue and disburse a loan.</p>\n<p>The process is different for floc and term-loan, and is also different for the second product.</p>\n<h3 id=\"1-activate-the-customer-and-product\">1. Activate the customer and product</h3>\n<p>For any first product:</p>\n<ul>\n<li>activate all users via the <strong>activateUser</strong> endpoint, then</li>\n<li>activate the company via the <strong>activateCompany</strong> endpoint</li>\n</ul>\n<p>For a second product (for a repeat customer):</p>\n<ul>\n<li>activate the product using the <strong>activateProduct</strong> endpoint</li>\n</ul>\n<h3 id=\"2-setup-the-disbursal\">2. Setup the disbursal</h3>\n<p>The disbursal product is different for different product types, given the various types of drawdown and repayment schedules unique to each. The process for setting up disbursal, per product, is as follows:</p>\n<h4 id=\"for-floc-flexible-line-of-credit\">For FLOC (flexible line of credit):</h4>\n<ul>\n<li>use <strong>getLoanEstimate</strong> to preivew the repayment requirement based on the a requestd withdrawal amount.</li>\n<li>Once your client is happy with the amount, use the <strong>withdraw</strong> endpoint to request the withdrawal.</li>\n</ul>\n<p>For term-loan:</p>\n<ul>\n<li>use the <strong>getLoan</strong> endpoint to display the inactive loan to the client</li>\n<li>use the <strong>withdraw</strong> endpoint to to request the withdrawal.</li>\n</ul>\n<h3 id=\"3-approve-the-withdrawal\">3. Approve the withdrawal</h3>\n<p>Verify and approve the withdrawal using the <strong>approveLoan</strong> endpoint. You will receive the webhook event when it's ready for you to disburse the money.</p>\n<h3 id=\"4-disburse-funds\">4. Disburse funds</h3>\n<p>Disburse the money using your chosen payment rails, and confirm the disbursal using the <strong>confirmDisbursal</strong> endpoint. From this moment the loan is active and you can start servicing the loan.</p>\n<p>At this point the floc client can request more withdrawals.</p>\n","_postman_id":"d2977f62-fba5-4d9a-82e0-6aa2497c4212"},{"name":"Servicing","item":[{"name":"getLoans","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"9489e12c-9bed-45b9-96fe-c4c0fd52e024","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/get-loans?companyId={{company_id}}&offerId=3093912722497079006","description":"<p>Endpoint to retrieve a list of all loans for a given customer.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>offerId</code> (string): <strong>REQUIRED</strong><br />The ID of the offer.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<p>The response is an array of loans.</p>\n<p>Each loan object contains the following properties:</p>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer associated with the loan.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product.</p>\n<hr />\n<p><code>loanId</code> (string):<br />The ID of the loan.</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the loan.</p>\n<hr />\n<p><code>term</code> (number):<br />The term of the loan.</p>\n<hr />\n<p><code>amount</code> (number):<br />The amount of the loan.</p>\n<hr />\n<p><code>percentageFee</code> (number):<br />The percentage fee as a decimal.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>firstPaymentDate</code> (date):<br />The date of the first payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>lastPaymentDate</code> (date):<br />The date of the last payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount.</p>\n<hr />\n<p><code>approvedBy</code> (string):<br />The ID or name of the approver who approved the loan.</p>\n<hr />\n<p><code>approvedAt</code> (datetime):<br />The date and time when the loan was approved.</p>\n<hr />\n<p><code>createdAt</code> (datetime):<br />The date and time when the loan was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime):<br />The date and time when the loan was last updated.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","get-loans"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"offerId","value":"3093912722497079006"}],"variable":[]}},"response":[],"_postman_id":"9489e12c-9bed-45b9-96fe-c4c0fd52e024"},{"name":"getLoan","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"403cf744-1f45-49ea-bc8c-390f3dc0bdc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/get-loan?companyId={{company_id}}&loanId=3093912722497079006","description":"<p>Endpoint to get information on a specific loan for a given customer.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>offerId</code> (string):<br />The ID of the offer associated with the loan.</p>\n<hr />\n<p><code>productName</code> (string):<br />The name of the product.</p>\n<hr />\n<p><code>loanId</code> (string):<br />The ID of the loan.</p>\n<hr />\n<p><code>status</code> (string):<br />The status of the loan.</p>\n<hr />\n<p><code>term</code> (number):<br />The term of the loan.</p>\n<hr />\n<p><code>amount</code> (number):<br />The amount of the loan.</p>\n<hr />\n<p><code>percentageFee</code> (number):<br />The percentage fee as a decimal.</p>\n<hr />\n<p><code>apr</code> (number):<br />The annual percentage rate (APR) as a decimal.</p>\n<hr />\n<p><code>setupFee</code> (number):<br />The setup fee as a decimal.</p>\n<hr />\n<p><code>monthlyInterestRate</code> (number):<br />The monthly interest rate as a decimal.</p>\n<hr />\n<p><code>firstPaymentDate</code> (date):<br />The date of the first payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>lastPaymentDate</code> (date):<br />The date of the last payment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>monthlyRepaymentAmount</code> (number):<br />The monthly repayment amount.</p>\n<hr />\n<p><code>approvedBy</code> (string):<br />The ID or name of the approver who approved the loan.</p>\n<hr />\n<p><code>approvedAt</code> (datetime):<br />The date and time when the loan was approved.</p>\n<hr />\n<p><code>createdAt</code> (datetime):<br />The date and time when the loan was created.</p>\n<hr />\n<p><code>updatedAt</code> (datetime):<br />The date and time when the loan was last updated.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","get-loan"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"loanId","value":"3093912722497079006"}],"variable":[]}},"response":[],"_postman_id":"403cf744-1f45-49ea-bc8c-390f3dc0bdc1"},{"name":"getLoanSchedule","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"b3271c86-fc3f-42a0-aa72-a365279b3f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/get-loan-schedule?companyId={{company_id}}&loanId=3093912722497079006","description":"<p>Endpoint to retrieve the repayment schedule of a specific loan.</p>\n<h3 id=\"request-query-params\">Request query params</h3>\n<ul>\n<li>companyId - string, mandatory</li>\n<li>withdrawalId - string, mandatory</li>\n</ul>\n<h3 id=\"response-body\">Response body</h3>\n<p>Response is an array containing instalments.</p>\n<p>Each instalment is an object:</p>\n<ul>\n<li>dueDate - date, format YYYY-MM-DD</li>\n<li>principalAmount - object</li>\n<li>interestAmount - object</li>\n<li>feeAmount - object</li>\n<li>penaltyAmount - object</li>\n<li>instalmentNumber - number, integer from 1 to term</li>\n<li>lastPaidDate - date, format YYYY-MM-DD or null</li>\n<li>repaidDate - date, format YYYY-MM-DD or null</li>\n<li>payState - string</li>\n<li>confirmationStatus - string</li>\n</ul>\n<p>All amount objects have the following keys:</p>\n<ul>\n<li>expected - number</li>\n<li>paid - number</li>\n<li>due - number</li>\n</ul>\n<h3 id=\"request-query-params-1\">Request query params</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>withdrawalId</code> (string): <strong>REQUIRED</strong><br />The ID of the withdrawal.</p>\n<hr />\n<h3 id=\"response-body-1\"><strong>Response body</strong></h3>\n<p>The response is an array containing instalments.</p>\n<p>Each instalment object contains the following properties:</p>\n<hr />\n<p><code>dueDate</code> (date):<br />The due date of the instalment. Format: YYYY-MM-DD.</p>\n<hr />\n<p><code>principalAmount</code> (object):<br />The amount object for the principal.</p>\n<hr />\n<p><code>interestAmount</code> (object):<br />The amount object for the interest.</p>\n<hr />\n<p><code>feeAmount</code> (object):<br />The amount object for the fee.</p>\n<hr />\n<p><code>penaltyAmount</code> (object):<br />The amount object for the penalty.</p>\n<hr />\n<p><code>instalmentNumber</code> (number):<br />The number of the instalment. Integer value ranging from 1 to the term.</p>\n<hr />\n<p><code>lastPaidDate</code> (date or null):<br />The date of the last payment. Format: YYYY-MM-DD or null if no payment has been made yet.</p>\n<hr />\n<p><code>repaidDate</code> (date or null):<br />The date when the instalment was fully repaid. Format: YYYY-MM-DD or null if not fully repaid.</p>\n<hr />\n<p><code>payState</code> (string):<br />The payment state of the instalment.</p>\n<hr />\n<p><code>confirmationStatus</code> (string):<br />The confirmation status of the instalment.</p>\n<h4 id=\"amount-objects\">Amount objects</h4>\n<p>All amount objects (<code>principalAmount</code>, <code>interestAmount</code>, <code>feeAmount</code>, <code>penaltyAmount</code>) have the following keys:</p>\n<hr />\n<p><code>expected</code> (number):<br />The expected amount.</p>\n<hr />\n<p><code>paid</code> (number):<br />The amount that has been paid.</p>\n<hr />\n<p><code>due</code> (number):<br />The remaining amount due.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","get-loan-schedule"],"host":["{{baseUrl}}"],"query":[{"key":"companyId","value":"{{company_id}}"},{"key":"loanId","value":"3093912722497079006"}],"variable":[]}},"response":[],"_postman_id":"b3271c86-fc3f-42a0-aa72-a365279b3f79"},{"name":"initiateRepayment","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"7e25c6be-5ce3-4832-980d-c5a29b6244c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3094460391250461801\",\n    \"instalmentNumber\": 1,\n    \"amount\": 3050.00\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/initiate-repayment","description":"<p>Endpoint to initiate a loan repayment.</p>\n<p>The endpoint first checks if a repayment can be triggered, and sends the <code>trigger-repayment</code> event to intiate a repayment request.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>instalmentNumber</code> (number): <strong>REQUIRED</strong><br />The number of the instalment. This is an integer value.</p>\n<hr />\n<p><code>amount</code> (number): OPTIONAL<br />Include the amount parameter if you wish to make a partial repayment. The amount should not exceed the <code>monthlyRepaymentAmount</code> for this instalment.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","initiate-repayment"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e25c6be-5ce3-4832-980d-c5a29b6244c2"},{"name":"confirmRepaymentTriggered","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"c155f582-f68c-42dd-84dc-ebf1ca37a5cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3067819179814946157\",\n    \"instalmentNumber\": 1,\n    \"amount\": 3000\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/confirm-repayment-triggered","description":"<p>Endpoint used to confirm that a repayment has been successfully scheduled with your payment provider.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>instalmentNumber</code> (number): <strong>REQUIRED</strong><br />The number of the instalment. This is an integer value.</p>\n<hr />\n<p><code>amount</code> (number): <strong>REQUIRED</strong><br />The monetary amount requested.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","confirm-repayment-triggered"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c155f582-f68c-42dd-84dc-ebf1ca37a5cf"},{"name":"repaymentFailed","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"00fe31a2-2865-48bd-bcb2-6d8d8dbf7213","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3067819179814946157\",\n    \"instalmentNumber\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/repayment-failed","description":"<p>Endpoint used to denote a repayment request as FAILED. This can be used both when you failed to schedule a repayment request, or you failed to collect a previously scheduled repayment.</p>\n<p><strong>Note, reversing confirmed repayments is not currently supported.</strong></p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>instalmentNumber</code> (number): <strong>REQUIRED</strong><br />The number of the instalment. This is an integer value.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","repayment-failed"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00fe31a2-2865-48bd-bcb2-6d8d8dbf7213"},{"name":"confirmRepayment","event":[{"listen":"test","script":{"id":"d35dab69-f288-4255-a843-a241a8a6caf4","exec":[""],"type":"text/javascript"}}],"id":"6358595c-358e-4a5f-8316-cc15c885058d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\",\n    \"loanId\": \"3100974661412849651\",\n    \"instalmentNumber\": 1,\n    \"amount\": 1866.67\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/servicing/confirm-repayment","description":"<p>Endpoint to mark a repayment as having been successfully collected.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company.</p>\n<hr />\n<p><code>loanId</code> (string): <strong>REQUIRED</strong><br />The ID of the loan.</p>\n<hr />\n<p><code>instalmentNumber</code> (number): <strong>REQUIRED</strong><br />The number of the instalment. This is an integer value.</p>\n<hr />\n<p><code>amount</code> (number): <strong>REQUIRED</strong><br />The monetary amount collected.</p>\n<hr />\n","urlObject":{"path":["api","v1","servicing","confirm-repayment"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6358595c-358e-4a5f-8316-cc15c885058d"}],"id":"059f4517-e756-44d9-8625-c9e87a5439c6","description":"<p>The Servicing collection contains a range of services that can be used to manage efficient loan repayments, and provide detailed loan information through to customer portals.</p>\n<h3 id=\"displaying-loan-information\">Displaying Loan information</h3>\n<p>Detailed loan information can be displayed to end-users in their interface of choice using the <strong>getLoans, getLoan</strong> and <strong>getLoanSchedule</strong> endpoints.</p>\n<h3 id=\"loan-repayment\">Loan repayment</h3>\n<p>The loan repayment proccess consists of the following steps:</p>\n<h4 id=\"1-initiation\">1. Initiation</h4>\n<p>You receive the <code>trigger-repayment</code> event indicating that a repayment is due. You can also initiate the process manually calling the <strong>initiateRepayment</strong> endpoint.</p>\n<p>We initiate each repayment in the morning 10 days before the repayment is due by default. You can change the number of days by configuring the REPAYMENT_INITIATION_DAYS parameter.</p>\n<h4 id=\"2-triggering\">2. Triggering</h4>\n<p>You trigger the repayment using your payment method of choice, e.g. by scheduling a Direct Debit payment, and call the <strong>confirmRepaymentTriggered</strong> Endpoint to confirm the request.</p>\n<h4 id=\"3-confirmation\">3. Confirmation</h4>\n<p>Once you receive the funds from the customer, call the <strong>confirmRepayment</strong> endpoint to mark the instalment as paid.</p>\n<h4 id=\"4-failure\">4. Failure</h4>\n<p>If you fail to collect the funds from the customer, call the <strong>repaymentFailed</strong> endpoint.</p>\n<h4 id=\"5-retry\">5. Retry</h4>\n<p>We initiate daily repayment requests for all failed instalment payments until such instalments are marked as paid via the <strong>confirmRepayment</strong> endpoint.</p>\n<h4 id=\"6-default\">6. Default</h4>\n<p>Loan status is changed to ACTIVE_IN_ARREARS 7 days after an unpaid instalment was due, and to DEFAULTED 90 days after.</p>\n<h3 id=\"servicing-statuses\">Servicing statuses</h3>\n<h4 id=\"repayment-statuses\">Repayment Statuses</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Repayment Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PENDING</td>\n<td>Instalment is awaiting confirmation of repayment.</td>\n</tr>\n<tr>\n<td>PARTIALLY_PAID</td>\n<td>Instalment has been partially paid by the customer.</td>\n</tr>\n<tr>\n<td>PAID</td>\n<td>Instalment has been fully paid by the customer.</td>\n</tr>\n<tr>\n<td>LATE</td>\n<td>Instalment is passed due.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"confirmation-statuses\">Confirmation Statuses</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Confirmation Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>WAITING</td>\n<td>System is awaiting confirmation of a repayment.</td>\n</tr>\n<tr>\n<td>TRIGGERED</td>\n<td>A repayment has been triggered.</td>\n</tr>\n<tr>\n<td>CONFIRMED</td>\n<td>A repayment has been confirmed.</td>\n</tr>\n<tr>\n<td>FAILED</td>\n<td>A repayment has failed. The system will automatically retry to initiateRepayment daily</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"loan-statuses\">Loan Statuses</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Loan Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ACTIVE</td>\n<td>Loan is currently active.</td>\n</tr>\n<tr>\n<td>ACTIVE_IN_ARREARS</td>\n<td>A repayment is 7 days past due.</td>\n</tr>\n<tr>\n<td>DEFAULTED</td>\n<td>A repayment is 90 days past due.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"059f4517-e756-44d9-8625-c9e87a5439c6"},{"name":"Monitoring","item":[{"name":"createCompanyForMonitoring","event":[{"listen":"test","script":{"id":"9906a439-326c-46b5-a600-b9ae5b841d5e","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"company_id\", jsonData.result.companyId);"],"type":"text/javascript"}}],"id":"169d538c-e07e-4abd-918f-c63ee6ccc5bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companiesHouseNumber\": \"03870490\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/monitoring/create-company","description":"<p>Use this endpoint to create a new company entity for the purposes of monitoring. This allows you to efficiently create a company in the Abel system without needing to use the Application and Offer entities in the Origination and Decisioning flows.</p>\n<p>You can use this endpoint to monitor existing companies in a lenders portfolio.</p>\n<p><strong>Please note, customers will not be monitored until you have invoked the enableMonitoring endpoint.</strong></p>\n<p>Company information is created based on Companies House data, customer preference, and company financial status.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companiesHouseNumber</code> (string): <strong>REQUIRED</strong><br />The Companies House number of the company.</p>\n<hr />\n<h3 id=\"response-body\">Response body</h3>\n<hr />\n<p><code>companyId</code> (string):<br />The ID of the company returned as a string.</p>\n<hr />\n","urlObject":{"path":["api","v1","monitoring","create-company"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"169d538c-e07e-4abd-918f-c63ee6ccc5bc"},{"name":"enableMonitoring","event":[{"listen":"test","script":{"id":"9906a439-326c-46b5-a600-b9ae5b841d5e","exec":[""],"type":"text/javascript"}}],"id":"3d163ca8-e302-4130-a689-5bac47c6f55b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/monitoring/enable-monitoring","description":"<p>Use this endpoint to mark a specific customer for monitoring.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company returned as a string.</p>\n<hr />\n","urlObject":{"path":["api","v1","monitoring","enable-monitoring"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"3d163ca8-e302-4130-a689-5bac47c6f55b"},{"name":"disableMonitoring","event":[{"listen":"test","script":{"id":"9906a439-326c-46b5-a600-b9ae5b841d5e","exec":[""],"type":"text/javascript"}}],"id":"db401d60-eb2e-432e-8471-bb336605a34d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"{{company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/monitoring/disable-monitoring","description":"<p>Use this endpoint to remove a specific customer from the monitoring service.</p>\n<h3 id=\"request-body\">Request body</h3>\n<hr />\n<p><code>companyId</code> (string): <strong>REQUIRED</strong><br />The ID of the company returned as a string.</p>\n<hr />\n","urlObject":{"path":["api","v1","monitoring","disable-monitoring"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"db401d60-eb2e-432e-8471-bb336605a34d"}],"id":"4c62565d-d5f6-4644-a6f4-1b3116f270ac","description":"<p>The Abel Monitoring service uses novel data sets, advanced risk science and deep domain expertise to improve the timeliness and fidelity of customer and loan-level monitoring efforts.</p>\n<p>This enables lenders to better anticipate challenges and opportunties on a customer basis, leading to enhanced customer service, lower impairments and deeper customer relationships.</p>\n<p>The Abel monitoring service comprises of three key reports</p>\n<h3 id=\"monthly-behavioural-report\">Monthly Behavioural Report</h3>\n<p>Provides a monthly report using a range of proprietary indices, tracking the credit health of a company over time. These include Behavioural P(d) scores, sub-sector economic oulook indices</p>\n<h3 id=\"red-flag-report\">Red flag report</h3>\n<p>Analyses bureau provided data for early warning indicators of credit deterioration. Provided on a monthly basis, in tandem with Bureau refresh rates.</p>\n<h3 id=\"transaction-report\">Transaction Report</h3>\n<p>Analyses Open Banking transactions for indicators of customer stress and credit deterioration, or improving commercial prospects. Can be provided on a variety of bases, from 3x daily to monthly batch reports.</p>\n<p>Get in touch with our CRO, <a href=\"david.khan@abletech.io\"> David Khan</a> for more information on our Risk Monitoring capabilities.</p>\n","_postman_id":"4c62565d-d5f6-4644-a6f4-1b3116f270ac"}]}