{"info":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","description":"<html><head></head><body><p>AltScore's <code>Rails of Lending</code> toolbox allows any company to build, embed and deploy credit products seamlessly.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15569999","collectionId":"0120b33e-0e52-49f5-be14-245c88245eaa","publishedId":"2s8Z6vXtwp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2024-04-09T14:01:50.000Z"},"item":[{"name":"Authentication","item":[{"name":"Auth token","event":[{"listen":"test","script":{"id":"5dbaa6c1-7019-4427-a5c7-e78ec4bea83d","exec":["var responseBody = JSON.parse(pm.response.text());","var auth_token = responseBody.accessToken;","var refresh_token = responseBody.refreshToken;","pm.environment.set(\"auth_token\", auth_token);","pm.environment.set(\"refresh_token\", refresh_token);"],"type":"text/javascript","packages":{}}}],"id":"cc1ea880-74c6-4d5e-8e8c-9be7df97e470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{my_clientId}}\",\n    \"secret\": \"{{my_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v1/api-token","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"71d3b16b-7bab-4080-967f-3249d1d88fbd","id":"71d3b16b-7bab-4080-967f-3249d1d88fbd","name":"Authentication","type":"folder"}},"urlObject":{"path":["identity","resources","auth","v1","api-token"],"host":["{{authBaseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0bce1c02-6fe2-40e8-89e9-22a0d7d66459","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{my_clientId}}\",\n    \"secret\": \"{{my_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v1/api-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Mar 2024 21:59:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3085"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"no-transform"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15724800; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"origin-agent-cluster","value":"?1"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"frontegg-trace-id","value":"21e454f7f65ee15f2ba648414e82f6ed"},{"key":"x-rate-limit-limit","value":"100"},{"key":"x-rate-limit-remaining","value":"99"},{"key":"x-rate-limit-reset","value":"2024-03-28T21:59:31.648Z"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;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-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-request-id","value":"a065fb3ed0d317786787ceeb85979f5c"}],"cookie":[],"responseTime":null,"body":"{\n    \"expires\": \"Thu, 28 Mar 2024 22:14:30 GMT\",\n    \"expiresIn\": 900,\n    \"accessToken\": \"the-access-token\",\n    \"refreshToken\": \"the-refresh-token\"\n}"},{"id":"d33b8ba5-ca9b-4db5-981e-742128f9de8c","name":"401","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{my_clientId}}\",\n    \"secret\": \"{{my_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v1/api-token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Mar 2024 22:01:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15724800; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"origin-agent-cluster","value":"?1"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"frontegg-trace-id","value":"8313ee07e20004ae21e3b39cc06a41d3"},{"key":"x-rate-limit-limit","value":"100"},{"key":"x-rate-limit-remaining","value":"99"},{"key":"x-rate-limit-reset","value":"2024-03-28T22:01:31.278Z"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;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-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Invalid authentication\"\n    ]\n}"}],"_postman_id":"cc1ea880-74c6-4d5e-8e8c-9be7df97e470"},{"name":"Refresh token","event":[{"listen":"test","script":{"id":"5dbaa6c1-7019-4427-a5c7-e78ec4bea83d","exec":["var responseBody = JSON.parse(pm.response.text());","var auth_token = responseBody.accessToken;","var refresh_token = responseBody.refreshToken;","pm.environment.set(\"auth_token\", auth_token);","pm.environment.set(\"refresh_token\", refresh_token);"],"type":"text/javascript","packages":{}}}],"id":"7928e833-8c79-43b0-b107-757a318443af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"refreshToken\": \"{{refresh_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v2/api-token/token/refresh","urlObject":{"path":["identity","resources","auth","v2","api-token","token","refresh"],"host":["{{authBaseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b019cc20-af20-4300-91c4-410a10e6c2e4","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{my_clientId}}\",\n    \"secret\": \"{{my_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v1/api-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Mar 2024 21:59:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3085"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"no-transform"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15724800; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"origin-agent-cluster","value":"?1"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"frontegg-trace-id","value":"21e454f7f65ee15f2ba648414e82f6ed"},{"key":"x-rate-limit-limit","value":"100"},{"key":"x-rate-limit-remaining","value":"99"},{"key":"x-rate-limit-reset","value":"2024-03-28T21:59:31.648Z"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;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-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-request-id","value":"a065fb3ed0d317786787ceeb85979f5c"}],"cookie":[],"responseTime":null,"body":"{\n    \"expires\": \"Thu, 28 Mar 2024 22:14:30 GMT\",\n    \"expiresIn\": 900,\n    \"accessToken\": \"the-access-token\",\n    \"refreshToken\": \"the-refresh-token\"\n}"},{"id":"4a6341c0-5374-434e-87ae-d1a6a96c8427","name":"401","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"{{my_clientId}}\",\n    \"secret\": \"{{my_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{authBaseUrl}}/identity/resources/auth/v1/api-token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Mar 2024 22:01:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15724800; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"origin-agent-cluster","value":"?1"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"frontegg-trace-id","value":"8313ee07e20004ae21e3b39cc06a41d3"},{"key":"x-rate-limit-limit","value":"100"},{"key":"x-rate-limit-remaining","value":"99"},{"key":"x-rate-limit-reset","value":"2024-03-28T22:01:31.278Z"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;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-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Invalid authentication\"\n    ]\n}"}],"_postman_id":"7928e833-8c79-43b0-b107-757a318443af"}],"id":"71d3b16b-7bab-4080-967f-3249d1d88fbd","description":"<p>Generate your credentials (<code>client_id</code> and <code>client_secret</code>) in AltScore's app by navigating to the APP Settings, then make a call to the auth endpoint to get an <code>auth_token</code>.</p>\n<p>The token has an expiration window and can be renewed with the <code>refresh_token</code> for up to 24 hours.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"8dcb4f8e-7cd9-44c5-91a3-f7fd9b5b901f","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"4750902d-703e-47b3-8ddf-2fd5d9085cc8","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"71d3b16b-7bab-4080-967f-3249d1d88fbd"},{"name":"Borrower Central™","item":[{"name":"v1","item":[{"name":"Borrowers","item":[{"name":"Current Step","item":[{"name":"Read Current","id":"03b16aaa-26ea-4961-a98f-fc4755d0eea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrowers/:id/steps/current","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers",":id","steps","current"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"03b16aaa-26ea-4961-a98f-fc4755d0eea3"},{"name":"Set Current","id":"1f5e57f1-9d31-4986-94d8-c640832a57a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"onboarded\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrowers/:id/steps/current","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers",":id","steps","current"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"1f5e57f1-9d31-4986-94d8-c640832a57a7"}],"id":"1f11bddc-c534-4234-a49f-7cadc75f9aa2","_postman_id":"1f11bddc-c534-4234-a49f-7cadc75f9aa2","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Create","id":"cc655d29-7f22-4bc8-b1ce-36d8faada0cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"persona\": \"individual\", // can be \"individual\" or \"business\"\n    \"label\": \"Juan Perez\" // any label, ussualy the borrower name or the business legal name.\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrowers","description":"<h3 id=\"create-borrower\">Create Borrower</h3>\n<p>This endpoint allows the creation of a new borrower with the provided persona and label.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>persona</code> (string): Indicates the type of borrower, can be \"individual\" or \"business\".</li>\n<li><code>label</code> (string): Represents the borrower's name or the business legal name.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following properties:</p>\n<ul>\n<li><code>id</code> (string): The unique identifier of the newly created borrower.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"\"\n}\n\n</code></pre>\n<h4 id=\"json-schema-for-response\">JSON Schema for Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\n      \"type\": \"string\"\n    }\n  },\n  \"required\": [\"id\"]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[{"id":"4f542744-bd50-4a40-af8b-db2323826133","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"persona\": \"individual\", // can be \"individual\" or \"business\"\n    \"label\": \"Juan Perez\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrowers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"X-Cloud-Trace-Context","value":"cc483ba749f4002c3ab0762bec4a52d8;o=1"},{"key":"Date","value":"Thu, 28 Mar 2024 22:10:33 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"45"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f339c865-1b00-44f7-90ed-0341b6f72828\"\n}"}],"_postman_id":"cc655d29-7f22-4bc8-b1ce-36d8faada0cd"},{"name":"Read","id":"145ab7e4-0043-4556-bd2c-498417fc48c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrowers/:id","description":"<p>The endpoint makes an HTTP GET request to retrieve borrower details based on the provided ID. The response is in JSON format and has the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"persona\": {\n      \"type\": \"string\"\n    },\n    \"avatarUrl\": {\n      \"type\": [\"string\", \"null\"]\n    },\n    \"label\": {\n      \"type\": \"string\"\n    },\n    \"tags\": {\n      \"type\": \"array\"\n    },\n    \"cmsClientIds\": {\n      \"type\": \"array\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\"\n    },\n    \"updatedAt\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"f339c865-1b00-44f7-90ed-0341b6f72828","key":"id"}]}},"response":[{"id":"fd2f98ee-c4b9-4009-88d3-be28df4031f4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlBorrowerCental}}/v1/borrowers/:id","host":["{{baseUrlBorrowerCental}}"],"path":["v1","borrowers",":id"],"variable":[{"key":"id","value":"f339c865-1b00-44f7-90ed-0341b6f72828"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"X-Cloud-Trace-Context","value":"4d90a9029ad9a70d80d484691b3e74f8"},{"key":"Date","value":"Thu, 28 Mar 2024 22:14:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"216"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f339c865-1b00-44f7-90ed-0341b6f72828\",\n    \"persona\": \"individual\",\n    \"avatarUrl\": null,\n    \"label\": \"Juan Perez\",\n    \"tags\": [],\n    \"cmsClientIds\": [],\n    \"createdAt\": \"2024-03-28T22:10:33.388000\",\n    \"updatedAt\": \"2024-03-28T22:10:33.388000\"\n}"}],"_postman_id":"145ab7e4-0043-4556-bd2c-498417fc48c2"},{"name":"Find","id":"53b8a126-c09c-4658-92c5-4bc716c14e72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrowers","description":"<h3 id=\"get-v1borrowers\">GET /v1/borrowers</h3>\n<p>This endpoint retrieves a list of borrowers.</p>\n<h4 id=\"request\">Request</h4>\n<p>There are no request parameters for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><code>id</code> (string): The ID of the borrower.</li>\n<li><code>persona</code> (string): The persona of the borrower.</li>\n<li><code>avatarUrl</code> (string, nullable): The URL of the borrower's avatar, if available.</li>\n<li><code>label</code> (string): The label of the borrower.</li>\n<li><code>tags</code> (array): An array of tags associated with the borrower.</li>\n<li><code>cmsClientIds</code> (array): An array of client IDs associated with the borrower in the CMS.</li>\n<li><code>createdAt</code> (string): The date and time when the borrower was created.</li>\n<li><code>updatedAt</code> (string): The date and time when the borrower was last updated.</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"type\": \"object\",\n    \"properties\": {\n      \"id\": { \"type\": \"string\" },\n      \"persona\": { \"type\": \"string\" },\n      \"avatarUrl\": { \"type\": [\"string\", \"null\"] },\n      \"label\": { \"type\": \"string\" },\n      \"tags\": { \"type\": \"array\" },\n      \"cmsClientIds\": { \"type\": \"array\" },\n      \"createdAt\": { \"type\": \"string\" },\n      \"updatedAt\": { \"type\": \"string\" }\n    }\n  }\n]\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"description":{"content":"<p>text search in the label field</p>\n","type":"text/plain"},"key":"search","value":""},{"disabled":true,"description":{"content":"<p>the page to get</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>number of items to return</p>\n","type":"text/plain"},"key":"per-page","value":""},{"disabled":true,"description":{"content":"<p>key to use for sorting</p>\n","type":"text/plain"},"key":"sort-by","value":""},{"disabled":true,"description":{"content":"<p>asc or desc</p>\n","type":"text/plain"},"key":"sort-direction","value":""},{"disabled":true,"description":{"content":"<p>the linked <code>credit management system</code> id</p>\n","type":"text/plain"},"key":"cms-client-id","value":""}],"variable":[]}},"response":[{"id":"f7de7ccf-1458-4f8f-ba71-840f34ad0076","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlBorrowerCental}}/v1/borrowers","host":["{{baseUrlBorrowerCental}}"],"path":["v1","borrowers"],"query":[{"key":"search","value":"","disabled":true},{"key":"page","value":"","type":"text","disabled":true},{"key":"per-page","value":"","type":"text","disabled":true},{"key":"sort-by","value":"","type":"text","disabled":true},{"key":"sort-direction","value":"","type":"text","disabled":true},{"key":"cms-client-id","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-total-count","value":"207"},{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cloud-Trace-Context","value":"8b325d22090a291b3e098afa7c76f15c;o=1"},{"key":"Date","value":"Thu, 28 Mar 2024 22:16:53 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"f339c865-1b00-44f7-90ed-0341b6f72828\",\n        \"persona\": \"individual\",\n        \"avatarUrl\": null,\n        \"label\": \"Juan Perez\",\n        \"tags\": [],\n        \"cmsClientIds\": [],\n        \"createdAt\": \"2024-03-28T22:10:33.388000\",\n        \"updatedAt\": \"2024-03-28T22:10:33.388000\"\n    }\n]"}],"_postman_id":"53b8a126-c09c-4658-92c5-4bc716c14e72"},{"name":"Update","id":"12f719c3-14aa-4356-a5d4-efb84bc71856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"Josesito\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrowers/:id","description":"<h1 id=\"update-borrower-details\">Update Borrower Details</h1>\n<p>This endpoint allows you to update the details of a specific borrower.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"http-patch-v1borrowersid\">HTTP PATCH /v1/borrowers/:id</h3>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>label</code> (string, optional): The updated label for the borrower.</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"label\": \"\"\n}\n\n</code></pre>\n<h2 id=\"response\">Response</h2>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"\",\n    \"persona\": \"\",\n    \"avatarUrl\": null,\n    \"label\": \"\",\n    \"tags\": [],\n    \"cmsClientIds\": [],\n    \"createdAt\": \"\",\n    \"updatedAt\": \"\"\n}\n\n</code></pre>\n<ul>\n<li><code>id</code> (string): The unique identifier of the borrower.</li>\n<li><code>persona</code> (string): The persona of the borrower.</li>\n<li><code>avatarUrl</code> (string or null): The URL of the borrower's avatar, if available.</li>\n<li><code>label</code> (string): The updated label of the borrower.</li>\n<li><code>tags</code> (array): An array of tags associated with the borrower.</li>\n<li><code>cmsClientIds</code> (array): An array of client IDs associated with the borrower in the CMS.</li>\n<li><code>createdAt</code> (string): The timestamp of when the borrower was created.</li>\n<li><code>updatedAt</code> (string): The timestamp of when the borrower was last updated.</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"\",\n    \"persona\": \"\",\n    \"avatarUrl\": null,\n    \"label\": \"\",\n    \"tags\": [],\n    \"cmsClientIds\": [],\n    \"createdAt\": \"\",\n    \"updatedAt\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"f339c865-1b00-44f7-90ed-0341b6f72828","key":"id"}]}},"response":[{"id":"bd9190bb-aa88-4e89-921a-db0ee74c7e78","name":"OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"Josesito\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrlBorrowerCental}}/v1/borrowers/:id","host":["{{baseUrlBorrowerCental}}"],"path":["v1","borrowers",":id"],"variable":[{"key":"id","value":"f339c865-1b00-44f7-90ed-0341b6f72828"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"X-Cloud-Trace-Context","value":"4538a347bb8be8090142d7ca44dffe05;o=1"},{"key":"Date","value":"Thu, 28 Mar 2024 22:21:27 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"214"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f339c865-1b00-44f7-90ed-0341b6f72828\",\n    \"persona\": \"individual\",\n    \"avatarUrl\": null,\n    \"label\": \"Josesito\",\n    \"tags\": [],\n    \"cmsClientIds\": [],\n    \"createdAt\": \"2024-03-28T22:10:33.388000\",\n    \"updatedAt\": \"2024-03-28T22:21:27.659862\"\n}"}],"_postman_id":"12f719c3-14aa-4356-a5d4-efb84bc71856"},{"name":"Delete","id":"d38dcaef-4b7c-4200-88d6-588bbc419db0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrowers/:id","description":"<h3 id=\"delete-borrower-by-id\">Delete Borrower by ID</h3>\n<p>This endpoint is used to delete a specific borrower by their ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"db4f2253-b574-4795-b400-968f6f47e23b","key":"id"}]}},"response":[],"_postman_id":"d38dcaef-4b7c-4200-88d6-588bbc419db0"}],"id":"16f4d4af-9c3a-4c58-973d-29e59ead0c48","_postman_id":"16f4d4af-9c3a-4c58-973d-29e59ead0c48","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Borrowers Summary","item":[{"name":"Find","id":"071453a7-d6ad-41d4-bbe6-1365db0d57ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrowers-summary?by=self&borrower-id=b2368c90-0b21-4258-a239-d4ceb169068e","description":"<p>This endpoint makes an HTTP GET request to retrieve a summary of borrowers. The response is a JSON object with an array of borrower summary objects.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrowers-summary"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""},{"key":"by","value":"self"},{"disabled":true,"key":"search","value":"THI"},{"key":"borrower-id","value":"b2368c90-0b21-4258-a239-d4ceb169068e"}],"variable":[]}},"response":[{"id":"e1d4b4e3-5fe6-453f-affa-71f96cbb4411","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlBorrowerCental}}/v1/borrowers-summary","host":["{{baseUrlBorrowerCental}}"],"path":["v1","borrowers-summary"],"query":[{"key":"by","value":"self","description":"Can be any of: self, identity","disabled":true},{"key":"search","value":"12345","description":"The actual query","disabled":true},{"key":"per-page","value":"","type":"text","disabled":true},{"key":"sort-by","value":"","type":"text","disabled":true},{"key":"sort-direction","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cloud-Trace-Context","value":"372838ff380f77f00fa2db79603f93f3"},{"key":"Date","value":"Thu, 28 Mar 2024 23:21:45 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"44d69cb4-ffe7-4461-b6e7-b864dcfd1b04\",\n        \"persona\": \"individual\",\n        \"label\": null,\n        \"identities\": [\n            {\n                \"id\": \"91fff91f-461b-42ba-816d-4eea3c0c85fd\",\n                \"key\": \"person_id\",\n                \"label\": \"Cédula de Identidad\",\n                \"value\": \"1XXXXXXXXX3\",\n                \"priority\": 1\n            }\n        ],\n        \"pointsOfContact\": [],\n        \"tags\": [],\n        \"stage\": \"verified\",\n        \"riskRating\": null,\n        \"createdAt\": \"2024-03-28T23:01:03.440000\",\n        \"updatedAt\": \"2024-03-28T23:04:08.988000\"\n    },\n    {\n        \"id\": \"f339c865-1b00-44f7-90ed-0341b6f72828\",\n        \"persona\": \"individual\",\n        \"label\": \"Josesito\",\n        \"identities\": [],\n        \"pointsOfContact\": [],\n        \"tags\": [],\n        \"stage\": \"new\",\n        \"riskRating\": null,\n        \"createdAt\": \"2024-03-28T22:10:33.388000\",\n        \"updatedAt\": \"2024-03-28T22:21:27.659000\"\n    }\n]"},{"id":"2614a331-6cb2-4ddb-a3b6-516eb87fce79","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlBorrowerCental}}/v1/borrowers-summary?by=identity&search=THI","host":["{{baseUrlBorrowerCental}}"],"path":["v1","borrowers-summary"],"query":[{"key":"by","value":"identity","description":"Can be any of: self, identity"},{"key":"search","value":"THI","description":"The actual query"},{"key":"per-page","value":"","type":"text","disabled":true},{"key":"sort-by","value":"","type":"text","disabled":true},{"key":"sort-direction","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"X-Cloud-Trace-Context","value":"3c282232765ea463c1393311257a9173;o=1"},{"key":"Date","value":"Wed, 03 Apr 2024 22:35:51 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"783"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"c051edaf-173c-4529-87f3-5127c762e6cf\",\n        \"persona\": \"business\",\n        \"label\": \"THINMANS, S DE RL DE CV\",\n        \"identities\": [\n            {\n                \"id\": \"0aa569f3-2126-4e44-a469-68395346f2de\",\n                \"key\": \"rfc\",\n                \"label\": \"RFC\",\n                \"value\": \"THI999999TS9\",\n                \"priority\": 1\n            },\n            {\n                \"id\": \"d1e2221c-fc0c-4854-9e83-ff360ce5ef5d\",\n                \"key\": \"legal_name\",\n                \"label\": \"Razón Social\",\n                \"value\": \"THINMANS, S DE RL DE CV\",\n                \"priority\": 4\n            },\n            {\n                \"id\": \"de27439a-77c5-4989-aabe-5f0754de73df\",\n                \"key\": \"commercial_name\",\n                \"label\": \"Nombre Comercial\",\n                \"value\": \"THINKMANS\",\n                \"priority\": 5\n            }\n        ],\n        \"pointsOfContact\": [\n            {\n                \"id\": \"088323a6-d54d-48ae-91e4-4224b92ac83a\",\n                \"signatures\": [\n                    \"e2d0adc2-c8a0-4ca4-93bd-51bd8d96632b\"\n                ],\n                \"priority\": 1,\n                \"value\": \"batman@thinkmans.com\"\n            }\n        ],\n        \"tags\": [],\n        \"stage\": \"review\",\n        \"riskRating\": \"E\",\n        \"createdAt\": \"2024-04-03T15:08:19.659000\",\n        \"updatedAt\": \"2024-04-03T15:08:42.360000\"\n    }\n]"}],"_postman_id":"071453a7-d6ad-41d4-bbe6-1365db0d57ab"}],"id":"ed04bebf-5403-45e4-a7d8-213452610d8d","description":"<p>Returns an \"hydrated\" view of borrower information</p>\n","_postman_id":"ed04bebf-5403-45e4-a7d8-213452610d8d","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Identities","item":[{"name":"Create","id":"5cf83036-ecc3-4a13-90ed-10c8463e4435","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"identity_document\",\n    \"value\": \"000000\",\n    \"borrowerID\": \"bdad19ee-7542-4116-ae92-02eadebd2f89\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cf83036-ecc3-4a13-90ed-10c8463e4435"},{"name":"Find","id":"8b4f4fa9-1a46-482e-9125-c3a240ff9a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/identities","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":"priority"},{"disabled":true,"key":"sort-direction","value":"asc"},{"disabled":true,"key":"borrower-id","value":"45453c74-ea24-48c4-82b6-4410585bc1d9"}],"variable":[]}},"response":[],"_postman_id":"8b4f4fa9-1a46-482e-9125-c3a240ff9a98"},{"name":"Read","id":"bcf4ace6-d8b0-45a6-97d6-598655d2a55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/identities/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"4b412e36-0eda-42fe-856a-67e94a114497","type":"any","value":"bec5d78a-20c2-4185-ac10-16e6b51a70a0","key":"id"}]}},"response":[],"_postman_id":"bcf4ace6-d8b0-45a6-97d6-598655d2a55e"},{"name":"Update","id":"9a4c6707-27b4-4f83-8fa6-db2537bbd827","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"a_new_value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"df20c1c2-5f7d-4a03-b78d-195157c1a99c","type":"any","value":"a2da0ab8-aac2-40cc-bffb-37d52ac2d302","key":"id"}]}},"response":[],"_postman_id":"9a4c6707-27b4-4f83-8fa6-db2537bbd827"},{"name":"Delete","id":"4dcef05d-cf81-4c21-ac6e-cde7334d33c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"f145ab18-6a03-42f3-b85e-ca06b4cbdeaf","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"4dcef05d-cf81-4c21-ac6e-cde7334d33c6"},{"name":"Append Atachment","id":"6f3b4b04-411f-403f-b690-e33ca6729fd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://an_attachment_url.jpg\",\n    \"metadata\": {\n        \"description\": \"ID\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"2ce174a9-56f0-4d28-b07f-4edb74d023a6","type":"any","value":"0c05a5c6-4e0c-4e22-8833-004a16a57352","key":"id"}]}},"response":[],"_postman_id":"6f3b4b04-411f-403f-b690-e33ca6729fd1"},{"name":"Upload Atachment","id":"35cf05e3-a6e2-4980-b5f5-173a760e89a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id/attachments/upload","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id","attachments","upload"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"cbaecf30-b28b-4901-91fc-8da168e8a3c8","type":"any","value":"0c05a5c6-4e0c-4e22-8833-004a16a57352","key":"id"}]}},"response":[],"_postman_id":"35cf05e3-a6e2-4980-b5f5-173a760e89a6"},{"name":"Read Attachments","id":"75909a17-27bb-46ef-9b27-80344beed2b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/identities/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"7a5a0600-6038-4bb8-a2ac-baa3ae786c5e","type":"any","value":"bec5d78a-20c2-4185-ac10-16e6b51a70a0","key":"id"}]}},"response":[],"_postman_id":"75909a17-27bb-46ef-9b27-80344beed2b2"},{"name":"Delete Attachment","id":"93269335-aa54-4ed1-8d92-4bfbb869f310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSmiley&psig=AOvVaw15vZmHurY_UxFBu8tiCKU4&ust=1690648354671000&source=images&cd=vfe&opi=89978449&ved=0CA0QjRxqFwoTCPDEtIbqsYADFQAAAAAdAAAAABAE\",\n    \"metadata\": {\n        \"description\": \"I liked it\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id/attachments/:attachmentID","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id","attachments",":attachmentID"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"a6fb06a1-43b9-48ee-aed8-a1f567510d93","type":"any","value":"a681e5d4-55bc-4fe3-813e-6f6c67b17633","key":"id"},{"type":"any","value":null,"key":"attachmentID"}]}},"response":[],"_postman_id":"93269335-aa54-4ed1-8d92-4bfbb869f310"}],"id":"5195dc2c-81f0-4879-8695-61015394aa7b","_postman_id":"5195dc2c-81f0-4879-8695-61015394aa7b","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Documents","item":[{"name":"Create","id":"5ec079ae-98a6-435d-b7f6-7f929cd03449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"formation_act\",\n    \"value\": \"Acta ...\",\n    \"borrowerId\": \"d5a92c26-f77f-4dcc-9248-60afc4aff334\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/documents","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ec079ae-98a6-435d-b7f6-7f929cd03449"},{"name":"Find","id":"66c335dc-1c6a-4546-9780-8905b7962300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/documents","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":"priority"},{"disabled":true,"key":"sort-direction","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"66c335dc-1c6a-4546-9780-8905b7962300"},{"name":"Read","id":"5966b4e4-411d-4594-9b17-988abff6e41d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/documents/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"73ef958c-cfe6-43ca-b376-066eaf9a2ba1","type":"any","value":"934f3acf-36dc-4fe2-bf79-8e30b0a58ce3","key":"id"}]}},"response":[],"_postman_id":"5966b4e4-411d-4594-9b17-988abff6e41d"},{"name":"Update","id":"6a66bb5e-227f-47a6-b4c8-6c9b139b0d5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"priority\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/documents/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"2040f354-7df9-4b11-afea-0642b417d99b","type":"any","value":"a2da0ab8-aac2-40cc-bffb-37d52ac2d302","key":"id"}]}},"response":[],"_postman_id":"6a66bb5e-227f-47a6-b4c8-6c9b139b0d5c"},{"name":"Delete","id":"439475e4-0756-455c-8c90-99e09c6db287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/documents/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"3d83fc33-d1a8-4e9d-8488-c8340e4b150e","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"439475e4-0756-455c-8c90-99e09c6db287"},{"name":"Append Atachment","id":"95119bc7-ed23-44de-8f08-c1f97f842ed1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://oce.uaq.mx/docs/Marcos_CE/Marcos_estatales/Guanajuato/GUANAJUATO_Acta_organismo_violencia_escolar.pdf\",\n    \"metadata\": {\n        \"description\": \"un acta\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/documents/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"5438677a-6194-40e9-a85e-c3b3496f5f48","type":"any","value":"f140e0e7-32f8-43ca-b066-b41263168430","key":"id"}]}},"response":[],"_postman_id":"95119bc7-ed23-44de-8f08-c1f97f842ed1"},{"name":"Upload Atachment","id":"479f71e4-8a7b-41ec-bca9-8c776d14580f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"text"}]},"url":"{{baseUrlBorrowerCental}}/v1/documents/:id/attachments/upload","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id","attachments","upload"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"132d1b63-4e9f-49b3-93a2-5160bc5e8943","type":"any","value":"43860ef9-36cf-4aac-8647-df35765266f9","key":"id"}]}},"response":[],"_postman_id":"479f71e4-8a7b-41ec-bca9-8c776d14580f"},{"name":"Read Attachments","id":"548cdb29-cce6-4c17-a217-b2eada5b4eac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/documents/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"90df8fd5-4f46-40ba-9320-0a01454b463c","type":"any","value":"934f3acf-36dc-4fe2-bf79-8e30b0a58ce3","key":"id"}]}},"response":[],"_postman_id":"548cdb29-cce6-4c17-a217-b2eada5b4eac"},{"name":"Delete Attachment","id":"af10366f-fcca-43ad-ae0b-b2302684b572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSmiley&psig=AOvVaw15vZmHurY_UxFBu8tiCKU4&ust=1690648354671000&source=images&cd=vfe&opi=89978449&ved=0CA0QjRxqFwoTCPDEtIbqsYADFQAAAAAdAAAAABAE\",\n    \"metadata\": {\n        \"description\": \"I liked it\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/documents/:id/attachments/:attachmentId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","documents",":id","attachments",":attachmentId"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"64661980-2dc1-4bbd-adf1-103df24283f9","type":"any","value":"934f3acf-36dc-4fe2-bf79-8e30b0a58ce3","key":"id"},{"id":"7bfee536-5e1b-4d6a-9586-67d5142f6864","type":"any","value":"f381a247-e261-45bf-9b9b-c8e3c3b6f45b","key":"attachmentId"}]}},"response":[],"_postman_id":"af10366f-fcca-43ad-ae0b-b2302684b572"}],"id":"a98cc6b2-b17d-4fa9-9de5-34e49f7d90c9","_postman_id":"a98cc6b2-b17d-4fa9-9de5-34e49f7d90c9","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Addresses","item":[{"name":"Create","id":"adf872ca-ad2e-47cc-9154-7e9dc4908ebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"0506a1f4-17de-4f36-a70b-9b1f1eae19e1\",\n    \"street1\": \"Av. San Jerónimo 401-A, San Jerónimo\",\n    \"city\":\"Ciudad de México\",\n    \"state\": \"CDMX\",\n    \"zipCode\": \"123456\",\n    \"country\": \"MEX\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/addresses","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"adf872ca-ad2e-47cc-9154-7e9dc4908ebe"},{"name":"Find","id":"21a99b54-2761-42c1-ad61-54037d41f994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/addresses?borrower-id=ba3cbc04-a3df-4e9e-9e7a-950ae39d0c31","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":"priority"},{"disabled":true,"key":"sort-direction","value":"asc"},{"key":"borrower-id","value":"ba3cbc04-a3df-4e9e-9e7a-950ae39d0c31"}],"variable":[]}},"response":[],"_postman_id":"21a99b54-2761-42c1-ad61-54037d41f994"},{"name":"Read","id":"a49b70c9-8b4e-4fe8-8131-66d0026083cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"f6601e09-253e-47a0-b241-e33226615fdb","type":"any","value":"d729d7ec-56aa-4765-979c-0bc543e396c4","key":"id"}]}},"response":[],"_postman_id":"a49b70c9-8b4e-4fe8-8131-66d0026083cb"},{"name":"Update","id":"1e4ab4d0-6562-408d-b25e-cba408e40fa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"a0cd4006-541e-45f7-9356-3979b14b9e37\",\n    \"label\": \"This is the main address\",\n    \"priority\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"70cd9b9d-e51e-42ce-a305-07975a4efd0b","type":"any","value":"a5ef8f8f-5171-4923-a4b0-ccbd49c877bd","key":"id"}]}},"response":[],"_postman_id":"1e4ab4d0-6562-408d-b25e-cba408e40fa6"},{"name":"Delete","id":"fd3999a9-fd67-42f6-88af-1561a5ba9381","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"3d83fc33-d1a8-4e9d-8488-c8340e4b150e","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"fd3999a9-fd67-42f6-88af-1561a5ba9381"},{"name":"Append Atachment","id":"049e28cb-9dc8-4119-8464-fc7906783d6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://attachment_url.png\",\n    \"metadata\": {\n        \"description\": \"hello world\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"ab642263-d312-4fef-bc79-0639d7ac1200","type":"any","value":"a5ef8f8f-5171-4923-a4b0-ccbd49c877bd","key":"id"}]}},"response":[],"_postman_id":"049e28cb-9dc8-4119-8464-fc7906783d6f"},{"name":"Read Attachments","id":"a3b23a64-584a-4bd9-9a77-d555efe492a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"61567895-cf89-4cff-b893-9bc0defcb464","type":"any","value":"d729d7ec-56aa-4765-979c-0bc543e396c4","key":"id"}]}},"response":[],"_postman_id":"a3b23a64-584a-4bd9-9a77-d555efe492a2"},{"name":"Delete Attachment","id":"3b8f3091-3906-46cf-a9cc-b7d058a814ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSmiley&psig=AOvVaw15vZmHurY_UxFBu8tiCKU4&ust=1690648354671000&source=images&cd=vfe&opi=89978449&ved=0CA0QjRxqFwoTCPDEtIbqsYADFQAAAAAdAAAAABAE\",\n    \"metadata\": {\n        \"description\": \"I liked it\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/addresses/:id/attachments/:attachmentId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","addresses",":id","attachments",":attachmentId"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"727dc561-d878-47e3-a855-86561709ab29","type":"any","value":"c6aee96b-1f2d-4d84-aff9-1be21793a697","key":"id"},{"id":"3b5c10e0-69a5-4785-a2ad-5541624fe3c1","type":"any","value":null,"key":"attachmentId"}]}},"response":[],"_postman_id":"3b8f3091-3906-46cf-a9cc-b7d058a814ef"}],"id":"bcf3b322-b05c-4070-a102-5c02acb2d39e","_postman_id":"bcf3b322-b05c-4070-a102-5c02acb2d39e","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Borrower Fields","item":[{"name":"Create","id":"94a2ea48-f487-44ad-a890-ab87278b0671","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"d5a92c26-f77f-4dcc-9248-60afc4aff334\",\n    \"key\": \"employee_count\",\n    \"value\": \"3\",\n    \"data_type\": \"number\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrower-fields","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrower-fields"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"94a2ea48-f487-44ad-a890-ab87278b0671"},{"name":"Find","id":"cc99293e-ef47-4bce-a3fd-3ec0ab60ab6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrower-fields?search=tienda","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrower-fields"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"key":"search","value":"tienda"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":"priority"},{"disabled":true,"key":"sort-direction","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"cc99293e-ef47-4bce-a3fd-3ec0ab60ab6c"},{"name":"Read","id":"a852ccb3-4ba5-41cf-a33a-1293228eb165","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/borrower-fields/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrower-fields",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"54d33b3f-983f-4e14-912f-3df795d5da57","type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"a852ccb3-4ba5-41cf-a33a-1293228eb165"},{"name":"Update","id":"7d9cd7fe-b127-43ed-9330-0d997092845c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"dfaab9fd-d4eb-4f53-9070-f2605c4cc9e2\",\n    \"value\": \"34\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrower-fields/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrower-fields",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"33553fd4-19de-4471-8a08-b2525b88ec85","type":"any","value":"1c413085-754f-4e08-8055-03b82786e89f","key":"id"}]}},"response":[],"_postman_id":"7d9cd7fe-b127-43ed-9330-0d997092845c"},{"name":"Delete","id":"10a452e4-5183-4f75-9e6f-e55da496e7fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/borrower-fields/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","borrower-fields",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"3d83fc33-d1a8-4e9d-8488-c8340e4b150e","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"10a452e4-5183-4f75-9e6f-e55da496e7fc"}],"id":"b4416ae4-1743-44af-a407-0842e1fa50bc","_postman_id":"b4416ae4-1743-44af-a407-0842e1fa50bc","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Points of Contact","item":[{"name":"Create","id":"b108846e-acaf-4f21-83a0-ee1f77a61461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"7ca3ca14-246a-4ede-8141-c65adb10c315\",\n    \"contactMethod\" :\"phone\",\n    \"value\": \"+XXX332443545X\",\n    \"priority\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b108846e-acaf-4f21-83a0-ee1f77a61461"},{"name":"Verification","id":"424fec50-dbde-4f2a-8aa0-b899c9a9b9cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"templateID\": \"725800a8-529b-40a0-9076-cd1df199104b\"}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact/:id/verification","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact",":id","verification"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"8f70eb59-f393-4f34-b4d0-5a7263fc60b5","type":"any","value":"0d2efc50-16e3-40a3-bb75-ade38351f96","key":"id"}]}},"response":[],"_postman_id":"424fec50-dbde-4f2a-8aa0-b899c9a9b9cf"},{"name":"Verification Attempt","id":"21f35b8e-1e57-45df-a5f6-145cb476d364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"otpId\": \"a286a47d-06b5-4268-9727-59078d70934a\",\n    \"code\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact/:id/verification/attempt","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact",":id","verification","attempt"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"957b603e-0b55-44b2-8a17-5536a0ad1a6e","type":"any","value":"ea7da59b-4161-4130-b52c-f6e9b0c7480f","key":"id"}]}},"response":[],"_postman_id":"21f35b8e-1e57-45df-a5f6-145cb476d364"},{"name":"Find","id":"ec9deebe-1517-4bb1-977d-f4300372694a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":"priority"},{"disabled":true,"key":"sort-direction","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"ec9deebe-1517-4bb1-977d-f4300372694a"},{"name":"Read","id":"4dc60c0b-d472-4d96-bdc2-5375670ba334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"ebb8a12c-27e3-4139-99b3-d78dd90b615f","type":"any","value":"71faa653-0334-43c8-b340-1a83f5995c93","key":"id"}]}},"response":[],"_postman_id":"4dc60c0b-d472-4d96-bdc2-5375670ba334"},{"name":"Update","id":"7d9b8962-fccb-4027-8640-7931bccff4a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"+XXX9954611XX\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"dcefd28b-452a-4015-8896-9ed67a68b21c","type":"any","value":"ea7da59b-4161-4130-b52c-f6e9b0c7480f","key":"id"}]}},"response":[],"_postman_id":"7d9b8962-fccb-4027-8640-7931bccff4a0"},{"name":"Delete","id":"5f17c0bc-b19e-4a6e-9ed6-4163fa215fc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/points-of-contact/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","points-of-contact",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"3d83fc33-d1a8-4e9d-8488-c8340e4b150e","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"5f17c0bc-b19e-4a6e-9ed6-4163fa215fc5"}],"id":"fa93e32a-1bf2-40b8-80bf-6ebd445fc2be","_postman_id":"fa93e32a-1bf2-40b8-80bf-6ebd445fc2be","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Authorizations","item":[{"name":"Create","id":"9184fc5f-f2fd-443a-b41f-965b4235aed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Borrower-id","value":"95f54897-82e8-40f3-9b8d-c1f1255ac9ce","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tenant\": \"altscore\",\n    \"borrowerID\": \"d5a92c26-f77f-4dcc-9248-60afc4aff334\",\n    \"key\": \"terms_and_conditions\",\n    \"fromId\": \"aaa-bbb-ccc\",\n    \"ipAddress\": \"192.168.1.1\",\n    \"policyLink\": \"http://policy\",\n    \"identityKey\": \"rfc\",\n    \"identityValue\": \"SMM210814DEF\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/authorizations","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","authorizations"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9184fc5f-f2fd-443a-b41f-965b4235aed8"},{"name":"Find","id":"b60a39d3-5d85-483f-933c-869e92388453","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/authorizations","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","authorizations"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"b60a39d3-5d85-483f-933c-869e92388453"},{"name":"Read","id":"e258510c-f802-4592-8a88-bc4b630eb45c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/authorizations/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","authorizations",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"5aab862d-b83c-4a2c-a330-a73b15f0aa54","type":"any","value":"f467d504-7def-41c5-8bc4-7068eaa6e71a","key":"id"}]}},"response":[],"_postman_id":"e258510c-f802-4592-8a88-bc4b630eb45c"},{"name":"Append Atachment","id":"d2064e70-df54-4cb5-a383-adb623edc1ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSmiley&psig=AOvVaw15vZmHurY_UxFBu8tiCKU4&ust=1690648354671000&source=images&cd=vfe&opi=89978449&ved=0CA0QjRxqFwoTCPDEtIbqsYADFQAAAAAdAAAAABAE\",\n    \"metadata\": {\n        \"description\": \"I liked it\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/iauthorizations/:id/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","iauthorizations",":id","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"727dc561-d878-47e3-a855-86561709ab29","type":"any","value":"c6aee96b-1f2d-4d84-aff9-1be21793a697","key":"id"}]}},"response":[],"_postman_id":"d2064e70-df54-4cb5-a383-adb623edc1ea"},{"name":"New Signature","id":"29cc605b-9a24-4dad-a60d-c49aa24c3c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"+593995461107\",\n    \"contactMethod\": \"phone\",\n    \"templateId\": \"58c98057-81ea-4c66-8f01-71a8dcfa9e3b\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/authorizations/:id/signatures","urlObject":{"path":["v1","authorizations",":id","signatures"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"8e09b52d-c2e3-4972-a66d-0c8c788d9841","type":"any","value":"5bf93b6f-e893-4434-9ad3-7371c4e847eb","key":"id"}]}},"response":[],"_postman_id":"29cc605b-9a24-4dad-a60d-c49aa24c3c05"},{"name":"Attempt Signature","id":"12576a80-e9b9-496d-8ecf-cb7fa6c1352d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"otpId\": \"ad342e8f-9d65-45d3-8eee-16f36089e5f5\",\n    \"code\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/authorizations/:id/signatures/attempt","urlObject":{"path":["v1","authorizations",":id","signatures","attempt"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"8f3886e3-4905-4709-8eef-e13387c134ee","type":"any","value":"d5381bc4-35c9-4d2b-a498-45354948e5eb","key":"id"}]}},"response":[],"_postman_id":"12576a80-e9b9-496d-8ecf-cb7fa6c1352d"},{"name":"Delete Attachment","id":"9844d97b-a842-4b08-aafb-42daf03a7997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"link\": \"https://www.google.com/url?sa=i&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSmiley&psig=AOvVaw15vZmHurY_UxFBu8tiCKU4&ust=1690648354671000&source=images&cd=vfe&opi=89978449&ved=0CA0QjRxqFwoTCPDEtIbqsYADFQAAAAAdAAAAABAE\",\n    \"metadata\": {\n        \"description\": \"I liked it\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/identities/:id/attachments/:attachmentId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","identities",":id","attachments",":attachmentId"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"727dc561-d878-47e3-a855-86561709ab29","type":"any","value":"c6aee96b-1f2d-4d84-aff9-1be21793a697","key":"id"},{"id":"1cee20fa-6f99-45bc-97c0-d3ac5fb5c3c9","type":"any","value":null,"key":"attachmentId"}]}},"response":[],"_postman_id":"9844d97b-a842-4b08-aafb-42daf03a7997"},{"name":"Delete","id":"31d665e1-c631-4387-8e9e-d8153e4e7df3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/authorizations/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","authorizations",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"095c60d8-1c16-4dd3-86f9-556f761cf08a","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"31d665e1-c631-4387-8e9e-d8153e4e7df3"}],"id":"61acf3a1-31aa-4fe2-8f85-87ea0741ddf8","_postman_id":"61acf3a1-31aa-4fe2-8f85-87ea0741ddf8","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Relationships","item":[{"name":"Create","id":"02eb8f12-6ad1-4d01-ba14-f5f609e3dbe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"contactId\": \"f15c8b65-daee-4544-86e8-864230ac215d\",\n    \"borrowerId\": \"756a869f-ecf0-4bc1-85e1-11fda238b831\",\n    \"relationship\": \"employee\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/relationships","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02eb8f12-6ad1-4d01-ba14-f5f609e3dbe5"},{"name":"Find","id":"6dd387aa-9438-41c1-8daf-58e337add80f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/relationships","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"6dd387aa-9438-41c1-8daf-58e337add80f"},{"name":"Read","id":"c0097976-1924-41a8-9964-33622940c83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/relationships/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"f23bec21-151d-46b0-8db2-8de41eb68fc7","type":"any","value":"adf5f147-8efc-4487-b20f-408ee0efd610","key":"id"}]}},"response":[],"_postman_id":"c0097976-1924-41a8-9964-33622940c83c"},{"name":"Update","id":"1778c333-07cd-478c-ae35-f78a7c1218c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"priority\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/relationships/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"1a6a731f-b3b0-461a-97b5-088d82dcee0f","type":"any","value":"a2da0ab8-aac2-40cc-bffb-37d52ac2d302","key":"id"}]}},"response":[],"_postman_id":"1778c333-07cd-478c-ae35-f78a7c1218c9"},{"name":"Delete","id":"722ad75c-f765-4892-bccc-6b1a87c91810","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/relationships/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"f813d977-da71-4ab3-a874-a111544cb41a","type":"any","value":"c6aee96b-1f2d-4d84-aff9-1be21793a697","key":"id"}]}},"response":[],"_postman_id":"722ad75c-f765-4892-bccc-6b1a87c91810"}],"id":"bcec38d4-8b89-442e-9ed7-68094eb47579","_postman_id":"bcec38d4-8b89-442e-9ed7-68094eb47579","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Relationships Summary","item":[{"name":"Find","id":"e4bb6841-1f5b-453e-8c91-0a279f717f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/relationships-summary?borrower-id=756a869f-ecf0-4bc1-85e1-11fda238b831","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","relationships-summary"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"by","value":"self"},{"disabled":true,"key":"search","value":"12345"},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""},{"key":"borrower-id","value":"756a869f-ecf0-4bc1-85e1-11fda238b831"}],"variable":[]}},"response":[],"_postman_id":"e4bb6841-1f5b-453e-8c91-0a279f717f60"}],"id":"e6efb9b1-e8cd-4731-a73b-283f455a9f83","_postman_id":"e6efb9b1-e8cd-4731-a73b-283f455a9f83","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Data Models","item":[{"name":"Create","id":"c51e84f8-5f59-4082-8d83-186e5439e36d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"employee_count\",\n    \"label\": \"Número de empleados\",\n    \"entityType\": \"borrower_field\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/data-models","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","data-models"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c51e84f8-5f59-4082-8d83-186e5439e36d"},{"name":"Find","id":"725d885a-20de-4e81-8bc1-b90ad6e43ce6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/data-models","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","data-models"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":"4"},{"disabled":true,"key":"per-page","value":"10"},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""},{"disabled":true,"key":"entity-type","value":"identity"}],"variable":[]}},"response":[],"_postman_id":"725d885a-20de-4e81-8bc1-b90ad6e43ce6"},{"name":"Read","id":"287055a4-71dc-414b-96bb-3283f92d73b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/data-models/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","data-models",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"cad82ffb-0327-4b6a-a956-996818389ac6","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"287055a4-71dc-414b-96bb-3283f92d73b2"},{"name":"Update","id":"74cb955b-cbb3-4c99-861f-cd52861e9df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"El RFC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/data-models/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","data-models",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"2f66b021-eb8b-4e14-9840-b736821188a2","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"74cb955b-cbb3-4c99-861f-cd52861e9df0"},{"name":"Delete","id":"1b9c0c05-ab4f-4d3a-a554-f1cee42cc1b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/data-models/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","data-models",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"aebcb7b1-d851-473c-adaf-eb42970efacd","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"1b9c0c05-ab4f-4d3a-a554-f1cee42cc1b6"}],"id":"f803e400-7aa6-47ce-8520-3fde936273cf","_postman_id":"f803e400-7aa6-47ce-8520-3fde936273cf","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"OTP Templates","item":[{"name":"Create","id":"92326b79-db65-402a-abb1-e9133bc6f125","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Borrower-id","value":"95f54897-82e8-40f3-9b8d-c1f1255ac9ce","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"label\": \"SMS Template\",\n  \"channel\": \"sms\",\n  \"lang\": \"es\",\n  \"sender\": \"\",\n  \"subject\": \"\",\n  \"headerLogo\": \"\",\n  \"title\": \"\",\n  \"preOtpBlurb\": \"Tu código de verificación es:\",\n  \"posOtpBlurb\": \"Utilízalo para continuar el proceso de registro\",\n  \"didNotAskMessage\": \"Si no solicitaste este código, por favor ignóralo.\",\n  \"footerBlurb\": \"\",\n  \"footerLink\": \"\",\n  \"footerLinkLabel\": \"\",\n  \"footerSlogan\": \"\",\n  \"footerLogo\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/otp-templates","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","otp-templates"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92326b79-db65-402a-abb1-e9133bc6f125"},{"name":"Find","id":"708b0c16-5e61-48ec-9257-caf86f5fbcb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/otp-templates","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","otp-templates"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"708b0c16-5e61-48ec-9257-caf86f5fbcb9"},{"name":"Read","id":"f59250f1-09a4-4147-94e3-689883dae1c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/otp-templates/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","otp-templates",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"bf915a06-050b-44d4-875d-b168c9cb9daf","type":"any","value":"f467d504-7def-41c5-8bc4-7068eaa6e71a","key":"id"}]}},"response":[],"_postman_id":"f59250f1-09a4-4147-94e3-689883dae1c7"},{"name":"Update","id":"a46593e2-d879-4f42-9459-71477fab7484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/otp-templates/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","otp-templates",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"727dc561-d878-47e3-a855-86561709ab29","type":"any","value":"c6aee96b-1f2d-4d84-aff9-1be21793a697","key":"id"}]}},"response":[],"_postman_id":"a46593e2-d879-4f42-9459-71477fab7484"},{"name":"Delete","id":"71b23a33-54c5-4617-bd6a-2f1f8238b9bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/otp-templates/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","otp-templates",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"095c60d8-1c16-4dd3-86f9-556f761cf08a","type":"any","value":"3261bea0-c7dd-4b9a-8295-e67d9f4909d8","key":"id"}]}},"response":[],"_postman_id":"71b23a33-54c5-4617-bd6a-2f1f8238b9bf"}],"id":"3ec5ca2e-4dd8-4e48-91c6-09d93f9a7c91","_postman_id":"3ec5ca2e-4dd8-4e48-91c6-09d93f9a7c91","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Workflows","item":[{"name":"Execute by Alias","id":"40d2e19a-a920-4450-941e-fde3b908ed70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inputKey0\": \"this_is_a_required_input_key\",\n    \"inputKey1\": [\n        \"this is a requiered item key\",\n        \"this is another requiered item\"\n    ],\n    \"inputKey2\": {\n        \"subKey0\": 1,\n        \"subKey1\": \"required subkey\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/workflows/:aias/:version/execute","description":"<p>The endpoint <code>{{baseUrlBorrowerCental}}/v1/workflows/:aias/:version/execute</code> is a POST request used to execute a specific workflow.</p>\n<p>When implementing the workflow, you must choose whether you want a synchronous or asynchronous workflow.</p>\n<p><strong>Synchronous Workflow</strong></p>\n<p>The workflow will respond to the call at the end of the execution of all its logic with the result of the execution. That is, the <strong><code>response</code></strong> of the <strong><code>request</code></strong> will contain the result of the evaluation.</p>\n<p><strong>Asynchronous Workflow</strong></p>\n<p>In the case of an asynchronous workflow, the request is made in the same way, but it will respond \"instantly\" with the <strong><code>executionId</code></strong> corresponding to the execution.</p>\n<p>The <strong><code>executionId</code></strong> can be used to perform \"polling\" of the execution status until it has finished. To perform the \"polling,\" a <strong><code>request</code></strong> is made to the <code>{{baseUrlBorrowerCental}}/v1/executions/:executionId/output</code> route.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The schema of the request body can be tailored to fit the specific workflow requirements. In scenarios where the integration pulls data directly from Borrower Central, the request typically includes the <code>borrowerId</code>.</p>\n<h3 id=\"response\">Response</h3>\n<p>For both synchronous and asynchronous workflows, the request's response will have the following base structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"isSuccess\": true,\n  \"statusCode\": 200,\n  \"attachments\": [\n    {\n      \"url\": \"https://example.com/path/to/attachment1\",\n      \"fileExtension\": \"pdf\",\n      \"metadata\": {\n        \"date\": \"2024-01-31\"\n      }\n    }\n  ],\n  \"output\": {...}, # See explanation below\n  \"customOutput\": {...}, # See explanation below\n  \"errorMessage\": null,\n  \"notes\": [\n    \"Note 1\",\n    \"Note 2\"\n  ],\n  \"notices\": [\n    \"Notice 1\",\n    \"Notice 2\"\n  ]\n}\n\n</code></pre>\n<p>The fields of <strong><code>attachments</code></strong>, <strong><code>customOutput</code></strong>, <strong><code>errorMessage</code></strong>, <strong><code>notes</code></strong>, and <strong><code>notices</code></strong> can be null fields, depending on the implementation or the result of the evaluation.</p>\n<h2 id=\"output\"><strong>Output</strong></h2>\n<p>The content of the <strong><code>output</code></strong> field depends on the type of workflow you want to execute:</p>\n<h3 id=\"data-source-query-outputs\"><strong>Data Source Query Outputs</strong></h3>\n<p>One use case is if you wish to make queries to data sources.</p>\n<p>If you want to obtain information about a certain data source, the format of the <strong><code>output</code></strong> field contains the following response format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"isSuccess\": true,\n  \"billableId\": \"12345\",\n  \"data\": [\n    {\n      \"key1\": \"value1\",\n      \"key2\": \"value2\"\n    }\n  ],\n  \"fields\": {\n    \"field1\": \"data1\",\n    \"field2\": \"data2\"\n  }\n}\n\n</code></pre>\n<h3 id=\"alert-utilization-outputs\"><strong>Alert Utilization Outputs</strong></h3>\n<p>Another use case is if you wish to use alerts in the workflow.</p>\n<p><strong><code>Alerts</code></strong> allow for quick visibility of potential \"issues\" that the assessment case might have. For example, we can query the OFAC blacklist by name and obtain possible matches, in which case we could generate an alert.</p>\n<p>The content of the <strong><code>output</code></strong> field in this case will have the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"isSuccess\": true,\n  \"billableId\": \"12345\",\n  \"alerts\": [\n    {\n      \"ruleId\": \"rule_001\",\n      \"ruleCode\": \"RC001\",\n      \"label\": \"High Risk\",\n      \"level\": 3,\n      \"borrowerId\": \"borrower_123\",\n      \"message\": \"The borrower has a high-risk profile.\"\n    },\n    {\n      \"ruleId\": \"rule_002\",\n      \"ruleCode\": \"RC002\",\n      \"label\": \"Incomplete Data\",\n      \"level\": -1,\n      \"borrowerId\": \"borrower_123\",\n      \"message\": \"Missing essential data for borrower assessment.\"\n    }\n  ],\n  \"data\": [\n    {\n      \"key1\": \"value1\",\n      \"key2\": \"value2\"\n    }\n  ],\n  \"fields\": {\n    \"field1\": \"data1\",\n    \"field2\": \"data2\"\n  }\n}\n\n</code></pre>\n<h3 id=\"credit-score-assessment-outputs\"><strong>Credit Score Assessment Outputs</strong></h3>\n<p>Another alternative is if you wish to obtain a risk score using models. AltScore is compatible with using 'whitebox' models within the workflow.</p>\n<p>In the case of using 'whitebox' models within the workflow, the content of <strong><code>output</code></strong> will have the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"billableId\": \"123456789\",\n  \"borrowerId\": \"987654321\",\n  \"isSuccess\": true,\n  \"fields\": {\n    \"totalIncome\": 5000,\n    \"age\": 34\n  },\n  \"data\": [\n    {\n      \"type\": \"transaction\",\n      \"date\": \"2024-04-08\",\n      \"amount\": 1000\n    }\n  ],\n  \"score\": {\n    \"key\": \"creditScore\",\n    \"label\": \"Credit Score\",\n    \"value\": 750,\n    \"maxValue\": 850\n  },\n  \"scorecard\": [\n    {\n      \"field\": \"totalIncome\",\n      \"order\": 1,\n      \"value\": 5000,\n      \"bucket\": 3,\n      \"points\": 20,\n      \"maxPoints\": 25,\n      \"label\": \"Income\",\n      \"bucketLabel\": \"High\"\n    },\n    {\n      \"field\": \"age\",\n      \"order\": 2,\n      \"value\": 34,\n      \"bucket\": 2,\n      \"points\": 15,\n      \"maxPoints\": 20,\n      \"label\": \"Age\",\n      \"bucketLabel\": \"Mid\"\n    }\n  ],\n  \"metrics\": [\n    {\n      \"key\": \"loanToIncomeRatio\",\n      \"label\": \"Loan to Income Ratio\",\n      \"value\": 0.2\n    }\n  ],\n  \"rules\": [\n    {\n      \"id\": \"rule1\",\n      \"order\": 1,\n      \"code\": \"incomeCheck\",\n      \"label\": \"Income Verification\",\n      \"value\": \"Passed\",\n      \"alertLevel\": 0,\n      \"hit\": true\n    }\n  ],\n  \"alerts\": [\n   {\n      \"ruleId\": \"rule_001\",\n      \"ruleCode\": \"RC001\",\n      \"label\": \"High Risk\",\n      \"level\": 3,\n      \"borrowerId\": \"borrower_123\",\n      \"message\": \"The borrower has a high-risk profile.\"\n    }\n  ],\n  \"decision\": \"Manual Review\"\n}\n\n</code></pre>\n<h3 id=\"custom-output\"><strong>Custom Output</strong></h3>\n<p>The <strong><code>customOutput</code></strong> field is configurable during implementation to contemplate any additional necessary use case beyond the existing ones.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","workflows",":aias",":version","execute"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":"origination","key":"aias"},{"type":"any","value":"v0","key":"version"}]}},"response":[],"_postman_id":"40d2e19a-a920-4450-941e-fde3b908ed70"},{"name":"Execute by ID","id":"68eb466f-6940-4aff-9705-18ddacba7ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Execution-Mode","value":"","description":"<p>'sync' or 'async' depending on needs, default 'sync'</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"99e8ac27-0325-4be7-9643-bfd938f9a273\",\n    \"applicationData\": [\n        {\n            \"something\": \"something\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/workflows/:id/execute","description":"<p>This functionality mirrors the behavior of the \"execute by alias\" endpoint; however, in this case, the request specifically utilizes the <code>workflowId</code> to dictate the process.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","workflows",":id","execute"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"68eb466f-6940-4aff-9705-18ddacba7ac9"},{"name":"Find","id":"4097c850-1577-4fff-981f-ca0b1be06035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/workflows","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","workflows"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"4097c850-1577-4fff-981f-ca0b1be06035"},{"name":"Read","id":"fd066071-d056-4cdf-b52b-8ba95e7cba1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/workflows/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","workflows",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"131d6533-391b-4c1c-8f77-181d596d7b29","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"fd066071-d056-4cdf-b52b-8ba95e7cba1f"}],"id":"5d83759b-86d7-489a-b207-1a28a8068453","description":"<p>The workflow engine allows for the automation of decision and evaluation flows for companies and individuals. This includes, for example, querying external and internal data sources, applying business rules, evaluation scores, producing a report with the results; or in general, any business logic that can be evaluated in real time or in batch.</p>\n","_postman_id":"5d83759b-86d7-489a-b207-1a28a8068453","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Executions","item":[{"name":"Output","item":[{"name":"Find Outputs","id":"21b9df1e-112c-46d5-a7cb-a87d7ceddf0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/executions/outputs?search=CARI12343212&sort-by=createdAt&sort-direction=desc","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","executions","outputs"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"key":"search","value":"CARI12343212"},{"key":"sort-by","value":"createdAt"},{"key":"sort-direction","value":"desc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""}],"variable":[]}},"response":[],"_postman_id":"21b9df1e-112c-46d5-a7cb-a87d7ceddf0d"},{"name":"Get Output","id":"4d4a1d95-78d0-4fd7-9842-939cec8d2074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/executions/:id/output","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","executions",":id","output"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"8bbf4609-4e03-4d7f-93c6-fcfb6c6dfcc0","type":"any","value":"f0297272-eb9e-4ecf-962f-e913b9fb2f00","key":"id"}]}},"response":[],"_postman_id":"4d4a1d95-78d0-4fd7-9842-939cec8d2074"},{"name":"Get Output Attachment","id":"e4f37aa1-f79f-4d31-b232-882fe2a23234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/executions/:id/output/attachments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","executions",":id","output","attachments"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"57f1bd18-d6b0-48aa-96ca-6fdbe794804e","type":"any","value":"6bda6055-c3ce-43fb-bf45-fae2e5e8261e","key":"id"}]}},"response":[],"_postman_id":"e4f37aa1-f79f-4d31-b232-882fe2a23234"}],"id":"f6697353-66de-4bc3-887d-bb86fb902fe5","_postman_id":"f6697353-66de-4bc3-887d-bb86fb902fe5","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Find","id":"378ad38a-90a4-46b1-b0a5-b62fa90bbbc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/executions?per-page=5&sort-by=created-at&sort-direction=desc&borrower-id=45453c74-ea24-48c4-82b6-4410585bc1d9","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","executions"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"key":"per-page","value":"5"},{"key":"sort-by","value":"created-at"},{"key":"sort-direction","value":"desc"},{"disabled":true,"key":"entity-type","value":"identity"},{"key":"borrower-id","value":"45453c74-ea24-48c4-82b6-4410585bc1d9"}],"variable":[]}},"response":[],"_postman_id":"378ad38a-90a4-46b1-b0a5-b62fa90bbbc3"},{"name":"Read","id":"1062ffa5-d285-42d1-8b21-c69c3aa8edf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/executions/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","executions",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"c14f40ed-5ad2-4fb5-bdd2-488a4dd1437f","type":"any","value":"ff4aad12-6d02-453c-bb26-dd6f891a0592","key":"id"}]}},"response":[],"_postman_id":"1062ffa5-d285-42d1-8b21-c69c3aa8edf5"}],"id":"79b3ceb4-8b27-47ba-a707-64797efc7981","_postman_id":"79b3ceb4-8b27-47ba-a707-64797efc7981","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Automations","item":[{"name":"Create","id":"c63c9f87-1d58-44a7-b124-f8834f06b345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"workflowID\": \"d2ddc672-cde5-486b-a1b1-4aca59441dc0\",\n   \"trigger\": \"finished_onboarding\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/automations","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","automations"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c63c9f87-1d58-44a7-b124-f8834f06b345"},{"name":"Update","id":"24beeccb-35ec-42dd-b311-b27e9ee42556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n   \"workflowId\": \"348ae741-a04d-4d63-8e61-04f5d5c1f8d9\",\n   \"trigger\": \"finished_onboarding\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/automations/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","automations",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"63664930-6c6c-4abb-ae6d-d13beabdb7f3","type":"any","value":"ecc4538b-3014-4732-a028-b2e0e0df1ea2","key":"id"}]}},"response":[],"_postman_id":"24beeccb-35ec-42dd-b311-b27e9ee42556"},{"name":"Read","id":"26ad0105-476e-41a5-926c-5e3695189c8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/automations/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","automations",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"3c63a612-3bc1-404f-b8a9-62172a91a788","type":"any","value":"ecc4538b-3014-4732-a028-b2e0e0df1ea2","key":"id"}]}},"response":[],"_postman_id":"26ad0105-476e-41a5-926c-5e3695189c8c"}],"id":"a164ea68-b5ff-4c19-8307-331ab380a553","_postman_id":"a164ea68-b5ff-4c19-8307-331ab380a553","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Stores","item":[{"name":"Sources","item":[{"name":"Create","id":"2484e1c4-64f1-492b-b2f7-49efbc9dacce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"Buró de crédito\",\n    \"contentType\": \"xml\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/sources","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2484e1c4-64f1-492b-b2f7-49efbc9dacce"},{"name":"Create AltData Source","id":"a357d3a6-cef6-4e9a-86b9-8e64e391ab8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"altdataSourceId\": \"ECU-PUB-0002\",\n    \"altdataSourceVersion\": \"v1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/sources/altdata","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources","altdata"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a357d3a6-cef6-4e9a-86b9-8e64e391ab8a"},{"name":"Find","id":"8dd3bada-54d7-4f00-b409-8d06e9fa7c97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/stores/sources","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"8dd3bada-54d7-4f00-b409-8d06e9fa7c97"},{"name":"Read","id":"7cae996e-f976-4fb3-bbbe-e9670c6b9d40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/stores/sources/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"ebb7e20f-0b97-4f67-9a79-7ff25b638d46","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"7cae996e-f976-4fb3-bbbe-e9670c6b9d40"},{"name":"Update","id":"9eab9c5a-2e01-4c1d-916f-f305d05ea287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"El RFC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/sources/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"1b9965f0-5a19-4f4a-a783-a9ecd2add776","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"9eab9c5a-2e01-4c1d-916f-f305d05ea287"},{"name":"Delete","id":"e3c7da50-492e-4e91-9446-763ccfd48541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/sources/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","sources",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"472dabab-e748-40d5-b0e0-9f33d49c4b46","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"e3c7da50-492e-4e91-9446-763ccfd48541"}],"id":"a77c376d-2f40-4dc8-a90d-888a43d95f0b","_postman_id":"a77c376d-2f40-4dc8-a90d-888a43d95f0b","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Packages","item":[{"name":"Create","id":"34882f8c-4e32-4270-88d7-f0047dbfe0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"borrowerID\": \"44c7196c-dff0-4cb2-9230-80636cbe1d9b\",\n    \"sourceID\": \"127196c-1234-4cb2-9230-80636cbe1d555\",\n    \"content\": {\n        \"data\": {\n            \"x\": \"y\"\n        },\n        \"sourceData\": {\n            \"a\": \"b\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/packages","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","packages"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34882f8c-4e32-4270-88d7-f0047dbfe0a9"},{"name":"Find","id":"18c6900a-457f-4045-a84d-e4baed0efd2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/stores/packages?source-id=AD_MEX-PUB-0005_v1&borrower-id=0a2bb887-39a3-498f-a792-c08e025f3196","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","packages"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"key":"search","value":"rfc"},{"disabled":true,"key":"page","value":""},{"disabled":true,"key":"per-page","value":""},{"disabled":true,"key":"sort-by","value":""},{"disabled":true,"key":"sort-direction","value":""},{"key":"source-id","value":"AD_MEX-PUB-0005_v1"},{"key":"borrower-id","value":"0a2bb887-39a3-498f-a792-c08e025f3196"}],"variable":[]}},"response":[{"id":"6a312a0c-4513-42ff-b83e-f8c6583e8c7a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlBorrowerCental}}/v1/stores/packages?source-id=AD_MEX-PUB-0005_v1&borrower-id=0a2bb887-39a3-498f-a792-c08e025f3196","host":["{{baseUrlBorrowerCental}}"],"path":["v1","stores","packages"],"query":[{"key":"search","value":"rfc","disabled":true},{"key":"page","value":"","type":"text","disabled":true},{"key":"per-page","value":"","type":"text","disabled":true},{"key":"sort-by","value":"","type":"text","disabled":true},{"key":"sort-direction","value":"","type":"text","disabled":true},{"key":"source-id","value":"AD_MEX-PUB-0005_v1","type":"text"},{"key":"borrower-id","value":"0a2bb887-39a3-498f-a792-c08e025f3196","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-total-count","value":"1"},{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"Authorization, Content-Type, Tenant, Borrower-ID"},{"key":"access-control-expose-headers","value":"x-total-count, authorization"},{"key":"X-Cloud-Trace-Context","value":"5904207779bf416b74f0664b74613ce7;o=1"},{"key":"Date","value":"Thu, 04 Apr 2024 00:28:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"301"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"8e5fe2ea-1690-4cf4-90f3-cc8f8840a07d\",\n        \"borrowerId\": \"0a2bb887-39a3-498f-a792-c08e025f3196\",\n        \"sourceId\": \"AD_MEX-PUB-0005_v1\",\n        \"alias\": null,\n        \"workflowId\": null,\n        \"label\": null,\n        \"contentType\": \"json\",\n        \"tags\": [],\n        \"createdAt\": \"2024-04-03T23:17:31.189000\",\n        \"ttl\": null,\n        \"hasAttachments\": false,\n        \"forcedStale\": false\n    }\n]"}],"_postman_id":"18c6900a-457f-4045-a84d-e4baed0efd2b"},{"name":"Read","id":"68007de4-dfae-4b77-9c19-354c00ac2716","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/stores/packages/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","packages",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"497ad08f-2d12-407b-b92b-cd63eac0d6fb","type":"any","value":"7e16e0b7-e81d-403b-ac7f-72e5e2dcdde0","key":"id"}]}},"response":[],"_postman_id":"68007de4-dfae-4b77-9c19-354c00ac2716"},{"name":"Delete","id":"4d6e7767-e4a4-424f-8a9d-4c529764f770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"key\": \"curp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlBorrowerCental}}/v1/stores/packages/:id","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","packages",":id"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"472dabab-e748-40d5-b0e0-9f33d49c4b46","type":"any","value":"d2ddc672-cde5-486b-a1b1-4aca59441dc0","key":"id"}]}},"response":[],"_postman_id":"4d6e7767-e4a4-424f-8a9d-4c529764f770"},{"name":"Read Content","id":"8f09b05c-61ba-4b71-b2bc-db78f84a9c43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/stores/packages/:id/content","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","stores","packages",":id","content"],"host":["{{baseUrlBorrowerCental}}"],"query":[],"variable":[{"id":"497ad08f-2d12-407b-b92b-cd63eac0d6fb","type":"any","value":"7e16e0b7-e81d-403b-ac7f-72e5e2dcdde0","key":"id"}]}},"response":[],"_postman_id":"8f09b05c-61ba-4b71-b2bc-db78f84a9c43"}],"id":"5ea2e24a-e973-4e7e-a2d3-1c1476374292","_postman_id":"5ea2e24a-e973-4e7e-a2d3-1c1476374292","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}}],"id":"637ba135-032b-419e-b580-72f411962af2","_postman_id":"637ba135-032b-419e-b580-72f411962af2","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}},{"name":"Policies","item":[{"name":"Find","id":"cec7a65e-55e7-4e4a-8e37-bbe564b894d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlBorrowerCental}}/v1/policies","description":"<h3 id=\"get-v1borrowers\">GET /v1/borrowers</h3>\n<p>This endpoint retrieves a list of borrowers.</p>\n<h4 id=\"request\">Request</h4>\n<p>There are no request parameters for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><code>id</code> (string): The ID of the borrower.</li>\n<li><code>persona</code> (string): The persona of the borrower.</li>\n<li><code>avatarUrl</code> (string, nullable): The URL of the borrower's avatar, if available.</li>\n<li><code>label</code> (string): The label of the borrower.</li>\n<li><code>tags</code> (array): An array of tags associated with the borrower.</li>\n<li><code>cmsClientIds</code> (array): An array of client IDs associated with the borrower in the CMS.</li>\n<li><code>createdAt</code> (string): The date and time when the borrower was created.</li>\n<li><code>updatedAt</code> (string): The date and time when the borrower was last updated.</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"type\": \"object\",\n    \"properties\": {\n      \"id\": { \"type\": \"string\" },\n      \"persona\": { \"type\": \"string\" },\n      \"avatarUrl\": { \"type\": [\"string\", \"null\"] },\n      \"label\": { \"type\": \"string\" },\n      \"tags\": { \"type\": \"array\" },\n      \"cmsClientIds\": { \"type\": \"array\" },\n      \"createdAt\": { \"type\": \"string\" },\n      \"updatedAt\": { \"type\": \"string\" }\n    }\n  }\n]\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}},"urlObject":{"path":["v1","policies"],"host":["{{baseUrlBorrowerCental}}"],"query":[{"disabled":true,"description":{"content":"<p>text search in the label field</p>\n","type":"text/plain"},"key":"search","value":""},{"disabled":true,"description":{"content":"<p>the page to get</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>number of items to return</p>\n","type":"text/plain"},"key":"per-page","value":""},{"disabled":true,"description":{"content":"<p>key to use for sorting</p>\n","type":"text/plain"},"key":"sort-by","value":""},{"disabled":true,"description":{"content":"<p>asc or desc</p>\n","type":"text/plain"},"key":"sort-direction","value":""}],"variable":[]}},"response":[],"_postman_id":"cec7a65e-55e7-4e4a-8e37-bbe564b894d7"}],"id":"ee04e87e-25f7-4ddb-9e02-294337cd9525","_postman_id":"ee04e87e-25f7-4ddb-9e02-294337cd9525","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}}],"id":"6ffa8b0c-d53f-4931-9da8-0633f088e3d8","_postman_id":"6ffa8b0c-d53f-4931-9da8-0633f088e3d8","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","name":"Borrower Central™","type":"folder"}}}],"id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185","description":"<p>Borrower Central lets you access to all your client's information. This is the data core of the Rails of Lending.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"d5c9765c-6518-45a9-9f77-4ef00d0cbe77","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a7f70d3f-1025-469d-9775-67d3c8d4b9c3","type":"text/javascript","exec":[""]}}],"_postman_id":"5c33d909-5ee9-4aec-9eb4-778dc90ef185"},{"name":"Embedded Credit API (CMS)","item":[{"name":"v1","item":[{"name":"Accounts","item":[{"name":"Create Client Account","id":"524d129d-351c-44b6-a59d-a1dfda91ddfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"123456789123654633\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{disbursement_api}}/accounts/:country/:type","description":"<h3 id=\"create-account-disbursement\">Create Account Disbursement</h3>\n<p>This endpoint allows you to create a new account for disbursement based on the country and type specified in the URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>id</code> (string): The client ID.</p>\n</li>\n<li><p><code>partnerId</code> (string): The partner ID.</p>\n</li>\n<li><p><code>bankAccounts</code> (object):</p>\n<ul>\n<li><p><code>accountNumber</code> (string): The account number.</p>\n</li>\n<li><p><code>bankCode</code> (string): The bank code.</p>\n</li>\n<li><p><code>bankName</code> (string): The name of the bank.</p>\n</li>\n<li><p><code>accountType</code> (number): The type of account (40 for CLABE).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-201-created\">Response 201 Created</h4>\n<ul>\n<li><p><code>status</code> (number): 201 - Created</p>\n</li>\n<li><p><code>Content-Type</code> : application/json</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"accountId\": \"0191ec77-6f3b-743a-b31c-e6c46338b10c\",\n    \"name\": \"RAUL\",\n    \"phone\": \"\",\n    \"email\": \"\",\n    \"taxId\": \"RAUL12345\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": [\n        {\n            \"bankAccountId\": \"c9df72d0-5d94-4d21-8e85-56a3cbeeb468\",\n            \"bankAccountNumber\": \"000000000000000001\",\n            \"bank\": \"BBVA MEXICO\",\n            \"bankCode\": \"40012\",\n            \"bankAccountType\": 40,\n            \"status\": \"created\"\n        }\n    ],\n    \"createdAt\": \"2024-09-13T17:38:55.931277427Z\",\n    \"type\": \"client\",\n    \"clientId\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n}\n\n</code></pre>\n<h4 id=\"response-409-conflict\">Response 409 Conflict</h4>\n<ul>\n<li><p><code>status</code> (number): 409 - Conflict</p>\n</li>\n<li><p><code>Content-Type</code> : application/json</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"error\": \"DuplicateAccount\",\n    \"status\": 409,\n    \"details\": [\n        \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n    ]\n}\n\n</code></pre>\n<h4 id=\"response-400-bad-request\">Response 400 Bad Request</h4>\n<ul>\n<li><p><code>status</code> (number): 400 - Bad Request</p>\n</li>\n<li><p><code>Content-Type</code> : application/json</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"invalid wire transfer number (CLABE)\",\n    \"error\": \"AccountBankValidation\",\n    \"status\": 400,\n    \"details\": [\n        \"invalid wire transfer number (CLABE)\"\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["accounts",":country",":type"],"host":["{{disbursement_api}}"],"query":[],"variable":[{"id":"dbf96103-ee4a-4ec8-95c7-eaa3dbaedd02","type":"any","value":"mex","key":"country"},{"id":"ab1a02d4-8f6e-4139-b198-11cb9ff8cca0","type":"any","value":"client","key":"type"}]}},"response":[{"id":"54f140cb-829f-4c44-991e-df79b6a8e771","name":"Create Client Account","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"000000000000000001\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": \"0191ec77-6f3b-743a-b31c-e6c46338b10c\",\n    \"name\": \"RAUL\",\n    \"phone\": \"\",\n    \"email\": \"\",\n    \"taxId\": \"RAUL12345\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": [\n        {\n            \"bankAccountId\": \"c9df72d0-5d94-4d21-8e85-56a3cbeeb468\",\n            \"bankAccountNumber\": \"000000000000000001\",\n            \"bank\": \"BBVA MEXICO\",\n            \"bankCode\": \"40012\",\n            \"bankAccountType\": 40,\n            \"status\": \"created\"\n        }\n    ],\n    \"createdAt\": \"2024-09-13T17:38:55.931277427Z\",\n    \"type\": \"client\",\n    \"clientId\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n}"},{"id":"15a31710-1f21-4c7b-bc93-1eb5991b4726","name":"Duplicate Account","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"000000000000000001\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"error\": \"DuplicateAccount\",\n    \"status\": 409,\n    \"details\": [\n        \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n    ]\n}"},{"id":"837b926d-5fec-42bd-ad69-73d7452e9476","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"2222222222222222\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid wire transfer number (CLABE)\",\n    \"error\": \"AccountBankValidation\",\n    \"status\": 400,\n    \"details\": [\n        \"invalid wire transfer number (CLABE)\"\n    ]\n}"}],"_postman_id":"524d129d-351c-44b6-a59d-a1dfda91ddfb"},{"name":"Get Account","id":"26435753-9ab3-4054-96c7-389f052c2d03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{disbursement_api}}/accounts/:country/:type/:id","description":"<p>This endpoint retrieves account information based on the provided country, type, and ID parameters. The response for this request follows the JSON schema below:</p>\n<p>{Request Parameters</p>\n<ul>\n<li><p><code>country</code> (string): The country code for the account.</p>\n</li>\n<li><p><code>type</code> (string): The type of account.</p>\n</li>\n<li><p><code>id</code> (string): The unique identifier of the account.</p>\n</li>\n</ul>\n<h3 id=\"response-200\">Response 200</h3>\n<p>The response will include the account details based on the provided parameters, such as account holder information, balance, and transaction history.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  \"type\": \"object\",\n  \"properties\": {\n    \"accountId\": {\"type\": \"string\"},\n    \"name\": {\"type\": \"string\"},\n    \"phone\": {\"type\": \"string\"},\n    \"email\": {\"type\": \"string\"},\n    \"taxId\": {\"type\": \"string\"},\n    \"partnerId\": {\"type\": \"string\"},\n    \"bankAccounts\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"bankAccountId\": {\"type\": \"string\"},\n          \"bankAccountNumber\": {\"type\": \"string\"},\n          \"bank\": {\"type\": \"string\"},\n          \"bankCode\": {\"type\": \"string\"},\n          \"bankAccountType\": {\"type\": \"integer\"},\n          \"status\": {\"type\": \"string\"}\n        }\n      }\n    },\n    \"createdAt\": {\"type\": \"string\"},\n    \"type\": {\"type\": \"string\"},\n    \"clientId\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["accounts",":country",":type",":id"],"host":["{{disbursement_api}}"],"query":[],"variable":[{"id":"7e374556-331f-47b4-bc24-7e12b588bf8e","description":{"content":"<p>region or country for the partner to create the account, using country code based on ISO 3166-1 A-3 <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes</a></p>\n","type":"text/plain"},"type":"any","value":"","key":"country"},{"id":"6a6cf191-100e-4cf1-b495-1db632da55ea","description":{"content":"<p>account type partner, client, disbursement</p>\n","type":"text/plain"},"type":"any","value":"","key":"type"},{"id":"f2d0adf2-a0ab-45a4-aa8f-07b7bf2ead5c","description":{"content":"<p>identity id like client id, partner id</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"5f60a577-c5b7-472b-890b-bf5045ba7a23","name":"Get Account","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.sandbox.altscore.ai/v1/disbursements/accounts/:country/:type/:id","protocol":"https","host":["api","sandbox","altscore","ai"],"path":["v1","disbursements","accounts",":country",":type",":id"],"variable":[{"key":"country","value":"mex","description":"region or country for the partner to create the account, using country code based on ISO 3166-1 A-3 https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes"},{"key":"type","value":"client","description":"account type partner, client, disbursement"},{"key":"id","value":"01910f9e-a57c-7977-944d-6e85b318d695","description":"identity id like client id, partner id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": \"01910f9e-a57c-7977-944d-6e85b318d695\",\n    \"name\": \"Raul Rodriguez Ramirez\",\n    \"phone\": \"\",\n    \"email\": \"\",\n    \"taxId\": \"RFC\",\n    \"partnerId\": \"12345\",\n    \"bankAccounts\": [\n        {\n            \"bankAccountId\": \"bb4c6d45-df64-494b-a143-9c3ca346b3eb\",\n            \"bankAccountNumber\": \"123456789123456781\",\n            \"bank\": \"BBVA\",\n            \"bankCode\": \"4092\",\n            \"bankAccountType\": 40,\n            \"status\": \"active\"\n        }\n    ],\n    \"createdAt\": \"2024-08-01T20:25:40.988Z\",\n    \"type\": \"client\",\n    \"clientId\": \"12345\"\n}"}],"_postman_id":"26435753-9ab3-4054-96c7-389f052c2d03"},{"name":"Create Disbursement Account","event":[{"listen":"test","script":{"id":"fbcdd7ea-e91e-4e7b-b0d7-1a53269a16bb","exec":[""],"type":"text/javascript","packages":{}}}],"id":"00820a02-123b-438a-b24e-daaed3f0c2e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"taxId\":\"ALT2206079R7\",\n    \"name\":\"Altscore SA DE CV\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"646180538100000002\",\n        \"bankCode\": \"90646\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8950/accounts/:country/:type","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"protocol":"http","port":"8950","path":["accounts",":country",":type"],"host":["localhost"],"query":[],"variable":[{"id":"fa5e76ba-2a64-4cc2-8253-e06fddd730c1","description":{"content":"<p>region or country for the partner to create the account, using country code based on ISO 3166-1 A-3 <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes</a></p>\n","type":"text/plain"},"type":"any","value":"mex","key":"country"},{"id":"9e94d9a7-2497-4a2e-b99b-6ac3c7235bf2","description":{"content":"<p>account type partner, client, disbursement</p>\n","type":"text/plain"},"type":"any","value":"disbursement","key":"type"}]}},"response":[{"id":"a511beed-f1da-4c44-a1f6-aea2539fab5d","name":"Create Client Account","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"000000000000000001\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","uuid":"c814859c-98df-412f-8653-2b61ce3b5887"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": \"0191ec77-6f3b-743a-b31c-e6c46338b10c\",\n    \"name\": \"RAUL\",\n    \"phone\": \"\",\n    \"email\": \"\",\n    \"taxId\": \"RAUL12345\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": [\n        {\n            \"bankAccountId\": \"c9df72d0-5d94-4d21-8e85-56a3cbeeb468\",\n            \"bankAccountNumber\": \"000000000000000001\",\n            \"bank\": \"BBVA MEXICO\",\n            \"bankCode\": \"40012\",\n            \"bankAccountType\": 40,\n            \"status\": \"created\"\n        }\n    ],\n    \"createdAt\": \"2024-09-13T17:38:55.931277427Z\",\n    \"type\": \"client\",\n    \"clientId\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n}"},{"id":"682fcc40-cdcf-49c7-b5a7-f551da218e7b","name":"Duplicate Account","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"000000000000000001\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","uuid":"ad83f734-377c-4ddd-a641-d7b197954353"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"error\": \"DuplicateAccount\",\n    \"status\": 409,\n    \"details\": [\n        \"Another account for the same type client exists PartnerID 1c57aa03-9696-4c99-8eb3-956b23557d35, Tenant sofia-7ac0 Entity ID faf713f9-8725-40bd-9e0e-73fd718d5ab6\"\n    ]\n}"},{"id":"31847c63-de78-48cd-b8c6-dbe83b0a77bb","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"X-ParnertId","value":""}],"body":{"mode":"raw","raw":"{\n    \"id\": \"faf713f9-8725-40bd-9e0e-73fd718d5ab6\",\n    \"partnerId\": \"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"bankAccounts\": {\n        \"accountNumber\": \"2222222222222222\",\n        \"bankCode\": \"40012\",\n        \"bankName\": \"BBVA MEXICO\",\n        \"accountType\": 40 //for CLABE\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{disbursement_api}}/accounts/:country/:type","host":["{{disbursement_api}}"],"path":["accounts",":country",":type"],"variable":[{"key":"country","value":"mex"},{"key":"type","value":"client"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","uuid":"c7bfe404-0575-4365-87e8-08b6762546ce"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid wire transfer number (CLABE)\",\n    \"error\": \"AccountBankValidation\",\n    \"status\": 400,\n    \"details\": [\n        \"invalid wire transfer number (CLABE)\"\n    ]\n}"}],"_postman_id":"00820a02-123b-438a-b24e-daaed3f0c2e8"}],"id":"6bcf5c3f-26c1-4324-b057-0433bfdb3131","description":"<p>Here the requests manage account in disbursement service</p>\n<ul>\n<li><p>Create account for Partner</p>\n</li>\n<li><p>Create account for Client</p>\n</li>\n<li><p>Get account for Partner</p>\n</li>\n<li><p>Get account for client</p>\n</li>\n<li><p>Validate bank account from gateway providers</p>\n</li>\n</ul>\n","_postman_id":"6bcf5c3f-26c1-4324-b057-0433bfdb3131","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Banks","item":[{"name":"Get Banks","id":"f310917c-9fd5-4c0d-b41f-6f111122e7a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{disbursement_api}}/banks/:country","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["banks",":country"],"host":["{{disbursement_api}}"],"query":[],"variable":[{"id":"0744e3cd-f608-4638-bd01-5b2520e0e344","description":{"content":"<p>region or country for the partner to create the account, using country code based on ISO 3166-1 A-3 <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes</a></p>\n","type":"text/plain"},"type":"any","value":"mex","key":"country"}]}},"response":[],"_postman_id":"f310917c-9fd5-4c0d-b41f-6f111122e7a6"}],"id":"812844b1-5c4c-49b8-9d19-7c2854936660","description":"<p>Get bank information from country or region, it used as catalog</p>\n","_postman_id":"812844b1-5c4c-49b8-9d19-7c2854936660","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"DPA Flows","item":[{"name":"Simulaton","id":"e61ac7ef-733b-4103-919f-653db54fd433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The partner's ID</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas/simulations","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","dpas","simulations"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"881401e2-fedd-4a95-a619-209572ba22f5","name":"OK","originalRequest":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId)\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas/simulations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:26:39 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"1358"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"client\": {\n        \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\",\n        \"email\": \"something@something.com\",\n        \"externalId\": \"the_id_of_this_client_in_my_system\",\n        \"legalName\": \"PRUEBA4\",\n        \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\"\n    },\n    \"createdAt\": \"2024-04-05T12:26:39.568332874Z\",\n    \"flowId\": \"e4bdd727-e84d-4bf6-9417-1dd30edd3c16\",\n    \"referenceId\": \"Simulation\",\n    \"schedule\": [\n        {\n            \"dueDate\": \"2024-05-16\",\n            \"number\": 1,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0.00\",\n                    \"currency\": \"MXN\"\n                },\n                \"interest\": {\n                    \"amount\": \"4.92\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0.00\",\n                    \"currency\": \"MXN\"\n                },\n                \"principal\": {\n                    \"amount\": \"48.55\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"1.03\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.50\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        },\n        {\n            \"dueDate\": \"2024-05-31\",\n            \"number\": 2,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0.00\",\n                    \"currency\": \"MXN\"\n                },\n                \"interest\": {\n                    \"amount\": \"2.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0.00\",\n                    \"currency\": \"MXN\"\n                },\n                \"principal\": {\n                    \"amount\": \"51.45\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"0.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.51\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        }\n    ],\n    \"status\": \"simulation\",\n    \"tenant\": \"cpg\",\n    \"terms\": {\n        \"amortizationType\": \"equal_total\",\n        \"disbursementDate\": \"2024-05-01\",\n        \"installments\": 2,\n        \"interestRate\": {\n            \"period\": 360,\n            \"rate\": \"118\"\n        },\n        \"interestTax\": 21,\n        \"principal\": {\n            \"amount\": \"100.00\",\n            \"currency\": \"MXN\"\n        },\n        \"repayEvery\": 15,\n        \"timezone\": \"America/Mexico_City\"\n    },\n    \"updatedAt\": \"2024-04-05T12:26:39.568381262Z\",\n    \"version\": 2\n}"}],"_postman_id":"e61ac7ef-733b-4103-919f-653db54fd433"},{"name":"Create Flow","id":"9a70dc86-30b2-4064-9cb9-e146ea5b7eb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId)\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","dpas"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f4d72aa9-9483-4d10-8b64-9a27616f04ae","name":"OK","originalRequest":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId)\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:29:32 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"1309"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"client\": {\n        \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\",\n        \"email\": \"something@something.com\",\n        \"externalId\": \"the_id_of_this_client_in_my_system\",\n        \"legalName\": \"PRUEBA4\",\n        \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\"\n    },\n    \"createdAt\": \"2024-04-05T12:29:32.385Z\",\n    \"flowId\": \"8cdafd97-7734-42ea-b043-7dc00f9f2955\",\n    \"referenceId\": \"\",\n    \"schedule\": [\n        {\n            \"dueDate\": \"2024-05-16\",\n            \"number\": 1,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"interest\": {\n                    \"amount\": \"4.92\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"principal\": {\n                    \"amount\": \"48.55\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"1.03\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.50\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        },\n        {\n            \"dueDate\": \"2024-05-31\",\n            \"number\": 2,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"interest\": {\n                    \"amount\": \"2.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"principal\": {\n                    \"amount\": \"51.45\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"0.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.51\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        }\n    ],\n    \"status\": \"pending\",\n    \"tenant\": \"cpg\",\n    \"terms\": {\n        \"amortizationType\": \"equal_total\",\n        \"disbursementDate\": \"2024-05-01\",\n        \"installments\": 2,\n        \"interestRate\": {\n            \"period\": 360,\n            \"rate\": \"118\"\n        },\n        \"interestTax\": 21,\n        \"principal\": {\n            \"amount\": \"100.00\",\n            \"currency\": \"MXN\"\n        },\n        \"repayEvery\": 15,\n        \"timezone\": \"America/Mexico_City\"\n    },\n    \"updatedAt\": \"2024-04-05T12:29:32.385Z\",\n    \"version\": 2\n}"}],"_postman_id":"9a70dc86-30b2-4064-9cb9-e146ea5b7eb1"},{"name":"Approve Flow","id":"83385485-1fd2-434b-81ca-0159831e74ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\",\n    \"referenceId\": \"an_internal_reference_for_this_loan\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas/:flowId/approval","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","dpas",":flowId","approval"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Obtained from the <code>Create</code> endpoint</p>\n","type":"text/plain"},"type":"any","value":"8cdafd97-7734-42ea-b043-7dc00f9f2955","key":"flowId"}]}},"response":[{"id":"e92744c4-4cd8-4711-a44d-75468770c5e2","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\",\n    \"referenceId\": \"an_internal_reference_for_this_loan\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v1/dpas/:flowId/approval","host":["{{baseUrl}}"],"path":["v1","dpas",":flowId","approval"],"variable":[{"key":"flowId","value":"8cdafd97-7734-42ea-b043-7dc00f9f2955","description":"Obtained from the `Create` endpoint"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:32:58 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"1344"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"client\": {\n        \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\",\n        \"email\": \"something@something.com\",\n        \"externalId\": \"the_id_of_this_client_in_my_system\",\n        \"legalName\": \"PRUEBA4\",\n        \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\"\n    },\n    \"createdAt\": \"2024-04-05T12:29:32.385Z\",\n    \"flowId\": \"8cdafd97-7734-42ea-b043-7dc00f9f2955\",\n    \"referenceId\": \"an_internal_reference_for_this_loan\",\n    \"schedule\": [\n        {\n            \"dueDate\": \"2024-05-16\",\n            \"number\": 1,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"interest\": {\n                    \"amount\": \"4.92\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"principal\": {\n                    \"amount\": \"48.55\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"1.03\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.50\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        },\n        {\n            \"dueDate\": \"2024-05-31\",\n            \"number\": 2,\n            \"originalAmounts\": {\n                \"fees\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"interest\": {\n                    \"amount\": \"2.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"penalties\": {\n                    \"amount\": \"0\",\n                    \"currency\": \"\"\n                },\n                \"principal\": {\n                    \"amount\": \"51.45\",\n                    \"currency\": \"MXN\"\n                },\n                \"taxes\": {\n                    \"amount\": \"0.53\",\n                    \"currency\": \"MXN\"\n                },\n                \"total\": {\n                    \"amount\": \"54.51\",\n                    \"currency\": \"MXN\"\n                }\n            }\n        }\n    ],\n    \"status\": \"approved\",\n    \"tenant\": \"cpg\",\n    \"terms\": {\n        \"amortizationType\": \"equal_total\",\n        \"disbursementDate\": \"2024-05-01\",\n        \"installments\": 2,\n        \"interestRate\": {\n            \"period\": 360,\n            \"rate\": \"118\"\n        },\n        \"interestTax\": 21,\n        \"principal\": {\n            \"amount\": \"100.00\",\n            \"currency\": \"MXN\"\n        },\n        \"repayEvery\": 15,\n        \"timezone\": \"America/Mexico_City\"\n    },\n    \"updatedAt\": \"2024-04-05T12:32:58.71Z\",\n    \"version\": 5\n}"}],"_postman_id":"83385485-1fd2-434b-81ca-0159831e74ec"},{"name":"Cancel Flow","id":"fd8588e8-eda3-4f7b-9ad2-ff9f93d4ce14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas/:flowId/cancellation","description":"<p>Cancel a flow if there are no debts associated. This will release the client's credit line.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","dpas",":flowId","cancellation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Obtained from the <code>Create</code> endpoint</p>\n","type":"text/plain"},"type":"any","value":"8cdafd97-7734-42ea-b043-7dc00f9f2955","key":"flowId"}]}},"response":[],"_postman_id":"fd8588e8-eda3-4f7b-9ad2-ff9f93d4ce14"},{"name":"Invoice","id":"2f0a668c-2c4b-43a1-bbe9-d57adda0cd19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"referenceId\": \"invoice_number_001\",\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"invoiceDate\": \"2024-01-01\",\n    \"notes\": \"my invoice\",\n    \"installments\": [\n        {\n            \"dueDate\": \"2024-04-16\",\n            \"number\": 1,\n            \"interest\": {\n                \"amount\": \"4.92\",\n                \"currency\": \"MXN\"\n            },\n            \"amount\": {\n                \"amount\": \"48.55\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"1.03\",\n                \"currency\": \"MXN\"\n            }\n        },\n        {\n            \"dueDate\": \"2024-05-01\",\n            \"number\": 2,\n            \"interest\": {\n                \"amount\": \"2.53\",\n                \"currency\": \"MXN\"\n            },\n            \"amount\": {\n                \"amount\": \"51.45\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"0.53\",\n                \"currency\": \"MXN\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/dpas/:flowId/invoices","description":"<p>Submit \"invoices\" to a flow in order to create associated debts.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","dpas",":flowId","invoices"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Obtained from the <code>Create</code> endpoint</p>\n","type":"text/plain"},"type":"any","value":"8cdafd97-7734-42ea-b043-7dc00f9f2955","key":"flowId"}]}},"response":[{"id":"606649f0-f381-49fa-a0a7-ba4d6ce282c3","name":"OK","originalRequest":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"referenceId\": \"invoice_number_001\",\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // AltScore's clientId\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"invoiceDate\": \"2024-01-01\",\n    \"notes\": \"my invoice\",\n    \"installments\": [\n        {\n            \"dueDate\": \"2024-04-16\",\n            \"number\": 1,\n            \"interest\": {\n                \"amount\": \"4.92\",\n                \"currency\": \"MXN\"\n            },\n            \"amount\": {\n                \"amount\": \"48.55\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"1.03\",\n                \"currency\": \"MXN\"\n            }\n        },\n        {\n            \"dueDate\": \"2024-05-01\",\n            \"number\": 2,\n            \"interest\": {\n                \"amount\": \"2.53\",\n                \"currency\": \"MXN\"\n            },\n            \"amount\": {\n                \"amount\": \"51.45\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"0.53\",\n                \"currency\": \"MXN\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v1/dpas/:flowId/invoices","host":["{{baseUrl}}"],"path":["v1","dpas",":flowId","invoices"],"variable":[{"key":"flowId","value":"8cdafd97-7734-42ea-b043-7dc00f9f2955","description":"Obtained from the `Create` endpoint"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:40:13 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"510"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"amount\": {\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"debtId\": \"d10657f6-338c-45e3-ae05-126a11557b01\",\n    \"installments\": [\n        {\n            \"amount\": {\n                \"amount\": \"48.55\",\n                \"currency\": \"MXN\"\n            },\n            \"dueDate\": \"2024-04-16\",\n            \"interest\": {\n                \"amount\": \"4.92\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"1.03\",\n                \"currency\": \"MXN\"\n            }\n        },\n        {\n            \"amount\": {\n                \"amount\": \"51.45\",\n                \"currency\": \"MXN\"\n            },\n            \"dueDate\": \"2024-05-01\",\n            \"interest\": {\n                \"amount\": \"2.53\",\n                \"currency\": \"MXN\"\n            },\n            \"tax\": {\n                \"amount\": \"0.53\",\n                \"currency\": \"MXN\"\n            }\n        }\n    ],\n    \"invoiceDate\": \"2024-01-01\",\n    \"notes\": \"my invoice\",\n    \"referenceId\": \"invoice_number_001\"\n}"}],"_postman_id":"2f0a668c-2c4b-43a1-bbe9-d57adda0cd19"}],"id":"b75a0d2f-98f2-4c5a-a97e-ea9ee313f72a","description":"<p>Manage \"Deferred Payment Agreements' Flows</p>\n","_postman_id":"b75a0d2f-98f2-4c5a-a97e-ea9ee313f72a","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Debts","item":[{"name":"Read","id":"a6f3d003-a6d3-4fa7-8477-d3834abf3db1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The partner's ID</p>\n"}],"url":"{{baseUrl}}/v1/debts/:debtId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","debts",":debtId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>ID of the debt to get</p>\n","type":"text/plain"},"type":"any","value":"","key":"debtId"}]}},"response":[],"_postman_id":"a6f3d003-a6d3-4fa7-8477-d3834abf3db1"},{"name":"Find","id":"ac5ab331-27d0-40e2-9e8c-24402b79a2fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The partner's ID</p>\n"}],"url":"{{baseUrl}}/v1/debts","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","debts"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"<p>the clientId of the client to query debts from</p>\n","type":"text/plain"},"key":"client-id","value":null},{"disabled":true,"description":{"content":"<p>offset - pagination helper</p>\n","type":"text/plain"},"key":"offset","value":null},{"disabled":true,"description":{"content":"<p>limit - pagination helper</p>\n","type":"text/plain"},"key":"limit","value":null}],"variable":[]}},"response":[],"_postman_id":"ac5ab331-27d0-40e2-9e8c-24402b79a2fe"},{"name":"Create","id":"6743f671-6b86-46c7-8487-4325536de7cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The partner's ID</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"flowId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\", // flowId of the debt\n    \"amount\": {  // Optional - use only if different form the flow\n        \"amount\": \"100.00\",\n        \"currency\": \"MXN\"\n    },\n    \"disbursementDate\": \"2024-05-01\" // Optional - use only if different from the flow\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/debts","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","debts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6743f671-6b86-46c7-8487-4325536de7cf"}],"id":"0938408b-1593-46b6-82d6-5ce57dac43ce","_postman_id":"0938408b-1593-46b6-82d6-5ce57dac43ce","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Payments","item":[{"name":"Accounts","item":[{"name":"References","item":[{"name":"Find","id":"59a005b9-4508-4e5c-ad76-eeb80ddc3907","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payments/accounts/:clientId/references","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payments","accounts",":clientId","references"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"provider","value":null}],"variable":[{"type":"any","value":"","key":"clientId"}]}},"response":[],"_postman_id":"59a005b9-4508-4e5c-ad76-eeb80ddc3907"},{"name":"Create","id":"54d5b0a9-3448-4013-b78a-8a685ab540fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"provider\": \"stp\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/accounts/:clientId/references","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payments","accounts",":clientId","references"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"","key":"clientId"}]}},"response":[],"_postman_id":"54d5b0a9-3448-4013-b78a-8a685ab540fd"}],"id":"634394ef-4c44-492c-9a33-8e7eb0b72fea","_postman_id":"634394ef-4c44-492c-9a33-8e7eb0b72fea","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Read","id":"efd91b7d-9f86-4536-8a22-3326c30cf4ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payments/accounts/:clientId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payments","accounts",":clientId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"","key":"clientId"}]}},"response":[],"_postman_id":"efd91b7d-9f86-4536-8a22-3326c30cf4ea"},{"name":"Create","id":"1692d1b4-3da1-4f6c-b7f5-bcee293724cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partnerId\":\"1c57aa03-9696-4c99-8eb3-956b23557d35\",\n    \"clientId\":\"PAYMENT-TEST\",\n    \"autoCreateReferences\":true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/accounts","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payments","accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1692d1b4-3da1-4f6c-b7f5-bcee293724cd"}],"id":"ad8e18e6-4b7b-4dc9-80a5-9d8d34093b73","_postman_id":"ad8e18e6-4b7b-4dc9-80a5-9d8d34093b73","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Get","id":"7c939a44-4adb-410f-966b-8ba1ae36e8cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payments","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payments"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"client-id","value":null}],"variable":[]}},"response":[],"_postman_id":"7c939a44-4adb-410f-966b-8ba1ae36e8cb"}],"id":"4723d376-a9d3-4821-b9e6-d0c1f2ed2aca","_postman_id":"4723d376-a9d3-4821-b9e6-d0c1f2ed2aca","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"Payment Orders","item":[{"name":"Find","id":"6a4a0a1e-f587-4a48-b9d8-e899f51e04dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payment-orders?status=success&offset=0&limit=10","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v1","payment-orders"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"key":"referenceNum","value":""},{"disabled":true,"key":"trackingKey","value":""},{"key":"status","value":"success"},{"key":"offset","value":"0"},{"key":"limit","value":"10"},{"disabled":true,"key":"sortBy","value":"disbursementDate"}],"variable":[]}},"response":[],"_postman_id":"6a4a0a1e-f587-4a48-b9d8-e899f51e04dc"}],"id":"950620aa-ed3c-41ff-bbbd-2cd0817c7afd","_postman_id":"950620aa-ed3c-41ff-bbbd-2cd0817c7afd","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}}],"id":"809cccf7-51cc-403f-b7af-c14d78e4d2ff","_postman_id":"809cccf7-51cc-403f-b7af-c14d78e4d2ff","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}},{"name":"v2","item":[{"name":"Clients","item":[{"name":"Create","id":"c07e56d3-b5cc-478a-ad47-4ab407b21ed4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The <code>partnerId</code> from which you wish to query credit resources. </p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalId\": \"the_id_of_this_client_in_my_system\",\n    \"legalName\": \"PRUEBA4\",\n    \"taxId\": \"PRUEBA4\", //This must be unique within the Partner\n    \"dba\": \"PRUEBA4\",\n    \"address\": \"Dirección de prueba\",\n    \"emailAddress\": \"something@something.com\",\n    \"phoneNumber\": \"N/A\",\n    \"partnerId\": \"{{my_partnerId}}\" //The ID of the Partner to be linked to this Client\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v2/clients","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v2","clients"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2979e599-75cc-4fed-94d9-51571921c684","name":"OK","originalRequest":{"method":"POST","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalId\": \"the_id_of_this_client_in_my_system\",\n    \"legalName\": \"PRUEBA4\",\n    \"taxId\": \"PRUEBA4\", //This must be unique within the Partner\n    \"dba\": \"PRUEBA4\",\n    \"address\": \"Dirección de prueba\",\n    \"emailAddress\": \"something@something.com\",\n    \"phoneNumber\": \"N/A\",\n    \"partnerId\": \"{{my_partnerId}}\" //The ID of the Partner to be linked to this Client\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v2/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:14:28 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": \"Dirección de prueba\",\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\",\n    \"createdAt\": \"2024-04-05T12:14:28.325Z\",\n    \"dba\": \"PRUEBA4\",\n    \"emailAddress\": \"something@something.com\",\n    \"externalId\": \"the_id_of_this_client_in_my_system\",\n    \"isEmailVerified\": false,\n    \"isPhoneVerified\": false,\n    \"legalName\": \"PRUEBA4\",\n    \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\",\n    \"phoneNumber\": \"N/A\",\n    \"status\": \"enabled\",\n    \"taxId\": \"PRUEBA4\",\n    \"tenant\": \"cpg\",\n    \"updatedAt\": \"2024-04-05T12:14:28.325Z\",\n    \"version\": 1\n}"}],"_postman_id":"c07e56d3-b5cc-478a-ad47-4ab407b21ed4"},{"name":"Read","id":"555675ac-b70a-4c8d-9b72-6c7fa68347c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The <code>partnerId</code> from which you wish to query credit resources. </p>\n","type":"text"}],"url":"{{baseUrl}}/v2/clients/:clientId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v2","clients",":clientId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Client system Identification, it can be the <code>externalId</code> from your system or the <code>clientId</code> from AltScore</p>\n","type":"text/plain"},"type":"any","value":"001","key":"clientId"}]}},"response":[{"id":"c87d0b44-de8c-40e0-bdea-3eb26adde220","name":"Not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v2/clients/:clientId","host":["{{baseUrl}}"],"path":["v2","clients",":clientId"],"variable":[{"key":"clientId","value":"000","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 11:54:44 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"64"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"not_found\",\n        \"message\": \"client 000 not found\"\n    }\n}"},{"id":"11f36528-0a07-4a62-b6ca-c8729d6c64b0","name":"OK","originalRequest":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"The `partnerId` from which you wish to query credit resources. ","type":"text"}],"url":{"raw":"{{baseUrl}}/v2/clients/:clientId","host":["{{baseUrl}}"],"path":["v2","clients",":clientId"],"variable":[{"key":"clientId","value":"001","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:00:16 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"434"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": \"Dirección de Prueba\",\n    \"clientId\": \"75131566-4a8a-426c-8c1c-890d08943630\",\n    \"createdAt\": \"2024-03-27T16:28:12.502Z\",\n    \"dba\": \"PRUEBA1\",\n    \"emailAddress\": \"N/A\",\n    \"externalId\": \"001\",\n    \"isEmailVerified\": false,\n    \"isPhoneVerified\": false,\n    \"legalName\": \"PRUEBA1\",\n    \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\",\n    \"phoneNumber\": \"N/A\",\n    \"status\": \"disabled\",\n    \"taxId\": \"PRUEBA1\",\n    \"tenant\": \"cpg\",\n    \"updatedAt\": \"2024-03-27T16:28:12.502Z\",\n    \"version\": 1\n}"}],"_postman_id":"555675ac-b70a-4c8d-9b72-6c7fa68347c9"},{"name":"Update Status","id":"f83307f2-8b2f-4e88-bb34-b09bf2b6ca20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The <code>partnerId</code> from which you wish to query credit resources. </p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"disabled\" // can be \"enabled\" or \"disabled\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v2/clients/:clientId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v2","clients",":clientId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"86932977-b780-4e28-b4f7-95af3bef529b","description":{"content":"<p>Client system Identification, it can be the <code>externalId</code> from your system or the <code>clientId</code> from AltScore</p>\n","type":"text/plain"},"type":"any","value":"001","key":"clientId"}]}},"response":[{"id":"28f7804e-d733-4502-927c-16e2b9a782ce","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"The `partnerId` from which you wish to query credit resources. ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"disabled\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v2/clients/:clientId","host":["{{baseUrl}}"],"path":["v2","clients",":clientId"],"variable":[{"id":"86932977-b780-4e28-b4f7-95af3bef529b","key":"clientId","value":"001","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:19:49 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"434"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": \"Dirección de Prueba\",\n    \"clientId\": \"75131566-4a8a-426c-8c1c-890d08943630\",\n    \"createdAt\": \"2024-03-27T16:28:12.502Z\",\n    \"dba\": \"PRUEBA1\",\n    \"emailAddress\": \"N/A\",\n    \"externalId\": \"001\",\n    \"isEmailVerified\": false,\n    \"isPhoneVerified\": false,\n    \"legalName\": \"PRUEBA1\",\n    \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\",\n    \"phoneNumber\": \"N/A\",\n    \"status\": \"disabled\",\n    \"taxId\": \"PRUEBA1\",\n    \"tenant\": \"cpg\",\n    \"updatedAt\": \"2024-03-27T16:28:12.502Z\",\n    \"version\": 1\n}"}],"_postman_id":"f83307f2-8b2f-4e88-bb34-b09bf2b6ca20"},{"name":"Read Credit Account","id":"c9c2d221-2990-42b7-b682-5758f41689c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The <code>partnerId</code> from which you wish to query credit resources. </p>\n","type":"text"}],"url":"{{baseUrl}}/v2/clients/:clientId/credit-accounts/dpa","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v2","clients",":clientId","credit-accounts","dpa"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Client system Identification, it can be the <code>externalId</code> from your system or the <code>clientId</code> from AltScore</p>\n","type":"text/plain"},"type":"any","value":"000","key":"clientId"}]}},"response":[{"id":"c4e54a2c-e82e-4c9e-8520-29d8bea40826","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"The `partnerId` from which you wish to query credit resources. ","type":"text"}],"url":{"raw":"{{baseUrl}}/v2/clients/:clientId/credit-accounts/dpa","host":["{{baseUrl}}"],"path":["v2","clients",":clientId","credit-accounts","dpa"],"variable":[{"key":"clientId","value":"000","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:03:37 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"not-found\",\n        \"message\": \"not found for: client: externalId: 000\"\n    }\n}"},{"id":"e836e24a-681a-4ef2-bf56-7e338d5f9c1e","name":"OK","originalRequest":{"method":"GET","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"The `partnerId` from which you wish to query credit resources. ","type":"text"}],"url":{"raw":"{{baseUrl}}/v2/clients/:clientId/credit-accounts/dpa","host":["{{baseUrl}}"],"path":["v2","clients",":clientId","credit-accounts","dpa"],"variable":[{"id":"dec1eeb9-f713-40ab-8084-b2648ba4b0ba","key":"clientId","value":"001","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:02:45 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"473"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"75131566-4a8a-426c-8c1c-890d08943630\",\n    \"createdAt\": \"2024-03-27T16:28:27.599Z\",\n    \"creditLine\": {\n        \"assigned\": {\n            \"amount\": \"10000.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$10,000.00\"\n        },\n        \"available\": {\n            \"amount\": \"10000.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$10,000.00\"\n        },\n        \"consumed\": {\n            \"amount\": \"0.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$0.00\"\n        }\n    },\n    \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\",\n    \"productFamily\": \"dpa\",\n    \"status\": \"disabled\",\n    \"tenant\": \"cpg\",\n    \"updatedAt\": \"2024-03-27T16:28:27.599Z\"\n}"}],"_postman_id":"c9c2d221-2990-42b7-b682-5758f41689c6"},{"name":"Update Credit Account","id":"6badb41a-9fbe-4edf-969d-e93b18cf07fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"<p>The <code>partnerId</code> from which you wish to query credit resources. </p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"assigned\": {\n        \"amount\": \"500.00\",\n        \"currency\": \"MXN\"\n    },\n    \"reason\": \"Test\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v2/clients/:clientId/credit-accounts/dpa","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}},"urlObject":{"path":["v2","clients",":clientId","credit-accounts","dpa"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Client system Identification, it can be the <code>externalId</code> from your system or the <code>clientId</code> from AltScore</p>\n","type":"text/plain"},"type":"any","value":"the_id_of_this_client_in_my_system","key":"clientId"}]}},"response":[{"id":"2e95c15d-41bc-4b73-bcba-5c39d36a806b","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"X-Partner-ID","value":"{{my_partnerId}}","description":"The `partnerId` from which you wish to query credit resources. ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"assigned\": {\n        \"amount\": \"500.00\",\n        \"currency\": \"MXN\"\n    },\n    \"reason\": \"Test\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v2/clients/:clientId/credit-accounts/dpa","host":["{{baseUrl}}"],"path":["v2","clients",":clientId","credit-accounts","dpa"],"variable":[{"key":"clientId","value":"the_id_of_this_client_in_my_system","description":"Client system Identification, it can be the `externalId` from your system or the `clientId` from AltScore"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Apr 2024 12:17:24 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"462"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"6acb6936-28b5-43c7-94d5-2207b21308b1\",\n    \"createdAt\": \"2024-04-05T12:17:23.924Z\",\n    \"creditLine\": {\n        \"assigned\": {\n            \"amount\": \"500.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$500.00\"\n        },\n        \"available\": {\n            \"amount\": \"500.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$500.00\"\n        },\n        \"consumed\": {\n            \"amount\": \"0.00\",\n            \"currency\": \"MXN\",\n            \"display\": \"$0.00\"\n        }\n    },\n    \"partnerId\": \"edccbe9d-71e7-4112-9d2f-c0e39dc41749\",\n    \"productFamily\": \"dpa\",\n    \"status\": \"enabled\",\n    \"tenant\": \"cpg\",\n    \"updatedAt\": \"2024-04-05T12:17:23.924Z\"\n}"}],"_postman_id":"6badb41a-9fbe-4edf-969d-e93b18cf07fe"}],"id":"17be1d44-d611-4287-be23-be3e8c8eea08","_postman_id":"17be1d44-d611-4287-be23-be3e8c8eea08","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}}],"id":"2222a982-cc12-4751-a15a-3c032861c483","_postman_id":"2222a982-cc12-4751-a15a-3c032861c483","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","name":"Embedded Credit API (CMS)","type":"folder"}}}],"id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ee98d0db-a2e7-4c9b-ae23-e53c4204b0c1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8a756458-8577-4324-a26b-8b9f33d20f58","type":"text/javascript","exec":[""]}}],"_postman_id":"9a23b23d-b877-4120-ae4f-ee0d793829a6","description":""},{"name":"AltData™","item":[{"name":"Requests","item":[{"name":"Sync","id":"18c77bdb-f19d-4b1f-a18a-6cf3027794bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"personId\": \"09XXXXXXX1\",\n    \"name\": \"A COMPLETE NAME\",\n    \"countryCode\": \"ECU\",\n    \"timeout\": 60,\n    \"sourcesConfig\": [\n        {\n            \"sourceId\": \"INT-PUB-0002\",\n            \"version\": \"v1\"\n        },\n        {\n            \"sourceId\": \"ECU-PUB-0038\",\n            \"version\":\"v1\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlData}}/v1/requests/sync","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","requests","sync"],"host":["{{baseUrlData}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18c77bdb-f19d-4b1f-a18a-6cf3027794bb"},{"name":"Async","id":"fffc2202-1eeb-4ba8-9254-dd577a118427","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"taxId\": \"XXXXXXX\",\n    \"legalName\": \"YYYYYYY\",\n    \"address\": {\n        \"street1\": \"Tlaxcala 160, Hipódromo, Cuauhtémoc, 06100 Ciudad de México, CDMX, Mexico\"\n    },\n    \"sourcesConfig\": [\n        {\n            \"sourceId\": \"INT-GEO-0033\",\n            \"version\": \"v1\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlData}}/v1/requests/async","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","requests","async"],"host":["{{baseUrlData}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fffc2202-1eeb-4ba8-9254-dd577a118427"},{"name":"Retry","id":"10a609a3-0aec-42c5-aafa-a23062c18753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseUrlData}}/v1/requests/:requestId/retry","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","requests",":requestId","retry"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"d4193997-8e24-44dd-b718-08b46aeb2a58","type":"any","value":"ccbbbbac-cd74-4e3a-90ee-338937d552bf","key":"requestId"}]}},"response":[],"_postman_id":"10a609a3-0aec-42c5-aafa-a23062c18753"},{"name":"Get request","id":"fc427dcb-ed8a-4fa8-aa0f-ea72e1d1684a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlData}}/v1/requests/:requestId","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","requests",":requestId"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"0333777e-bf54-40fa-968a-86c16d41fb91","type":"any","value":"a87a995d-9142-4e65-b33e-0c772cddb559","key":"requestId"}]}},"response":[],"_postman_id":"fc427dcb-ed8a-4fa8-aa0f-ea72e1d1684a"},{"name":"Status","id":"9371b83b-f8f7-4f2d-bae3-d4cbf313e13f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlData}}/v1/requests/:requestId/status","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","requests",":requestId","status"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"d62cf3ee-733a-4fed-9d7e-6124fa9ab6a1","type":"any","value":"a87a995d-9142-4e65-b33e-0c772cddb559","key":"requestId"}]}},"response":[],"_postman_id":"9371b83b-f8f7-4f2d-bae3-d4cbf313e13f"}],"id":"70893bc7-db61-4af9-87aa-ed82c6ea109e","_postman_id":"70893bc7-db61-4af9-87aa-ed82c6ea109e","description":"","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}}},{"name":"Batches","item":[{"name":"Batch Request","id":"bb74e9ea-44e4-4be1-b40d-669fb8d7419b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"label\": \"test\",\n    \"requests\": [\n        {\n            \"personId\": \"0XXXXXXXXX9\",\n            \"address\": {\n                \"street1\": \"6 de diciembre y Portugal, Quito, EC\"\n            }\n        },\n        {\n            \"personId\": \"0XXXXXXXXX7\"\n        },\n        {\n            \"personId\": \"0XXXXXXXXX8\"\n        }\n    ],\n    \"sourcesConfig\": [\n        {\n            \"sourceId\": \"ECU-PUB-0002\",\n            \"version\": \"v1\"\n        },\n        {\n            \"sourceId\": \"INT-GEO-0033\",\n            \"version\": \"v1\"\n        },\n        {\n            \"sourceId\": \"ECU-PUB-0023\",\n            \"version\": \"v1\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrlData}}/v1/batches","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","batches"],"host":["{{baseUrlData}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb74e9ea-44e4-4be1-b40d-669fb8d7419b"},{"name":"Retry Batch","id":"90f87a0d-d3be-480c-9ece-eab5a620c236","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseUrlData}}/v1/batches/:batchId/retry","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","batches",":batchId","retry"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"c3667c49-09a7-4404-a60d-9b0f1ca37253","type":"any","value":"50f2e28b-d252-4fba-a8fd-0bc33d0569b8","key":"batchId"}]}},"response":[],"_postman_id":"90f87a0d-d3be-480c-9ece-eab5a620c236"},{"name":"Export Batch","id":"9c17a2ca-abb0-491d-84ad-99710a9a8228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseUrlData}}/v1/batches/:batchId/export","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","batches",":batchId","export"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"648a2b36-1f86-45d0-9381-e264c1bef275","type":"any","value":"4f715242-0a6a-4a9f-ad14-e33f0c8a6308","key":"batchId"}]}},"response":[],"_postman_id":"9c17a2ca-abb0-491d-84ad-99710a9a8228"},{"name":"Batch Status","id":"c27c2e87-cb4d-4c2b-b881-e129e3bce45e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlData}}/v1/batches/:batchId/status","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}},"urlObject":{"path":["v1","batches",":batchId","status"],"host":["{{baseUrlData}}"],"query":[],"variable":[{"id":"754a5ea2-bfb4-42cb-a5a0-14b0829871ea","type":"any","value":"9d54586c-0267-4325-a5b3-3ec9d5691d92","key":"batchId"}]}},"response":[],"_postman_id":"c27c2e87-cb4d-4c2b-b881-e129e3bce45e"}],"id":"b2100c8a-b0d5-4eac-83d2-5f3276a08905","_postman_id":"b2100c8a-b0d5-4eac-83d2-5f3276a08905","description":"","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","name":"AltData™","type":"folder"}}}],"id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0","description":"<p>AltData™ is a single endpoint API to enrich individual’s and businesses’ data executing queries with different keys.</p>\n<h2 id=\"calling-data-sources\">Calling data sources</h2>\n<p>Review each source documentation, visiting <a href=\"https://app.altscore.ai/docs\">here</a>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{auth_token}}","key":"<key>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"5f0f319b-7390-43eb-ad84-471a15968ef3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"edd235ab-b223-4b6f-b310-43393f5f5026","type":"text/javascript","exec":[""]}}],"_postman_id":"d01c7a1d-d8bb-42d3-bacd-a464f13497a0"},{"name":"Webhooks","item":[{"name":"Events","item":[{"name":"List","id":"a791f25d-419b-4b23-9752-ea5451d410a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/webhooks/events","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}},"urlObject":{"path":["v1","webhooks","events"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a791f25d-419b-4b23-9752-ea5451d410a6"}],"id":"6432f393-ec17-41ea-ae2f-ede3b0194c42","_postman_id":"6432f393-ec17-41ea-ae2f-ede3b0194c42","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}}},{"name":"List","id":"4ea0cb11-8ea5-46f6-8366-a71aad53343c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/webhooks/:partnerId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}},"urlObject":{"path":["v1","webhooks",":partnerId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"dff66815-5b16-4fed-a559-d320291c6e22","key":"partnerId"}]}},"response":[],"_postman_id":"4ea0cb11-8ea5-46f6-8366-a71aad53343c"},{"name":"Read","id":"2778dccb-46b2-4ec5-9e75-dd52073b9020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/webhooks/:partnerId/:webhookId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}},"urlObject":{"path":["v1","webhooks",":partnerId",":webhookId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"dff66815-5b16-4fed-a559-d320291c6e22","key":"partnerId"},{"type":"any","value":"7566ec26-d44e-4b06-a3e1-273f4a9379ce","key":"webhookId"}]}},"response":[],"_postman_id":"2778dccb-46b2-4ec5-9e75-dd52073b9020"},{"name":"Create","id":"c18adc54-734b-4548-b01e-7bfb4cd68f93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"events\": [\n    \"debt.overdue\"\n  ],\n  \"name\": \"ACME2\",\n  \"skipCertVerification\": false,\n  \"url\": \"https://webhook.site/1f4fdeb8-9669-4066-9ff7-427499296369\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/webhooks/:partnerId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}},"urlObject":{"path":["v1","webhooks",":partnerId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"dff66815-5b16-4fed-a559-d320291c6e22","key":"partnerId"}]}},"response":[],"_postman_id":"c18adc54-734b-4548-b01e-7bfb4cd68f93"},{"name":"Update","id":"4a5e7173-65f3-4330-a1db-94acf2e88e4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"events\": [\n    \"debt.overdue\",\n      \"debt.due\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/webhooks/:partnerId/:webhookId","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}},"urlObject":{"path":["v1","webhooks",":partnerId",":webhookId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"dff66815-5b16-4fed-a559-d320291c6e22","key":"partnerId"},{"type":"any","value":"7566ec26-d44e-4b06-a3e1-273f4a9379ce","key":"webhookId"}]}},"response":[],"_postman_id":"4a5e7173-65f3-4330-a1db-94acf2e88e4e"}],"id":"b3508e9b-4bad-4c85-adbc-635437710f25","_postman_id":"b3508e9b-4bad-4c85-adbc-635437710f25","description":"","auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"},"isInherited":true,"source":{"_postman_id":"0120b33e-0e52-49f5-be14-245c88245eaa","id":"0120b33e-0e52-49f5-be14-245c88245eaa","name":"AltScore™","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"token":"{{auth_token}}"}},"event":[{"listen":"prerequest","script":{"id":"829a145f-5a36-4e8a-a522-0d827ed5099f","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"7471a834-0e7e-46f5-9cdf-8cd4be64d2da","type":"text/javascript","packages":{},"exec":[""]}}]}