{"info":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","description":"<html><head></head><body><p>Creditbook provides an API suite called the \"Embedded Finance APIs\" for our partners to integrate into their business flows, enabling their customers to avail Creditbook's speedy and reliable financing options.</p>\n<p>The following APIs constitute our lending infrastructure, offering developers and partners a secure environment to seamlessly test and integrate applications.</p>\n<p>To understand our main processes better, sequence diagrams are attached along with each folder that represent generic (but not necessarily hard wired) flows for how integration and lending work. The folders have been subdivided into \"main\" and \"utils\" to provide clarity on what purpose a specific endpoint serves in the happy flow. Before entering into the documentation, following is a list of terms and their dedintions that are used frequently throughout this document.</p>\n<h3 id=\"glossary-of-terms\">Glossary of Terms:</h3>\n<h4 id=\"partner\">Partner:</h4>\n<p>The consumer of EF APIs, for whom these docs are intended, is the Partner.</p>\n<h4 id=\"customer\">Customer:</h4>\n<p>Under this system, a Customer is comprised of 3 constituent parts:</p>\n<ul>\n<li><p>An entity</p>\n</li>\n<li><p>The entity's compliance(s)</p>\n</li>\n<li><p>The entity's products</p>\n</li>\n</ul>\n<p><strong>Entity:</strong> An entity may refer to an individual or a business registered with the system. A business can be owned by multiple individuals and an individual may be linked to multiple businesses. Each individual and business entity have a corresponding compliance. Since a loan application is submitted through a business, <em>the entity referring to a customer above is actually the</em> <em><strong>Business Entity,</strong></em> <em>but the customer registration process involves entering details for both the business and at least one linked individual (or more).</em></p>\n<p><strong>Compliance:</strong> A compliance is a document which captures an entity's KYC requirements. These may include for example National Document ID, Industry, Average Monthly Revenue, Bank Statement, among others. The exact list of compliance requirements are retrieved from the <a href=\"https://engineering-cb.postman.co/workspace/Finance-Core~2583cf1c-40e2-4298-911a-4dfadf46b90e/request/37253105-ce4886cc-f60f-4a5a-ba0b-80427dbf530c?action=share&amp;source=copy-link&amp;creator=37253105&amp;active-environment=91a5bc33-0999-43bf-8c4b-374d2ceeb901\">Get Form Meta API</a>.</p>\n<p><strong>Product:</strong> A product refers to a financing offering of a specific type, for eg Cash Flow Financing, Invoice Financing etc. The customer may sign agreements for these products to become eligible to apply for financing for them. <strong>For example</strong> there may have a product called \"Car Financing\" available to partner ABC. Then, a customer on partner ABC's app through the Embedded Finance APIs may register with the <a href=\"https://engineering-cb.postman.co/workspace/Finance-Core~2583cf1c-40e2-4298-911a-4dfadf46b90e/request/37253105-ec12a1a7-11d9-467d-a789-d52ff993f38f?action=share&amp;source=copy-link&amp;creator=37253105&amp;active-environment=850f669f-e751-470e-9217-209085216e16\">Create Entity API</a>, sign an agreement for \"Car Financing\" product, and then can apply for Car Financing through the <a href=\"https://engineering-cb.postman.co/workspace/Finance-Core~2583cf1c-40e2-4298-911a-4dfadf46b90e/request/37253105-ec12a1a7-11d9-467d-a789-d52ff993f38f?action=share&amp;source=copy-link&amp;creator=37253105&amp;active-environment=91a5bc33-0999-43bf-8c4b-374d2ceeb901\">Create Loan API</a>.</p>\n<h4 id=\"agreement\">Agreement:</h4>\n<p>A contract to formalize financing processes. Agreements are signed during:<br>1. The Customer Onboarding Flow - to lay out the terms of a finance offering between a financier and a customer</p>\n<p>2. The Financing Flow (optional) - in some cases, loan level agreements are required where a customer will sign an agreement for each financing request they make once it gets approved by the system</p>\n<h4 id=\"service\">Service:</h4>\n<p>A service refers to a specific functional capability related to a type of financing. For example, a \"Loan Service\" encompasses the operations to apply for and manage loans, while a \"Savings Service\" would handle savings account functionalities.</p>\n<p>When a customer is eligible for or has chosen a specific Product (e.g., a 'Personal Loan'), it means they can then interact with the associated Service - in this case a Loan.</p>\n<p>Currently, our system primarily supports a \"Loan Service.\"</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"37253105","collectionId":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","publishedId":"2sB2x8EWPJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-06-23T11:56:45.000Z"},"item":[{"name":"Partner Login","item":[{"name":"Partner Login","id":"2d462000-b0c5-40d3-b15e-ea1dee8de241","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"66d1b8bad98276e48292ed78\",\n    \"password\": \"fnOagC1w5q9OdUoDRvDleZhMBUaFY8UAfIOrjYkhTcDPvU3MlMJxqrNaaHbi\",\n    \"platform\": \"partner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/auth/login","description":"<p>The Login endpoint allows external partners to authenticate and obtain access to the CreditBook Lending Service. Partners are required to provide valid credentials to access the system's resources and perform authorized actions. Send the credentials through the API body as shown below and obtain the access token as shown in the response example.</p>\n<p><strong>Note:</strong> <em>This API should only be invoked from the</em> <em><strong>backend</strong><strong>**</strong>**__. We'll have your IP whitelisted at our server which will verify that the request only originates from your backend</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","auth","login"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"662013c5-54b2-46d3-8f93-d34233ef0447","name":"Partner Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"partnerId\",\n    \"password\": \"apiKey\",\n    \"platform\": \"partner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"2b1308eb-f631-4ce0-99ec-f615e2429e6c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"428"},{"key":"ETag","value":"W/\"1ac-GAADaOyLZAxoycHfmz6exgswX+o\""},{"key":"Date","value":"Sun, 15 Jun 2025 18:50:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJicm9rZXJJZCI6IjY2YzViMjBmYjU0ZmNkNzZhOGFlNWU0NSIsPnJlZ2lvbklkIjoiNjdiZWQyM2E3NGI5Y2E4YjIyZWFkNTc3IiwicGFydG5lcklkIjoiNjZkMWI4YmFkOTgyNzZlNDgyOTJlZDc4Iiwic3ViIjoiNjZkMWI4YmFkOTgyNzZlNDgyOTJlZDc4IiwiaXNzIjoiY29yZS1hcGkuYXV0aCIsInBheWxvYWRfdmVyc2lvbLI6MSwicGxhdGZvcm0iOiJwYXJ0bmVyIiwiaWF0IjoxNzUwMDEzNDMyLCJleHAiOjE3NTAwMTcwMzJ9.4z5yun7Thk4WtyC6CefHzCzzoBxJ5HEsCWh21_QR1m2\"\n}"},{"id":"6cadbe4e-eb86-4f18-8769-4b5885fec41c","name":"Error - Invalid Platform","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"partnerId\",\n    \"password\": \"apiKey\",\n    \"platform\": \"part\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"f0482830-12ad-4375-a2f0-e11b71378f36"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"5"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"136"},{"key":"ETag","value":"W/\"88-5BRUItlcpGixLkKlUrSpnTG+79I\""},{"key":"Date","value":"Tue, 29 Jul 2025 07:12:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"platform must be one of the following values: credr, finance_now, partner, lending_service\",\n            \"field\": \"platform\"\n        }\n    ]\n}"},{"id":"ccac8f01-3459-4a7f-8fea-213c165cc464","name":"Error - Invalid Credentials","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"partnerId\",\n    \"password\": \"apiKey\",\n    \"platform\": \"partner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"50fd8f77-c748-4b52-8306-c04dee77059c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"57"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"80"},{"key":"ETag","value":"W/\"50-EB/2EfhziFCkeAVGlJ1gmt/tTcc\""},{"key":"Date","value":"Tue, 29 Jul 2025 07:13:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Unauthorized\",\n            \"context\": {\n                \"hint\": \"Invalid credentials\"\n            }\n        }\n    ]\n}"}],"_postman_id":"2d462000-b0c5-40d3-b15e-ea1dee8de241"}],"id":"04a5d69e-e955-48e3-9366-6f24d2b4c5a9","description":"<img src=\"https://content.pstmn.io/f8b6c925-38c7-426d-93f4-1a08b4928728/U2NyZWVuc2hvdCAyMDI1LTA2LTEzIGF0IDIuMTcuMzXigK9QTS5wbmc=\" alt />","_postman_id":"04a5d69e-e955-48e3-9366-6f24d2b4c5a9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Customer Onboarding","item":[{"name":"Main","item":[{"name":"Get Compliance Requirements","id":"ce4886cc-f60f-4a5a-ba0b-80427dbf530c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers/requirements-form-meta","description":"<p>This endpoint returns a list of the requirements and their types to be filled into the compliance requirements in the Create Entity API.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customers","requirements-form-meta"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"1ef8e1c1-01ca-4a69-a53b-9e079ed5b4fa","name":"Region - PK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers/requirements-form-meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"b66f0d92-2ae8-4356-949d-c34c308bc29f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"45"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6839"},{"key":"ETag","value":"W/\"1ab7-kzfeIuPR1vt6ozcyh80SsWQNwTo\""},{"key":"Date","value":"Sun, 15 Jun 2025 18:58:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"requirements\": [\n        {\n            \"requirement_name\": \"business_poc\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Business POC\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Business POC Details\",\n                \"section_description\": \"Enter business POC details in this section\"\n            },\n            \"data_type\": \"string\",\n            \"validations\": {\n                \"validation_regex\": \"^.*$\",\n                \"max_chars\": 100,\n                \"enum_values\": []\n            }\n        },\n        {\n            \"requirement_name\": \"industry\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Industry\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\",\n                \"company\",\n                \"individual\",\n                \"branch_office\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"data_type\": \"enum\",\n            \"validations\": {\n                \"enum_values\": [\n                    \"E-commerce & Online Retail\",\n                    \"Software & SaaS\",\n                    \"Digital Marketing & Advertising Services\",\n                    \"Subscription-based Services\",\n                    \"F&B (Restaurants & Cafes)\",\n                    \"Healthcare Services & Clinics\",\n                    \"Professional Services\",\n                    \"Education & Training\",\n                    \"IT Services & Support\",\n                    \"Logistics & Delivery Services\",\n                    \"Wholesale Trade\",\n                    \"Property Management & Maintenance\",\n                    \"Retail\",\n                    \"Fitness & Wellness Centers\",\n                    \"Manufacturing\",\n                    \"Telecommunications Services\",\n                    \"Media & Content Production\",\n                    \"Beauty & Personal Care Services\",\n                    \"Recruitment & HR Services\",\n                    \"Business Process Outsourcing\",\n                    \"Others\"\n                ]\n            }\n        },\n        {\n            \"requirement_name\": \"currency_requirement\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Currency Requirement\",\n            \"is_optional\": true,\n            \"is_pii\": false,\n            \"description\": \"Dolorum Nam eaque eu\",\n            \"business_types\": [\n                \"individual\",\n                \"company\",\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"\",\n                \"section_description\": \"\"\n            },\n            \"data_type\": \"number\",\n            \"validations\": {\n                \"enum_values\": [],\n                \"min\": 0,\n                \"max\": 10000000\n            },\n            \"unit\": \"currency\"\n        },\n        {\n            \"requirement_name\": \"cnic_front\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"CNIC front\",\n            \"is_optional\": false,\n            \"is_pii\": true,\n            \"description\": \"CNIC Front side\",\n            \"max_size\": 10,\n            \"accepts_multiple_files\": false,\n            \"meta\": {\n                \"section_heading\": \"Business Owner Details\",\n                \"section_description\": \"Please add business owner details. Add more business owners to add their details\",\n                \"section_key\": \"business_owner_details\"\n            },\n            \"business_types\": [\n                \"individual\",\n                \"company\",\n                \"sole_proprietorship\"\n            ],\n            \"accepts_formats\": [\n                \"jpg\",\n                \"png\"\n            ]\n        },\n        {\n            \"requirement_name\": \"ntn_certificate\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"NTN Certificate\",\n            \"is_optional\": true,\n            \"is_pii\": true,\n            \"description\": \"\",\n            \"max_size\": 10,\n            \"meta\": {\n                \"section_key\": \"business_documents\",\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"accepts_multiple_files\": false,\n            \"accepts_formats\": [\n                \"pdf\"\n            ],\n            \"business_types\": [\n                \"sole_proprietorship\"\n            ]\n        },\n        {\n            \"requirement_name\": \"bank_statement\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Bank statement for the last 6 months\",\n            \"is_optional\": false,\n            \"is_pii\": true,\n            \"description\": \"Uploading the bank statement for your business makes your application stronge\",\n            \"max_size\": 10,\n            \"meta\": {\n                \"section_key\": \"business_documents\",\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"accepts_multiple_files\": false,\n            \"accepts_formats\": [\n                \"pdf\"\n            ],\n            \"business_types\": [\n                \"company\"\n            ]\n        },\n        {\n            \"requirement_name\": \"cnic_back\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"CNIC back\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"CNIC Back side\",\n            \"meta\": {\n                \"section_heading\": \"Business Owner Details\",\n                \"section_description\": \"Please add business owner details. Add more business owners to add their details\",\n                \"section_key\": \"business_owner_details\"\n            },\n            \"max_size\": 11,\n            \"accepts_multiple_files\": false,\n            \"business_types\": [\n                \"individual\",\n                \"company\",\n                \"sole_proprietorship\",\n                \"partnership\",\n                \"branch_office\"\n            ],\n            \"accepts_formats\": [\n                \"jpg\",\n                \"png\"\n            ]\n        },\n        {\n            \"requirement_name\": \"proprietorship_declaration\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Proprietorship declaration letter\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"Upload a proprietorship declaration letter issued from the bank\",\n            \"business_types\": [\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_key\": \"business_documents\",\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"accepts_formats\": [\n                \"pdf\"\n            ],\n            \"max_size\": 10,\n            \"accepts_multiple_files\": false\n        },\n        {\n            \"requirement_name\": \"form_ab\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Form AB\",\n            \"is_optional\": true,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\",\n                \"branch_office\",\n                \"individual\",\n                \"company\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Business Documents\",\n                \"section_description\": \"Business Documents\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"docx\",\n                    \"doc\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": true\n            }\n        },\n        {\n            \"requirement_name\": \"selfie\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Selfie\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"please provide a selfie\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\",\n                \"company\",\n                \"individual\",\n                \"branch_office\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Business Owner Details\",\n                \"section_description\": \"Details about owner\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 5,\n                \"accepts_multiple_files\": false\n            }\n        }\n    ],\n    \"businessTypes\": [\n        \"individual\",\n        \"company\",\n        \"sole_proprietorship\",\n        \"partnership\",\n        \"branch_office\"\n    ],\n    \"banks\": [\n        {\n            \"_id\": \"6088347be63016c52e3\",\n            \"name\": \"Bank Of Khyber\",\n            \"mnemonic\": \"BOK\",\n            \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/bank-of-khyber.webp\",\n            \"external_codes\": {\n                \"meezan\": \"061\",\n                \"jsbl\": \"41\",\n                \"zindigi\": \"627618\",\n                \"swich\": \"627618\"\n            },\n        },\n        {\n            \"_id\": \"6488347be63016c5\",\n            \"name\": \"Faysal Bank Limited\",\n            \"mnemonic\": \"FBL\",\n            \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/faysal-bank.webp\",\n            \"external_codes\": {\n                \"jsbl\": \"6\",\n                \"zindigi\": \"601373\",\n                \"swich\": \"601373\"\n            },\n        },\n        {\n            \"_id\": \"6488347be63016c52e361cb7\",\n            \"name\": \"Meezan Bank Limited\",\n            \"mnemonic\": \"MBL\",\n            \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/meezan-bank.webp\",\n            \"external_codes\": {\n                \"jsbl\": \"22\",\n                \"zindigi\": \"627873\",\n                \"swich\": \"627873\"\n            },\n        }\n    ],\n    \"validationFormats\": {\n        \"individual_national_document_id\": \"^\\\\d{5}-\\\\d{7}-\\\\d$\"\n    }\n}"},{"id":"ca2b5ca9-7f6e-40a1-ba81-e47f6821f582","name":"Region - UAE","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers/requirements-form-meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"780236cb-3770-4a3c-b69a-2db4e0e26268"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6927"},{"key":"ETag","value":"W/\"1b0f-l/Bk+PeuN393Ya1901VBWI+BgV0\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:38:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"requirements\": [\n        {\n            \"requirement_name\": \"industry\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Industry\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validation_regex\": \".*\",\n            \"max_chars\": 100,\n            \"data_type\": \"enum\",\n            \"validations\": {\n                \"enum_values\": [\n                    \"Construction\",\n                    \"Retail\"\n                ]\n            }\n        },\n        {\n            \"requirement_name\": \"average_monthly_revenue\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Average Monthly Revenue (AED)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validation_regex\": \"^[0-9]\",\n            \"max_chars\": 100,\n            \"data_type\": \"number\",\n            \"validations\": {\n                \"enum_values\": [],\n                \"min\": 1,\n                \"max\": 99999999\n            }\n        },\n        {\n            \"requirement_name\": \"average_monthly_expenses\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Average Monthly Expenses (AED)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validation_regex\": \"^[0-9]\",\n            \"max_chars\": 100,\n            \"data_type\": \"number\",\n            \"validations\": {\n                \"enum_values\": [],\n                \"min\": 1,\n                \"max\": 99999999\n            }\n        },\n        {\n            \"requirement_name\": \"financing_amount\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Financing Amount (AED)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"partnership\",\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Financing Request\",\n                \"section_description\": \"Please enter financing information\"\n            },\n            \"data_type\": \"number\",\n            \"validations\": {\n                \"enum_values\": [],\n                \"min\": 1,\n                \"max\": 999999999999\n            }\n        },\n        {\n            \"requirement_name\": \"financing_tenor\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Financing Tenor (Days)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Financing Request\",\n                \"section_description\": \"Please enter financing information\"\n            },\n            \"data_type\": \"number\",\n            \"validations\": {\n                \"enum_values\": [],\n                \"min\": 1,\n                \"max\": 60\n            }\n        },\n        {\n            \"requirement_name\": \"test_req\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"text\",\n            \"display_label\": \"Test Req\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Test Sec\",\n                \"section_description\": \"\"\n            },\n            \"data_type\": \"string\",\n            \"validations\": {\n                \"validation_regex\": \"*\",\n                \"max_chars\": 100,\n                \"enum_values\": []\n            }\n        },\n        {\n            \"requirement_name\": \"trade_license\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Trade License\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"Trade License\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\",\n                    \"doc\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"bank_statement\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Bank Statement\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"partnership\",\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"doc\",\n                    \"xlsx\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"aecb_report\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"AECB report\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"vat_certificate\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"VAT certificate\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\",\n                    \"doc\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"moa\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Memorandum of Association (MOA)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"poa\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Power of Attorney (POA)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"partnership\",\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"board_resolution\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Board Resolution\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"partnership\",\n                \"sole_proprietorship\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Additional business information\",\n                \"section_description\": \"To verify your application, we require some additional details about your business\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 10,\n                \"accepts_multiple_files\": false\n            }\n        },\n        {\n            \"requirement_name\": \"id_document\",\n            \"requirement_type\": \"compliance\",\n            \"input_type\": \"document\",\n            \"display_label\": \"Proof of ID (Passport, Visa, Emirates ID)\",\n            \"is_optional\": false,\n            \"is_pii\": false,\n            \"description\": \"\",\n            \"business_types\": [\n                \"sole_proprietorship\",\n                \"partnership\"\n            ],\n            \"meta\": {\n                \"section_heading\": \"Business Owner Details\",\n                \"section_description\": \"Please add business owner details.\"\n            },\n            \"validations\": {\n                \"accepts_formats\": [\n                    \"pdf\",\n                    \"jpg\",\n                    \"jpeg\",\n                    \"png\"\n                ],\n                \"max_size\": 5,\n                \"accepts_multiple_files\": false\n            }\n        }\n    ],\n    \"businessTypes\": [\n        \"sole_proprietorship\",\n        \"partnership\",\n        \"company\"\n    ],\n    \"banks\": []\n}"}],"_postman_id":"ce4886cc-f60f-4a5a-ba0b-80427dbf530c"},{"name":"Create Customer","id":"4ae02124-571e-4181-9be4-fca4469cdc05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"personalDetails\": {\n        \"name\": \"John Doe 4\",\n        \"contactNumber\": \"+923001234567\",\n        \"email\": \"john.doe.6@example.com\",\n        \"dob\": \"1990-01-01\",\n        \"nationalDocumentId\": \"12345-1234567-1\",\n        \"complianceDetails\": [\n            {\n                \"requirementName\": \"cnic_front\",\n                \"values\": [\n                    \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n                ]\n            },\n            {\n                \"requirementName\": \"cnic_back\",\n                \"values\": [\n                    \"https://your-bucket.s3.amazonaws.com/documents/cnic_back_123.jpg\"\n                ]\n            },\n            {\n                \"requirementName\": \"selfie\",\n                \"values\": [\n                    \"https://your-bucket.s3.amazonaws.com/documents/selfie_123.jpg\"\n                ]\n            }\n        ]\n    },\n    \"businessDetails\": {\n        \"businessName\": \"Doe Enterprises\",\n        \"businessType\": \"sole_proprietorship\",\n        \"businessAddress\": {\n            \"streetAddress\": \"123 Business Street\",\n            \"city\": \"Karachi\",\n            \"state\": \"Sindh\",\n            \"country\": \"Pakistan\",\n            \"coordinates\": {\n                \"lat\": 24.8607,\n                \"long\": 67.0011\n            }\n        },\n        \"nationalDocumentId\": \"12345-1234567-1\",\n        \"complianceDetails\": [\n            {\n                \"requirementName\": \"bank_statement\",\n                \"values\": [\n                    \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n                ]\n            },\n            {\n                \"requirementName\": \"business_poc\",\n                \"values\": [\n                    \"John Doe\"\n                ]\n            },\n            {\n                \"requirementName\": \"industry\",\n                \"values\": [\n                    \"E-commerce & Online Retail\"\n                ]\n            },\n            {\n                \"requirementName\": \"currency_requirement\",\n                \"values\": [\n                    \"5000\"\n                ]\n            },\n            {\n                \"requirementName\": \"proprietorship_declaration\",\n                \"values\": [\n                    \"https://your-bucket.s3.amazonaws.com/documents/prop_declaration_123.pdf\"\n                ]\n            },\n            {\n                \"requirementName\": \"ntn_certificate\",\n                \"values\": [\n                    \"https://your-bucket.s3.amazonaws.com/documents/ntn_cert_123.pdf\"\n                ]\n            },\n            {\n                \"requirementName\": \"form_ab\",\n                \"values\": [\n                    \"https://your-bucket.s3.amazonaws.com/documents/form_ab_1.pdf\",\n                    \"https://your-bucket.s3.amazonaws.com/documents/form_ab_2.pdf\"\n                ]\n            }\n        ]\n    },\n    \"bankDetails\": {\n        \"bankId\": \"6488347be63016c52e361cb7\",\n        \"accountTitle\": \"John Doe\",\n        \"accountNumber\": \"1234567890\",\n        \"iban\": \"PK36MEZN0000123456789012\"\n    },\n    \"optional\": {\n        \"externalUserId\": \"EXT1234\",\n        \"otherBusinessOwners\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers","description":"<p>Registers a new customer — creates the business entity and individual owner entity in a single call. This is the <strong>first step</strong> in the lending process.</p>\n<p>The required compliance field names are fetched from <strong>Get Compliance Requirements</strong>.</p>\n<h3 id=\"request-body\">Request Body:</h3>\n<ul>\n<li><p><code>personalDetails</code> <em>(required)</em> — Primary business owner (individual entity):</p>\n<ul>\n<li><p><code>name</code>, <code>contactNumber</code>, <code>email</code>, <code>nationalDocumentId</code> <em>(required)</em></p>\n</li>\n<li><p><code>dob</code> <em>(optional)</em> — ISO 8601 date.</p>\n</li>\n<li><p><code>complianceDetails</code> <em>(required)</em> — <code>[{ requirementName, values[] }]</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>businessDetails</code> <em>(required)</em> — Business entity:</p>\n<ul>\n<li><p><code>businessName</code>, <code>businessType</code>, <code>businessAddress</code>, <code>nationalDocumentId</code> <em>(required)</em></p>\n</li>\n<li><p><code>complianceDetails</code> <em>(required)</em></p>\n</li>\n</ul>\n</li>\n<li><p><code>bankDetails</code> <em>(optional)</em> — <code>{ bankId, accountTitle, accountNumber, iban? }</code></p>\n</li>\n<li><p><code>optional</code>:</p>\n<ul>\n<li><p><code>productId</code> — Pre-assign a product at registration.</p>\n</li>\n<li><p><code>externalUserId</code> — Your own customer reference ID.</p>\n</li>\n<li><p><code>otherBusinessOwners</code> — Additional owners/directors (same shape as <code>personalDetails</code>).</p>\n</li>\n<li><p><code>language</code> — Language preference for communications.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<p>Returns <code>individualEntity</code>, <code>businessEntity</code>, <code>bankAccount</code>, and <code>otherBusinessOwners</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customers"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"ccb07e1e-0ec9-49ff-819b-43e51970acb4","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"personalDetails\": {\n    \"name\": \"John Doe 4\",\n    \"contactNumber\": \"+923001234567\",\n    \"email\": \"john.doe.6@example.com\",\n    \"dob\": \"1990-01-01\",\n    \"nationalDocumentId\": \"12345-1234567-6\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"cnic_front\",\n        \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n      },\n      {\n        \"requirementName\": \"cnic_back\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/cnic_back_123.jpg\"]\n      },\n      {\n        \"requirementName\": \"selfie\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/selfie_123.jpg\"]\n      }\n    ]\n  },\n  \"businessDetails\": {\n    \"businessName\": \"Doe Enterprises\",\n    \"businessType\": \"sole_proprietorship\",\n    \"businessAddress\": {\n      \"streetAddress\": \"123 Business Street\",\n      \"city\": \"Karachi\",\n      \"state\": \"Sindh\",\n      \"country\": \"Pakistan\",\n      \"coordinates\": {\n        \"lat\": 24.8607,\n        \"long\": 67.0011\n      }\n    },\n    \"nationalDocumentId\": \"12345-1234567-5\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"business_poc\",\n        \"values\": [\"John Doe\"]\n      },\n      {\n        \"requirementName\": \"industry\",\n        \"values\": [\"E-commerce & Online Retail\"]\n      },\n      {\n        \"requirementName\": \"currency_requirement\",\n        \"values\": [\"5000\"]\n      },\n      {\n        \"requirementName\": \"proprietorship_declaration\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/prop_declaration_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"ntn_certificate\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/ntn_cert_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"form_ab\",\n        \"values\": [\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_1.pdf\",\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_2.pdf\"\n        ]\n      }\n    ]\n  },\n  \"bankDetails\": {\n    \"bankId\": \"6488347be63016c52e361cb7\",\n    \"accountTitle\": \"John Doe\",\n    \"accountNumber\": \"1234567890\",\n    \"iban\": \"PK36MEZN0000123456789012\"\n  },\n  \"optional\": {\n    \"externalUserId\": \"EXT1234\",\n    \"otherBusinessOwners\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"2a8bca88-db87-4c39-94db-4259d987926f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1024"},{"key":"ETag","value":"W/\"400-FFj4n7rcZWEeEUws1DVuRy1a7n8\""},{"key":"Date","value":"Thu, 19 Jun 2025 12:55:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"otherBusinessOwners\": [],\n    \"bankAccount\": {\n        \"bank_id\": \"6488347be63016c52e\",\n        \"account_number\": \"1234567890\",\n        \"iban\": \"PK36MEZN00001234567\",\n        \"provided_account_title\": \"John Doe\",\n        \"_id\": \"685408c4ec899b27\"\n    },\n    \"businessEntity\": {\n        \"business_type\": \"sole_proprietorship\",\n        \"relationships\": [\n            {\n                \"relationship\": \"owner\",\n                \"id\": \"685408c4ec899b27c8f012b1\"\n            }\n        ],\n        \"products\": [\n            \"685408c4ec899b27c8f012b3\"\n        ],\n        \"display_id\": \"VZ-K-88N80A\",\n        \"national_document_id\": \"12345-1234567-5\",\n        \"address\": {\n            \"country\": \"Pakistan\",\n            \"state\": \"Sindh\",\n            \"city\": \"Karachi\",\n            \"street_address\": \"123 Business Street\"\n        },\n        \"type\": \"business\",\n        \"full_name\": \"Doe Enterprises\",\n        \"_id\": \"685408c4ec899b27c8f012b0\"\n    },\n    \"individualEntity\": {\n        \"business_ids\": [\n            \"685408c4ec899b27c8f012b0\"\n        ],\n        \"dob\": \"1990-01-01T00:00:00.000Z\",\n        \"phone_number\": \"+923001234567\",\n        \"email\": \"john.doe.6@example.com\",\n        \"national_document_id\": \"12345-1234567-5\",\n        \"address\": {\n            \"country\": \"Pakistan\",\n            \"state\": \"Sindh\",\n            \"city\": \"Karachi\",\n            \"street_address\": \"123 Business Street\"\n        },\n        \"type\": \"individual\",\n        \"full_name\": \"John Doe 3\",\n        \"_id\": \"685408c4ec899b27c8f012b1\"\n    }\n}"},{"id":"6fdff5e1-80b7-42f7-957e-c5f859c39319","name":"Error - Duplicate Key","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"personalDetails\": {\n    \"name\": \"John Doe 4\",\n    \"contactNumber\": \"+923001234567\",\n    \"email\": \"john.doe.6@example.com\",\n    \"dob\": \"1990-01-01\",\n    \"nationalDocumentId\": \"12345-1234567-6\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"cnic_front\",\n        \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n      },\n      {\n        \"requirementName\": \"cnic_back\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/cnic_back_123.jpg\"]\n      },\n      {\n        \"requirementName\": \"selfie\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/selfie_123.jpg\"]\n      }\n    ]\n  },\n  \"businessDetails\": {\n    \"businessName\": \"Doe Enterprises\",\n    \"businessType\": \"sole_proprietorship\",\n    \"businessAddress\": {\n      \"streetAddress\": \"123 Business Street\",\n      \"city\": \"Karachi\",\n      \"state\": \"Sindh\",\n      \"country\": \"Pakistan\",\n      \"coordinates\": {\n        \"lat\": 24.8607,\n        \"long\": 67.0011\n      }\n    },\n    \"nationalDocumentId\": \"12345-1234567-5\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"business_poc\",\n        \"values\": [\"John Doe\"]\n      },\n      {\n        \"requirementName\": \"industry\",\n        \"values\": [\"E-commerce & Online Retail\"]\n      },\n      {\n        \"requirementName\": \"currency_requirement\",\n        \"values\": [\"5000\"]\n      },\n      {\n        \"requirementName\": \"proprietorship_declaration\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/prop_declaration_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"ntn_certificate\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/ntn_cert_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"form_ab\",\n        \"values\": [\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_1.pdf\",\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_2.pdf\"\n        ]\n      }\n    ]\n  },\n  \"bankDetails\": {\n    \"bankId\": \"6488347be63016c52e361cb7\",\n    \"accountTitle\": \"John Doe\",\n    \"accountNumber\": \"1234567890\",\n    \"iban\": \"PK36MEZN0000123456789012\"\n  },\n  \"optional\": {\n    \"externalUserId\": \"EXT1234\",\n    \"otherBusinessOwners\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"51fa53d0-390b-4c09-8995-fec5d4264132"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"41"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"149"},{"key":"ETag","value":"W/\"95-raZX6ko+qVh8LrUectE3OJToqTs\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:29:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"E11000 duplicate key error collection: finance-core.entities index: email_1 dup key: { email: \\\"john.doe.6@example.com\\\" }\"\n        }\n    ]\n}"},{"id":"3420a53e-3644-4381-bf3f-9af5ddfa26b9","name":"Error - Missing Compliance Requirement","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"personalDetails\": {\n    \"name\": \"John Doe 4\",\n    \"contactNumber\": \"+923001234567\",\n    \"email\": \"john.doe.7@example.com\",\n    \"dob\": \"1990-01-01\",\n    \"nationalDocumentId\": \"12345-1230567-6\",\n    \"complianceDetails\": [\n    //   {\n    //     \"requirementName\": \"cnic_front\",\n    //     \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n    //   },\n      {\n        \"requirementName\": \"cnic_back\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/cnic_back_123.jpg\"]\n      },\n      {\n        \"requirementName\": \"selfie\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/selfie_123.jpg\"]\n      }\n    ]\n  },\n  \"businessDetails\": {\n    \"businessName\": \"Doe Enterprises\",\n    \"businessType\": \"sole_proprietorship\",\n    \"businessAddress\": {\n      \"streetAddress\": \"123 Business Street\",\n      \"city\": \"Karachi\",\n      \"state\": \"Sindh\",\n      \"country\": \"Pakistan\",\n      \"coordinates\": {\n        \"lat\": 24.8607,\n        \"long\": 67.0011\n      }\n    },\n    \"nationalDocumentId\": \"12345-1230567-5\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"business_poc\",\n        \"values\": [\"John Doe\"]\n      },\n      {\n        \"requirementName\": \"industry\",\n        \"values\": [\"E-commerce & Online Retail\"]\n      },\n      {\n        \"requirementName\": \"currency_requirement\",\n        \"values\": [\"5000\"]\n      },\n      {\n        \"requirementName\": \"proprietorship_declaration\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/prop_declaration_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"ntn_certificate\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/ntn_cert_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"form_ab\",\n        \"values\": [\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_1.pdf\",\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_2.pdf\"\n        ]\n      }\n    ]\n  },\n  \"bankDetails\": {\n    \"bankId\": \"6488347be63016c52e361cb7\",\n    \"accountTitle\": \"John Doe\",\n    \"accountNumber\": \"1234567890\",\n    \"iban\": \"PK36MEZN0000123456789012\"\n  },\n  \"optional\": {\n    \"externalUserId\": \"EXT1234\",\n    \"otherBusinessOwners\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"69bee43e-cec0-4de8-9504-44d6625f4b43"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"71"},{"key":"ETag","value":"W/\"47-HqIgDfYGnCxgLadmjKuUOu6iH/0\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:30:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Compliance requirement cnic_front is missing\"\n        }\n    ]\n}"},{"id":"efbd7c24-c160-4d1e-b553-8fccba156ac2","name":"Error - Missing Entity Requirement","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"personalDetails\": {\n    \"name\": \"John Doe 4\",\n    \"contactNumber\": \"+923001234567\",\n    \"email\": \"john.doe.7@example.com\",\n    // \"dob\": \"1990-01-01\",\n    \"nationalDocumentId\": \"12345-1230567-6\",\n    \"complianceDetails\": [\n    //   {\n    //     \"requirementName\": \"cnic_front\",\n    //     \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n    //   },\n      {\n        \"requirementName\": \"cnic_back\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/cnic_back_123.jpg\"]\n      },\n      {\n        \"requirementName\": \"selfie\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/selfie_123.jpg\"]\n      }\n    ]\n  },\n  \"businessDetails\": {\n    \"businessName\": \"Doe Enterprises\",\n    \"businessType\": \"sole_proprietorship\",\n    \"businessAddress\": {\n    //   \"streetAddress\": \"123 Business Street\",\n      \"city\": \"Karachi\",\n      \"state\": \"Sindh\",\n      \"country\": \"Pakistan\",\n      \"coordinates\": {\n        \"lat\": 24.8607,\n        \"long\": 67.0011\n      }\n    },\n    \"nationalDocumentId\": \"12345-1230567-5\",\n    \"complianceDetails\": [\n      {\n        \"requirementName\": \"business_poc\",\n        \"values\": [\"John Doe\"]\n      },\n      {\n        \"requirementName\": \"industry\",\n        \"values\": [\"E-commerce & Online Retail\"]\n      },\n      {\n        \"requirementName\": \"currency_requirement\",\n        \"values\": [\"5000\"]\n      },\n      {\n        \"requirementName\": \"proprietorship_declaration\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/prop_declaration_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"ntn_certificate\",\n        \"values\": [\"https://your-bucket.s3.amazonaws.com/documents/ntn_cert_123.pdf\"]\n      },\n      {\n        \"requirementName\": \"form_ab\",\n        \"values\": [\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_1.pdf\",\n          \"https://your-bucket.s3.amazonaws.com/documents/form_ab_2.pdf\"\n        ]\n      }\n    ]\n  },\n  \"bankDetails\": {\n    \"bankId\": \"6488347be63016c52e361cb7\",\n    \"accountTitle\": \"John Doe\",\n    \"accountNumber\": \"1234567890\",\n    \"iban\": \"PK36MEZN0000123456789012\"\n  },\n  \"optional\": {\n    \"externalUserId\": \"EXT1234\",\n    \"otherBusinessOwners\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"5c694ad2-8c1f-442f-bd09-e6503a49f85d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"11"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"148"},{"key":"ETag","value":"W/\"94-/gxHIwEIBo6wfvaDMuWIabihQ24\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:31:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"businessDetails.businessAddress.streetAddress is a required field\",\n            \"field\": \"businessDetails.businessAddress.streetAddress\"\n        }\n    ]\n}"}],"_postman_id":"4ae02124-571e-4181-9be4-fca4469cdc05"},{"name":"Update Compliance","id":"11ec821b-080e-4229-9180-7f1daf861a92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"complianceDetails\": [{\n        \"requirementName\": \"example_req\",\n        \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n    }]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","description":"<p>Updates compliance requirement values (file URLs or field data) for a business or owner entity.</p>\n<p>Submitting compliance will move the entity's compliance status back to <strong>pending</strong> for back-office review.</p>\n<p>URL Params:</p>\n<ul>\n<li>entityId: <code>string</code></li>\n</ul>\n<h3 id=\"request-body\">Request Body:</h3>\n<ul>\n<li><p><code>complianceDetails</code>: <code>array</code> <em>(required, min 1 item)</em></p>\n<ul>\n<li><p><code>requirementName</code>: <code>string</code> — The requirement identifier (from <strong>Get Compliance Requirements</strong>).</p>\n</li>\n<li><p><code>values</code>: <code>string[]</code> — Array of file URLs or string values.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","entities",":entityId","compliance"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"688860469e9a3b646dd5f682","key":"entityId"}]}},"response":[{"id":"3db767e3-3742-4fd6-a085-15bbfa69b5e7","name":"Error - Compliance Requirement does not exist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"complianceDetails\": [{\n        \"requirementName\": \"example_req\",\n        \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n    }]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId","compliance"],"variable":[{"key":"entityId","value":"688860469e9a3b646dd5f683"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"3de99343-cf94-4a38-94b3-9fe31a71923a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"50"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"ETag","value":"W/\"4c-0Zr43yw9XjCnACHLBcRI7EKrcH4\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:35:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Compliance requirement example_req does not exist\"\n        }\n    ]\n}"},{"id":"b435d874-4efe-4ef6-9306-7f450676c242","name":"Error - Entity Not Found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"complianceDetails\": [{\n        \"requirementName\": \"example_req\",\n        \"values\": [\"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"]\n    }]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId","compliance"],"variable":[{"key":"entityId","value":"688860469e9a3b646dd5f682"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"7d2f8251-596c-4039-9577-cf3253f75abe"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"ETag","value":"W/\"4c-GN0FvwZcj6i1+fIQ0Ik8VvjXIkw\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:35:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Entity with id 688860469e9a3b646dd5f682 not found\"\n        }\n    ]\n}"}],"_postman_id":"11ec821b-080e-4229-9180-7f1daf861a92"}],"id":"f171a91c-41b6-456c-8038-850cdcf1c66c","_postman_id":"f171a91c-41b6-456c-8038-850cdcf1c66c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Utils","item":[{"name":"Banks and Bank Accounts","item":[{"name":"Get Banks","id":"b55f70b4-7746-4855-91b6-14abbafaae7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/banks","description":"<p>Retrieves the list of available/supported banks</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","banks"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"559ce22a-a295-424e-abea-7b2e45e76b34","name":"Region - PK","originalRequest":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/banks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"088f13e0-e0d7-480e-8250-f7059ef7a131"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1105"},{"key":"ETag","value":"W/\"451-2su4OB4biU3G1yjcIkP/SJQSzS8\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:07:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6488347be63016c52e\",\n        \"name\": \"Bank Of Khyber\",\n        \"mnemonic\": \"BOK\",\n        \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/bank-of-khyber.webp\",\n        \"external_codes\": {\n            \"meezan\": \"061\",\n            \"jsbl\": \"41\",\n            \"zindigi\": \"627618\",\n            \"swich\": \"627618\"\n        },\n    },\n    {\n        \"_id\": \"6488347be63016c52e3\",\n        \"name\": \"Faysal Bank Limited\",\n        \"mnemonic\": \"FBL\",\n        \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/faysal-bank.webp\",\n        \"external_codes\": {\n            \"jsbl\": \"6\",\n            \"zindigi\": \"601373\",\n            \"swich\": \"601373\"\n        },\n    },\n    {\n        \"_id\": \"6488347be63016c52e36\",\n        \"name\": \"Meezan Bank Limited\",\n        \"mnemonic\": \"MBL\",\n        \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/meezan-bank.webp\",\n        \"external_codes\": {\n            \"jsbl\": \"22\",\n            \"zindigi\": \"627873\",\n            \"swich\": \"627873\"\n        }\n    }\n]"},{"id":"ac0eb196-cb66-4da3-a9e1-e8dcbd59b6c4","name":"Region - UAE","originalRequest":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/banks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"5157a71e-6f48-4544-86cb-cc160b6bb4a6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"564"},{"key":"ETag","value":"W/\"234-bdYUcW6g1aRFsh1DZdcQRJUR3FA\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:42:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"680f8616f9ec5e5894db63\",\n        \"name\": \"Sharjah Islamic Bank\",\n        \"mnemonic\": \"SIB\",\n        \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/dubai-islamic.webp\",\n    },\n    {\n        \"_id\": \"680f8617f9ec5e5894db638d\",\n        \"name\": \"United Arab Bank \",\n        \"mnemonic\": \"UAB\",\n        \"logo\": \"https://banks-logo.s3.ap-southeast-1.amazonaws.com/dubai-islamic.webp\",\n    }\n]"}],"_postman_id":"b55f70b4-7746-4855-91b6-14abbafaae7a"},{"name":"Create Bank Account","id":"ee0d78d0-8dcc-45b1-93f3-fad51d78c0e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bankId\": \"6488347be63016c52e361cb4\",\n  \"accountTitle\": \"John Doe's Savings Account\",\n  \"accountNumber\": \"1234567890\",\n  \"iban\": \"SA1234567890123456789012\", // optional\n  \"owner\": {\n    \"id\": \"684f190f83dc3e10951268f7\",\n    \"type\": \"entity\" // must be one of Stakeholder enum values\n  },\n  \"accountOwnership\": \"individual\", // must be one of AccountOwnershipType enum values\n  \"isPreferred\": true,\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"6488347be63016c52e361cb4","key":"businessEntityId"}]}},"response":[{"id":"83b2c4c4-4649-4f13-a0c6-473d4e1a68c6","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bankId\": \"6488347be63016c52e361cb4\",\n  \"accountTitle\": \"John Doe's Savings Account\",\n  \"accountNumber\": \"1234567890\",\n  \"iban\": \"SA1234567890123456789012\", // optional\n  \"owner\": {\n    \"id\": \"684f190f83dc3e10951268f7\",\n    \"type\": \"entity\" // must be one of Stakeholder enum values\n  },\n  \"accountOwnership\": \"own\", // must be one of AccountOwnershipType enum values\n  \"isPreferred\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","host":["{{base_url_core}}"],"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"variable":[{"key":"businessEntityId","value":"6488347be63016c52e361cb4"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"8696a454-95e0-486c-993f-1cbd7accd0a7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"30"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"510"},{"key":"ETag","value":"W/\"1fe-cveQ6OzeoENMMCjX7O98+PM7Drk\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"bankAccount\": {\n        \"bank_id\": \"6488347be63016c52e361cb4\",\n        \"provided_account_title\": \"John Doe's Savings Account\",\n        \"account_number\": \"1234567890\",\n        \"owner\": {\n            \"id\": \"684f190f83dc3e\",\n            \"type\": \"entity\"\n        },\n        \"iban\": \"SA1234567890123456\",\n        \"_id\": \"684f1a6c463e4df628\",\n        \"currency\": \"PKR\"\n    }\n}"},{"id":"b25e9010-0f68-4250-a311-c0e330199c84","name":"Error - Bank Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bankId\": \"6488347be63016c52e361cb3\",\n  \"accountTitle\": \"John Doe's Savings Account\",\n  \"accountNumber\": \"1234567890\",\n  \"iban\": \"SA1234567890123456789012\", // optional\n  \"owner\": {\n    \"id\": \"684f190f83dc3e10951268f7\",\n    \"type\": \"entity\" // must be one of Stakeholder enum values\n  },\n  \"accountOwnership\": \"own\", // must be one of AccountOwnershipType enum values\n  \"isPreferred\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","host":["{{base_url_core}}"],"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"variable":[{"key":"businessEntityId","value":"6488347be63016c52e361cb4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"c84c8f30-9ff9-43e0-9399-63c89ce0b33a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-6UkEkGhw2FrsD0K4zBAb02ZCcNo\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:40:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Bank Not Found\"\n        }\n    ]\n}"},{"id":"21dd54f7-151e-49d0-a5a9-3909999a0bcd","name":"Error - Invalid Owner Type","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bankId\": \"6488347be63016c52e361cb3\",\n  \"accountTitle\": \"John Doe's Savings Account\",\n  \"accountNumber\": \"1234567890\",\n  \"iban\": \"SA1234567890123456789012\", // optional\n  \"owner\": {\n    \"id\": \"684f190f83dc3e10951268f7\",\n    \"type\": \"ent\" // must be one of Stakeholder enum values\n  },\n  \"accountOwnership\": \"own\", // must be one of AccountOwnershipType enum values\n  \"isPreferred\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","host":["{{base_url_core}}"],"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"variable":[{"key":"businessEntityId","value":"6488347be63016c52e361cb4"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"6226a05d-d2a0-4bfd-be59-1ab8463ca9bb"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"139"},{"key":"ETag","value":"W/\"8b-7k6QVy8r5SrT///W5jB/QTGE3dw\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:41:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"owner.type must be one of the following values: broker, entity, partner, financier, product\",\n            \"field\": \"owner.type\"\n        }\n    ]\n}"}],"_postman_id":"ee0d78d0-8dcc-45b1-93f3-fad51d78c0e6"},{"name":"Update Bank Account","id":"1d402803-8c45-4239-a92c-8c60eb63701c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"accountTitle\": \"Karl Marx\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/bank-accounts/:bankAccountId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","bank-accounts",":bankAccountId"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"6091bbc9573566cb28234245","key":"bankAccountId"}]}},"response":[{"id":"0c5d68e6-d845-4ca8-985d-a22ccb1794d9","name":"Response","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"accountTitle\": \"Karl Marx\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/bank-accounts/:bankAccountId","host":["{{base_url_core}}"],"path":["v2","external","demand","bank-accounts",":bankAccountId"],"variable":[{"key":"bankAccountId","value":"6891bbc9573566cb2822b54a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"3388c22d-5be1-4854-8d99-6b4d8091746d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"192"},{"key":"ETag","value":"W/\"c0-4BrJ2pJdNAuigWhe2YsycILjayI\""},{"key":"Date","value":"Wed, 06 Aug 2025 07:05:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"bankAccount\": {\n        \"bank_id\": \"683f4f0599b4c115d665f30b\",\n        \"account_number\": \"04771007648259\",\n        \"iban\": \"PK77MEZN0001270104775019\",\n        \"provided_account_title\": \"Karl Marx\",\n        \"_id\": \"6891bbc9573566cb2822b54a\"\n    }\n}"}],"_postman_id":"1d402803-8c45-4239-a92c-8c60eb63701c"},{"name":"Get Customer Bank Accounts","id":"8d369d7e-bce6-4db7-8114-58b55c66c7ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","description":"<p>Retrieve's a customer's bank accounts</p>\n<p>Query Params:</p>\n<ul>\n<li><p>ownerId: <code>string</code></p>\n</li>\n<li><p>nationalDocumentId: <code>string</code></p>\n</li>\n</ul>\n<p><strong>NOTE</strong>: Either one of the query params must be present</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"host":["{{base_url_core}}"],"query":[],"variable":[{"description":{"content":"<p>The business entity ID</p>\n","type":"text/plain"},"type":"any","value":"68361134731c761aa27ca3fd","key":"businessEntityId"}]}},"response":[{"id":"6a7e3bb2-98cd-46fe-a0dc-cd5447dd46c6","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/customers/:businessEntityId/bank-accounts","host":["{{base_url_core}}"],"path":["v2","external","demand","customers",":businessEntityId","bank-accounts"],"variable":[{"key":"businessEntityId","value":"68361134731c761aa27ca3fd","description":"The business entity ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"496f6d8f-e3ac-4d08-bf14-d5dbe759116f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"190"},{"key":"ETag","value":"W/\"be-GdDJc6AffoT//5aoGjldoDMb62k\""},{"key":"Date","value":"Thu, 19 Jun 2025 09:20:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"bankAccounts\": [\n        {\n            \"provided_account_title\": \"John Doe\",\n            \"bank_id\": \"6488347be63016c52e3\",\n            \"iban\": \"PK36MEZN000012345678\",\n            \"account_number\": \"1234567890\",\n            \"_id\": \"6853d1fb60f7c0197a5\"\n        }\n    ]\n}"}],"_postman_id":"8d369d7e-bce6-4db7-8114-58b55c66c7ba"},{"name":"Verify Account Title","id":"5a0f6aca-28bc-487d-b24b-637280422e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bankId\": \"6488347be63016c52e361cb4\",\n    \"accountNumber\": \"1234567890\",\n    \"externalCustomerId\": \"your-external-id-here\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/bank-accounts/verify-account-title","description":"<p>Verifies that the bank account title matches the name of the linked individual entity on record. Used to confirm account ownership.</p>\n<h3 id=\"request-body\">Request Body:</h3>\n<ul>\n<li><p><code>bankId</code>: <code>string</code> <em>(required)</em></p>\n</li>\n<li><p><code>accountNumber</code>: <code>string</code> <em>(required)</em></p>\n</li>\n<li><p><code>externalCustomerId</code>: <code>string</code> <em>(required)</em> — Your external customer identifier.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"John Doe\",\n  \"verifiedAccountTitle\": \"JOHN DOE\",\n  \"isMatch\": true\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","bank-accounts","verify-account-title"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"a16bb8e9-8465-4249-92f9-3d0c8915bef8","name":"Verify Account Title","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bankId\": \"6488347be63016c52e361cb4\",\n    \"accountNumber\": \"1234567890\",\n    \"externalCustomerId\": \"your-external-id-here\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/bank-accounts/verify-account-title"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"name\": \"John Doe\",\n    \"verifiedAccountTitle\": \"JOHN DOE\",\n    \"isMatch\": true\n}"}],"_postman_id":"5a0f6aca-28bc-487d-b24b-637280422e0e"}],"id":"0678f7c1-1d6d-4a5b-a1db-a52aad8ec1da","_postman_id":"0678f7c1-1d6d-4a5b-a1db-a52aad8ec1da","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Update Entity","id":"717ebae4-d08d-41c7-8a13-a39bb62b7c41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"updates\": {\n        \"address\":{\n            \"streetAddress\": \"businessAddress\"\n        },\n        \"name\":\"Updated business name\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/entities/:entityId","description":"<p>Used to update an entity. Unlike compliance, updating an entity will not revert a customer to a pending state.</p>\n<p>The following entity fields may be updated through this endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">    address: object()\n      .shape({\n        streetAddress: string(),\n        city: string(),\n        state: string(),\n        country: string(),\n        coordinates: object()\n          .shape({\n            lat: number(),\n            long: number(),\n          }),\n      }),\n    name: string(),\n    contactNumber: string() // only for business owners - individual entity \n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","entities",":entityId"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"688860469e9a3b646dd5f682","key":"entityId"}]}},"response":[{"id":"21eb93bf-8918-4ed7-8a79-deaea8523bb7","name":"Response","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"updates\": {\n        \"address\":{\n            \"streetAddress\": \"businessAddress 2\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId"],"variable":[{"key":"entityId","value":"6891bbc9573566cb2822b5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"1e092668-f9e8-4fbd-8d94-f1db02a5b701"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-MEFwBF/17ew0NuVZ1Eb3TdFJ3mU\""},{"key":"Date","value":"Wed, 06 Aug 2025 06:57:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Entity updated successfully\"\n}"},{"id":"a5edf7c7-f6ac-4052-b334-e2cc5c43c45e","name":"Error - Entity Not Found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"updates\": {\n        \"address\":{\n            \"streetAddress\": \"businessAddress 2\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId"],"variable":[{"key":"entityId","value":"6891bbc9573566cb2822b532"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"273f97c5-2863-4fea-a085-ccb6ef419d67"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-Ivd/SpBaCJnIr5Hgy0ZIHEJNpKk\""},{"key":"Date","value":"Wed, 06 Aug 2025 06:58:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Entity not found\"\n        }\n    ]\n}"}],"_postman_id":"717ebae4-d08d-41c7-8a13-a39bb62b7c41"},{"name":"Get Customer Agreements","id":"fab1b112-1d89-4f11-a52c-4ce0a585df7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url_core}}/v2/external/demand/customer/:businessEntityId/agreements","description":"<p>Retrieves all agreements linked to a business entity — including customer-level and loan-level agreements.</p>\n<h3 id=\"url-params\">URL Params:</h3>\n<ul>\n<li><code>businessEntityId</code>: <code>string</code> <em>(required)</em> — The business entity ID.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customer",":businessEntityId","agreements"],"host":["{{base_url_core}}"],"query":[],"variable":[{"description":{"content":"<p>The business entity ID</p>\n","type":"text/plain"},"type":"any","value":"68361134731c761aa27ca3fd","key":"businessEntityId"}]}},"response":[{"id":"7872f6fe-55fd-45d1-bd2b-666c6092759f","name":"Response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://dev-credr.creditbookapi.com\n/v2/external/demand/customer/:businessEntityId/agreements","protocol":"https","host":["dev-credr","creditbookapi","com\n"],"path":["v2","external","demand","customer",":businessEntityId","agreements"],"variable":[{"key":"businessEntityId","value":"68361134731c761aa27ca3fd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"ac72b3e4-bf50-4499-a16d-990e778f7dab"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"755"},{"key":"ETag","value":"W/\"2f3-WjHPWUR1LpEGot23iVsURvaVh5c\""},{"key":"Date","value":"Fri, 20 Jun 2025 09:23:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"agreements\": [\n        {\n            \"financier\": {\n                \"name\": \"CBFS\"\n            },\n            \"product\": {\n                \"id\": \"67c6a9f1e4430552\",\n                \"name\": \"Cash Flow Financing\"\n            },\n            \"meta\": {\n                \"envelope_id\": \"684d40788768ae06ea\",\n                \"envelope_url\": \"https://st.dash.co/?token=eyJh\"\n            },\n            \"type\": \"finance_agreement\",\n            \"documents\": [],\n            \"markup\": 47.714,\n            \"credit_limit\": {\n                \"amount\": 30000,\n                \"currency\": \"PKR\"\n            },\n            \"status\": {\n                \"current\": \"terminated\",\n                \"timestamp\": \"2025-06-17T10:07:28.485Z\",\n                \"actor\": \"67d181641ad3e3cfb\",\n                \"comment\": \"agreement v2 webhook testing\"\n            },\n            \"_id\": \"684d40772e8d7820ca\"\n        }\n    ]\n}"},{"id":"4ce68823-edb9-40f5-acca-26cfc29ae173","name":"Error - Invalid businessEntityId","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/customer/:businessEntityId/agreements","host":["{{base_url_core}}"],"path":["v2","external","demand","customer",":businessEntityId","agreements"],"variable":[{"key":"businessEntityId","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"a3fba0e6-74de-48dc-8740-eae488aa8a2e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"57"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"103"},{"key":"ETag","value":"W/\"67-dlRBVGmyCJ6AUFUlrBdvJ6EoJUk\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:43:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"businessEntityId must be a valid MongoDB ObjectId\",\n            \"field\": \"businessEntityId\"\n        }\n    ]\n}"}],"_postman_id":"fab1b112-1d89-4f11-a52c-4ce0a585df7f"},{"name":"Data Sharing","id":"a63d966e-f18f-4f46-8957-a0b82236ae6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/partner/data-sharing?noOfFiles=3","description":"<p>This API allows partners to generate signed URLs for sharing customers transactional data with broker.</p>\n<h4 id=\"parameters-mutually-exclusive\">Parameters (Mutually Exclusive):</h4>\n<ul>\n<li><p><code>files</code>: <code>string | string[]</code> <em>(optional, max 10)</em> — Specific filenames to generate signed URLs for.</p>\n</li>\n<li><p><code>noOfFiles</code>: <code>number</code> <em>(optional, 1–10)</em> — Number of generic signed URLs to generate (without specific filenames).</p>\n</li>\n</ul>\n<blockquote>\n<p>Use either <code>files</code> <strong>or</strong> <code>noOfFiles</code> — not both. </p>\n</blockquote>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Partners can upload individual files or ZIP files using the provided signed URLs</p>\n</li>\n<li><p>Signed URLs expire after 30 minutes</p>\n</li>\n<li><p>The maximum number of signed URLs that can be generated in a single API call is limited to 10</p>\n</li>\n</ul>\n<h2 id=\"type-of-errors\">Type of Errors</h2>\n<ul>\n<li><p><strong>401 Unauthorized</strong>: Invalid/Missing API key or partner ID</p>\n</li>\n<li><p><strong>403 Forbidden</strong>: Partner not authorized to generate signed URLs</p>\n</li>\n<li><p><strong>500 Internal Server Error</strong>: An error occurred on the server</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","partner","data-sharing"],"host":["{{base_url_core}}"],"query":[{"key":"noOfFiles","value":"3"},{"disabled":true,"key":"files","value":"file1.csv"},{"disabled":true,"key":"files","value":"file2.csv"}],"variable":[]}},"response":[{"id":"70c7baa5-523c-40cb-b992-f847aab5d763","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/partner/data-sharing?noOfFiles=3","host":["{{base_url_core}}"],"path":["v2","external","demand","partner","data-sharing"],"query":[{"key":"noOfFiles","value":"3"},{"key":"files","value":"file1.csv","type":"text","disabled":true},{"key":"files","value":"file2.csv","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"85e6679e-d429-49a1-8a03-fd66ca567fef"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"37"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4612"},{"key":"ETag","value":"W/\"1204-uGQS0MFH0zBGu1I6JLTueQ7r5rE\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:11:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"signedURLs\": [\n        \"https://cb-partners-ingested-data-dev-bucket.s3.me-central-1.amazonaws.com/66d1b8bad98276e48292ed78/1750014717112-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAVUKZAWYJ2QKOTF5B%2F20250615%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T191157Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEC8aDG1lLWNlbnRyYWwtMSJGMEQCIGoAcbZ9VpM2i2Zo2LuchsCMO15O07jTLJdagmiB7KhqAiAkMJth8PCmslsYDrIzW6UNTYzDWTg9KoStPD2e6Xu%2F5yqcAwju%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAEaDDM4NzI3MDYyMDY5MSIMLyfhn2vveu17J9CqKvACojELPA6ygM9ULleuF%2BUSrdzAPBziDTVnCc1TwDyLMuDrVWEV1hJKEcIGMHYwnCgJNIegxyDaud2I0fTS9N0TiwLakUR3xyV970j%2B1gu8Cev1ynqndJKIFia%2BrlvGkAjnnPViRW9iCvq9HuGL8o9FMhJyKUw6eH%2F432tT5LwWOXMJLLvK%2BFwjWr7ynJcMz7WpSi4mtuZiOyfYy6goBB0wnBEzhGdZ4%2BGSCbU5R2NQ%2FssCuZ6zIoia2KdRV4wyNeB%2Fbnrf0NdRh5dRgmgEHpFZQI6PPhvMbbybNQUiXf%2FgSix%2B04C3AJRwsBrB3%2BgFjdc%2Fur2Nt4XI7OUPC%2FqeuJAUEggBbo22t0c5Nl6AQs3aldNZX4RRqmN2E2Gi9d0KtxJTltmbwVXAeM16lJrDrkADf6yBRxE26DAF8MSncSXW%2F04XjK7RJQrq66eeQgsUDUFro6mInMJoVmcmSFpjxnCUaJUz6btDq2%2FCGfgGkWmeTPows5WrwgY6pwE0Z6bKxTDn%2BJlawV89YF178mSUOvjSm8%2FrdddLeaqoAtIobJ%2BzDpO2KpBV40KlZHJu2%2FQDxNdKxUhVqc8tpVVNTJvEFcnbhtf%2BGjC%2FPsGeImyPlQ0fGNfGw8UEb3Ra0u2IONQcoJ8Zseu3%2B5JKYrZUdnAbmCcvIYLMQvoZrnbXZlH%2FOhEvHr%2ByCTCaooVPgUVn%2FXWhBtMEwJcTWgGXI3LFn7mox7NhRA%3D%3D&X-Amz-Signature=dbe65c1feb5b235e4b5677d9acd0f43cd946fca21e69c1ad2ce65ba9f89e4018&X-Amz-SignedHeaders=host&x-amz-checksum-crc32=AAAAAA%3D%3D&x-amz-sdk-checksum-algorithm=CRC32&x-id=PutObject\",\n        \"https://cb-partners-ingested-data-dev-bucket.s3.me-central-1.amazonaws.com/66d1b8bad98276e48292ed78/1750014717116-1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAVUKZAWYJ2QKOTF5B%2F20250615%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T191157Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEC8aDG1lLWNlbnRyYWwtMSJGMEQCIGoAcbZ9VpM2i2Zo2LuchsCMO15O07jTLJdagmiB7KhqAiAkMJth8PCmslsYDrIzW6UNTYzDWTg9KoStPD2e6Xu%2F5yqcAwju%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAEaDDM4NzI3MDYyMDY5MSIMLyfhn2vveu17J9CqKvACojELPA6ygM9ULleuF%2BUSrdzAPBziDTVnCc1TwDyLMuDrVWEV1hJKEcIGMHYwnCgJNIegxyDaud2I0fTS9N0TiwLakUR3xyV970j%2B1gu8Cev1ynqndJKIFia%2BrlvGkAjnnPViRW9iCvq9HuGL8o9FMhJyKUw6eH%2F432tT5LwWOXMJLLvK%2BFwjWr7ynJcMz7WpSi4mtuZiOyfYy6goBB0wnBEzhGdZ4%2BGSCbU5R2NQ%2FssCuZ6zIoia2KdRV4wyNeB%2Fbnrf0NdRh5dRgmgEHpFZQI6PPhvMbbybNQUiXf%2FgSix%2B04C3AJRwsBrB3%2BgFjdc%2Fur2Nt4XI7OUPC%2FqeuJAUEggBbo22t0c5Nl6AQs3aldNZX4RRqmN2E2Gi9d0KtxJTltmbwVXAeM16lJrDrkADf6yBRxE26DAF8MSncSXW%2F04XjK7RJQrq66eeQgsUDUFro6mInMJoVmcmSFpjxnCUaJUz6btDq2%2FCGfgGkWmeTPows5WrwgY6pwE0Z6bKxTDn%2BJlawV89YF178mSUOvjSm8%2FrdddLeaqoAtIobJ%2BzDpO2KpBV40KlZHJu2%2FQDxNdKxUhVqc8tpVVNTJvEFcnbhtf%2BGjC%2FPsGeImyPlQ0fGNfGw8UEb3Ra0u2IONQcoJ8Zseu3%2B5JKYrZUdnAbmCcvIYLMQvoZrnbXZlH%2FOhEvHr%2ByCTCaooVPgUVn%2FXWhBtMEwJcTWgGXI3LFn7mox7NhRA%3D%3D&X-Amz-Signature=3c18b1a1cf6187e0b19338c5779a18bf0b2794ee97736a83eb0a81894539fa49&X-Amz-SignedHeaders=host&x-amz-checksum-crc32=AAAAAA%3D%3D&x-amz-sdk-checksum-algorithm=CRC32&x-id=PutObject\",\n        \"https://cb-partners-ingested-data-dev-bucket.s3.me-central-1.amazonaws.com/66d1b8bad98276e48292ed78/1750014717118-2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAVUKZAWYJ2QKOTF5B%2F20250615%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T191157Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEC8aDG1lLWNlbnRyYWwtMSJGMEQCIGoAcbZ9VpM2i2Zo2LuchsCMO15O07jTLJdagmiB7KhqAiAkMJth8PCmslsYDrIzW6UNTYzDWTg9KoStPD2e6Xu%2F5yqcAwju%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAEaDDM4NzI3MDYyMDY5MSIMLyfhn2vveu17J9CqKvACojELPA6ygM9ULleuF%2BUSrdzAPBziDTVnCc1TwDyLMuDrVWEV1hJKEcIGMHYwnCgJNIegxyDaud2I0fTS9N0TiwLakUR3xyV970j%2B1gu8Cev1ynqndJKIFia%2BrlvGkAjnnPViRW9iCvq9HuGL8o9FMhJyKUw6eH%2F432tT5LwWOXMJLLvK%2BFwjWr7ynJcMz7WpSi4mtuZiOyfYy6goBB0wnBEzhGdZ4%2BGSCbU5R2NQ%2FssCuZ6zIoia2KdRV4wyNeB%2Fbnrf0NdRh5dRgmgEHpFZQI6PPhvMbbybNQUiXf%2FgSix%2B04C3AJRwsBrB3%2BgFjdc%2Fur2Nt4XI7OUPC%2FqeuJAUEggBbo22t0c5Nl6AQs3aldNZX4RRqmN2E2Gi9d0KtxJTltmbwVXAeM16lJrDrkADf6yBRxE26DAF8MSncSXW%2F04XjK7RJQrq66eeQgsUDUFro6mInMJoVmcmSFpjxnCUaJUz6btDq2%2FCGfgGkWmeTPows5WrwgY6pwE0Z6bKxTDn%2BJlawV89YF178mSUOvjSm8%2FrdddLeaqoAtIobJ%2BzDpO2KpBV40KlZHJu2%2FQDxNdKxUhVqc8tpVVNTJvEFcnbhtf%2BGjC%2FPsGeImyPlQ0fGNfGw8UEb3Ra0u2IONQcoJ8Zseu3%2B5JKYrZUdnAbmCcvIYLMQvoZrnbXZlH%2FOhEvHr%2ByCTCaooVPgUVn%2FXWhBtMEwJcTWgGXI3LFn7mox7NhRA%3D%3D&X-Amz-Signature=c756aeac6da16ed7611e57ee6ff8a87c8fc65cf1fb170996154d8446c08bee5c&X-Amz-SignedHeaders=host&x-amz-checksum-crc32=AAAAAA%3D%3D&x-amz-sdk-checksum-algorithm=CRC32&x-id=PutObject\"\n    ]\n}"},{"id":"7feb8d4d-6b59-4d7a-8ac0-1709dc591cf4","name":"Error - noOfFiles missing","originalRequest":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/partner/data-sharing"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"32611b32-32d4-4073-ae0e-c8be86f1093b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"ETag","value":"W/\"3e-DYwhXsg0Kc0NPXb0t8qZkBMzoM0\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:44:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"noOfFiles must be a positive number\"\n        }\n    ]\n}"}],"_postman_id":"a63d966e-f18f-4f46-8957-a0b82236ae6b"},{"name":"Get Customer Entities","id":"cea01ae3-3421-4024-872e-d68b62718d57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/customers?businessNationalDocumentId=30091-1988722-8","description":"<p>Retrieves customer entity records by one or more identifiers. Use this to look up an existing customer.</p>\n<h3 id=\"query-params-at-least-one-required\">Query Params (at least one required):</h3>\n<ul>\n<li><p><code>email</code>: <code>string</code> — Individual owner's email.</p>\n</li>\n<li><p><code>businessNationalDocumentId</code>: <code>string</code> — Business national document ID (e.g. NTN, CNIC).</p>\n</li>\n<li><p><code>phoneNumber</code>: <code>string</code> — Phone number.</p>\n</li>\n<li><p><code>externalUserId</code>: <code>string</code> — Your external customer identifier.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<p>Returns <code>individualEntity</code>, <code>businessEntity</code>, <code>otherBusinessOwners</code>, and <code>bankAccount</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","customers"],"host":["{{base_url_core}}"],"query":[{"disabled":true,"key":"email","value":"john.doe.7@example.com"},{"key":"businessNationalDocumentId","value":"30091-1988722-8"},{"disabled":true,"key":"externalUserId","value":"234ew-234e-456-74566"},{"disabled":true,"key":"phoneNumber","value":"9234859478485"}],"variable":[]}},"response":[{"id":"56c5d1cf-8f8c-4a2f-8084-c19ad356a57c","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v1/external/entities/customer?email=john.doe@example.com","host":["{{base_url_core}}"],"path":["v1","external","entities","customer"],"query":[{"key":"email","value":"john.doe@example.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"da3c068b-2cfe-4fd5-a055-8f597c39110d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1292"},{"key":"ETag","value":"W/\"50c-YFQGDt5aAsZtG9nBdsqWcQ16SeQ\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:12:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"individualEntity\": {\n        \"_id\": \"684f190f83dc3e10951268f7\",\n        \"full_name\": \"John Doe\",\n        \"type\": \"individual\",\n        \"address\": {\n            \"street_address\": \"123 Business Street\",\n            \"city\": \"Karachi\",\n            \"state\": \"Sindh\",\n            \"country\": \"Pakistan\",\n            \"coordinates\": {\n                \"lat\": 24.8607,\n                \"long\": 67.0011\n            }\n        },\n        \"national_document_id\": \"12345-1234567-1\",\n        \"products\": [],\n        \"email\": \"john.doe@example.com\",\n        \"phone_number\": \"+923001234567\",\n        \"dob\": \"1990-01-01T00:00:00.000Z\",\n        \"business_ids\": [\n            \"684f190f83dc3e10951268f6\"\n        ],\n    },\n    \"businessEntity\": {\n        \"_id\": \"684f190f83dc3e10951268f6\",\n        \"full_name\": \"Doe Enterprises\",\n        \"display_id\": \"VZ-K-NDA09H\",\n        \"type\": \"business\",\n        \"address\": {\n            \"street_address\": \"123 Business Street\",\n            \"city\": \"Karachi\",\n            \"state\": \"Sindh\",\n            \"country\": \"Pakistan\",\n            \"coordinates\": {\n                \"lat\": 24.8607,\n                \"long\": 67.0011\n            }\n        },\n        \"national_document_id\": \"12345-1234567-1\",\n        \"products\": [\n            \"684f190f83dc3e10951268f9\"\n        ],\n        \"business_type\": \"sole_proprietorship\",\n        \"is_registered\": true,\n        \"relationships\": [\n            {\n                \"id\": \"684f190f83dc3e10951268f7\",\n                \"relationship\": \"owner\"\n            }\n        ],\n    }\n}"},{"id":"c113f539-6df8-4ab2-8728-ae7d3fab5dd4","name":"Error - Entity Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/customers?email=shehzad1@gmail.com","host":["{{base_url_core}}"],"path":["v2","external","demand","customers"],"query":[{"key":"email","value":"shehzad1@gmail.com"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"3ca9de9e-52d3-4775-ad3b-3e2e906c6d0b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"296"},{"key":"RateLimit-Reset","value":"32"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"116"},{"key":"ETag","value":"W/\"74-yOZIXC4t2hzoJCxLRyLfNwApTHs\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:46:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"No entity found for the given request body {\\\"email\\\":\\\"john.doe.7000@example.com\\\"}\"\n        }\n    ]\n}"}],"_postman_id":"cea01ae3-3421-4024-872e-d68b62718d57"},{"name":"Get Customer Compliance","id":"af9177aa-c0f1-44f8-ae42-faac442c0587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","description":"<p>Returns the compliance record for a business, or for an owner when <code>ownerEntityId</code> is set.</p>\n<p>When something is <code>rejected</code>, you may also get a <code>reason_code</code> — a short string saying why.</p>\n<p>There are <strong>two places</strong> to look:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Where</th>\n<th>What it means</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status.reason_code</code></td>\n<td>Why this compliance (business or owner) was rejected</td>\n</tr>\n<tr>\n<td><code>requirements[].status.reason_code</code></td>\n<td>Why that specific document or field was rejected</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>reason_code</code> is optional. It is usually only present when <code>current</code> is <code>rejected</code>. If the key is missing, ignore it — do not treat it as empty.</p>\n<p><strong>Can the customer reapply?</strong> See the <strong>Can reapply?</strong> column on the type pages below. When it is <strong>Yes</strong>, fix the document/field and resubmit with <strong>Update Compliance</strong>.</p>\n<p>The same <code>status.reason_code</code> also appears on <strong>Get Customer</strong> (compliance snapshot). Full requirement-level codes appear on <strong>Update Compliance</strong> and on each owner’s <code>compliance</code> in <strong>Get Customer Owners</strong>.</p>\n<p>Webhooks only send the top-level (<code>status</code>) code. Use this GET if you need codes on individual requirements.</p>\n<h3 id=\"reason-codes\">Reason codes</h3>\n<ul>\n<li><a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a> — <code>status.reason_code</code></li>\n<li><a href=\"#bf4c4ec8-7013-0a52-8bc4-70c56ff7361b\">Compliance reason codes (requirement-level)</a> — <code>requirements[].status.reason_code</code></li>\n</ul>\n<hr />\n<h2 id=\"example\">Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"6978561e333bf361d6b19f70\",\n  \"entity\": {\n    \"id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"full_name\": \"Doe Enterprises\"\n  },\n  \"status\": {\n    \"current\": \"rejected\",\n    \"timestamp\": \"2026-01-27T08:51:59.574Z\",\n    \"comment\": \"Application declined\",\n    \"reason_code\": \"declined\"\n  },\n  \"requirements\": [\n    {\n      \"name\": \"cnic_front\",\n      \"input_type\": \"document\",\n      \"value\": [\"https://...\"],\n      \"status\": {\n        \"current\": \"rejected\",\n        \"timestamp\": \"2026-01-27T08:50:12.000Z\",\n        \"reason_code\": \"unreadable\"\n      }\n    }\n  ]\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status.current</code></td>\n<td>Yes</td>\n<td><code>pending</code>, <code>approved</code>, or <code>rejected</code></td>\n</tr>\n<tr>\n<td><code>status.comment</code></td>\n<td>No</td>\n<td>Optional free-text note</td>\n</tr>\n<tr>\n<td><code>status.reason_code</code></td>\n<td>No</td>\n<td>Optional — see <a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a></td>\n</tr>\n<tr>\n<td><code>requirements[].status.current</code></td>\n<td>Yes</td>\n<td>Same values as <code>status.current</code></td>\n</tr>\n<tr>\n<td><code>requirements[].status.reason_code</code></td>\n<td>No</td>\n<td>Optional — see <a href=\"#bf4c4ec8-7013-0a52-8bc4-70c56ff7361b\">Compliance reason codes (requirement-level)</a></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","entities",":entityId","compliance"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"688860469e9a3b646dd5f682","key":"entityId"}]}},"response":[{"id":"7385bc3e-2cc1-404f-aeb7-bc2e7876a990","name":"Response — rejected with reason_code","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId","compliance"],"variable":[{"key":"entityId","value":"688860469e9a3b646dd5f682"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"49264f8c-6212-4894-a8ef-b0322bc83529"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"8102"},{"key":"ETag","value":"W/\"1fa6-dhMTD64zubOHSSBcSmN4Isnj2Ho\""},{"key":"Date","value":"Thu, 19 Jun 2025 06:24:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6978561e333bf361d6b19f70\",\n    \"entity\": {\n        \"id\": \"6978561e333bf361d6b19f66\",\n        \"type\": \"business\",\n        \"full_name\": \"Doe Enterprises\"\n    },\n    \"status\": {\n        \"current\": \"rejected\",\n        \"timestamp\": \"2026-01-27T08:51:59.574Z\",\n        \"comment\": \"Application declined\",\n        \"reason_code\": \"declined\"\n    },\n    \"requirements\": [\n        {\n            \"name\": \"cnic_front\",\n            \"input_type\": \"document\",\n            \"value\": [\"https://...\"],\n            \"status\": {\n                \"current\": \"rejected\",\n                \"timestamp\": \"2026-01-27T08:50:12.000Z\",\n                \"reason_code\": \"unreadable\"\n            }\n        },\n        {\n            \"name\": \"cnic_back\",\n            \"input_type\": \"document\",\n            \"value\": [\"https://...\"],\n            \"status\": {\n                \"current\": \"rejected\",\n                \"timestamp\": \"2026-01-27T08:50:15.000Z\",\n                \"reason_code\": \"expired\"\n            }\n        }\n    ]\n}"},{"id":"4e0ca240-8204-4e99-84b6-1f0d299aa2e3","name":"Error - Compliance Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId","compliance"],"variable":[{"key":"entityId","value":"684f190f83dc3e10951268f6"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"8e8deaa6-211b-4497-b261-afa6175b531d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"50"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"83"},{"key":"ETag","value":"W/\"53-Rq0kgdz/ftXEEbwjLqr8yO5VCBk\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:47:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Compliance for entity 684f190f83dc3e10951268f6 not found\"\n        }\n    ]\n}"},{"id":"8d3cb36f-1176-4b77-b178-11075fea4f21","name":"Error - entityId missing","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:entityId/compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":entityId","compliance"],"query":[{"key":"entityId","value":"684f190f83dc3e10951268f5","disabled":true}],"variable":[{"key":"entityId","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"5d10a071-79c9-4aee-ac01-d728cddd6771"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"296"},{"key":"RateLimit-Reset","value":"20"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"74"},{"key":"ETag","value":"W/\"4a-PtqdqrgvLM5MB4E9sZdiXXRGAS4\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:47:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"entityId is a required field\",\n            \"field\": \"entityId\"\n        }\n    ]\n}"}],"_postman_id":"af9177aa-c0f1-44f8-ae42-faac442c0587"}],"id":"053443a2-c11b-4d16-b303-6e19fc150c6f","_postman_id":"053443a2-c11b-4d16-b303-6e19fc150c6f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}}],"id":"2d098dbf-6dbe-4887-8157-2310d8338529","description":"<img src=\"https://content.pstmn.io/eafd7f0a-6ed8-4068-8a1e-b6f18d6800f2/U2NyZWVuc2hvdCAyMDI1LTA2LTEyIGF0IDEyLjU5LjM34oCvQU0ucG5n\" />\n\n<p>This section outlines the process of Customer Onboarding. The general flow for this includes:</p>\n<ol>\n<li><p>Getting Compliance Requirements from Get Form Meta API</p>\n</li>\n<li><p>Registering the customer using the Create Entity API</p>\n</li>\n<li><p>Update Entity (if required)</p>\n</li>\n</ol>\n<p><strong>NOTE:</strong> The image or pdf files wherever required in the requests are to be publicly accessible URLs</p>\n","event":[{"listen":"prerequest","script":{"id":"005701f0-71c0-4194-a799-02bf48189758","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"c7e515e5-27aa-4071-a37b-34ed04733ef5","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"2d098dbf-6dbe-4887-8157-2310d8338529","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Financing","item":[{"name":"Main","item":[{"name":"Get Available Products","id":"a01353da-2fd2-43cb-ac28-79a5bf002025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/products","description":"<p>This returns a list of the Products available to the Partner</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","products"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"104d4aea-9f61-472f-82d1-dd2a0a5527af","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"824e0a9e-5061-429c-95d2-2882a6f31abf"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"1133"},{"key":"ETag","value":"W/\"46d-VOb4KfqHYpl9qJD52j296/MB0I4\""},{"key":"Date","value":"Wed, 18 Jun 2025 06:38:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"products\": [\n        {\n            \"id\": \"string\",\n            \"name\": \"string\",\n            \"type\": \"string\",\n            \"tenors\": [\n                {\n                    \"tenor\": {\n                        \"type\": \"string\",\n                        \"min\": 0,\n                        \"max\": 0\n                    },\n                    \"conditions\": [\n                        \"string\"\n                    ]\n                }\n            ],\n            \"currency\": \"PKR\",\n            \"sub_type\": \"string\",\n            \"interest_rate\": {\n                \"min\": 0,\n                \"max\": 0\n            },\n            \"fee\": 0\n        }\n    ]\n}"}],"_postman_id":"a01353da-2fd2-43cb-ac28-79a5bf002025"},{"name":"Get Customer Products","id":"0a5423c6-bee0-402f-9f71-81962b999032","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/entities/:businessEntityId/products","description":"<p>Returns a list of products from the <a href=\"https://engineering-cb.postman.co/workspace/Finance-Core~2583cf1c-40e2-4298-911a-4dfadf46b90e/request/37253105-a01353da-2fd2-43cb-ac28-79a5bf002025?action=share&amp;source=copy-link&amp;creator=37253105&amp;active-environment=850f669f-e751-470e-9217-209085216e16\">Partner's Available Products</a> for which the given customer is eligible to apply for financing  </p>\n<p>URL Params:</p>\n<ul>\n<li><code>businessEntityId</code>: <code>string</code> <em>(required)</em> — The business entity ID.</li>\n</ul>\n<h3 id=\"query-params\">Query Params:</h3>\n<ul>\n<li><code>status</code>: <code>string</code> <em>(optional)</em> — Filter by product status.</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<p>Each product includes: assigned/available credit limits, tenors, interest rate range (min/max), fee, currency, and current status.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","entities",":businessEntityId","products"],"host":["{{base_url_core}}"],"query":[{"disabled":true,"description":{"content":"<p>Status of the customer products (active, inactive)</p>\n","type":"text/plain"},"key":"status","value":"active"}],"variable":[{"type":"any","value":"68361134731c761aa27ca3fd","key":"businessEntityId"}]}},"response":[{"id":"e81cbf15-e1eb-4f3b-b74a-d74c53271f9a","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/entities/:businessEntityId/products","host":["{{base_url_core}}"],"path":["v2","external","demand","entities",":businessEntityId","products"],"variable":[{"key":"businessEntityId","value":"68361134731c761aa27ca3fd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"cce18c8f-02f8-4a34-b1d2-165570cb50b5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"54"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"395"},{"key":"ETag","value":"W/\"18b-CdfVRlwrbHvACFs1BhKXsmqs5pM\""},{"key":"Date","value":"Sun, 15 Jun 2025 19:28:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"products\": [\n        {\n            \"product_id\": \"string\",\n            \"name\": \"string\",\n            \"tenors\": [\n                {\n                    \"tenor\": {\n                        \"type\": \"string\",\n                        \"min\": 0,\n                        \"max\": 0\n                    },\n                    \"conditions\": [\n                        \"string\"\n                    ]\n                }\n            ],\n            \"assigned_credit_limits\": {\n                \"CBFS\": {\n                    \"amount\": 0,\n                    \"currency\": \"PKR\"\n                },\n                \"max\": {\n                    \"amount\": 0,\n                    \"currency\": \"PKR\"\n                }\n            },\n            \"available_credit_limits\": {\n                \"CBFS\": {\n                    \"amount\": 0,\n                    \"currency\": \"PKR\"\n                },\n                \"max\": {\n                    \"amount\": 0,\n                    \"currency\": \"PKR\"\n                }\n            },\n            \"status\": {\n                \"current\": \"active\",\n                \"timestamp\": \"\"\n            },\n            \"external_customer_id\": \"string\",\n            \"currency\": \"PKR\",\n            \"sub_type\": \"string\",\n            \"interest_rate\": {\n                \"min\": 0,\n                \"max\": 0\n            },\n            \"fee\": 0\n        }\n    ]\n}"}],"_postman_id":"0a5423c6-bee0-402f-9f71-81962b999032"},{"name":"Create Loan","id":"ec12a1a7-11d9-467d-a789-d52ff993f38f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceData\": [\n        {\n            \"name\": \"Invoice_Doc_1\",\n            \"resourceURL\": \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n        }\n    ],\n    \"requiredFinancing\": 454\n    // \"tenor\":\"30\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/services/loans/:productId/create?entityId=6907a5efabb7364598bb2298&","description":"<p>Once a customer has selected a product, a financing request can be created through this endpoint, which generates a loan application. Once the back office approves the request, the application turns into a loan awaiting disbursal.</p>\n<hr />\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productId</code></td>\n<td><code>string</code></td>\n<td>The unique identifier of the selected product.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>entityId</code></td>\n<td><code>string</code></td>\n<td>The unique identifier of the customer entity.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-body\">Request Body</h3>\n<p><code>Content-Type: application/json</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requiredFinancing</code></td>\n<td><code>integer</code></td>\n<td>✅</td>\n<td>The financing amount requested by the customer. Must be a positive integer.</td>\n</tr>\n<tr>\n<td><code>invoiceData</code></td>\n<td><code>Array</code></td>\n<td></td>\n<td>Invoice files or any supporting proof of financing need.</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>An external reference ID for the loan. Must be a non-empty string if provided.</td>\n</tr>\n<tr>\n<td><code>tenor</code></td>\n<td><code>integer</code></td>\n<td></td>\n<td>Loan duration in periods. Must be a positive integer if provided.</td>\n</tr>\n<tr>\n<td><code>disbursementAccountDetails</code></td>\n<td><code>BankAccountDto</code></td>\n<td></td>\n<td>Bank account details for loan disbursal. Defaults to <code>null</code> if not provided.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"requiredFinancing\": 50000,\n  \"invoiceData\": [\n    {\n      \"fileName\": \"invoice_001.pdf\",\n      \"fileUrl\": \"https://example.com/files/invoice_001.pdf\"\n    }\n  ],\n  \"externalId\": \"EXT-REF-12345\",\n  \"tenor\": 12,\n  \"disbursementAccountDetails\": {\n    \"accountNumber\": \"1234567890\",\n    \"bankCode\": \"ABC001\"\n    \"bankId\": \"ABC001\";\n    \"accountTitle\": \"John Doe\";\n    \"iban\": \"IBAN\";\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans",":productId","create"],"host":["{{base_url_core}}"],"query":[{"key":"entityId","value":"6907a5efabb7364598bb2298"},{"key":"","value":null}],"variable":[{"type":"any","value":"68891d5bc4d570d74ccd973b","key":"productId"}]}},"response":[{"id":"0f669113-9c91-40ab-b5c8-822b3b255a4f","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceData\": [\n        {\n            \"name\": \"Invoice_Doc_1\",\n            \"resourceURL\": \"https://cb-finance-core-api-stage-bucket.s3.me-central-1.amazonaws.com/transaction-image-cbfs.png-rc-upload-1742888257719-2.png\"\n        }\n    ],\n    \"requiredFinancing\": 20000\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:productId/create?entityId=6907a5efabb7364598bb2298","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":productId","create"],"query":[{"key":"entityId","value":"6907a5efabb7364598bb2298"}],"variable":[{"key":"productId","value":"68891d5bc4d570d74ccd973b"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"0949f992-40e3-48d5-a6f5-3ac3e633583b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1923"},{"key":"ETag","value":"W/\"783-mWHEZVUqaxQ9DCe1HYni/jpA2i0\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:05:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"newLoan\": {\n        \"display_id\": \"DM-C93C9X\",\n        \"type\": \"loan\",\n        \"entity\": {\n            \"id\": \"6827336afee41b6d1a93bac3\",\n            \"type\": \"business\",\n            \"full_name\": \"Shehzad\"\n        },\n        \"status\": {\n            \"current\": \"under_review\",\n            \"timestamp\": \"2025-06-16T08:05:41.669Z\",\n            \"actor\": \"system\"\n        },\n        \"product\": {\n            \"id\": \"680a10f9ffccf6faf0d002da\",\n            \"fees\": [\n                {\n                    \"method\": \"amount\",\n                    \"fee\": 10,\n                    \"grace_period\": 0,\n                    \"fee_included\": false,\n                    \"frequency\": {\n                        \"type\": \"one_off\",\n                        \"value\": 0,\n                        \"unit\": \"days\"\n                    },\n                    \"is_late_fee\": false,\n                    \"base\": [],\n                    \"conditions\": []\n                }\n            ],\n            \"interest_rates\": [\n                {\n                    \"rate\": {\n                        \"type\": \"bands\",\n                        \"min\": 34,\n                        \"max\": 54\n                    },\n                    \"method\": \"accrual\",\n                    \"charge\": \"outstanding\",\n                    \"base\": [\n                        \"principal\"\n                    ],\n                    \"frequency\": {\n                        \"type\": \"one_off\",\n                        \"value\": 0,\n                        \"unit\": \"days\"\n                    },\n                    \"description\": \"jhkjhjkhj\",\n                    \"conditions\": []\n                }\n            ],\n            \"tenors\": [\n                {\n                    \"tenor\": {\n                        \"type\": \"bands\",\n                        \"min\": 1,\n                        \"max\": 180\n                    },\n                    \"conditions\": []\n                }\n            ],\n            \"payment_schedules\": [\n                {\n                    \"schedule\": \"fixed\",\n                    \"frequency\": {\n                        \"type\": \"recurring\",\n                        \"value\": 7,\n                        \"unit\": \"days\"\n                    },\n                    \"early_repayment_charge\": {\n                        \"applicable\": false,\n                        \"base\": []\n                    }\n                }\n            ],\n            \"communications\": [\n                {\n                    \"method\": \"email\",\n                    \"is_preferred\": false,\n                    \"is_active\": true\n                },\n                {\n                    \"method\": \"sms\",\n                    \"is_preferred\": true,\n                    \"is_active\": true\n                }\n            ],\n            \"sub_type\": \"term_loan\"\n        },\n        \"currency\": {\n            \"code\": \"AED\",\n            \"precision\": 2\n        },\n        \"_id\": \"684fd05583dc3e1095126b47\",\n        \"requested_amount\": 20000,\n        \"terms\": [\n            {\n                \"principal\": 20000,\n                \"markup\": 0,\n                \"tenor\": 0,\n                \"markup_per_day\": 0\n            }\n        ],\n        \"attachments\": [\n            {\n                \"name\": \"Invoice_Doc_1\",\n                \"url\": \"https://cb-finance-core-api-stage-bucket.s3.me-central-1.amazonaws.com/transaction-image-cbfs.png-rc-upload-1742888257719-2.png\"\n            }\n        ],\n        \"disbursement_bank_accounts\": [],\n        \"id\": \"684fd05583dc3e1095126b47\"\n    }\n}"},{"id":"9391cb77-bb61-468a-930f-c3a4ea288d66","name":"Error - Inactive Product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceData\": [\n        {\n            \"name\": \"Invoice_Doc_1\",\n            \"resourceURL\": \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n        }\n    ],\n    \"requiredFinancing\": 454\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:productId/create?entityId=684f190f83dc3e10951268f6","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":productId","create"],"query":[{"key":"entityId","value":"684f190f83dc3e10951268f6"}],"variable":[{"key":"productId","value":"67c6a9f1e443055234922ca0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"77ac6894-ae02-4df4-940a-2e6fc645cccd"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"ETag","value":"W/\"46-3ovlA6go2zNiv7L4x6Zo6XS7WTk\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:52:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Customer has not subscribed to this product\"\n        }\n    ]\n}"},{"id":"be9eddee-f400-4354-bdf9-cae15422d3b0","name":"Error - Invalid id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceData\": [\n        {\n            \"name\": \"Invoice_Doc_1\",\n            \"resourceURL\": \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n        }\n    ],\n    \"requiredFinancing\": 454\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:productId/create?entityId=684f190f83dc3e10951268f6","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":productId","create"],"query":[{"key":"entityId","value":"684f190f83dc3e10951268f6"}],"variable":[{"key":"productId","value":"67c6a9f1e443055234922ca"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"71c2a9f8-dd9d-4753-ae94-573f8a95fc4c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"25"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"89"},{"key":"ETag","value":"W/\"59-ZZzDaiN7kpLC0ImvU26x2Sxr1ks\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:53:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"productId must be a valid MongoDB ObjectId\",\n            \"field\": \"productId\"\n        }\n    ]\n}"},{"id":"5ddfd27a-93b3-43df-b331-9d09fca2a057","name":"Error - Invalid resourceURL","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceData\": [\n        {\n            \"name\": \"Invoice_Doc_1\",\n            \"resourceUrl\": \"https://treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\"\n        }\n    ],\n    \"requiredFinancing\": 454\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:productId/create?entityId=684f190f83dc3e10951268f6","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":productId","create"],"query":[{"key":"entityId","value":"684f190f83dc3e10951268f6"}],"variable":[{"key":"productId","value":"67c6a9f1e443055234922ca0"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"02c845d3-255e-40bc-aa0c-e87f04b2c481"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-UBUQCNqB3yiwsmeh2PR4c4qNsms\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:53:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"invoiceData[0].resourceURL is a required field\",\n            \"field\": \"invoiceData[0].resourceURL\"\n        }\n    ]\n}"}],"_postman_id":"ec12a1a7-11d9-467d-a789-d52ff993f38f"},{"name":"Get Loan","id":"0fdc1408-2c6e-458c-a482-09544622b5e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/services/loans/:loanId","description":"<p>Returns a created loan's details</p>\n<h3 id=\"url-params\">URL Params:</h3>\n<ul>\n<li>loanId: <code>string</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans",":loanId"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"68273438fee41b6d1a93bb44","key":"loanId"}]}},"response":[{"id":"44a09f08-b1f2-4911-8d72-4cc274070b70","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:loanId","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":loanId"],"variable":[{"key":"loanId","value":"68273438fee41b6d1a93bb44"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"e67d38d2-d8e7-4f82-b8cb-92807b11b1d9"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"299"},{"key":"RateLimit-Reset","value":"60"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3451"},{"key":"ETag","value":"W/\"d7b-wYKow9fTj5xlW05t2UlcivgwGjE\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:07:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"loan\": {\n        \"_id\": \"684fd05583dc3e1095\",\n        \"display_id\": \"DM-C93C9X\",\n        \"type\": \"loan\",\n        \"entity\": {\n            \"id\": \"6827336afee41b6d1a93bac3\",\n            \"type\": \"business\",\n            \"full_name\": \"Shehzad\"\n        },\n        \"status\": {\n            \"current\": \"approved\",\n            \"timestamp\": \"2025-06-16T08:06:29.365Z\",\n            \"actor\": \"67db292a658ad86a776b7285\"\n        },\n        \"product\": {\n            \"id\": \"680a10f9ffccf6faf0d002da\",\n            \"fees\": [\n                {\n                    \"method\": \"amount\",\n                    \"fee\": 10,\n                    \"grace_period\": 0,\n                    \"fee_included\": false,\n                    \"frequency\": {\n                        \"type\": \"one_off\",\n                        \"value\": 0,\n                        \"unit\": \"days\"\n                    },\n                    \"is_late_fee\": false,\n                    \"base\": [],\n                    \"conditions\": []\n                }\n            ],\n            \"interest_rates\": [\n                {\n                    \"rate\": {\n                        \"type\": \"bands\",\n                        \"min\": 34,\n                        \"max\": 54\n                    },\n                    \"method\": \"accrual\",\n                    \"charge\": \"outstanding\",\n                    \"base\": [\n                        \"principal\"\n                    ],\n                    \"frequency\": {\n                        \"type\": \"one_off\",\n                        \"value\": 0,\n                        \"unit\": \"days\"\n                    },\n                    \"description\": \"jhkjhjkhj\",\n                    \"conditions\": []\n                }\n            ],\n            \"tenors\": [\n                {\n                    \"tenor\": {\n                        \"type\": \"bands\",\n                        \"min\": 1,\n                        \"max\": 180\n                    },\n                    \"conditions\": []\n                }\n            ],\n            \"payment_schedules\": [\n                {\n                    \"early_repayment_charge\": {\n                        \"applicable\": false,\n                        \"base\": []\n                    },\n                    \"schedule\": \"fixed\",\n                    \"frequency\": {\n                        \"type\": \"recurring\",\n                        \"value\": 7,\n                        \"unit\": \"days\"\n                    }\n                }\n            ],\n            \"communications\": [\n                {\n                    \"method\": \"email\",\n                    \"is_preferred\": false,\n                    \"is_active\": true\n                },\n                {\n                    \"method\": \"sms\",\n                    \"is_preferred\": true,\n                    \"is_active\": true\n                }\n            ],\n            \"sub_type\": \"term_loan\",\n            \"repayment_frequency\": \"week\"\n        },\n        \"currency\": {\n            \"code\": \"AED\",\n            \"precision\": 2\n        },\n        \"history\": [],\n        \"requested_amount\": 20000,\n        \"terms\": [\n            {\n                \"principal\": 20000,\n                \"markup\": 0.3287671232876712,\n                \"tenor\": 12,\n                \"markup_per_day\": 0.0273972602739726\n            }\n        ],\n        \"attachments\": [\n            {\n                \"name\": \"Invoice_Doc_1\",\n                \"url\": \"https://api-stage-bucket.s3.me-central-1.amazonaws.com/transaction-image.png...\"\n            }\n        ],\n        \"disbursement_bank_accounts\": [],\n        \"id\": \"684fd05583dc3e10\"\n    },\n    \"agreement\": {\n        \"envelope_url\": \"xyz.com\",\n        \"status\":\"active\"\n    }\n}"}],"_postman_id":"0fdc1408-2c6e-458c-a482-09544622b5e1"},{"name":"Create Repayment Transaction","id":"b6872806-61b1-4691-bd6e-e57ec63541f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 13.0,\n    \"date\": \"2025-11-24\",\n    \"transactionImage\": {\n        \"url\":\"https//treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\",\n        \"name\":\"tree\",\n        \"size\": 20,\n        \"mime\":\"jpg\"\n    },\n    \"paymentMethod\": \"bank_transfer\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/services/loans/:loanId/transactions","description":"<p>Creates a repayment transaction</p>\n<h3 id=\"url-params\">URL Params:</h3>\n<ul>\n<li>loanId: <code>string</code></li>\n</ul>\n<h3 id=\"request-body-params\">Request Body Params:</h3>\n<ul>\n<li><p>amount: <code>number</code></p>\n</li>\n<li><p>date: <code>Date</code></p>\n</li>\n<li><p>type: \"repayment\"</p>\n</li>\n<li><p>paymentMethod:</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans",":loanId","transactions"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"691480d13090a533ec6a379a","key":"loanId"}]}},"response":[{"id":"0b313568-d2f8-424c-8611-dc7a5491b73c","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 100,\n    \"date\": \"2025-06-16\",\n    \"type\": \"repayment\",\n    \"paymentMethod\": \"bank_transfer\",\n    \"transactionImage\": {\n        \"name\": \"trx\",\n        \"url\": \"https://your-bucket.s3.amazonaws.com/documents/cnic_front_123.jpg\",\n        \"size\": 0,\n        \"mime\": \"jpg\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:loanId/transactions","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":loanId","transactions"],"variable":[{"key":"loanId","value":"68275596a570ae0db9e55bcc"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"ca02030e-f744-4e1a-8231-990d16df328c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"682"},{"key":"ETag","value":"W/\"2aa-ZBWIW0kj7qWfI9PeoX+0hdbwcLU\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:11:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"newTransaction\": {\n        \"service\": {\n            \"id\": \"68275596a570ae0db9e55bcc\",\n            \"type\": \"loan\"\n        },\n        \"entity\": {\n            \"id\": \"6827336afee41b6d1a93bac3\",\n            \"type\": \"business\",\n            \"full_name\": \"Shehzad\"\n        },\n        \"amount\": {\n            \"amount\": 100,\n            \"currency\": \"AED\"\n        },\n        \"date\": \"2025-06-15T00:00:00.000Z\",\n        \"status\": {\n            \"current\": \"pending\",\n            \"timestamp\": \"2025-06-16T08:11:10.188Z\",\n            \"actor\": \"67dbb3c6d504f50ff55379df\"\n        },\n        \"type\": \"repayment\",\n        \"payment_method\": \"bank_transfer\",\n        \"attachments\": [\n            {\n                \"name\": \"trx\",\n                \"url\": \"https://your-bucket.s3.amazonaws.com/documents/cnic_front_123.jpg\",\n                \"mime\": \"jpg\",\n                \"size\": 0\n            }\n        ],\n        \"_id\": \"684fd19e83dc3e1095126b99\",\n    }\n}"},{"id":"44569572-a3ec-4660-afa5-a518c25fa175","name":"Error - Loan not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 1,\n    \"date\": \"2025-06-19\",\n    \"transactionImage\": {\n        \"url\":\"//treecouncil.org.uk/wp-content/uploads/2019/10/Tree_Council_Remarkable_Trees.jpg\",\n        \"name\":\"tree\",\n        \"size\": 20,\n        \"mime\":\"jpg\"\n    },\n    \"paymentMethod\": \"bank_transfer\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:loanId/transactions","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":loanId","transactions"],"variable":[{"key":"loanId","value":"6851a7c0f4f42ae21c6356f9"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"f2bd1808-6aec-44b1-9da6-af7798b8ee01"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"42"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"69"},{"key":"ETag","value":"W/\"45-1O7mJ5S14ENqQa99jNPcOvtuzeo\""},{"key":"Date","value":"Tue, 29 Jul 2025 09:55:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Loan id=6851a7c0f4f42ae21c6356f9 not found\"\n        }\n    ]\n}"}],"_postman_id":"b6872806-61b1-4691-bd6e-e57ec63541f6"},{"name":"Get Repayment Details","id":"3fff5804-6142-4811-851e-88dca24c56a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/services/loans/repayment-details?entityId=","description":"<p>The customer needs an address (typically a bank account details) for repayments. Therefore, this API basically helps in retrieving the user's <code>virtual account</code>. The account's creation is executed by the broker internally.</p>\n<h3 id=\"query-params\">Query Params:</h3>\n<ul>\n<li>entityId: <code>string</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans","repayment-details"],"host":["{{base_url_core}}"],"query":[{"key":"entityId","value":""}],"variable":[]}},"response":[{"id":"d72de67c-2576-48b7-b257-119c06f9f6a7","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/repayment-details?entityId=6827336afee41b6d1a93bac3","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans","repayment-details"],"query":[{"key":"entityId","value":"6827336afee41b6d1a93bac3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"72aad81b-6ce2-4399-bf35-99edc5412eaf"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"290"},{"key":"RateLimit-Reset","value":"2"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"543"},{"key":"ETag","value":"W/\"21f-7wGtOjvzcMOoYTVkIhuTdnKnBtc\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:12:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"repayment_address\": {\n        \"provided_account_title\": \"Shehzad\",\n        \"account_number\": \"7797463594624869\",\n        \"bank_id\": \"6488347be63016c52e361ca2\",\n        \"iban\": \"PK40FAYS7797463594624869\",\n        \"bank_name\": \"Faysal Bank Limited\"\n    },\n    \"instructions\": \"How to Repay?\\n\\nLog in to your banking app.\\n\\nUse the CB account number given above to transfer the amount payable today.\\nRemember:\\nRepayment starts from a minimum of PKR 1000.\\nDo not pay more than the amount payable today.\\n\\nCreditBook will send you a confirmation message once the repayment has successfully been made.\"\n}"}],"_postman_id":"3fff5804-6142-4811-851e-88dca24c56a1"},{"name":"Get Loan Balances Prediction","id":"2b1f8680-3802-4341-868d-034d7002798c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/services/loans/predict?principalAmount=20000&disbursementDate=2026-01-27T07:31:40.830Z&productId=6837ff3f63e958c9060b85bd&tenure=104","description":"<p>This helps the customer predict their balance to repay before applying for a loan.  </p>\n<p>Predicts the loan balance breakdown before a customer applies for financing. Returns estimated fees, markup, and principal.</p>\n<blockquote>\n<p>⚠️ These are <strong>estimated values</strong> only and may differ from the final approved loan terms. </p>\n</blockquote>\n<h3 id=\"query-params\">Query Params:</h3>\n<ul>\n<li><p><code>principalAmount</code>: <code>number</code> <em>(required)</em> — The requested financing amount.</p>\n</li>\n<li><p><code>productId</code>: <code>string</code> <em>(required)</em> — The product ID.</p>\n</li>\n<li><p><code>disbursementDate</code>: <code>datetime</code> <em>(optional)</em> — Expected disbursement date (ISO 8601).</p>\n</li>\n<li><p><code>todayDate</code>: <code>datetime</code> <em>(optional)</em> — Override today's date for simulation/testing purposes.</p>\n</li>\n<li><p><code>tenure</code>: <code>number</code> <em>(optional)</em> — Loan tenure value.</p>\n</li>\n<li><p><code>entityId</code>: <code>string</code> <em>(optional)</em> — Entity ID for customer-specific rate resolution.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fees\": 200,\n  \"markup\": 150,\n  \"principal\": 20000,\n  \"terms\": [...]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans","predict"],"host":["{{base_url_core}}"],"query":[{"key":"principalAmount","value":"20000"},{"key":"disbursementDate","value":"2026-01-27T07:31:40.830Z"},{"key":"productId","value":"6837ff3f63e958c9060b85bd"},{"description":{"content":"<p>required except when entityId is provided</p>\n","type":"text/plain"},"key":"tenure","value":"104"},{"disabled":true,"description":{"content":"<p>optional; for personalized terms only if pre-configured in product</p>\n","type":"text/plain"},"key":"entityId","value":"6996dbc8654c1470bd09d1d7"}],"variable":[]}},"response":[{"id":"4e907321-f31b-4792-bf28-e72f960cb9c7","name":"Base Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/predict?principalAmount=20000&disbursementDate=2026-01-27T07:31:40.830Z&productId=6837ff3f63e958c9060b85bd&tenure=104","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans","predict"],"query":[{"key":"principalAmount","value":"20000"},{"key":"disbursementDate","value":"2026-01-27T07:31:40.830Z"},{"key":"productId","value":"6837ff3f63e958c9060b85bd"},{"key":"tenure","value":"104","description":"required except when entityId is provided"},{"key":"entityId","value":"6996dbc8654c1470bd09d1d7","description":"optional; for dynamic pricing/personalized terms only","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Tue, 07 Apr 2026 14:21:46 GMT"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"45"},{"key":"x-request-id","value":"24172e91-8ff2-4780-b2b6-80f1c1e8ccb0"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"Content-Disposition,X-Request-Id"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"ratelimit-policy","value":"300;w=60"},{"key":"ratelimit-limit","value":"300"},{"key":"ratelimit-remaining","value":"299"},{"key":"ratelimit-reset","value":"60"},{"key":"etag","value":"W/\"2d-C72RYzUn3Alia7EtbOnTmq9sX+I\""}],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": 1500,\n    \"markup\": 4400,\n    \"principal\": 20000\n}"},{"id":"c7c28ea3-f9b5-4e60-a9ab-4243fa8739c9","name":"Response with personalized terms","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/predict?principalAmount=20000&disbursementDate=2026-01-27T07:31:40.830Z&productId=6837ff3f63e958c9060b85bd&entityId=6996dbc8654c1470bd09d1d7","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans","predict"],"query":[{"key":"principalAmount","value":"20000"},{"key":"disbursementDate","value":"2026-01-27T07:31:40.830Z"},{"key":"productId","value":"6837ff3f63e958c9060b85bd"},{"key":"tenure","value":"104","description":"required except when entityId is provided","disabled":true},{"key":"entityId","value":"6996dbc8654c1470bd09d1d7","description":"optional; for dynamic pricing/personalized terms only"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"date","value":"Tue, 07 Apr 2026 14:21:24 GMT"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"92"},{"key":"x-request-id","value":"5079eaa7-5d1f-485f-b754-1b7de1d75f28"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"Content-Disposition,X-Request-Id"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"ratelimit-policy","value":"300;w=60"},{"key":"ratelimit-limit","value":"300"},{"key":"ratelimit-remaining","value":"298"},{"key":"ratelimit-reset","value":"13"},{"key":"etag","value":"W/\"5c-YFjlkeqcDNjhfWX7Is1hxp877sk\""}],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": 1500,\n    \"markup\": 9000,\n    \"principal\": 20000,\n    \"terms\": {\n        \"tenor\": 122,\n        \"markup\": 45,\n        \"apr\": 157.07\n    }\n}"}],"_postman_id":"2b1f8680-3802-4341-868d-034d7002798c"}],"id":"d7fc9f55-7bb7-417e-abba-9725b371d8f4","_postman_id":"d7fc9f55-7bb7-417e-abba-9725b371d8f4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Utils","item":[{"name":"Get Loan Transactions","id":"eb2d981a-1946-4b28-8934-b1a554783567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/services/loans/:loanId/transactions","description":"<p>Retrieves all the transactions linked to a loan</p>\n<p>URL Params:</p>\n<ul>\n<li>loanId: <code>string</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans",":loanId","transactions"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"6851a7c0f4f42ae21c6356f9","key":"loanId"}]}},"response":[{"id":"a3c972aa-27f6-463e-88ad-f430ef4f25ef","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/services/loans/:loanId/transactions","host":["{{base_url_core}}"],"path":["v2","external","demand","services","loans",":loanId","transactions"],"variable":[{"key":"loanId","value":"68273438fee41b6d1a93bb44"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"870b511b-ace1-4cfe-9dba-5663c97f59d5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"48"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15081"},{"key":"ETag","value":"W/\"3ae9-ZQsjjVCcmpbspikwNiVapBnQUI8\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:12:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactions\": [\n        {\n            \"_id\": \"68273e49fee41b6d1a93bcb6\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 10000,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-16T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"completed\",\n                \"timestamp\": \"2025-05-16T13:31:56.540Z\",\n                \"actor\": \"67db292a658ad86a776b7285\"\n            },\n            \"type\": \"disbursement\",\n            \"payment_method\": \"bank_transfer\",\n            \"source_account\": \"\",\n            \"destination_account\": \"\",\n            \"attachments\": [\n                {\n                    \"name\": \"Content.jpg\",\n                    \"url\": \"https://cb-finance-core-api-dev-bucket.s3.me-central-1.amazonaws.com/transaction-image-Content.jpg-rc-upload-1747401547716-9.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAVUKZAWYJ2QKOTF5B%2F20250616%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20250616T081230Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEC8aDG1lLWNlbnRyYWwtMSJGMEQCIGoAcbZ9VpM2i2Zo2LuchsCMO15O07jTLJdagmiB7KhqAiAkMJth8PCmslsYDrIzW6UNTYzDWTg9KoStPD2e6Xu%2F5yqcAwju%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAEaDDM4NzI3MDYyMDY5MSIMLyfhn2vveu17J9CqKvACojELPA6ygM9ULleuF%2BUSrdzAPBziDTVnCc1TwDyLMuDrVWEV1hJKEcIGMHYwnCgJNIegxyDaud2I0fTS9N0TiwLakUR3xyV970j%2B1gu8Cev1ynqndJKIFia%2BrlvGkAjnnPViRW9iCvq9HuGL8o9FMhJyKUw6eH%2F432tT5LwWOXMJLLvK%2BFwjWr7ynJcMz7WpSi4mtuZiOyfYy6goBB0wnBEzhGdZ4%2BGSCbU5R2NQ%2FssCuZ6zIoia2KdRV4wyNeB%2Fbnrf0NdRh5dRgmgEHpFZQI6PPhvMbbybNQUiXf%2FgSix%2B04C3AJRwsBrB3%2BgFjdc%2Fur2Nt4XI7OUPC%2FqeuJAUEggBbo22t0c5Nl6AQs3aldNZX4RRqmN2E2Gi9d0KtxJTltmbwVXAeM16lJrDrkADf6yBRxE26DAF8MSncSXW%2F04XjK7RJQrq66eeQgsUDUFro6mInMJoVmcmSFpjxnCUaJUz6btDq2%2FCGfgGkWmeTPows5WrwgY6pwE0Z6bKxTDn%2BJlawV89YF178mSUOvjSm8%2FrdddLeaqoAtIobJ%2BzDpO2KpBV40KlZHJu2%2FQDxNdKxUhVqc8tpVVNTJvEFcnbhtf%2BGjC%2FPsGeImyPlQ0fGNfGw8UEb3Ra0u2IONQcoJ8Zseu3%2B5JKYrZUdnAbmCcvIYLMQvoZrnbXZlH%2FOhEvHr%2ByCTCaooVPgUVn%2FXWhBtMEwJcTWgGXI3LFn7mox7NhRA%3D%3D&X-Amz-Signature=da747f73f396324f95203986e1e922962ba7642d14443d1f878a9a4656214324&X-Amz-SignedHeaders=host&response-content-type=image%2Fjpeg&x-amz-checksum-mode=ENABLED&x-id=GetObject\",\n                    \"mime\": \"image/jpeg\",\n                    \"size\": 113029\n                }\n            ]\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcca\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-17T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-17T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bccb\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-18T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-18T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bccc\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-19T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-19T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bccd\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-20T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-20T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcce\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-21T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-21T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bccf\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-22T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-22T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd0\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-23T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-23T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd1\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-24T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-24T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd2\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-25T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-25T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd3\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-26T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-26T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd4\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-27T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-27T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd5\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-28T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-28T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd6\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-29T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-29T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd7\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-30T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-30T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd8\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-31T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-05-31T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcd9\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-01T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-01T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcda\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-02T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-02T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcdb\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-03T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-03T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcdc\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-04T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-04T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcdd\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-05T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-05T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcde\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-06T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-06T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bcdf\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-07T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-07T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce0\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-08T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-08T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce1\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-09T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-09T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce2\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-10T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-10T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce3\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-11T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-11T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce4\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-12T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-12T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce5\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-13T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-13T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce6\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.33,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-14T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-14T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273e4cfee41b6d1a93bce7\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 333.43,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-06-15T00:00:00.000Z\",\n            \"status\": {\n                \"current\": \"pending\",\n                \"timestamp\": \"2025-05-16T13:31:56.802Z\",\n                \"actor\": \"system\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"description\": \"Scheduled repayment for 2025-06-15T00:00:00.000Z\",\n            \"attachments\": []\n        },\n        {\n            \"_id\": \"68273f44fee41b6d1a93bd4b\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"amount\": {\n                \"amount\": 10000,\n                \"currency\": \"AED\"\n            },\n            \"date\": \"2025-05-16T13:36:03.944Z\",\n            \"status\": {\n                \"current\": \"completed\",\n                \"timestamp\": \"2025-05-16T13:53:37.407Z\",\n                \"actor\": \"67db292a658ad86a776b7285\"\n            },\n            \"type\": \"repayment\",\n            \"payment_method\": \"bank_transfer\",\n            \"attachments\": [\n                {\n                    \"name\": \"Content.jpg\",\n                    \"url\": \"https://cb-finance-core-api-dev-bucket.s3.me-central-1.amazonaws.com/Content-1747402562888-24.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAVUKZAWYJ2QKOTF5B%2F20250616%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20250616T081230Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEC8aDG1lLWNlbnRyYWwtMSJGMEQCIGoAcbZ9VpM2i2Zo2LuchsCMO15O07jTLJdagmiB7KhqAiAkMJth8PCmslsYDrIzW6UNTYzDWTg9KoStPD2e6Xu%2F5yqcAwju%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAEaDDM4NzI3MDYyMDY5MSIMLyfhn2vveu17J9CqKvACojELPA6ygM9ULleuF%2BUSrdzAPBziDTVnCc1TwDyLMuDrVWEV1hJKEcIGMHYwnCgJNIegxyDaud2I0fTS9N0TiwLakUR3xyV970j%2B1gu8Cev1ynqndJKIFia%2BrlvGkAjnnPViRW9iCvq9HuGL8o9FMhJyKUw6eH%2F432tT5LwWOXMJLLvK%2BFwjWr7ynJcMz7WpSi4mtuZiOyfYy6goBB0wnBEzhGdZ4%2BGSCbU5R2NQ%2FssCuZ6zIoia2KdRV4wyNeB%2Fbnrf0NdRh5dRgmgEHpFZQI6PPhvMbbybNQUiXf%2FgSix%2B04C3AJRwsBrB3%2BgFjdc%2Fur2Nt4XI7OUPC%2FqeuJAUEggBbo22t0c5Nl6AQs3aldNZX4RRqmN2E2Gi9d0KtxJTltmbwVXAeM16lJrDrkADf6yBRxE26DAF8MSncSXW%2F04XjK7RJQrq66eeQgsUDUFro6mInMJoVmcmSFpjxnCUaJUz6btDq2%2FCGfgGkWmeTPows5WrwgY6pwE0Z6bKxTDn%2BJlawV89YF178mSUOvjSm8%2FrdddLeaqoAtIobJ%2BzDpO2KpBV40KlZHJu2%2FQDxNdKxUhVqc8tpVVNTJvEFcnbhtf%2BGjC%2FPsGeImyPlQ0fGNfGw8UEb3Ra0u2IONQcoJ8Zseu3%2B5JKYrZUdnAbmCcvIYLMQvoZrnbXZlH%2FOhEvHr%2ByCTCaooVPgUVn%2FXWhBtMEwJcTWgGXI3LFn7mox7NhRA%3D%3D&X-Amz-Signature=43fa452755fc56d93422a2c3dc1f416d6a8f1154a7a878607ce6c542625f9824&X-Amz-SignedHeaders=host&response-content-type=image%2Fjpeg&x-amz-checksum-mode=ENABLED&x-id=GetObject\",\n                    \"mime\": \"image/jpeg\",\n                    \"size\": 113029\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"eb2d981a-1946-4b28-8934-b1a554783567"},{"name":"Get Customer Loans","id":"b4c8f1d2-2f9b-4421-b8c8-236eb1d1591a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/services/loans?entityId=684f190f83dc3e10951268f6","description":"<p>Retrieves all the loans linked to a customer</p>\n<h3 id=\"query-params\">Query Params:</h3>\n<ul>\n<li><p>entityId: <code>string</code></p>\n</li>\n<li><p>status.current: <code>enum(LoanState)</code></p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">export const LoanState = {\n  // initial states\n  IN_PROGRESS: \"in_progress\",\n  UNDER_REVIEW: \"under_review\",\n  // intermediate \n  REVISION_REQUESTED: \"revision_requested\",\n  APPROVED: \"approved\",\n  READY_TO_DISBURSE: \"ready_to_disburse\",\n  DISBURSED: \"disbursed\",\n  OVERDUE: \"overdue\",\n  // terminal\n  REJECTED: \"rejected\",\n  COMPLETED: \"completed\",\n} as const;\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","services","loans"],"host":["{{base_url_core}}"],"query":[{"key":"entityId","value":"684f190f83dc3e10951268f6"}],"variable":[]}},"response":[{"id":"b6fb9188-130a-4ef5-99b7-d76e7e20358a","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v1/external/loans?entityId=6827336afee41b6d1a93bac3&status.current=approved&status.current=disbursed","host":["{{base_url_core}}"],"path":["v1","external","loans"],"query":[{"key":"entityId","value":"6827336afee41b6d1a93bac3"},{"key":"status.current","value":"approved"},{"key":"status.current","value":"disbursed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"815344e6-c84e-4a3b-866c-49a646c8aaac"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"293"},{"key":"RateLimit-Reset","value":"11"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"5817"},{"key":"ETag","value":"W/\"16b9-wDsR86JlrbaE/o8vbVvpJFBnHNo\""},{"key":"Date","value":"Mon, 16 Jun 2025 08:13:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"loans\": [\n        {\n            \"_id\": \"683427f74e4ebcc8e5716f9a\",\n            \"broker_id\": \"67db1e5ec8f84dca3369bbab\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"display_id\": \"DM-UIKXZ8\",\n            \"type\": \"loan\",\n            \"entity\": {\n                \"id\": \"6827336afee41b6d1a93bac3\",\n                \"type\": \"business\",\n                \"full_name\": \"Shehzad\"\n            },\n            \"status\": {\n                \"current\": \"approved\",\n                \"timestamp\": \"2025-05-26T11:11:08.009Z\",\n                \"actor\": \"67db292a658ad86a776b7285\"\n            },\n            \"partner\": {\n                \"id\": \"67dbb3c6d504f50ff55379df\",\n                \"name\": \"Daem\"\n            },\n            \"product\": {\n                \"id\": \"680a10f9ffccf6faf0d002da\",\n                \"entity_product_id\": \"6827336afee41b6d1a93bac6\",\n                \"auto_reject_loan\": false,\n                \"loan_level_agreements\": true,\n                \"auto_loan_creation\": false,\n                \"virtual_accounts\": false,\n                \"auto_credit_report\": false,\n                \"fees\": [\n                    {\n                        \"is_late_fee\": false,\n                        \"conditions\": [],\n                        \"method\": \"amount\",\n                        \"fee\": 10,\n                        \"grace_period\": 0,\n                        \"fee_included\": false,\n                        \"frequency\": {\n                            \"type\": \"one_off\",\n                            \"value\": 0,\n                            \"unit\": \"days\"\n                        },\n                        \"base\": [],\n                        \"condition\": \"\"\n                    }\n                ],\n                \"interest_rates\": [\n                    {\n                        \"conditions\": [],\n                        \"rate\": {\n                            \"type\": \"bands\",\n                            \"min\": 34,\n                            \"max\": 54\n                        },\n                        \"method\": \"accrual\",\n                        \"charge\": \"outstanding\",\n                        \"base\": [\n                            \"principal\"\n                        ],\n                        \"frequency\": {\n                            \"type\": \"one_off\",\n                            \"value\": 0,\n                            \"unit\": \"days\"\n                        },\n                        \"description\": \"jhkjhjkhj\",\n                        \"condition\": \"\"\n                    }\n                ],\n                \"tenors\": [\n                    {\n                        \"conditions\": [],\n                        \"tenor\": {\n                            \"type\": \"bands\",\n                            \"min\": 1,\n                            \"max\": 180\n                        },\n                        \"condition\": \"\"\n                    }\n                ],\n                \"payment_schedules\": [\n                    {\n                        \"early_repayment_charge\": {\n                            \"applicable\": false,\n                            \"base\": []\n                        },\n                        \"schedule\": \"fixed\",\n                        \"frequency\": {\n                            \"type\": \"recurring\",\n                            \"value\": 7,\n                            \"unit\": \"days\"\n                        }\n                    }\n                ],\n                \"communications\": [\n                    {\n                        \"method\": \"email\",\n                        \"is_preferred\": false,\n                        \"is_active\": true\n                    },\n                    {\n                        \"method\": \"sms\",\n                        \"is_preferred\": true,\n                        \"is_active\": true\n                    }\n                ],\n                \"sub_type\": \"term_loan\",\n                \"auto_approve_repayments\": false,\n                \"repayment_frequency\": \"year\",\n                \"name\": \"Daem Growth financing\"\n            },\n            \"currency\": {\n                \"code\": \"AED\",\n                \"precision\": 2\n            },\n            \"history\": [\n                {\n                    \"_id\": \"683427f74e4ebcc8e5716f9a\",\n                    \"broker_id\": \"67db1e5ec8f84dca3369bbab\",\n                    \"region_id\": \"67db299562ffa12e818f0594\",\n                    \"display_id\": \"DM-UIKXZ8\",\n                    \"type\": \"loan\",\n                    \"entity\": {\n                        \"id\": \"6827336afee41b6d1a93bac3\",\n                        \"type\": \"business\",\n                        \"full_name\": \"Shehzad\"\n                    },\n                    \"status\": {\n                        \"current\": \"under_review\",\n                        \"timestamp\": \"2025-05-26T08:36:07.359Z\",\n                        \"actor\": \"system\"\n                    },\n                    \"partner\": {\n                        \"id\": \"67dbb3c6d504f50ff55379df\",\n                        \"name\": \"Daem\"\n                    },\n                    \"product\": {\n                        \"id\": \"680a10f9ffccf6faf0d002da\",\n                        \"entity_product_id\": \"6827336afee41b6d1a93bac6\",\n                        \"auto_reject_loan\": false,\n                        \"loan_level_agreements\": true,\n                        \"auto_loan_creation\": false,\n                        \"virtual_accounts\": false,\n                        \"auto_credit_report\": false,\n                        \"fees\": [\n                            {\n                                \"method\": \"amount\",\n                                \"fee\": 10,\n                                \"grace_period\": 0,\n                                \"fee_included\": false,\n                                \"frequency\": {\n                                    \"type\": \"one_off\",\n                                    \"value\": 0,\n                                    \"unit\": \"days\"\n                                },\n                                \"base\": [],\n                                \"condition\": \"\"\n                            }\n                        ],\n                        \"interest_rates\": [\n                            {\n                                \"rate\": {\n                                    \"type\": \"bands\",\n                                    \"min\": 34,\n                                    \"max\": 54\n                                },\n                                \"method\": \"accrual\",\n                                \"charge\": \"outstanding\",\n                                \"base\": [\n                                    \"principal\"\n                                ],\n                                \"frequency\": {\n                                    \"type\": \"one_off\",\n                                    \"value\": 0,\n                                    \"unit\": \"days\"\n                                },\n                                \"description\": \"jhkjhjkhj\",\n                                \"condition\": \"\"\n                            }\n                        ],\n                        \"tenors\": [\n                            {\n                                \"tenor\": {\n                                    \"type\": \"bands\",\n                                    \"min\": 1,\n                                    \"max\": 180\n                                },\n                                \"condition\": \"\"\n                            }\n                        ],\n                        \"payment_schedules\": [\n                            {\n                                \"schedule\": \"fixed\",\n                                \"frequency\": {\n                                    \"type\": \"recurring\",\n                                    \"value\": 7,\n                                    \"unit\": \"days\"\n                                },\n                                \"early_repayment_charge\": {\n                                    \"applicable\": false,\n                                    \"base\": []\n                                }\n                            }\n                        ],\n                        \"communications\": [\n                            {\n                                \"method\": \"email\",\n                                \"is_preferred\": false,\n                                \"is_active\": true\n                            },\n                            {\n                                \"method\": \"sms\",\n                                \"is_preferred\": true,\n                                \"is_active\": true\n                            }\n                        ],\n                        \"sub_type\": \"term_loan\",\n                        \"auto_approve_repayments\": false\n                    },\n                    \"currency\": {\n                        \"code\": \"AED\",\n                        \"precision\": 2\n                    },\n                    \"history\": [],\n                    \"requested_amount\": 10000000,\n                    \"terms\": [\n                        {\n                            \"principal\": 10000000,\n                            \"markup\": 0,\n                            \"tenor\": 30\n                        }\n                    ],\n                    \"attachments\": [\n                        {\n                            \"name\": \"blank.pdf\",\n                            \"url\": \"https://cb-finance-core-api-dev-bucket.s3.me-central-1.amazonaws.com/blank-1748248566154-16.pdf\"\n                        }\n                    ],\n                    \"disbursement_bank_accounts\": [],\n                    \"created_at\": \"2025-05-26T08:36:07.484Z\",\n                    \"updated_at\": \"2025-05-26T08:36:07.825Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"requested_amount\": 10000000,\n            \"terms\": [\n                {\n                    \"principal\": 10000000,\n                    \"markup\": 34,\n                    \"tenor\": 30,\n                    \"markup_per_day\": 1.1333333333333333\n                }\n            ],\n            \"attachments\": [\n                {\n                    \"name\": \"blank.pdf\",\n                    \"url\": \"https://cb-finance-core-api-dev-bucket.s3.me-central-1.amazonaws.com/blank-1748248566154-16.pdf\"\n                }\n            ],\n            \"disbursement_bank_accounts\": [],\n            \"created_at\": \"2025-05-26T08:36:07.484Z\",\n            \"updated_at\": \"2025-05-26T11:11:08.014Z\",\n            \"__v\": 1\n        },\n        {\n            \"_id\": \"684fd05583dc3e1095126b47\",\n            \"broker_id\": \"67db1e5ec8f84dca3369bbab\",\n            \"region_id\": \"67db299562ffa12e818f0594\",\n            \"display_id\": \"DM-C93C9X\",\n            \"type\": \"loan\",\n            \"entity\": {\n                \"id\": \"6827336afee41b6d1a93bac3\",\n                \"type\": \"business\",\n                \"full_name\": \"Shehzad\"\n            },\n            \"status\": {\n                \"current\": \"approved\",\n                \"timestamp\": \"2025-06-16T08:06:29.365Z\",\n                \"actor\": \"67db292a658ad86a776b7285\"\n            },\n            \"partner\": {\n                \"id\": \"67dbb3c6d504f50ff55379df\",\n                \"name\": \"Daem\"\n            },\n            \"product\": {\n                \"id\": \"680a10f9ffccf6faf0d002da\",\n                \"entity_product_id\": \"6827336afee41b6d1a93bac6\",\n                \"auto_reject_loan\": false,\n                \"loan_level_agreements\": true,\n                \"auto_credit_report\": false,\n                \"auto_loan_creation\": false,\n                \"auto_approve_repayments\": false,\n                \"virtual_accounts\": false,\n                \"auto_verify_customer\": false,\n                \"auto_background_checks\": false,\n                \"fees\": [\n                    {\n                        \"method\": \"amount\",\n                        \"fee\": 10,\n                        \"grace_period\": 0,\n                        \"fee_included\": false,\n                        \"frequency\": {\n                            \"type\": \"one_off\",\n                            \"value\": 0,\n                            \"unit\": \"days\"\n                        },\n                        \"is_late_fee\": false,\n                        \"base\": [],\n                        \"conditions\": []\n                    }\n                ],\n                \"interest_rates\": [\n                    {\n                        \"rate\": {\n                            \"type\": \"bands\",\n                            \"min\": 34,\n                            \"max\": 54\n                        },\n                        \"method\": \"accrual\",\n                        \"charge\": \"outstanding\",\n                        \"base\": [\n                            \"principal\"\n                        ],\n                        \"frequency\": {\n                            \"type\": \"one_off\",\n                            \"value\": 0,\n                            \"unit\": \"days\"\n                        },\n                        \"description\": \"jhkjhjkhj\",\n                        \"conditions\": []\n                    }\n                ],\n                \"tenors\": [\n                    {\n                        \"tenor\": {\n                            \"type\": \"bands\",\n                            \"min\": 1,\n                            \"max\": 180\n                        },\n                        \"conditions\": []\n                    }\n                ],\n                \"payment_schedules\": [\n                    {\n                        \"early_repayment_charge\": {\n                            \"applicable\": false,\n                            \"base\": []\n                        },\n                        \"schedule\": \"fixed\",\n                        \"frequency\": {\n                            \"type\": \"recurring\",\n                            \"value\": 7,\n                            \"unit\": \"days\"\n                        }\n                    }\n                ],\n                \"communications\": [\n                    {\n                        \"method\": \"email\",\n                        \"is_preferred\": false,\n                        \"is_active\": true\n                    },\n                    {\n                        \"method\": \"sms\",\n                        \"is_preferred\": true,\n                        \"is_active\": true\n                    }\n                ],\n                \"sub_type\": \"term_loan\",\n                \"repayment_frequency\": \"week\",\n                \"name\": \"Daem Growth financing\"\n            },\n            \"currency\": {\n                \"code\": \"AED\",\n                \"precision\": 2\n            },\n            \"history\": [],\n            \"requested_amount\": 20000,\n            \"terms\": [\n                {\n                    \"principal\": 20000,\n                    \"markup\": 0.3287671232876712,\n                    \"tenor\": 12,\n                    \"markup_per_day\": 0.0273972602739726\n                }\n            ],\n            \"attachments\": [\n                {\n                    \"name\": \"Invoice_Doc_1\",\n                    \"url\": \"https://cb-finance-core-api-stage-bucket.s3.me-central-1.amazonaws.com/transaction-image-cbfs.png-rc-upload-1742888257719-2.png\"\n                }\n            ],\n            \"disbursement_bank_accounts\": [],\n            \"created_at\": \"2025-06-16T08:05:41.763Z\",\n            \"updated_at\": \"2025-06-16T08:06:29.369Z\",\n            \"__v\": 1\n        }\n    ]\n}"}],"_postman_id":"b4c8f1d2-2f9b-4421-b8c8-236eb1d1591a"},{"name":"Get Presigned Url","id":"d2eb9437-4f95-4bb9-b4ce-7baafeb7b185","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/s3/presigned-url?fileName=cnic_front.jpg&urlType=put&uploadType=compliance","description":"<p>Generates a pre-signed S3 URL for uploading or downloading files (compliance documents, invoices, transaction receipts etc.).</p>\n<h3 id=\"query-params\">Query Params:</h3>\n<ul>\n<li><p><code>fileName</code>: <code>string</code> <em>(required)</em> — The target filename (e.g. <code>cnic_front.jpg</code>).</p>\n</li>\n<li><p><code>urlType</code>: <code>PreSignedUrlType</code> <em>(optional)</em> — <code>put</code> for upload, <code>get</code> for download.</p>\n</li>\n<li><p><code>uploadType</code>: <code>UploadType</code> <em>(optional)</em> — Upload category (e.g. <code>compliance</code>). Required when <code>urlType=put</code>.</p>\n</li>\n</ul>\n<h3 id=\"common-usage\">Common Usage:</h3>\n<ol>\n<li><p>Call this endpoint to get a signed URL.</p>\n</li>\n<li><p>Use the URL to PUT your file directly to S3 from the client.</p>\n</li>\n<li><p>Use the returned resource URL in submission payloads.</p>\n</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","s3","presigned-url"],"host":["{{base_url_core}}"],"query":[{"key":"fileName","value":"cnic_front.jpg"},{"key":"urlType","value":"put"},{"key":"uploadType","value":"compliance"}],"variable":[]}},"response":[{"id":"496ee20e-8041-485d-9eaf-4dfdd4cdfec9","name":"Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url_core}}/v2/external/demand/s3/presigned-url?fileName=cnic_front.jpg&urlType=put&uploadType=compliance","host":["{{base_url_core}}"],"path":["v2","external","demand","s3","presigned-url"],"query":[{"key":"fileName","value":"cnic_front.jpg"},{"key":"urlType","value":"put"},{"key":"uploadType","value":"compliance"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"x-request-id","value":"227d36bf-4725-4f79-a786-40f7b3062297"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1786"},{"key":"ETag","value":"W/\"6fa-FOrCcYVHNQx5LdxyffIZYOmRnJo\""},{"key":"Date","value":"Thu, 23 Oct 2025 16:47:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"putPresignedURL\": \"https://cb-finance-core-api-sandbox-bucket.s3.me-central-1.amazonaws.com/66c5b20fb54fcd76a8ae5e45/partners/68891a85c4d570d74ccd9718/compliances/cnic-front-1761238064530-36.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAXNGUVEYMFECMB5WO%2F20251023%2Fme-central-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T164744Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEIr%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDG1lLWNlbnRyYWwtMSJHMEUCIQDTrlm%2FeitH24MGKr6PkkrrSFuv%2BuT5nVS34jUBk%2Bzp7wIgTwXp2Wm9cAqoYf5mcPCB99aKc6Ywa16SCbqDPqp6Zk0qlQMIKRAAGgw1MDkzOTk2MDY4MDgiDJqKren6QinU4XlPFiryAq%2BcKc6JNI1iaKNgi7v0%2FrNaVijMGarOhwtKOP4edl9iL8B0JwuL1RtqSB1PBrYEOvmA5FCrokc7SlF9uyNJP%2Fk2zilhnWQlgRcuSSFLmZDKCEBiU05Ljb5Zpozs7PUA7SjvYwDgnbM3nZLjr9lFOxXyosYDHVujRLVvaBoBehithKciLQRAkvXxTw29QDMwY7MpGlVUJGH9ZZDQpfYLYibVV%2FUC7IH4%2Fo6q7TGwHooERH8ZkuR8Jx8RfU9LoNBJNw3xoD%2BFmH9DJyohPckCoVfDrx24CJ%2BdCXyjYS7j94iLaJa3UeeElYdBAJu4aAbPmYpgMB%2BL48agSPr7XvzJGc77c%2F%2BHuvvQT9Gr3vpxsLjjn7LOumtChS5%2FH61XopZLowEn3SWNIslbHTOfFUSihsK7KOJczpN8xEr9oivTmJq1IHHSL9w2BRha2fxadD6CzZgtrkfhsrBtztK6GKbF3EYMSy5mdxyfv4hETJt9k8Ov418woJ%2FixwY6pgGybq79tbN4ag5vzqtZkVMKxC2aLKoWiVmAKCrwoUKoneZcvWclEVUPKcLlyUg69rM1YZpgyNmQJkKmDQCUDGtVKM2sTwjOQG9PGi259gZh0vFlPcTj%2BZgE%2FHzareSp8q1VLrofG3kgF98XHPZp11jwhQOIvDMSaLzC1ro1OEg4Z%2Fh1xABTc%2FhqOi2N2rOsQhc8JRYLRA6nEVQhnA3nmziHeox2%2FPA3&X-Amz-Signature=73553fb75721769565ed39ca8859679156ca32b11c32ee23f854ef58bf44bf0c&X-Amz-SignedHeaders=host&x-amz-checksum-crc32=AAAAAA%3D%3D&x-amz-sdk-checksum-algorithm=CRC32&x-id=PutObject\",\n    \"resourceURL\": \"https://cb-finance-core-api-sandbox-bucket.s3.me-central-1.amazonaws.com/66c5b20fb54fcd76a8ae5e45/partners/68891a85c4d570d74ccd9718/compliances/cnic-front-1761238064530-36.jpg\"\n}"}],"_postman_id":"d2eb9437-4f95-4bb9-b4ce-7baafeb7b185"}],"id":"df3b9dec-6a39-4a4f-94d9-e9558f239581","_postman_id":"df3b9dec-6a39-4a4f-94d9-e9558f239581","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}}],"id":"e8aac47c-3774-4fe6-b6a9-43da9c0f8352","description":"<img src=\"https://content.pstmn.io/f23fd8e3-7044-46d1-bdad-99aa2e6a06ec/U2NyZWVuc2hvdCAyMDI1LTA2LTEyIGF0IDEyLjU5LjE04oCvQU0ucG5n\" />\n\n<p>The APIs in this section outline how a customer applies for financing. The general flow is to:</p>\n<ol>\n<li><p>Get the products available to the customer from Get Customer Products</p>\n</li>\n<li><p>Create a Loan Service request for that product</p>\n</li>\n<li><p>Once the loan is approved and disbursed, a customer's virtual account details can be retrieveed from Get Repayment Details</p>\n</li>\n<li><p>Finally a customer may make a repayment to the virtual account and create a corresponding transaction through the Create Repayment Transaction API</p>\n</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"id":"db320e1d-af8d-4310-9d84-e3842e9db4cd","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1c154271-74f0-4d82-b8a0-c48d30b9103f","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"e8aac47c-3774-4fe6-b6a9-43da9c0f8352","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Setting up Webhook Auth","item":[],"id":"a0d8f9af-fb75-42f3-ae88-e1d4a5b8b765","description":"<p>The broker expects an authentication URL that intakes email and password (dedicated for us) and returns a JWT token. Following is how we expect to invoke this authentication URL on the partner's end and receive the token where the <code>base_auth_url</code>(Referring from the <a href=\"https://forms.gle/c9JqGViSywfKTF1WA\">form</a>: <code>Authentication URL</code>), email, and password (which are provided to us) are sent as below in the request body.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">const loginResponse = await axios.post(base_auth_url, {\n      username,\n      password,\n    });\nreturn loginResponse.data.token;\n\n</code></pre>\n<p>Following is how every webhook will be invoked from our end. Here, you can fill <a href=\"https://docs.google.com/forms/d/e/1FAIpQLScHl73bsiB_Xg-3baHD7iLTbb_TOJBA2UaMJC6zjEhOZ0Kuqg/viewform?usp=send_form\">this</a> form to provide us with different (or same) URLs to invoke the webhook that needs to be called for certain events. <code>payload</code> here are specific to the triggered event (discussed in the Payloads for Webhook URLs section)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">await axios.post(webhook_url, payload,  {\n        headers: {\n          Authorization: token,\n        },\n      })\n\n</code></pre>\n<hr />\n<h3 id=\"webhook-url-fields\">Webhook URL fields</h3>\n<p>Provide a URL for each event you want to receive (same URL is fine for multiple events). Leave a field blank to skip that event.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event</th>\n<th>Config field</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Customer update</td>\n<td><code>url_customer_update</code></td>\n</tr>\n<tr>\n<td>Compliance update</td>\n<td><code>url_compliance_update</code></td>\n</tr>\n<tr>\n<td>Risk update</td>\n<td><code>url_risk_update</code></td>\n</tr>\n<tr>\n<td>Customer product update</td>\n<td><code>url_customer_product_update</code></td>\n</tr>\n<tr>\n<td>Bank account update</td>\n<td><code>url_bank_account_update</code></td>\n</tr>\n<tr>\n<td>Service update</td>\n<td><code>url_service_update</code></td>\n</tr>\n<tr>\n<td>Transaction create</td>\n<td><code>url_transaction_create</code></td>\n</tr>\n<tr>\n<td>Transaction update</td>\n<td><code>url_transaction_update</code></td>\n</tr>\n<tr>\n<td>Agreement create</td>\n<td><code>url_agreement_create</code></td>\n</tr>\n<tr>\n<td>Agreement update</td>\n<td><code>url_agreement_update</code></td>\n</tr>\n<tr>\n<td>Offer update</td>\n<td><code>url_offer_update</code></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"a0d8f9af-fb75-42f3-ae88-e1d4a5b8b765","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Webhook Payloads","item":[{"name":"General Event Payload","item":[],"id":"1cad3107-d7cb-4a2c-9ed2-013a949f4cb0","description":"<h2 id=\"important-payloads-are-partial\">Important: payloads are partial</h2>\n<p>Webhooks tell you <strong>what changed</strong>, not the customer’s full record.</p>\n<ul>\n<li>Always read <code>event_type</code> first.</li>\n<li>Treat most fields inside <code>event_data</code> as <strong>optional</strong>.</li>\n<li>Only update fields that are present. Do <strong>not</strong> clear or overwrite data in your system just because a field is missing from the webhook.</li>\n<li>Missing usually means the key is <strong>omitted</strong>, not sent as <code>null</code>.</li>\n<li>Identifying fields (listed per event) are always present so you can match the right customer / product / account.</li>\n<li>Status and other enum fields are plain strings. Allowed values are listed in <a href=\"#reference-values\">Reference values</a>.</li>\n</ul>\n<h3 id=\"quick-map-which-key-to-read\">Quick map: which key to read</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>event_type</code></th>\n<th>Look for this key in <code>event_data</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_update</code></td>\n<td><code>profile</code> <strong>or</strong> <code>relationship</code></td>\n</tr>\n<tr>\n<td><code>compliance_update</code></td>\n<td><code>compliance</code></td>\n</tr>\n<tr>\n<td><code>risk_update</code></td>\n<td><code>risk</code></td>\n</tr>\n<tr>\n<td><code>customer_product_update</code></td>\n<td><code>product</code></td>\n</tr>\n<tr>\n<td><code>bank_account_update</code></td>\n<td><code>bank_account</code></td>\n</tr>\n<tr>\n<td><code>service_update</code></td>\n<td>(loan fields on <code>event_data</code> — see Service Update)</td>\n</tr>\n<tr>\n<td><code>transaction_create</code> / <code>transaction_update</code></td>\n<td>(see Transaction pages)</td>\n</tr>\n<tr>\n<td><code>agreement_create</code> / <code>agreement_update</code></td>\n<td>(see Agreement pages)</td>\n</tr>\n<tr>\n<td><code>offer_update</code></td>\n<td>(see Offer Update)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"request-shape\">Request shape</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"compliance_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {}\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event_type</code></td>\n<td>Yes</td>\n<td>Which event this is — see <a href=\"#events-at-a-glance\">Events at a glance</a></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>Yes</td>\n<td>When we sent it (UTC, ISO-8601)</td>\n</tr>\n<tr>\n<td><code>event_data</code></td>\n<td>Yes</td>\n<td>Details for that event</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"common-fields-on-customer-related-events\">Common fields on customer-related events</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Yes</td>\n<td>Our ID for the <strong>business</strong> customer</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Yes</td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>external_customer_id</code></td>\n<td>No</td>\n<td>Your customer ID, if you provided one at registration</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"events-at-a-glance\">Events at a glance</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>event_type</code></th>\n<th>When we send it</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_update</code></td>\n<td>Business profile or owner details change</td>\n</tr>\n<tr>\n<td><code>compliance_update</code></td>\n<td>Compliance status changes</td>\n</tr>\n<tr>\n<td><code>risk_update</code></td>\n<td>Risk status changes for a product</td>\n</tr>\n<tr>\n<td><code>customer_product_update</code></td>\n<td>Assigned and/or available credit limits change</td>\n</tr>\n<tr>\n<td><code>bank_account_update</code></td>\n<td>Bank account is created or updated</td>\n</tr>\n<tr>\n<td><code>service_update</code></td>\n<td>Loan status changes</td>\n</tr>\n<tr>\n<td><code>transaction_create</code></td>\n<td>A new loan transaction is created</td>\n</tr>\n<tr>\n<td><code>transaction_update</code></td>\n<td>An existing transaction changes</td>\n</tr>\n<tr>\n<td><code>agreement_create</code></td>\n<td>A new agreement is created</td>\n</tr>\n<tr>\n<td><code>agreement_update</code></td>\n<td>An agreement’s status or documents change</td>\n</tr>\n<tr>\n<td><code>offer_update</code></td>\n<td>An offer is sent or its status changes</td>\n</tr>\n</tbody>\n</table>\n</div><p>Customer-related events are documented below. Agreement, service, transaction, and offer payloads have their own pages.</p>\n<hr />\n<h2 id=\"handling-webhooks-safely\">Handling webhooks safely</h2>\n<ol>\n<li>Read <code>event_type</code>.  </li>\n<li>Match the customer with <code>customer_id</code> (and <code>external_customer_id</code> if present).  </li>\n<li>Apply <strong>only</strong> the fields that are present in <code>event_data</code>.  </li>\n<li>Ignore missing fields — they usually mean “unchanged”, not “empty”.  </li>\n<li>When reading a status field, compare against the allowed values below. Unknown values should be handled safely (log / ignore), not crash.  </li>\n<li>Return HTTP <strong>2xx</strong> quickly.</li>\n</ol>\n<hr />\n","_postman_id":"1cad3107-d7cb-4a2c-9ed2-013a949f4cb0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Customer Update","item":[],"id":"02b8353f-0106-4335-af60-e662aa2fedef","description":"<p>Sent when a customer’s <strong>business profile</strong> or <strong>owner</strong> details change.</p>\n<p>Each event contains <strong>either</strong> <code>profile</code> <strong>or</strong> <code>relationship</code> — not both.</p>\n<h3 id=\"always-present\">Always present</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Business customer ID</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>profile</code> <em>or</em> <code>relationship</code></td>\n<td>Which kind of change this is</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"profile-change\">Profile change</h3>\n<p>Only changed profile fields are included.</p>\n<p><strong>Example — only the address changed:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"customer_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"partner-customer-001\",\n    \"type\": \"business\",\n    \"profile\": {\n      \"address\": {\n        \"street_address\": \"Street 5\",\n        \"city\": \"Lahore\",\n        \"state\": \"Punjab\",\n        \"country\": \"Pakistan\"\n      }\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>profile.full_name</code></td>\n<td>No</td>\n<td>Business name</td>\n</tr>\n<tr>\n<td><code>profile.national_document_id</code></td>\n<td>No</td>\n<td>Business national document ID</td>\n</tr>\n<tr>\n<td><code>profile.business_type</code></td>\n<td>No</td>\n<td>See <a href=\"#business-type\">Business type</a></td>\n</tr>\n<tr>\n<td><code>profile.address</code></td>\n<td>No</td>\n<td>Business address</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"owner-relationship-change\">Owner (relationship) change</h3>\n<p><code>relationship.id</code> identifies which owner changed. Other relationship fields are included only when present — apply only what you receive.</p>\n<p><strong>Example — owner name and phone changed:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"customer_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"relationship\": {\n      \"id\": \"6978561e333bf361d6b19f67\",\n      \"full_name\": \"Muhammad Usman\",\n      \"phone_number\": \"+923001234567\"\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>relationship.id</code></td>\n<td>Yes</td>\n<td>Owner (individual) ID</td>\n</tr>\n<tr>\n<td><code>relationship.relationship</code></td>\n<td>No</td>\n<td>Role — typically <code>\"owner\"</code> when present</td>\n</tr>\n<tr>\n<td><code>relationship.full_name</code></td>\n<td>No</td>\n<td>Owner’s full name</td>\n</tr>\n<tr>\n<td><code>relationship.national_document_id</code></td>\n<td>No</td>\n<td>Owner’s national document ID</td>\n</tr>\n<tr>\n<td><code>relationship.email</code></td>\n<td>No</td>\n<td>Owner’s email</td>\n</tr>\n<tr>\n<td><code>relationship.phone_number</code></td>\n<td>No</td>\n<td>Owner’s phone number</td>\n</tr>\n<tr>\n<td><code>relationship.dob</code></td>\n<td>No</td>\n<td>Owner’s date of birth</td>\n</tr>\n<tr>\n<td><code>relationship.address</code></td>\n<td>No</td>\n<td>Owner’s address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","_postman_id":"02b8353f-0106-4335-af60-e662aa2fedef","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Compliance Update","item":[],"id":"ae493509-2692-92e9-c77f-6fbfe4baa18e","description":"<p>Sent when a customer’s <strong>compliance</strong> status changes.</p>\n<p><code>compliance</code> is <strong>one of two shapes</strong>:</p>\n<ol>\n<li><code>overall_status</code> — result for the customer as a whole  </li>\n<li><code>entity</code> + <code>status</code> — result for a specific business or owner</li>\n</ol>\n<h3 id=\"always-present\">Always present</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Business customer ID</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>compliance</code></td>\n<td>Either overall <strong>or</strong> per-entity status (see below)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"overall-compliance-status\">Overall compliance status</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"compliance_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"compliance\": {\n      \"overall_status\": {\n        \"current\": \"approved\",\n        \"timestamp\": \"2026-01-27T08:51:59.574Z\"\n      }\n    }\n  }\n}\n</code></pre>\n<h3 id=\"per-entity-compliance-status\">Per-entity compliance status</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"compliance_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"compliance\": {\n      \"entity\": {\n        \"id\": \"6978561e333bf361d6b19f67\",\n        \"type\": \"individual\"\n      },\n      \"status\": {\n        \"current\": \"rejected\",\n        \"timestamp\": \"2026-01-27T08:51:59.574Z\",\n        \"comment\": \"Application declined\",\n        \"reason_code\": \"declined\"\n      }\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>overall_status.current</code> / <code>status.current</code></td>\n<td>Yes (in its shape)</td>\n<td>See <a href=\"#compliance-status\">Compliance status</a></td>\n</tr>\n<tr>\n<td><code>overall_status.timestamp</code> / <code>status.timestamp</code></td>\n<td>Yes (in its shape)</td>\n<td>When the status was set</td>\n</tr>\n<tr>\n<td><code>entity.id</code></td>\n<td>Yes (per-entity shape)</td>\n<td>Which business or person</td>\n</tr>\n<tr>\n<td><code>entity.type</code></td>\n<td>Yes (per-entity shape)</td>\n<td>See <a href=\"#entity-type\">Entity type</a></td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>No</td>\n<td>Human-readable note</td>\n</tr>\n<tr>\n<td><code>reason_code</code></td>\n<td>No</td>\n<td>See <a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>How to read it</strong></p>\n<ul>\n<li>If <code>compliance.overall_status</code> exists → update overall compliance state.  </li>\n<li>If <code>compliance.entity</code> exists → update that entity’s compliance state.  </li>\n<li>Only use <code>comment</code> / <code>reason_code</code> when they are present.</li>\n</ul>\n<hr />\n","_postman_id":"ae493509-2692-92e9-c77f-6fbfe4baa18e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Risk Update","item":[],"id":"2d8dae05-0d2f-ed6f-49ea-376ec3012598","description":"<p>Sent when a customer’s <strong>risk status</strong> changes for a financing product.</p>\n<h3 id=\"always-present\">Always present</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Business customer ID</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>risk.product_id</code></td>\n<td>Product ID</td>\n</tr>\n<tr>\n<td><code>risk.financier</code></td>\n<td>Financier name (for example <code>\"CBFS\"</code>)</td>\n</tr>\n<tr>\n<td><code>risk.status.current</code></td>\n<td>See <a href=\"#risk-status\">Risk status</a></td>\n</tr>\n<tr>\n<td><code>risk.status.timestamp</code></td>\n<td>When the status was set</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"risk_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"risk\": {\n      \"product_id\": \"67c6a9f1e4430552\",\n      \"financier\": \"CBFS\",\n      \"status\": {\n        \"current\": \"approved\",\n        \"timestamp\": \"2026-01-27T08:51:59.574Z\"\n      }\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>risk.status.comment</code></td>\n<td>No</td>\n<td>Optional note</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","_postman_id":"2d8dae05-0d2f-ed6f-49ea-376ec3012598","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Customer Product Update","item":[],"id":"2fe57d8c-01a5-93ed-2c14-b50c5bb0fa33","description":"<p>Sent when a customer’s <strong>credit limits</strong> change for a product.</p>\n<p>You may receive assigned limits, available limits, or both — depending on what changed.</p>\n<h3 id=\"always-present\">Always present</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Business customer ID</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>product.id</code></td>\n<td>Product ID</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example — only available limits changed:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"customer_product_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"product\": {\n      \"id\": \"67c6a9f1e4430552\",\n      \"available_credit_limits\": {\n        \"CBFS\": { \"amount\": 35000, \"currency\": \"PKR\" },\n        \"max\": { \"amount\": 35000, \"currency\": \"PKR\" }\n      }\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>product.assigned_credit_limits</code></td>\n<td>No</td>\n<td>Limits assigned per financier</td>\n</tr>\n<tr>\n<td><code>product.available_credit_limits</code></td>\n<td>No</td>\n<td>Remaining usable limit per financier</td>\n</tr>\n<tr>\n<td><code>product.available_credit_limits.max</code></td>\n<td>No</td>\n<td>Max available (when available limits are sent)</td>\n</tr>\n<tr>\n<td><code>*.currency</code></td>\n<td>Yes (when a limit object is sent)</td>\n<td>ISO currency code (for example <code>\"PKR\"</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","_postman_id":"2fe57d8c-01a5-93ed-2c14-b50c5bb0fa33","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Bank Account Update","item":[],"id":"b6493c1e-66f1-e3c2-88fc-118514d280f4","description":"<p>Sent when a customer <strong>bank account</strong> is created or updated.</p>\n<h3 id=\"always-present\">Always present</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td>Business customer ID</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Always <code>\"business\"</code> for now</td>\n</tr>\n<tr>\n<td><code>bank_account.id</code></td>\n<td>Bank account ID</td>\n</tr>\n<tr>\n<td><code>bank_account.bank_name</code></td>\n<td>Bank name</td>\n</tr>\n<tr>\n<td><code>bank_account.provided_account_title</code></td>\n<td>Account title as provided</td>\n</tr>\n<tr>\n<td><code>bank_account.account_number</code></td>\n<td>Account number</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"bank_account_update\",\n  \"timestamp\": \"2026-01-27T13:51:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"type\": \"business\",\n    \"bank_account\": {\n      \"id\": \"6978561e333bf361d6b19f69\",\n      \"bank_name\": \"HBL\",\n      \"provided_account_title\": \"Usman Traders\",\n      \"account_number\": \"1234567890\"\n    }\n  }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Always present?</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>bank_account.iban</code></td>\n<td>No</td>\n<td>IBAN, when available</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","_postman_id":"b6493c1e-66f1-e3c2-88fc-118514d280f4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Reference Values","item":[],"id":"1286e898-6e4a-181d-64fe-200240c60a2d","description":"<p>These are the string values your integration should expect. Webhooks do not send a separate schema — only these strings appear in the payload.</p>\n<h3 id=\"event-type\">Event type</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_update</code></td>\n</tr>\n<tr>\n<td><code>compliance_update</code></td>\n</tr>\n<tr>\n<td><code>risk_update</code></td>\n</tr>\n<tr>\n<td><code>customer_product_update</code></td>\n</tr>\n<tr>\n<td><code>bank_account_update</code></td>\n</tr>\n<tr>\n<td><code>service_update</code></td>\n</tr>\n<tr>\n<td><code>transaction_create</code></td>\n</tr>\n<tr>\n<td><code>transaction_update</code></td>\n</tr>\n<tr>\n<td><code>agreement_create</code></td>\n</tr>\n<tr>\n<td><code>agreement_update</code></td>\n</tr>\n<tr>\n<td><code>offer_update</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"entity-type\">Entity type</h3>\n<ul>\n<li>Top-level <code>event_data.type</code> is always <code>\"business\"</code> for now.</li>\n<li><code>compliance.entity.type</code> can be either value below (which business or person the compliance status applies to).</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>business</code></td>\n<td>Business customer / entity</td>\n</tr>\n<tr>\n<td><code>individual</code></td>\n<td>Person (for example an owner)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"business-type\">Business type</h3>\n<p>Used in <code>profile.business_type</code> when present.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>individual</code></td>\n</tr>\n<tr>\n<td><code>sole_proprietorship</code></td>\n</tr>\n<tr>\n<td><code>company</code></td>\n</tr>\n<tr>\n<td><code>partnership</code></td>\n</tr>\n<tr>\n<td><code>branch_office</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"compliance-status\">Compliance status</h3>\n<p>Used in <code>compliance.overall_status.current</code> and <code>compliance.status.current</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pending</code></td>\n<td>Under review / not final</td>\n</tr>\n<tr>\n<td><code>approved</code></td>\n<td>Approved</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>Rejected</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"risk-status\">Risk status</h3>\n<p>Used in <code>risk.status.current</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pending</code></td>\n<td>Under review / not final</td>\n</tr>\n<tr>\n<td><code>approved</code></td>\n<td>Approved</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>Rejected</td>\n</tr>\n<tr>\n<td><code>expired</code></td>\n<td>No longer valid</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"compliance-reason-codes\">Compliance reason codes</h3>\n<p>Used in <code>reason_code</code> when present (typically with <code>rejected</code>).</p>\n<p>Full list (meanings + can reapply): <a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a>.</p>\n<p>Requirement-level codes are <strong>not</strong> sent on webhooks — see <a href=\"#bf4c4ec8-7013-0a52-8bc4-70c56ff7361b\">Compliance reason codes (requirement-level)</a> and <strong>Get Customer Compliance</strong>.</p>\n","_postman_id":"1286e898-6e4a-181d-64fe-200240c60a2d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Agreement Creation","item":[],"id":"8a3350b1-c18b-4586-ae9b-a9beadedcf01","description":"<p>Fired when a new agreement is created and sent for signing — either a customer-level financing agreement or a loan-level agreement.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"agreement_create\"\ninterface IAgreementCreateData extends IEventBaseData {\n  id: string;\n  type: \"finance_agreement\"; // AgreementType\n  status: \"pending\" | \"active\" | \"expired\" | \"terminated\"; // AgreementStatus\n  service?: { id: string; type: string }; // present if loan-level agreement\n  agreement_url?: string;          // DashSign signing URL\n  financier: string;               // financier name (e.g. \"CBFS\")\n  signing_date?: Date;\n  expiry_date?: Date;\n  documents?: {\n    id: string;\n    name: string;\n    url: string;             // pre-signed S3 URL (expires in 1 hour)\n    mime: string;\n    size: number;\n    meta?: { order: number };\n    created_at: Date;\n    updated_at: Date;\n  }[];\n  attachments?: object[];\n  credit_limit?: { amount: number; currency: string }; \n  markup?: number;                                     \n}\n\n</code></pre>\n<hr />\n<h3 id=\"example-payload--finance-agreement-created-pending-signing\">Example Payload — Finance Agreement Created (Pending Signing)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"agreement_create\",\n  \"timestamp\": \"2026-01-27T17:26:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-5b95-40f397669a03\",\n    \"id\": \"6978af09333bf361d6b339dc\",\n    \"type\": \"finance_agreement\",\n    \"status\": \"pending\",\n    \"financier\": \"CBFS\",\n    \"service\": { \"id\": \"6978af08333bf361d6b339ac\", \"type\": \"loan\" },\n    \"agreement_url\": \"https://secure.dashsign.co/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n    \"documents\": [],\n    \"attachments\": [],\n    \"credit_limit\": { \"amount\": 25000, \"currency\": \"PKR\" },\n    \"markup\": 8\n  }\n}\n\n</code></pre>\n<blockquote>\n<p><strong><code>agreement_url</code></strong> — A DashSign signing URL. Redirect the customer to this URL to complete the digital signing.</p>\n</blockquote>\n","_postman_id":"8a3350b1-c18b-4586-ae9b-a9beadedcf01","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Agreement Update","item":[],"id":"8df05f02-1653-46dc-9033-3ede30741f44","description":"<p>Fired when an agreement's status changes — most commonly when it moves from <code>pending</code> to <code>active</code> after the customer signs.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"agreement_update\"\ninterface IAgreementUpdateData extends IEventBaseData {\n  id: string;\n  type?: \"finance_agreement\" | \"loan_agreement\" | string;\n  status?: \"pending\" | \"active\" | \"expired\" | \"terminated\";\n  service?: { id: string; type: string };\n  agreement_url?: string;\n  financier?: string;\n  signing_date?: Date;\n  expiry_date?: Date;\n  documents?: {\n    id: string; name: string; url: string; mime: string; size: number;\n    meta?: { order: number }; created_at: Date; updated_at: Date;\n  }[];\n  attachments?: object[];\n  amendments?: {\n    id: string;\n    status?: string;\n    signing_date?: Date;\n    credit_limit?: { amount: number; currency: string };\n    documents?: object[];\n    meta?: { envelope_url?: string };\n  }[];\n  credit_limit?: { amount: number; currency: string };\n  markup?: number;\n}\n\n</code></pre>\n<hr />\n<h3 id=\"example-payload--agreement-signed-active\">Example Payload — Agreement Signed (Active)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"agreement_update\",\n  \"timestamp\": \"2026-02-25T17:14:44.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-0000-00000000\",\n    \"id\": \"6978af09333bf361d6b339dc\",\n    \"type\": \"finance_agreement\",\n    \"status\": \"active\",\n    \"signing_date\": \"2026-02-25T12:14:44.722Z\",\n    \"expiry_date\": \"2027-02-25T12:14:44.722Z\",\n    \"financier\": \"CBFS\",\n    \"service\": { \"id\": \"6978af08333bf361d6b339ac\", \"type\": \"loan\" },\n    \"agreement_url\": \"https://secure.dashsign.co/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n    \"credit_limit\": { \"amount\": 25000, \"currency\": \"PKR\" },\n    \"markup\": 8,\n    \"documents\": [\n      {\n        \"id\": \"6978af0a39584da3414c3ad8\",\n        \"name\": \"ID - Personal Guarantee.pdf\",\n        \"url\": \"https://cb-finance-core-api-prod-bucket.s3.me-central-1.amazonaws.com/...\",\n        \"mime\": \"application/pdf\",\n        \"size\": 101410,\n        \"meta\": { \"order\": 0 },\n        \"created_at\": \"2026-02-25T12:14:45.411Z\",\n        \"updated_at\": \"2026-02-25T12:14:45.411Z\"\n      },\n      {\n        \"id\": \"6978af0a39584da3414c3adb\",\n        \"name\": \"ID - Offer Letter.pdf\",\n        \"url\": \"https://cb-finance-core-api-prod-bucket.s3.me-central-1.amazonaws.com/...\",\n        \"mime\": \"application/pdf\",\n        \"size\": 196806,\n        \"meta\": { \"order\": 1 },\n        \"created_at\": \"2026-02-25T12:14:45.411Z\",\n        \"updated_at\": \"2026-02-25T12:14:45.411Z\"\n      },\n      {\n        \"id\": \"6978af0a39584da3414c3ade\",\n        \"name\": \"ID - Finance Agreement.pdf\",\n        \"url\": \"https://cb-finance-core-api-prod-bucket.s3.me-central-1.amazonaws.com/...\",\n        \"mime\": \"application/pdf\",\n        \"size\": 187173,\n        \"meta\": { \"order\": 2 },\n        \"created_at\": \"2026-02-25T12:14:45.411Z\",\n        \"updated_at\": \"2026-02-25T12:14:45.411Z\"\n      }\n    ],\n    \"attachments\": [],\n    \"amendments\": []\n  }\n}\n\n</code></pre>\n<blockquote>\n<p><strong><code>documents</code></strong> — Pre-signed S3 URLs for the signed agreement PDFs (Personal Guarantee, Offer Letter, Finance Agreement).</p>\n</blockquote>\n","_postman_id":"8df05f02-1653-46dc-9033-3ede30741f44","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Service Update","item":[],"id":"e6065a75-bb09-416c-bfb0-3b3d24a5d8d4","description":"<p>Fired when a loan's status changes. The full loan lifecycle is communicated via this event.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"service_update\"\ninterface IServiceUpdateData extends IEventBaseData {\n  id: string;\n  type: \"loan\" | \"savings\";\n  status:\n    | \"under_review\"\n    | \"approved\"\n    | \"disbursed\"\n    | \"overdue\"\n    | \"completed\"\n    | \"rejected\"\n    | undefined;\n  comment?: string; // present on rejection or approval/disbursal notes\n  terms?: IServiceTerms[]; // present on approved / ready_to_disburse / disbursed\n}\ninterface IServiceTerms {\n  principal: number;\n  markup: number;   // percentage rate/amount\n  tenor: number;    // in days\n  balance?: {\n    pending: {\n      principal: number;\n      markup: number;\n      fee: number;\n      unceiled_fee: number;\n      unceiled_markup: number;\n    };\n    repaid: {\n      principal: number;\n      markup: number;\n      fee: number;\n    };\n  };\n  disbursement_date?: Date;\n  due_date?: Date;\n  markup_per_day?: number; // percentage rate/amount\n}\n\n</code></pre>\n<hr />\n<h3 id=\"example-payloads\">Example Payloads</h3>\n<h4 id=\"1--loan-approved\">1 — Loan Approved</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"service_update\",\n  \"timestamp\": \"2026-02-25T17:14:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-5b95-40f397669a03\",\n    \"id\": \"6978af08333bf361d6b339ac\",\n    \"type\": \"loan\",\n    \"status\": \"approved\",\n    \"comment\": \"Loan approved automatically as auto-approval enabled and criteria met\",\n    \"terms\": [{ \"principal\": 15000, \"markup\": 8, \"tenor\": 84 }]\n  }\n}\n\n</code></pre>\n<h4 id=\"2--rejected\">2 — Rejected</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"service_update\",\n  \"timestamp\": \"2026-02-25T17:14:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-5b95-40f397669a03\",\n    \"id\": \"6978af08333bf361d6b339ac\",\n    \"type\": \"loan\",\n    \"status\": \"rejected\",\n    \"comment\": \"Already overdues pending.\",\n    \"terms\": [{ \"principal\": 15000, \"markup\": 8, \"tenor\": 84 }]\n  }\n}\n\n</code></pre>\n<h4 id=\"3--loan-disbursed-with-full-balance-breakdown\">3 — Loan Disbursed (with full balance breakdown)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"service_update\",\n  \"timestamp\": \"2026-05-01T00:20:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-0000-00000000\",\n    \"id\": \"6978af08333bf361d6b339ac\",\n    \"type\": \"loan\",\n    \"status\": \"disbursed\",\n    \"comment\": \"Auto disbursed via swich\",\n    \"terms\": [\n      {\n        \"principal\": 15000,\n        \"markup\": 0,\n        \"tenor\": 30,\n        \"balance\": {\n          \"pending\": {\n            \"principal\": 14701,\n            \"markup\": 0,\n            \"fee\": 0,\n            \"unceiled_fee\": 0,\n            \"unceiled_markup\": 0\n          },\n          \"repaid\": {\n            \"principal\": 299,\n            \"markup\": 0,\n            \"fee\": 0\n          }\n        },\n        \"disbursement_date\": \"2026-02-24T19:00:00.000Z\",\n        \"due_date\": \"2026-05-19T19:00:00.000Z\",\n        \"markup_per_day\": 0\n      }\n    ]\n  }\n}\n\n</code></pre>\n","_postman_id":"e6065a75-bb09-416c-bfb0-3b3d24a5d8d4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Transaction Creation","item":[],"id":"b7111b2c-3827-4e96-b033-7791a618ccc4","description":"<p>Fired when a new transaction is created against a loan (disbursement, repayment, fee, etc.).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"transaction_create\"\ninterface ITransactionCreateData extends IEventBaseData {\n  id: string;\n  service: { id: string; type: \"loan\"};\n  payment_method: \"bank_transfer\" | \"cash\" | \"cheque\" | \"online\" | string;\n  type: \"disbursement\" | \"repayment\" | \"marking\" | \"refund\" | \"adjustment\" | \"fee\" | \"write-off\";\n  status: \"pending\" | \"completed\" | \"failed\" | \"cancelled\";\n  amount: { amount: number; currency: string };\n  date: string;   // date string in region timezone (YYYY-MM-DD)\n  description?: string;\n  attachments?: { name: string; url: string; mime: string; size: number }[];\n  source_account?: string;\n  destination_account?: string; // bank account ID\n}\n\n</code></pre>\n<hr />\n<h3 id=\"example-payload--disbursement-transaction-created\">Example Payload — Disbursement Transaction Created</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"transaction_create\",\n  \"timestamp\": \"2026-02-25T17:14:00.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-0000-00000000\",\n    \"id\": \"699ee7b7c5e3548aa0e7c0c7\",\n    \"service\": { \"id\": \"6978af08333bf361d6b339ac\", \"type\": \"loan\" },\n    \"type\": \"disbursement\",\n    \"payment_method\": \"bank_transfer\",\n    \"status\": \"pending\",\n    \"amount\": { \"amount\": 15000, \"currency\": \"PKR\" },\n    \"date\": \"2026-02-25\",\n    \"attachments\": [\n      {\n        \"name\": \"Disbursement Receipt\",\n        \"url\": \"https://cb-finance-core-api-prod-bucket.s3.me-central-1.amazonaws.com/...\",\n        \"mime\": \"application/pdf\",\n        \"size\": 34874\n      }\n    ],\n    \"destination_account\": \"6978561e333bf361d6b19f69\"\n  }\n}\n\n</code></pre>\n<blockquote>\n<p><strong>Note:</strong> <code>transaction_create</code> is always followed by a <code>transaction_update</code> event once the transaction status changes (e.g. <code>pending</code> → <code>completed</code>).</p>\n</blockquote>\n","_postman_id":"b7111b2c-3827-4e96-b033-7791a618ccc4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Transaction Update","item":[],"id":"a89df955-253b-419e-a926-5af8832710fa","description":"<p>Fired when an existing transaction's status or details change. Always delayed <strong>10 seconds</strong> after the originating create event to prevent race conditions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"transaction_update\"\ninterface ITransactionUpdateData extends IEventBaseData {\n  id: string;\n  service: { id: string; type: \"loan\" };\n  payment_method: string;\n  type?: \"disbursement\" | \"repayment\" | \"marking\" | \"refund\" | \"adjustment\" | \"fee\" | \"write-off\";\n  status?: \"pending\" | \"completed\" | \"failed\" | \"cancelled\";\n  amount?: { amount: number; currency: string };\n  date?: string;\n  description?: string;\n  attachments?: { name: string; url: string; mime: string; size: number }[];\n  source_account?: string;\n  destination_account?: string;\n}\n\n</code></pre>\n<hr />\n<h3 id=\"example-payloads\">Example Payloads</h3>\n<h4 id=\"1--disbursement-transaction-completed\">1 — Disbursement Transaction Completed</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"transaction_update\",\n  \"timestamp\": \"2026-02-25T17:14:10.000Z\",\n  \"event_data\": {\n    \"customer_id\": \"6978561e333bf361d6b19f66\",\n    \"external_customer_id\": \"00000000-0000-0000-0000-00000000\",\n    \"id\": \"699ee7b7c5e3548aa0e7c0c7\",\n    \"service\": { \"id\": \"6978af08333bf361d6b339ac\", \"type\": \"loan\" },\n    \"type\": \"disbursement\",\n    \"payment_method\": \"bank_transfer\",\n    \"status\": \"completed\",\n    \"amount\": { \"amount\": 15000, \"currency\": \"PKR\" },\n    \"date\": \"2026-02-25\",\n    \"attachments\": [\n      {\n        \"name\": \"Disbursement Receipt\",\n        \"url\": \"https://cb-finance-core-api-prod-bucket.s3.me-central-1.amazonaws.com/...\",\n        \"mime\": \"application/pdf\",\n        \"size\": 34874\n      }\n    ],\n    \"destination_account\": \"6978561e333bf361d6b19f69\"\n  }\n}\n\n</code></pre>\n","_postman_id":"a89df955-253b-419e-a926-5af8832710fa","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Offer Update","item":[],"id":"fcea41fb-7e5f-4c85-af95-d884d81baf49","description":"<p>Fired when an offer's status or details change, most commonly offer is dispatched to the partner, or when its terminal status changes (e.g. <code>accepted</code>, <code>expired</code>). The <code>event_data</code> is an array, so multiple offers may be delivered in a single event.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">// event_type: \"offer_update\"\ninterface IOfferUpdateData {\n  id: string;\n  values:\n    | {\n        min: { amount: number; currency: string };\n        max: { amount: number; currency: string };\n      }\n    | undefined;\n  status:\n    | \"pending\"\n    | \"accepted\"\n    | \"rejected\"\n    | \"expired\"\n    | \"suspended\";\n  expiry_date: string | undefined; // ISO-8601 timestamp after which the offer is no longer valid\n  external_customer_id: string | undefined; // Partner-supplied customer identifier\n}\n\n</code></pre>\n<h3 id=\"example-payloads\">Example Payloads</h3>\n<h4 id=\"1---offer-dispatched-to-partner-status-pending\">1 - Offer Dispatched to Partner (status: pending)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"offer_update\",\n  \"timestamp\": \"2026-02-25T17:14:10.000Z\",\n  \"event_data\": [\n    {\n      \"id\": \"699ee7b7c5e3548aa0e7c0c7\",\n      \"values\": {\n        \"min\": { \"amount\": 5000, \"currency\": \"PKR\" },\n        \"max\": { \"amount\": 50000, \"currency\": \"PKR\" }\n      },\n      \"status\": \"pending\",\n      \"expiry_date\": \"2026-03-11T17:14:10.000Z\",\n      \"external_customer_id\": \"00000000-0000-0000-0000-000000000000\"\n    }\n  ]\n}\n\n</code></pre>\n<h4 id=\"2---offer-accepted-by-customer\">2 - Offer Accepted by Customer</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"offer_update\",\n  \"timestamp\": \"2026-02-27T09:02:33.000Z\",\n  \"event_data\": [\n    {\n      \"id\": \"699ee7b7c5e3548aa0e7c0c7\",\n      \"values\": {\n        \"min\": { \"amount\": 5000, \"currency\": \"PKR\" },\n        \"max\": { \"amount\": 50000, \"currency\": \"PKR\" }\n      },\n      \"status\": \"accepted\",\n      \"expiry_date\": \"2026-03-11T17:14:10.000Z\",\n      \"external_customer_id\": \"00000000-0000-0000-0000-000000000000\"\n    }\n  ]\n}\n\n</code></pre>\n<h4 id=\"3---batch-dispatch-multiple-offers-in-one-event\">3 - Batch Dispatch (multiple offers in one event)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event_type\": \"offer_update\",\n  \"timestamp\": \"2026-02-25T17:14:10.000Z\",\n  \"event_data\": [\n    {\n      \"id\": \"699ee7b7c5e3548aa0e7c0c7\",\n      \"values\": {\n        \"min\": { \"amount\": 5000, \"currency\": \"PKR\" },\n        \"max\": { \"amount\": 50000, \"currency\": \"PKR\" }\n      },\n      \"status\": \"pending\",\n      \"expiry_date\": \"2026-03-11T17:14:10.000Z\",\n      \"external_customer_id\": \"00000000-0000-0000-0000-000000000001\"\n    },\n    {\n      \"id\": \"699ee7b7c5e3548aa0e7c0c8\",\n      \"values\": {\n        \"min\": { \"amount\": 10000, \"currency\": \"PKR\" },\n        \"max\": { \"amount\": 75000, \"currency\": \"PKR\" }\n      },\n      \"status\": \"pending\",\n      \"expiry_date\": \"2026-03-11T17:14:10.000Z\",\n      \"external_customer_id\": \"00000000-0000-0000-0000-000000000002\"\n    }\n  ]\n}\n\n</code></pre>\n","_postman_id":"fcea41fb-7e5f-4c85-af95-d884d81baf49","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}}],"id":"6e367ce5-c709-41b5-8b21-83abab78d9ea","description":"<p>Detailed payload schemas and examples for each v2 webhook event type.</p>\n<p><strong>Read order (customer events):</strong> General Event Payload → Customer Update → Compliance Update → Risk Update → Customer Product Update → Bank Account Update → Reference Values.</p>\n<p>Agreement, Service, Transaction, and Offer pages follow after.</p>\n","_postman_id":"6e367ce5-c709-41b5-8b21-83abab78d9ea","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}}],"id":"90217eb5-a21e-4c19-a3a0-a2db943d8687","description":"<p>Webhooks are used to communicate to partners about process updates when key events occur — customer compliance changes, loan state transitions, transaction updates, agreement signings, and offer updates.</p>\n<p>The broker initiates all webhook calls. Your role is to:</p>\n<ol>\n<li><p><strong>Expose an auth URL</strong> that returns a JWT token</p>\n</li>\n<li><p><strong>Expose webhook endpoint URLs</strong> (one per event type, or a shared URL)</p>\n</li>\n<li><p><strong>Return</strong> <strong><code>2xx</code></strong> on receipt — the broker retries failed deliveries</p>\n</li>\n</ol>\n<p>See <strong>Setting up Webhook Auth</strong> for full setup instructions, and <strong>Webhook Payloads</strong> for detailed payload schemas with real examples.</p>\n","_postman_id":"90217eb5-a21e-4c19-a3a0-a2db943d8687","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Types","item":[{"name":"Compliance reason codes (entity-level)","id":"cd217711-e8e6-e92d-2137-40ee2be874e8","request":{"method":"GET","header":[],"url":"","description":"<p>Entity-level codes used when a <strong>compliance</strong> (business or owner) is rejected.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Where you see it</th>\n<th>Field</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Get Customer Compliance / Get Customer Owners / Update Compliance</td>\n<td><code>status.reason_code</code></td>\n</tr>\n<tr>\n<td>Get Customer</td>\n<td><code>compliance.status.reason_code</code> (snapshot)</td>\n</tr>\n<tr>\n<td>Webhook <code>compliance_update</code></td>\n<td><code>compliance.status.reason_code</code> or <code>overall_status</code> (when present)</td>\n</tr>\n<tr>\n<td>Sandbox Process Compliances</td>\n<td><code>overallReasonCode</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Can reapply?</strong> See the column below. When it is <strong>Yes</strong>, the customer can fix and try again. When it is <strong>No</strong>, do not keep resubmitting the same application. <strong>—</strong> means not specified.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n<th>Can reapply?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>bad_credit_history</code></td>\n<td>Bad credit history (e.g. negative credit report / DPD)</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>overexposed</code></td>\n<td>Customer is overexposed</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>low_sales_or_icr</code></td>\n<td>Low sales or low interest coverage ratio</td>\n<td>No</td>\n</tr>\n<tr>\n<td><code>declined</code></td>\n<td>Customer declined or is not interested (e.g. did not apply, not the owner)</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>multiple_accounts</code></td>\n<td>Customer already exists with another business</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>duplicate</code></td>\n<td>Duplicate customer or business</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>no_data</code></td>\n<td>No data available to complete the review</td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><p>For requirement-level codes, see <a href=\"#bf4c4ec8-7013-0a52-8bc4-70c56ff7361b\">Compliance reason codes (requirement-level)</a>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"cd217711-e8e6-e92d-2137-40ee2be874e8"},{"name":"Compliance reason codes (requirement-level)","id":"bf4c4ec8-7013-0a52-8bc4-70c56ff7361b","request":{"method":"GET","header":[],"url":"","description":"<p>Requirement-level codes used when a single <strong>requirement</strong> (document or text field) is rejected.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Where you see it</th>\n<th>Field</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Get Customer Compliance / Get Customer Owners / Update Compliance</td>\n<td><code>requirements[].status.reason_code</code></td>\n</tr>\n<tr>\n<td>Sandbox Process Compliances</td>\n<td><code>fields[].reasonCode</code></td>\n</tr>\n<tr>\n<td>Webhooks</td>\n<td><strong>Not sent</strong> — use Get Customer Compliance</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Can reapply?</strong> <strong>Yes</strong> for all of these — fix that document/field and resubmit with <strong>Update Compliance</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n<th>Can reapply?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>missing</code></td>\n<td>Required document or field is missing</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>unreadable</code></td>\n<td>Image or document is unclear, blurry, or unreadable</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>expired</code></td>\n<td>Document has expired</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>invalid</code></td>\n<td>Document or details are invalid (e.g. wrong location, wrong bank details)</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>screen_capture</code></td>\n<td>Photo was taken from another phone or screen</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>mismatch</code></td>\n<td>Details do not match (e.g. front/back, name vs photo, selfie vs ID)</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><code>wrong_document</code></td>\n<td>Wrong document uploaded (e.g. photocopy, wrong ID)</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>For entity-level codes, see <a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"bf4c4ec8-7013-0a52-8bc4-70c56ff7361b"}],"id":"54057695-c9e5-4ca2-9e13-1ecccf771022","description":"<p>Shared values used across Embedded Finance APIs, sandbox, and webhooks.</p>\n<p>Open a type below for the full list. Other docs link here instead of duplicating tables.</p>\n","_postman_id":"54057695-c9e5-4ca2-9e13-1ecccf771022","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Sandbox APIs","item":[{"name":"Reference Values","item":[],"id":"22795423-1a7a-b76a-16b7-91e587766042","description":"<h3 id=\"overall-reason-codes\">Overall reason codes</h3>\n<p>Used as <code>overallReasonCode</code> on Process Compliances.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>bad_credit_history</code></td>\n<td>Bad credit history</td>\n</tr>\n<tr>\n<td><code>overexposed</code></td>\n<td>Overexposed</td>\n</tr>\n<tr>\n<td><code>low_sales_or_icr</code></td>\n<td>Low sales or interest coverage ratio</td>\n</tr>\n<tr>\n<td><code>declined</code></td>\n<td>Declined (default when rejecting without a code)</td>\n</tr>\n<tr>\n<td><code>multiple_accounts</code></td>\n<td>Multiple accounts</td>\n</tr>\n<tr>\n<td><code>duplicate</code></td>\n<td>Duplicate application</td>\n</tr>\n<tr>\n<td><code>no_data</code></td>\n<td>No data available</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"document-reason-codes\">Document reason codes</h3>\n<p>Used as <code>fields[].reasonCode</code> on Process Compliances.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>missing</code></td>\n<td>Missing</td>\n</tr>\n<tr>\n<td><code>unreadable</code></td>\n<td>Unreadable</td>\n</tr>\n<tr>\n<td><code>expired</code></td>\n<td>Expired</td>\n</tr>\n<tr>\n<td><code>invalid</code></td>\n<td>Invalid (default if you omit <code>reasonCode</code> or pass a plain string field name)</td>\n</tr>\n<tr>\n<td><code>screen_capture</code></td>\n<td>Screen captured</td>\n</tr>\n<tr>\n<td><code>mismatch</code></td>\n<td>Mismatch</td>\n</tr>\n<tr>\n<td><code>wrong_document</code></td>\n<td>Wrong document</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"status-values-quick\">Status values (quick)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API</th>\n<th>Allowed <code>status</code> values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Process Compliances / Process Risk</td>\n<td><code>pending</code>, <code>approved</code>, <code>rejected</code></td>\n</tr>\n<tr>\n<td>Process Loan</td>\n<td><code>approved</code>, <code>disbursed</code>, <code>rejected</code></td>\n</tr>\n<tr>\n<td>Process Transaction</td>\n<td><code>pending</code>, <code>completed</code>, <code>failed</code>, <code>cancelled</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","_postman_id":"22795423-1a7a-b76a-16b7-91e587766042","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"[SANDBOX] Process Compliances","id":"ab44f585-0db0-48f8-b741-985e3969f90c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"compliances\": [\n        {\n            \"entityId\": \"6978561e333bf361d6b19f66\",\n            \"status\": \"rejected\",\n            \"reason\": \"Documents unclear\",\n            \"overallReasonCode\": \"declined\",\n            \"fields\": [\n                {\n                    \"name\": \"cnic_front\",\n                    \"reasonCode\": \"unreadable\"\n                },\n                \"cnic_back\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-compliance","description":"<p><code>POST /v2/external/demand/sandbox/process-compliance</code></p>\n<p>Approve or reject compliance for one or more entities (business and/or owners).</p>\n<h3 id=\"body\">Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"compliances\": [\n    {\n      \"entityId\": \"6978561e333bf361d6b19f66\",\n      \"status\": \"approved\"\n    }\n  ]\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>compliances</code></td>\n<td>Yes</td>\n<td>List of compliance decisions</td>\n</tr>\n<tr>\n<td><code>compliances[].entityId</code></td>\n<td>Yes</td>\n<td>Entity whose compliance to update</td>\n</tr>\n<tr>\n<td><code>compliances[].status</code></td>\n<td>Yes</td>\n<td><code>approved</code> or <code>rejected</code> (also accepts <code>pending</code>)</td>\n</tr>\n<tr>\n<td><code>compliances[].reason</code></td>\n<td>No</td>\n<td>Free-text note (stored as a comment)</td>\n</tr>\n<tr>\n<td><code>compliances[].overallReasonCode</code></td>\n<td>No*</td>\n<td>See <a href=\"#cd217711-e8e6-e92d-2137-40ee2be874e8\">Compliance reason codes (entity-level)</a>. *Defaults to <code>declined</code> when <code>status</code> is <code>rejected</code>.</td>\n</tr>\n<tr>\n<td><code>compliances[].fields</code></td>\n<td>Yes when rejected</td>\n<td>Requirements to reject — see below</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"rejecting--fields\">Rejecting — <code>fields</code></h3>\n<p>When <code>status</code> is <code>rejected</code>, <code>fields</code> is required (at least one entry).</p>\n<p>Each entry can be:</p>\n<ol>\n<li>An <strong>object</strong> with <code>name</code> + optional <code>reasonCode</code>  </li>\n<li>A <strong>string</strong> (requirement name only) → treated as <code>{ \"name\": \"&lt;string&gt;\", \"reasonCode\": \"invalid\" }</code></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"compliances\": [\n    {\n      \"entityId\": \"6978561e333bf361d6b19f66\",\n      \"status\": \"rejected\",\n      \"reason\": \"Documents unclear\",\n      \"overallReasonCode\": \"declined\",\n      \"fields\": [\n        { \"name\": \"cnic_front\", \"reasonCode\": \"unreadable\" },\n        \"cnic_back\"\n      ]\n    }\n  ]\n}\n</code></pre>\n<p>In this example:</p>\n<ul>\n<li><code>cnic_front</code> is rejected with <code>unreadable</code>  </li>\n<li><code>cnic_back</code> is rejected with <code>invalid</code> (default for string-only entries)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fields[].name</code></td>\n<td>Yes</td>\n<td>Requirement name (must exist on that compliance)</td>\n</tr>\n<tr>\n<td><code>fields[].reasonCode</code></td>\n<td>No</td>\n<td>See <a href=\"#bf4c4ec8-7013-0a52-8bc4-70c56ff7361b\">Compliance reason codes (requirement-level)</a>. Defaults to <code>invalid</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p><code>200</code> — <code>{ \"message\": \"Compliance updated successfully\" }</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","sandbox","process-compliance"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[{"id":"e7c4b1cf-2885-4bd2-abbe-180712e485c6","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"compliances\": [\n        {\n            \"entityId\": \"689ee03be03834ba0bd3f491\",\n            \"status\": \"approved\"\n        },\n        {\n            \"entityId\": \"689ee03be03834ba0bd3f492\",\n            \"status\": \"approved\"\n            // \"fields\": [\n            //     \"cnic_back\",\n            //     \"cnic_front\"\n            // ],\n            // \"reason\": \"flop\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-compliance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"6e7c5ec2-ef8c-40d3-9ada-c021dbf6e7e3"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"297"},{"key":"RateLimit-Reset","value":"50"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45"},{"key":"ETag","value":"W/\"2d-aDZjgKbvBH1xlN6oVbhJ8+SZnrI\""},{"key":"Date","value":"Mon, 18 Aug 2025 07:42:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Compliance updated successfully\"\n}"},{"id":"8d294d12-649a-47fd-bec0-09e3a10b093e","name":"Error - Missing Fields","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"compliances\": [\n        {\n            \"entityId\": \"68934b4681aba6a32674dc4f\",\n            \"status\": \"approved\"\n        },\n        {\n            \"entityId\": \"68934b4681aba6a32674dc50\",\n            \"status\": \"rejected\"\n            // \"fields\": [\n            //     \"cnic_back\",\n            //     \"cnic_front\"\n            // ],\n            // \"reason\": \"flop\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-compliance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-request-id","value":"1d494b94-d843-4744-9543-3b7a7121ff47"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Content-Disposition,X-Request-Id"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"RateLimit-Policy","value":"300;w=60"},{"key":"RateLimit-Limit","value":"300"},{"key":"RateLimit-Remaining","value":"298"},{"key":"RateLimit-Reset","value":"39"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-lBE0A/mdA+UfUhdVi8yWbeLUs5o\""},{"key":"Date","value":"Mon, 18 Aug 2025 07:41:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Fields are required\", // required when compliance is being rejected\n            \"field\": \"compliances[1].fields\"\n        }\n    ]\n}"}],"_postman_id":"ab44f585-0db0-48f8-b741-985e3969f90c"},{"name":"[SANDBOX] Process Agreement","id":"d2b6d8a2-01e6-4704-9a45-7a6db441eaa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"680a10f9ffccf6faf0d002da\",\n    \"markup\": 8,\n    \"creditLimit\": 50000,\n    \"files\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-agreement?businessEntityId=6868ea1581b58d8c0be1d43a","description":"<p><code>POST /v2/external/demand/sandbox/process-agreement</code></p>\n<p>Simulate signing a finance agreement.</p>\n<h3 id=\"query-use-one\">Query (use one)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>businessEntityId</code></td>\n<td>Customer-level (product) agreement</td>\n</tr>\n<tr>\n<td><code>loanId</code></td>\n<td>Loan-level agreement</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body--customer-agreement-businessentityid\">Body — customer agreement (<code>?businessEntityId=</code>)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"productId\": \"67c6a9f1e4430552\",\n  \"markup\": 8,\n  \"creditLimit\": 50000,\n  \"files\": []\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productId</code></td>\n<td>Yes</td>\n<td>Product ID</td>\n</tr>\n<tr>\n<td><code>markup</code></td>\n<td>Yes</td>\n<td>Number (not a string)</td>\n</tr>\n<tr>\n<td><code>creditLimit</code></td>\n<td>Yes</td>\n<td>Credit limit</td>\n</tr>\n<tr>\n<td><code>files</code></td>\n<td>No</td>\n<td>Optional file attachments</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body--loan-agreement-loanid\">Body — loan agreement (<code>?loanId=</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>markup</code></td>\n<td>Yes</td>\n<td>Number</td>\n</tr>\n<tr>\n<td><code>creditLimit</code></td>\n<td>No</td>\n<td>Defaults from the loan amount when omitted</td>\n</tr>\n<tr>\n<td><code>files</code></td>\n<td>No</td>\n<td>Optional file attachments</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prerequisites\">Prerequisites</h3>\n<ul>\n<li><strong>Product-level</strong> (<code>?businessEntityId=</code>): typically after compliance and risk are approved, when the product requires a customer agreement.  </li>\n<li><strong>Loan-level</strong> (<code>?loanId=</code>): after the loan is approved, when the product requires a loan agreement (before disburse).</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p><code>201</code> — agreement created / signed successfully (exact message from API).</p>\n<hr />\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","sandbox","process-agreement"],"host":["{{base_url_core}}"],"query":[{"description":{"content":"<p>Customer-level (product) agreement</p>\n","type":"text/plain"},"key":"businessEntityId","value":"6868ea1581b58d8c0be1d43a"},{"disabled":true,"description":{"content":"<p>Loan-level agreement — enable instead of businessEntityId when needed</p>\n","type":"text/plain"},"key":"loanId","value":""}],"variable":[]}},"response":[{"id":"e9bb5fa6-3f28-46a9-a872-01ddd1cc8dc0","name":"Success Response","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Agreement signed successfully\"\n}"},{"id":"7b4a617a-064e-4e48-99f5-80941117d479","name":"Error - Risk Not Processed","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Risk not processed\"\n        }\n    ]\n}"}],"_postman_id":"d2b6d8a2-01e6-4704-9a45-7a6db441eaa8"},{"name":"[SANDBOX] Process Risk","id":"f785bfb9-ce8e-4831-8e4e-e93b2f33e83f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"680a10f9ffccf6faf0d002da\",\n    \"status\": \"approved\",\n    \"creditLimit\": 60000,\n    \"creditRating\": \"A\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-risk?businessEntityId=6868ea1581b58d8c0be1d43a","description":"<p><code>POST /v2/external/demand/sandbox/process-risk?businessEntityId=&lt;id&gt;</code></p>\n<p>Set risk status for a customer on a product.</p>\n<h3 id=\"query\">Query</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>businessEntityId</code></td>\n<td>Yes</td>\n<td>Business customer ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body\">Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"productId\": \"67c6a9f1e4430552\",\n  \"status\": \"approved\",\n  \"creditLimit\": 50000,\n  \"creditRating\": \"A\",\n  \"reason\": \"Looks good\"\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productId</code></td>\n<td>Yes</td>\n<td>Product ID</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Yes</td>\n<td><code>approved</code> or <code>rejected</code> (also accepts <code>pending</code>)</td>\n</tr>\n<tr>\n<td><code>creditLimit</code></td>\n<td>Yes when approved</td>\n<td>Credit limit to assign</td>\n</tr>\n<tr>\n<td><code>creditRating</code></td>\n<td>No</td>\n<td>Defaults to <code>\"A\"</code></td>\n</tr>\n<tr>\n<td><code>reason</code></td>\n<td>No</td>\n<td>Free-text note</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p><code>200</code> with a success message.</p>\n<hr />\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","sandbox","process-risk"],"host":["{{base_url_core}}"],"query":[{"description":{"content":"<p>Business customer ID</p>\n","type":"text/plain"},"key":"businessEntityId","value":"6868ea1581b58d8c0be1d43a"}],"variable":[]}},"response":[{"id":"a2cb6cc7-a30b-4f81-b35d-8a77499795ea","name":"Success Response","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Risk processed successfully\"\n}"},{"id":"993ab44b-4aba-4ba9-8108-384f8441817f","name":"Error - Product Not Found","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Entity product not found\"\n        }\n    ]\n}"}],"_postman_id":"f785bfb9-ce8e-4831-8e4e-e93b2f33e83f"},{"name":"[SANDBOX] Process Loan","id":"4d14046f-b7de-43a3-86e6-9b986bc1e634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"approved\",\n    \"reason\": \"Auto-approved in sandbox\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/process-loan/:loanId","description":"<p><code>POST /v2/external/demand/sandbox/process-loan/:loanId</code></p>\n<p>Move a loan to <code>approved</code>, <code>disbursed</code>, or <code>rejected</code>.</p>\n<h3 id=\"path\">Path</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>loanId</code></td>\n<td>Yes</td>\n<td>Loan ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body\">Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"approved\",\n  \"reason\": \"Auto-approved in sandbox\"\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td>Yes</td>\n<td><code>approved</code>, <code>disbursed</code>, or <code>rejected</code></td>\n</tr>\n<tr>\n<td><code>reason</code></td>\n<td>No</td>\n<td>Free-text note</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Approve before disbursing.  </li>\n<li>If the product requires loan-level agreements, the agreement must be signed before disburse.  </li>\n<li>Disburse may create and complete a disbursement transaction automatically.</li>\n</ul>\n<hr />\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","sandbox","process-loan",":loanId"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"68a2d1ded2eb680f330a0000","key":"loanId"}]}},"response":[{"id":"12904c11-fa25-4f5f-96db-5d38d5558420","name":"Success Response","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Loan processed successfully\"\n}"},{"id":"719dc458-c4da-40fa-a323-fba70ef4765d","name":"Error - Approve before Disburse","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"Loan needs to be approved before disbursement\"\n        }\n    ]\n}"}],"_postman_id":"4d14046f-b7de-43a3-86e6-9b986bc1e634"},{"name":"[SANDBOX] Process Transaction","id":"1549db9c-ea48-48ac-a625-a1a7d2f01a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\",\n    \"reason\": \"Cleared in sandbox\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/sandbox/:loanId/transactions/:transactionId/process-transaction","description":"<p><code>POST /v2/external/demand/sandbox/:loanId/transactions/:transactionId/process-transaction</code></p>\n<p>Update a loan transaction’s status.</p>\n<h3 id=\"path\">Path</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>loanId</code></td>\n<td>Yes</td>\n<td>Loan ID</td>\n</tr>\n<tr>\n<td><code>transactionId</code></td>\n<td>Yes</td>\n<td>Transaction ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body\">Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"completed\",\n  \"reason\": \"Cleared in sandbox\"\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td>Yes</td>\n<td><code>pending</code>, <code>completed</code>, <code>failed</code>, or <code>cancelled</code></td>\n</tr>\n<tr>\n<td><code>reason</code></td>\n<td>No</td>\n<td>Free-text note</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","sandbox",":loanId","transactions",":transactionId","process-transaction"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"68a2d1ded2eb680f330a0000","key":"loanId"},{"type":"any","value":"68a2d1ffd2eb680f330a0000","key":"transactionId"}]}},"response":[{"id":"902c4621-d417-4f69-8cbf-395bc03dfcc7","name":"Success Response","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Transaction processed successfully\"\n}"},{"id":"56ef1f9a-51e5-443a-8369-cd18b4d47c29","name":"Error - Invalid Transaction Status","originalRequest":{"header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"message\": \"status must be one of the following values: pending, completed, failed, cancelled\",\n            \"field\": \"status\"\n        }\n    ]\n}"}],"_postman_id":"1549db9c-ea48-48ac-a625-a1a7d2f01a5b"}],"id":"914ae318-ae04-4cbc-9ec8-9a35cf0ce2ae","description":"<p>These APIs let you simulate broker back-office steps while testing your integration (compliance decisions, risk, agreements, loans, transactions).</p>\n<p>They use the same auth as other Embedded Finance APIs.</p>\n<hr />\n<h2 id=\"suggested-test-order\">Suggested test order</h2>\n<ol>\n<li>Create customer + submit compliance (normal EF APIs)  </li>\n<li><strong>Process Compliances</strong> — approve or reject  </li>\n<li><strong>Process Risk</strong> — approve (with credit limit) or reject  </li>\n<li><strong>Process Agreement</strong> — if a <strong>product-level</strong> agreement is required  </li>\n<li>Create loan (normal EF API)  </li>\n<li><strong>Process Loan</strong> — approve (or reject)  </li>\n<li><strong>Process Agreement</strong> — if a <strong>loan-level</strong> agreement is required (after approval)  </li>\n<li><strong>Process Loan</strong> — disburse  </li>\n<li><strong>Process Transaction</strong> — complete or cancel transactions as needed</li>\n</ol>\n<hr />\n","_postman_id":"914ae318-ae04-4cbc-9ec8-9a35cf0ce2ae","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}},{"name":"Offers","item":[{"name":"Get Offers","id":"8cf5b761-2d19-42e1-b406-e13c694955d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url_core}}/v2/external/demand/offers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","offers"],"host":["{{base_url_core}}"],"query":[{"disabled":true,"description":{"content":"<p>Filter by offer ID.</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Filter by entity ID.</p>\n","type":"text/plain"},"key":"entityId","value":""},{"disabled":true,"description":{"content":"<p>Filter by your external customer ID.</p>\n","type":"text/plain"},"key":"externalCustomerId","value":""},{"disabled":true,"description":{"content":"<p>Filter by customer email.</p>\n","type":"text/plain"},"key":"email","value":""},{"disabled":true,"description":{"content":"<p>Filter by customer phone number.</p>\n","type":"text/plain"},"key":"phoneNumber","value":""},{"disabled":true,"description":{"content":"<p>Filter by product ID.</p>\n","type":"text/plain"},"key":"productId","value":""},{"disabled":true,"description":{"content":"<p>Filter by offer status (OfferStatus enum).</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Filter by offer type (OfferType enum).</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[],"_postman_id":"8cf5b761-2d19-42e1-b406-e13c694955d6"},{"name":"Create Offer","id":"7aabce31-4b44-4e33-8bbb-c839e09f5222","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"onboarding\",\n    \"externalCustomerId\": \"your-customer-id\",\n    \"productId\": \"67c6a9f1e443055234920000\",\n    \"email\": \"customer@example.com\",\n    \"phoneNumber\": \"+923001234567\",\n    \"inputs\": {\n        \"creditLimit\": 50000,\n        \"tenure\": 12\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/offers","description":"<p>Creates a new financing offer for a customer. Offers can be created before the customer has an active product and can be used for pre-approval flows.</p>\n<h3 id=\"request-body\">Request Body:</h3>\n<ul>\n<li><p><code>type</code>: <code>OfferType</code> <em>(required)</em> — Offer type (e.g. <code>onboarding</code>).</p>\n</li>\n<li><p><code>inputs</code>: <code>object</code> <em>(required)</em> — Offer-specific inputs.</p>\n</li>\n<li><p><code>externalCustomerId</code>: <code>string</code> <em>(optional)</em> — Your system's customer reference ID.</p>\n</li>\n<li><p><code>email</code>: <code>string</code> <em>(optional)</em> — Customer email (used to resolve entity).</p>\n</li>\n<li><p><code>phoneNumber</code>: <code>string</code> <em>(optional)</em> — Customer phone number.</p>\n</li>\n<li><p><code>productId</code>: <code>string</code> <em>(optional)</em> — Associated product ID.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","offers"],"host":["{{base_url_core}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7aabce31-4b44-4e33-8bbb-c839e09f5222"},{"name":"Update Offer","id":"a28f86c6-36a2-4cf6-afb0-e41860541323","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": {\n        \"current\": \"accepted\",\n        \"comment\": \"Customer accepted via mobile app\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url_core}}/v2/external/demand/offers/:offerId","description":"<p>Updates the status of a pending offer — typically used when a customer accepts or rejects a pre-approved financing offer.</p>\n<h3 id=\"url-params\">URL Params:</h3>\n<ul>\n<li><code>offerId</code>: <code>string</code> <em>(required)</em> — The offer ID.</li>\n</ul>\n<h3 id=\"request-body\">Request Body:</h3>\n<ul>\n<li><p><code>status.current</code>: <code>string</code> <em>(required)</em> — Must be <code>accepted</code> or <code>rejected</code>.</p>\n</li>\n<li><p><code>status.comment</code>: <code>string</code> <em>(optional)</em> — Reason or note.</p>\n</li>\n</ul>\n<h3 id=\"flow\">Flow:</h3>\n<p><code>pending</code> → <code>accepted</code> | <code>rejected</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}},"urlObject":{"path":["v2","external","demand","offers",":offerId"],"host":["{{base_url_core}}"],"query":[],"variable":[{"type":"any","value":"","key":"offerId"}]}},"response":[],"_postman_id":"a28f86c6-36a2-4cf6-afb0-e41860541323"}],"id":"222d80ce-f8c4-4f4e-b366-1a6c390eed60","description":"<p>Manage pre-approved and partner-created financing offers. The Offers API enables pre-approval flows where partners can proactively extend financing offers to eligible customers — independently of the standard loan application process.  </p>\n<p>Offer lifecycle: <code>pending</code> → <code>accepted</code> | <code>rejected</code> | <code>expired</code></p>\n","_postman_id":"222d80ce-f8c4-4f4e-b366-1a6c390eed60","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]},"isInherited":true,"source":{"_postman_id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","id":"1fce6ba2-2c4a-4b18-838d-c76eddb40a79","name":"Embedded Finance APIs","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{EF API Auth Token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"5e5f7546-9599-403a-9bad-3f13d8d5b1ea","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"8b138701-5bc1-4216-a899-3f4a9caa4d79","type":"text/javascript","packages":{},"exec":[""]}}]}