{"info":{"_postman_id":"f1a9bd2a-5fee-40e5-be53-cc6cc1399af2","name":"Lendica iBranch Guide","description":"<html><head></head><body><h2 id=\"installing-the-ibranch\">Installing the iBranch</h2>\n<p>This document provides guidance to install Lendica's iBranch directly into your web applications primarily serving POS dashboards, inventory management software and ERP systems.</p>\n<p>The Lendica iBranch enables your customers to instantly access funding directly from your web application. Once you've installed the iBranch, Lendica funds all deals and handles underwriting, servicing and client support to ensure your customers have the best overall experience.</p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<p>Getting set up in very simple. To begin, include the IIFE bundle directly into the html page(s) you'd like to install the iBranch.</p>\n<p><strong>Include IIFE bundle in index.html</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;script src=\"https://static.golendica.com/itab.js\"&gt;\n</code></pre>\n<h2 id=\"initialization\">Initialization</h2>\n<h5 id=\"api\">API</h5>\n<p>The API will become globally available once the browser fully loads the IIFE bundle. Once this has loaded, the iBranch is ready to initialize.</p>\n<p>To render the iBranch, please pass the following parameters into the init method as seen below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-preserveHtml\">lendica.init({\n    // Required partner and user credentials\n    partner_name: 'Partner', // Technology vendor name\n    company_id: 'COMPANY_ID', // Unique client id in technology vendor's system\n    company_name: 'COMPANY_NAME', // Client's business name\n    company_access_token: 'ACCESS_TOKEN' // Token/key to retrieve client data from vendor's API\n}, {\n    // Optional config\n    access_type: 'ADMIN', // User access type, currently supporting 'VIEW_ONLY' or 'ADMIN'\n    environment: 'SANDBOX' // Default environment is sandbox if not specified, currently supporting 'SANDBOX' or 'PRODUCTION'\n})\n\n</code></pre>\n<h6 id=\"access-type\">Access Type</h6>\n<p>Default configuration is ADMIN which allows the user to Activate both products and fund deals. VIEW_ONLY users will be able to learn more about the product and share with ADMINs.</p>\n<h6 id=\"data-sharing\">Data Sharing</h6>\n<p>Lendica's top priority is customer data privacy and security. Please review our <a href=\"https://home.golendica.com/privacy\">Privacy Policy</a> to learn more.</p>\n<p>Lendica does not access or view any customer data until it receives explicit consent from the customer. Upon receiving customer consent, Lendica will send an email directly to both the customer and partner regarding the sharing of their data. The customer may request Lendica to remove all data using the /optout route provided below.</p>\n<h4 id=\"hiding-ibranch\">Hiding iBranch</h4>\n<p>To allow a customer to hide the iBranch from your web application you may call the destroy method. This will remove all DOM nodes associated with the iBranch and clear memory.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-preserveHtml\">lendica.destroy()\n\n</code></pre>\n<h4 id=\"showing-ibranch-after-hidden\">Showing iBranch after hidden</h4>\n<p>To allow the customer to unhide the iBranch, you may simply call the init function again with the parameters discussed above.</p>\n<p>Call <code>lendica.init</code> with credentials and config again to re-initialize the iBranch</p>\n<h2 id=\"move-to-production\">Move to Production</h2>\n<p>Once the testing is done and you are ready for production, please specify \"PRODUCTION\" in the \"environment\" variable. The iBranch script will automatically call routes in production environment.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17035695","collectionId":"f1a9bd2a-5fee-40e5-be53-cc6cc1399af2","publishedId":"Tzz4SfJC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2e3192"},"publishDate":"2021-08-11T01:46:32.000Z"},"item":[{"name":"Get Buyer Invitation Route","id":"36f9c674-a3bb-4505-a3b2-08c5e85d045b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"company_id","value":"","type":"text"},{"key":"order_id","value":"","type":"text"}]},"url":"https://sandbox.golendica.com/api/v1/pod/terms_url","description":"<p>This route responds with the payment terms URL for a given order to be implemented directly into the invoice sent to buyers.</p>\n","urlObject":{"protocol":"https","path":["api","v1","pod","terms_url"],"host":["sandbox","golendica","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"36f9c674-a3bb-4505-a3b2-08c5e85d045b"},{"name":"Opt-out iBranch","id":"1befddb4-d27b-4e2c-bcfc-9acea20c6dd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"partner_name","value":"","type":"text"},{"key":"company_name","value":"","type":"text"},{"key":"company_id","value":"","type":"text"}]},"url":"https://sandbox.golendica.com/api/v1/pod/optout","description":"<p>This route enables client to opt out from Lendica iTap application. After this route is called, all collected data associated with the client will be removed.</p>\n","urlObject":{"protocol":"https","path":["api","v1","pod","optout"],"host":["sandbox","golendica","com"],"query":[],"variable":[]}},"response":[{"id":"6cbb7d42-99d9-4086-8f57-13cbcefb5972","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"partner_name","value":"ERPLink","description":"Partner's Name","type":"text"},{"key":"company_id","value":"3125612","description":"Unique identifier for the company in partern's database","type":"text"},{"key":"company_name","value":"Jobin Corp.","description":"Name of the company","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"/optout"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/20.0.4"},{"key":"Date","value":"Thu, 05 Aug 2021 04:04:18 GMT"},{"key":"Vary","value":"Accept, Origin, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1befddb4-d27b-4e2c-bcfc-9acea20c6dd4"}],"event":[{"listen":"prerequest","script":{"id":"cd674c1f-22b4-4e04-8aa6-bac44a9cde27","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6652aabb-fd9f-4470-9de4-f8e1adb9c519","type":"text/javascript","exec":[""]}}]}