{"info":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","description":"<html><head></head><body><p>Welcome to Koverly’s API documentation. Here you will find comprehensive guides and code to get started with Koverly and customize an integration of Koverly’s financing and payments functionality to fit your needs. Let’s get started!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19465330","collectionId":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","publishedId":"2s93eePoV4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-10-29T02:42:24.000Z"},"item":[{"name":"Getting Started","item":[{"name":"API Keys and Authentication","item":[],"id":"98db1910-00e1-40c7-9c51-12837ec3ba50","description":"<h2 id=\"authentication\">Authentication</h2>\n<p>In order to securely access the Koverly API platform security artifacts and JWT token standards are required. We provide:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Key</strong></th>\n<th><strong>API Secret</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>512-bit unique value used as an authentication public token</td>\n<td>1024-bit unique, cryptographically strongkey that is used as a secret token.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"jwt-bearer-authentication\">JWT Bearer Authentication</h3>\n<p>JWT Bearer uses construction of the JWT token together with an Authorization http header to gain access to Koverly API functions.</p>\n<p>NodeJS example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\"> const p1 = '{\"alg\":\"HS256\",\"typ\":\"JWT\"}';\n const p2 = '{\"apiKey\":\"api-key\",\"nonce\":1684189441978}';\n const p12 = B64(p1) + '.' + B64(p2);\n const token = p12 + '.' + B64(HMAC256(p12, 'api-secret'))\n\n</code></pre>\n<p>C# Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">using System;\nusing System.Text;\nusing System.Security.Cryptography;\npublic class Program\n{\n    public static void Main()\n    {\n        long milliseconds = DateTimeOffset.Now.ToUnixTimeMilliseconds();\n        string p1 = \"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\";\n        string p2 = \"{\\\"apiKey\\\":\\\"api-key\\\",\\\"nonce\\\":milliseconds.ToString()}\";\n        string p12 = Base64Encode(p1) + \".\" + Base64Encode(p2);\n        string token = p12 + \".\" + Base64UrlEncode(HMACSHA256(p12, \"api-secret\"));\n        Console.WriteLine(token);\n    }\n    public static byte[] HMACSHA256(string data, string key)\n    {\n        byte[] byteKey = Encoding.UTF8.GetBytes(key);\n        using (HMACSHA256 hmac = new HMACSHA256(byteKey))\n        {\n            return hmac.ComputeHash(Encoding.UTF8.GetBytes(data));\n        }\n    }\n    public static string Base64Encode(string plainText)\n    {\n        byte[] plainTextBytes = Encoding.UTF8.GetBytes(plainText);\n        return Convert.ToBase64String(plainTextBytes);\n    }\n    public static string Base64UrlEncode(byte[] data)\n    {\n        string base64 = Convert.ToBase64String(data);\n        return base64.Replace('+', '-').Replace('/', '_').TrimEnd('=');\n    }\n}\n\n</code></pre>\n<p>Java Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-java\">import javax.crypto.Mac;\nimport javax.crypto.spec.SecretKeySpec;\nimport java.util.Base64;\npublic class JWTGenerator {\n    private static final String ALGORITHM = \"HmacSHA256\";\n    private static final String SECRET = \"api-secret\";\n    private static final String KEY = \"api-key\";\n    public static void main(String[] args) {\n        String header = \"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\";\n        String payload = \"{\\\"apiKey\\\":\\\"api-key\\\",\\\"nonce\\\":String.valueOf(System.currentTimeMillis())}\";\n        String encodedHeader = base64Encode(header.getBytes());\n        String encodedPayload = base64Encode(payload.getBytes());\n        String jwt = encodedHeader + \".\" + encodedPayload + \".\" + generateSignature(encodedHeader + \".\" + encodedPayload);\n        System.out.println(\"JWT: \" + jwt);\n    }\n    private static String base64Encode(byte[] data) {\n        return Base64.getUrlEncoder().withoutPadding().encodeToString(data);\n    }\n    private static String generateSignature(String data) {\n        try {\n            Mac signer = Mac.getInstance(ALGORITHM);\n            SecretKeySpec keySpec = new SecretKeySpec(SECRET.getBytes(), ALGORITHM);\n            signer.init(keySpec);\n            byte[] signature = signer.doFinal(data.getBytes());\n            return base64Encode(signature);\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n        return null;\n    }\n}\n\n</code></pre>\n<blockquote>\n<p>nonce in this case is a milisecond percision time stamp. </p>\n</blockquote>\n<p>Once the token has being created, it can be used in http communication with Authorization headers.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>HTTP /../../../ HTTP/1.1\n...\nAuthorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJhcGlLZXkiOiJwYXJ0ZXN0Iiwibm9uY2UiOiIxNjg0Mzc1NzY1MDAwIn0.tDGyhWmWnRJfYDHfPItYRPorzeJT6VW516bwDnBnrds\n\n</code></pre><blockquote>\n<p>The token needs to be created for each call because its quickly times out and needs to be replaced.</p>\n</blockquote>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b629b962-90cd-4c8d-9a7c-72d4cd38f11f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7c695d55-612d-488d-992e-9a47725f90cf","type":"text/javascript","exec":[""]}}],"_postman_id":"98db1910-00e1-40c7-9c51-12837ec3ba50"},{"name":"Search Key Overview","item":[{"name":"New Request","id":"d2f22580-9311-4494-8fad-d5a09f832a2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"84d65310-51fd-4bd6-a99c-c36310de5fa8","id":"84d65310-51fd-4bd6-a99c-c36310de5fa8","name":"Search Key Overview","type":"folder"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d2f22580-9311-4494-8fad-d5a09f832a2e"}],"id":"84d65310-51fd-4bd6-a99c-c36310de5fa8","description":"<p>All major objects in the API are associated with a search component that will allow you to make conditional selections of objects based on described properties.</p>\n<p>For example</p>\n<blockquote>\n<p>{ \"filter\": {&lt;key1&gt;: &lt;expression1&gt;, &lt;key2&gt;: &lt;expression2&gt;, &lt;key3&gt;: &lt;expression3&gt;,....}} </p>\n</blockquote>\n<h2 id=\"operators\">Operators</h2>\n<h3 id=\"or-and-not\">$or, $and, $not</h3>\n<blockquote>\n<p>{ \"filter\": {$or: [ {userId: : '123'}, {userId: '456'} ] } } </p>\n</blockquote>\n<blockquote>\n<p>{ \"filter\": {$and: [ {userId: : '123'}, {userId: '456'} ] }} </p>\n</blockquote>\n<blockquote>\n<p>{ \"filter\": {$not: {userId: : '123'} } } </p>\n</blockquote>\n<h3 id=\"in\">$in</h3>\n<p>Accepts the list of values and sets <code>true</code> if field in value.</p>\n<blockquote>\n<p>{ \"filter\": {field: {$in: [&lt;value&gt;, &lt;value&gt;,...]}}}} </p>\n</blockquote>\n<h3 id=\"like\">$like</h3>\n<blockquote>\n<p>{ \"filter\": {field: {$like: value}}} </p>\n</blockquote>\n<h4 id=\"start-end\">$start, $end</h4>\n<p>This is a range operator that can be used as following:</p>\n<blockquote>\n<p>{ \"filter\": {&lt;field&gt;: {$start: &lt;value1&gt;}}} </p>\n</blockquote>\n<blockquote>\n<p>{ \"filter\": {&lt;field&gt;: {$end: &lt;value2&gt;}}} </p>\n</blockquote>\n<blockquote>\n<p>{ \"filter\": {&lt;field&gt;: {$start: &lt;value1&gt;, $end: &lt;value2&gt;}}}</p>\n</blockquote>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c66d38ae-eed0-4297-85ef-2c6f6b8b29d3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"628ca73b-ad45-4e74-bf49-b14d33009d3e","type":"text/javascript","exec":[""]}}],"_postman_id":"84d65310-51fd-4bd6-a99c-c36310de5fa8"}],"id":"bc552db9-bc91-4379-af54-9d5db2da0fd7","description":"<ul>\n<li>Let's get started! This section provides the basic steps necessary for gaining secure access to the Koverly API and creating a search key so that you can make conditional selections of objects based on descriptions and simplify your code.</li>\n</ul>\n","_postman_id":"bc552db9-bc91-4379-af54-9d5db2da0fd7","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"B2B Financing","item":[{"name":"User Guide - B2B Financing","item":[],"id":"234ce5d1-2633-4957-946d-bc2f1a30fc64","description":"<p>High level B2B financing flow</p>\n<img src=\"https://content.pstmn.io/d734c7ac-b803-44f0-9b90-086a50d818ba/aW1hZ2UucG5n\" width=\"539\" height=\"400\" />\n\n<h3 id=\"step-by-step\">Step-By-Step</h3>\n<h4 id=\"step-1---creating-the-company-and-user\">Step 1 - Creating the company and user</h4>\n<p>Integrator needs to create a company and user entites applying for KoverlyPay credit line.</p>\n<p>To create a Company, use:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location 'https://sand2.koverly.com/platform/v1/company' \\\n--header 'Authorization: Bearer YOUR_JWT_TOKEN' \\\n--data '{\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"100 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n\n</code></pre>\n<p>This will return example response as a Company object.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"company\": {\n    \"companyId\": \"60e63207-0974-46a1-89f4-8a4098053102\",\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n      \"address1\": \"100 main street\",\n      \"address2\": \"\",\n      \"address3\": null,\n      \"town\": null,\n      \"postalCode\": \"02215\",\n      \"countrySubDivision\": \"MA\",\n      \"country\": \"US\",\n      \"formatted\": \"100 main street, MA, US 02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\",\n    \"defaultCurrency\": \"USD\"\n  }\n}\n\n</code></pre>\n<p>The companyId is the unique identifier of your client that you will be retaining for future references and API calls.</p>\n<p>To create a User:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location 'https://sand2.koverly.com/platform/v1/company/60e63207-0974-46a1-89f4-8a4098053102/user' \\\n--data '{\n    \"first_name\": \"Jhon\",\n    \"last_name\" : \"Smith\",\n    \"email\": \"j.smith@gmail.com\",\n    \"role\" : \"ADMIN\",\n    \"active\": true\n}\n'\n\n</code></pre>\n<p>In response, you will get a user object with userId.</p>\n<h4 id=\"step-21---credit-application-via-koverly-platform\">Step 2.1 - Credit Application via Koverly Platform</h4>\n<p>In this step, we will initialize the user with Koverly platform and allow the user to complete a credit application within Koverly.</p>\n<p>To do this, we will call the API to get a sign-up-link:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request GET 'https://sand2.koverly.com/platform//platform/v1/company/60e63207-0974-46a1-89f4-8a4098053102/user/33455gff4334-0974-46a1-89f4-8a409804r4r4/sign-up-url\n\n</code></pre>\n<p>This will return a single-use URL that can be used to initiate signup to the company that was just created.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"url\": \"http:localhost:12341/invite/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbnZpdGUiOnRydWUsImludml0ZXJFbWFpbCI6InBsYXRmb3JtQGtvdmVybHkuY29tIiwiaW52aXRlck5hbWUiOiJVbmtub3duIiwiaW52aXRlckxpbmsiOiJodHRwczovL2Rldi5rb3Zlcmx5LmNvbS9kYXNoYm9hcmQvZThjYTdmOGQtZmZmYS00MTVkLWEwYTAtOWNlZDY1ZTA0MWRhL3NldHRpbmdzL21hbmFnZV91c2VycyIsImludml0ZWRFbWFpbCI6InRlc3QtMTIzNEBrb3Zlcmx5LmNvbSIsImlkIjoiZTFjMTQ2NjMtZmI1YS00ZjRiLTllMGItZmQ0MWEwMjAzYzJlIiwiY29tcGFueUlkIjoiZThjYTdmOGQtZmZmYS00MTVkLWEwYTAtOWNlZDY1ZTA0MWRhIiwiZW1haWxUb2tlbiI6IlJhWW5xN0dRazdZbERWNVAwSkpnIiwiaWF0IjoxNjg1MTAzODc1LCJleHAiOjE2ODUxOTAyNzV9.hVe4IlMKRRsxmTrh0psU1ROsldrZfx0QIW1R21Jtkzg\"\n}\n\n</code></pre>\n<p>User will then go through credit application and credit line approval in the Koverly platform.</p>\n<h4 id=\"step-22---credit-application-via-koverly-widget\">Step 2.2 - Credit Application via Koverly Widget</h4>\n<p>This allows the user to go through the credit application and credit line approval in an embedded widget on your site.</p>\n<p>To do this, we first call the widget application to prepare endpoint with user id</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/{companyId}/credit/application/widget/prepare \\\n--data '{\n  \"userId\": \"{userid}\"\n}'\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3aWRnZXQiOnRydWUsImNvbXBhbnlJZCI6IjkwOTgyOGRmLTRhNDQtNDc5Yy1iNzliLTdiNGJiZWYwNDhjNiIsImNvbnRhY3RJZCI6IjQyY2Q3MGUxLTYwNmMtNDI0ZC05M2VkLTI5MjhjMWU0MWY0YSIsImlkIjoiY2U4ZjE5YTYtZjcwZi00MzgwLTg0ZDMtNDY4NDk2ZTFlNTQ0IiwiYmlsbHMiOlt7ImJpbGxJZCI6IjFmZGVkODU4LTBhMzgtNGZjYi04MjNiLTA3NTE3ZjI5OTAxZSJ9LHsiYmlsbElkIjoiOTk1YTNmMWMtMzliMS00N2MyLWI0MDgtMDQyNGY3NGZjYzQxIn1dLCJpYXQiOjE2OTExNjAyNDAsImV4cCI6MTY5MTE2MDU0MH0.N1kgouJWBAuv2JdX2onq9d4i1rXm3R1nLKL4z5zGsp4\"\n}\n\n</code></pre>\n<p>The following token can subsequently be used to bring up the UI widget that will take the user through initialization steps.</p>\n<p>The token is then passed to the KoverlyApi in Javascript to initialize the embedded widget.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">&lt;html&gt;\n.....\n&lt;script id=\"{widget-id}\" src=\"https://sand2.koverly.com/embedded.js\"&gt;&lt;/script&gt;\n...\nkoverlyAPI.on('KOVERLY_EMBEDDED_CREDIT_APP_CLOSE', (data) =&gt;   {console.log('KOVERLY_EMBEDDED_CHECKOUT_CLOSE', data)});\nkoverlyAPI.initCheckout({ sso_token: \"tokken from call above\" });\n\n</code></pre>\n<h4 id=\"step-23---credit-application-via-koverly-api\">Step 2.3 - Credit Application via Koverly API</h4>\n<p>This option enables you to create a completely white labled solution for credit application and credit line approval via API. It can be also be used to pre-fill elements of the application.</p>\n<p>In order to do this, you will need to call the the application creation API.</p>\n<h4 id=\"step-3---credit-approval\">Step 3 - Credit approval</h4>\n<p>Koverly aims to provide credit approvals in near-real-time. However, since this still takes a few seconds we provide two ways to obtain notification of a completed credit descision.</p>\n<ol>\n<li>WebHook will be fired upon completion of the credit descision.</li>\n<li>A status call can be activated on demand to poll the status of the decision.</li>\n</ol>\n<p>In both cases, the data returned will be the same.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"status\": {\n        \"status\": \"active|inactive|declined|pending\",\n        \"limit\": 22222,\n        \"balance\": 0.0\n    }\n}\n\n</code></pre>\n<h4 id=\"step-4---credit-checkout\">Step 4 - Credit checkout</h4>\n<p>In order to complete checkout using Koverly API or through the Koverly credit checkout widget, the \"Vendor\" company getting paid needs to be created and associated as a \"Vendor\" to an existing company. Following this, one or more bills to be used in the checkout process must also be created.</p>\n<p>The process for the creation of the \"Vendor\" company is the same as any other Company as described in Step 1.</p>\n<h4 id=\"step-4---vendor-association\">Step 4 - Vendor Association</h4>\n<p>Once the vendor company is created we need to associate it to your clients company with the call below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request PUT 'https://sand2.koverly.com/platform/v1/company/45bb5f5b-b0fb-4821-b732-92882bed35fe/vendor/e1bc0e29-0cf7-4589-b123-eeb185aa753d' \\\n--data ''\n\n</code></pre>\n<p>which will return</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"vendor\": {\n    \"contactOwnerId\": \"fda61c9a-3be4-480b-b30a-2f355d593843\",\n    \"companyId\": \"380aee60-696b-4eea-b435-d9c9f23f4bc7\",\n    \"name\": \"Partest2 company 7897897898755\",\n    \"legalName\": null,\n    \"address\": {\n      \"address1\": \"Somehwere 12334\",\n      \"address2\": null,\n      \"address3\": null,\n      \"town\": null,\n      \"postalCode\": null,\n      \"countrySubDivision\": null,\n      \"country\": null,\n      \"formatted\": \"Somehwere 12334\"\n    },\n    \"defaultCurrency\": \"USD\"\n  }\n}\n\n</code></pre>\n<p>Once a vendor is created, one or more bills can be created using the Bill API to prepare for payment.</p>\n<p>To add a bill:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/45bb5f5b-b0fb-4821-b732-92882bed35fe/vendor/{{vendorId we created in prev step}}/bill' \\\n--data '{\n    \"invoiceNumber\": \"123456343\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"createdTime\": \"\"\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"currency\": \"USD\"\n}'\n\n</code></pre>\n<p>In response to this call, we will return created invoice object with the id that can be referenced for future calls.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"bill\": {\n    \"billId\": \"8eca3ea4-3827-4133-bd1a-7588734cc3f1\",\n    \"status\": null,\n    \"invoiceNumber\": \"123456343\",\n    \"account\": \"1234567897897898755\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"7f0c72f3-f2b6-4d95-8e2b-7505a62d8c5f\",\n    \"payerName\": \"Partest2 company 7897897898755\",\n    \"payeeId\": \"686e39f4-acee-45ec-9b22-f17613b5f308\",\n    \"payeeName\": \"Partest1 company 7897897898755\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"isPaid\": false,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paymentIds\": [],\n    \"payeeCanEdit\": true,\n    \"payerCanEdit\": false,\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n  }\n}\n\n</code></pre>\n<h4 id=\"step-41---credit-checkout-with-koverly-api\">Step 4.1 - Credit checkout with Koverly API</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --X POST --location -g 'https://sand2.koverly.com/platform/v1/company/{companyId}/vendor/{vendorId}/credit/loan/reservation \\\n--data '{\n  \"bills\": [\n    {\n      \"billId\": \"74d03b21-0394-4140-bf37-42dad7e7fcf0\"\n    }\n  ],\n  \"collectingMethodId\": \"788625669942507186122198476200016\",\n  \"fundingMethodId\": \"453347897897898755\",\n  \"creditOfferId\": \"25431698\"\n}'\n\n</code></pre>\n<p>It is optional to provide <code>CollectingMethodId</code> and <code>fundingMethodId</code> . If not provided, this will be defaulted to Customer's primary payment information and the Vendor's primary funding information stored in your application.</p>\n<p>In return, a sucessful loan reservation will be generated, locking in an amount for the Customer's credit amount until the reservation is canceled or allocated.</p>\n","_postman_id":"234ce5d1-2633-4957-946d-bc2f1a30fc64","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4a4d9fc7-1922-418c-aad6-dd8a8ad68bff","id":"4a4d9fc7-1922-418c-aad6-dd8a8ad68bff","name":"B2B Financing","type":"folder"}}}],"id":"4a4d9fc7-1922-418c-aad6-dd8a8ad68bff","description":"<p>Koverly’s B2B Financing solution allows you to provide flexible payment options within your existing checkout flow with credit that is underwritten and managed by Koverly.</p>\n<p>Businesses using Koverly’s B2B Financing solution will receive payment within 24 hours of checkout. Koverly assumes all credit risk - underwriting clients, conducting approvals and managing payment collections.</p>\n<p>Depending on your integration needs, Koverly’s B2B Financing solution can be fully embedded into your proprietary checkout, or implemented with lighter integrations.</p>\n<p>Multiple integration options allow you to offer the best user experience for your platform:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Integration Option</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>API with Redirect to Koverly</strong></td>\n<td>Use the API to populate existing connections between companies, customers and users in Koverly for a clean and easy checkout experience on the Koverly platform.</td>\n</tr>\n<tr>\n<td><strong>Embedded UI</strong></td>\n<td>Embed Koverly’s finacing onboarding flow and/or Koverly's checkout widget into your platform for a seamless, branded payment experience without leaving your website.</td>\n</tr>\n<tr>\n<td><strong>API only</strong></td>\n<td>Completely customize the payment experience for your users by fully embedding Koverly’s APIs beneath your own UI.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"api-references\">API References</h3>\n<p>The following Koverly APIs are necessary to implement our B2B Financing solution:</p>\n<ul>\n<li>Company</li>\n<li>User</li>\n<li>Vendor</li>\n<li>Bill</li>\n<li>Embedded Finance</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"dfa41c08-e6cc-4d43-b828-41099a980130","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7d1d68d6-51d4-4539-a59e-4998939c8db6","type":"text/javascript","exec":[""]}}],"_postman_id":"4a4d9fc7-1922-418c-aad6-dd8a8ad68bff"},{"name":"B2B Checkout","item":[{"name":"User Guide - B2B Checkout","item":[],"id":"fbc3fb91-c495-430d-bd01-d1c0f6643ff8","description":"<h2 id=\"overview\">Overview</h2>\n<p>High level integrations steps.</p>\n<img src=\"https://content.pstmn.io/1db47200-69fe-4ded-b5cb-cdd57585f4e1/aW1hZ2UucG5n\" width=\"2010\" height=\"1578\" />\n\n<h2 id=\"step-by-step\">Step-By-Step</h2>\n<p>The first step to integration is onboarding a new client to the payment platform. This a combination of API calls to create a <code>Company</code> object that is populated with initial information; create a <code>User</code> object; and finally to initiate an invitation to the <code>User</code> to join the newly created company.</p>\n<p>Once the user has being invited and goes through login setup process to get access to Koverly platform, the following will appear in your account:</p>\n<img src=\"https://content.pstmn.io/05667fd5-ef29-482a-9528-3f01182eef8c/aW1hZ2UucG5n\" alt=\"Activiation%20Step\" width=\"432\" height=\"307\" />\n\n<p>Once you select to activate the account, you will be guided through the activation process, which includes passing the KYC/Complaince stage to gain access to the fully activated account.</p>\n<img src=\"https://content.pstmn.io/b5df54fb-6922-4ca5-8ce4-c480b56b50df/aW1hZ2UucG5n\" alt=\"Start%20Page\" width=\"418\" height=\"294\" />\n\n<img src=\"https://content.pstmn.io/04a6fb0a-65db-4518-b207-82d75b267487/aW1hZ2UucG5n\" alt=\"Incomce\" width=\"422\" height=\"290\" />\n\n<p>The flow continues until the \"approval pending\" screen</p>\n<p>Once the <code>User</code> and <code>Company</code> have been created and completed onboarding, the API(s) can be used to:</p>\n<ol>\n<li>SSO into the account via secure link without additional log-in</li>\n<li>Create <code>Vendors</code> and `Customers` on behalf of the on-boarded <code>Companies</code></li>\n<li>Add <code>Invoice</code> and <code>Bill</code> to the platform</li>\n<li>Get <code>Payment</code> information via status call or via <code>WebHook</code></li>\n</ol>\n<h2 id=\"example\">Example</h2>\n<p>Sequence Diagram for this example</p>\n<img src=\"https://content.pstmn.io/65a8bbb8-3410-4ba2-858c-87b12574de73/aW1hZ2UucG5n\" width=\"2222\" height=\"1558\" />\n\n<h3 id=\"create-company\">Create Company</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location 'https://sand2.koverly.com/platform/v1/company' \\\n--header 'Authorization: Bearer YOUR_JWT_TOKEN' \\\n--data '{\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"100 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n\n</code></pre>\n<p>Will return example response as a Company object.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"company\": {\n    \"companyId\": \"60e63207-0974-46a1-89f4-8a4098053102\",\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n      \"address1\": \"100 main street\",\n      \"address2\": \"\",\n      \"address3\": null,\n      \"town\": null,\n      \"postalCode\": \"02215\",\n      \"countrySubDivision\": \"MA\",\n      \"country\": \"US\",\n      \"formatted\": \"100 main street, MA, US 02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\",\n    \"defaultCurrency\": \"USD\"\n  }\n}\n\n</code></pre>\n<p>The companyId is the unique identifier of your client that you will be retaining for future references and API calls.</p>\n<h3 id=\"create-user\">Create User</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location 'https://sand2.koverly.com/platform/v1/company/60e63207-0974-46a1-89f4-8a4098053102/user' \\\n--data '{\n    \"first_name\": \"Jhon\",\n    \"last_name\" : \"Smith\",\n    \"email\": \"j.smith@gmail.com\",\n    \"role\" : \"ADMIN\",\n    \"active\": true\n}\n'\n\n</code></pre>\n<p>In response, you will get a user object with userId.</p>\n<p>Once the user is created, you can get a sign-on-url using the following code:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request GET 'https://sand2.koverly.com/platform//platform/v1/company/60e63207-0974-46a1-89f4-8a4098053102/user/33455gff4334-0974-46a1-89f4-8a409804r4r4/sign-up-url\n\n</code></pre>\n<p>This will return a 1-time use URL that can be used to initiate a signup to the company that was just created.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"url\": \"http:localhost:12341/invite/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbnZpdGUiOnRydWUsImludml0ZXJFbWFpbCI6InBsYXRmb3JtQGtvdmVybHkuY29tIiwiaW52aXRlck5hbWUiOiJVbmtub3duIiwiaW52aXRlckxpbmsiOiJodHRwczovL2Rldi5rb3Zlcmx5LmNvbS9kYXNoYm9hcmQvZThjYTdmOGQtZmZmYS00MTVkLWEwYTAtOWNlZDY1ZTA0MWRhL3NldHRpbmdzL21hbmFnZV91c2VycyIsImludml0ZWRFbWFpbCI6InRlc3QtMTIzNEBrb3Zlcmx5LmNvbSIsImlkIjoiZTFjMTQ2NjMtZmI1YS00ZjRiLTllMGItZmQ0MWEwMjAzYzJlIiwiY29tcGFueUlkIjoiZThjYTdmOGQtZmZmYS00MTVkLWEwYTAtOWNlZDY1ZTA0MWRhIiwiZW1haWxUb2tlbiI6IlJhWW5xN0dRazdZbERWNVAwSkpnIiwiaWF0IjoxNjg1MTAzODc1LCJleHAiOjE2ODUxOTAyNzV9.hVe4IlMKRRsxmTrh0psU1ROsldrZfx0QIW1R21Jtkzg\"\n}\n\n</code></pre>\n<p>Once signed up, the activation process described above will take place. When this process has been completed, a fully activated account will be accessible to invited users.</p>\n<h3 id=\"creating-customers\">Creating Customers</h3>\n<p>Koverly's AR platform provides tools for effecient collection of <code>Customers</code>.</p>\n<p>The <code>Customer</code> companies can be created manually within the platform itself, or via API.</p>\n<p>To create a Customer, first create a new <code>Company</code> object as described above for this Customer. Once the company object has been created and a new companyId for this customer has been generated, this call can be made:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\"> curl --location -g --request PUT 'https://sand2.koverly.com/platform/v1/company/60e63207-0974-46a1-89f4-8a4098053102/customer/{customerId}'\n\n</code></pre>\n<p>** The {customerId} is an id of the company created in the first step.</p>\n<p>After this call, a new customer will show up in the Koverly AR section for customers.</p>\n<h4 id=\"customer-users\">Customer Users</h4>\n<p>In the situation when you need to SSO to one of our embedded UI solutions you will need to create a user record under the customer in order to pass the secure identity from your login system. In this case you might need to be able to create a User object under the customer object.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location 'https://sand2.koverly.com/platform/v1/company/0420c8d0-aeb8-455b-b50d-552d739893c6/customer/f0202277-1ff1-4702-bf5d-2d6bd1df580b/user' \\\n--data-raw '{\n    \"firstName\": \"Mike\",\n    \"lastName\" : \"MMM\",\n    \"email\": \"mike+111@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n}\n'\n\n</code></pre>\n<h3 id=\"creating-invoice\">Creating Invoice</h3>\n<p>After a customer has been created and setup has been completed, invoices can be added to thier record so that the AR process can be presented.</p>\n<p>To add an invoice we call:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/45bb5f5b-b0fb-4821-b732-92882bed35fe/customer/{{customerId we created in prev step}}/invoice' \\\n--data '{\n    \"invoiceNumber\": \"123456343\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"createdTime\": \"\"\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"currency\": \"USD\"\n}'\n\n</code></pre>\n<p>In response to this call, we will return created invoice object with the id that can be referenced for future calls.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"invoice\": {\n    \"invoiceId\": \"8eca3ea4-3827-4133-bd1a-7588734cc3f1\",\n    \"status\": null,\n    \"invoiceNumber\": \"123456343\",\n    \"account\": \"1234567897897898755\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"7f0c72f3-f2b6-4d95-8e2b-7505a62d8c5f\",\n    \"payerName\": \"Partest2 company 7897897898755\",\n    \"payeeId\": \"686e39f4-acee-45ec-9b22-f17613b5f308\",\n    \"payeeName\": \"Partest1 company 7897897898755\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"isPaid\": false,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paymentIds\": [],\n    \"payeeCanEdit\": true,\n    \"payerCanEdit\": false,\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n  }\n}\n\n</code></pre>\n<h3 id=\"creating-vendors\">Creating Vendors</h3>\n<p>Vendors are created in the same way as customers. <code>Company</code> for vendor object is created as described above. Secondly, we need to call</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request PUT 'https://sand2.koverly.com/platform/v1/company/45bb5f5b-b0fb-4821-b732-92882bed35fe/vendor/e1bc0e29-0cf7-4589-b123-eeb185aa753d' \\\n--data ''\n\n</code></pre>\n<p>which will return</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"vendor\": {\n    \"contactOwnerId\": \"fda61c9a-3be4-480b-b30a-2f355d593843\",\n    \"companyId\": \"380aee60-696b-4eea-b435-d9c9f23f4bc7\",\n    \"name\": \"Partest2 company 7897897898755\",\n    \"legalName\": null,\n    \"address\": {\n      \"address1\": \"Somehwere 12334\",\n      \"address2\": null,\n      \"address3\": null,\n      \"town\": null,\n      \"postalCode\": null,\n      \"countrySubDivision\": null,\n      \"country\": null,\n      \"formatted\": \"Somehwere 12334\"\n    },\n    \"defaultCurrency\": \"USD\"\n  }\n}\n\n</code></pre>\n<h3 id=\"checkout-widget\">Checkout Widget</h3>\n<p>In order to create checkout widget, we first need to create all required supporting objects.</p>\n<h4 id=\"step-1---obtain-company-id\">Step 1 - Obtain company ID</h4>\n<h5 id=\"partners\">Partners</h5>\n<p>If the company that presents the widget is a partner and is presenting it on the customer portal on behalf of the customer (such is the case with software platforms), the first step is to create (or if already created select) a <code>companyId</code> to be used with the partner API requests.</p>\n<h5 id=\"themselves\">Themselves</h5>\n<p>If the company implements functionality for themselves the companyId in all requests is its own ID. You can find companyId in the API credentials section.</p>\n<h4 id=\"step-2---create-customers-and-users\">Step 2 - Create customers and users</h4>\n<h4 id=\"calling-individual-micro-services\">Calling individual micro-services</h4>\n<p>Step 2.1</p>\n<p>Create a customer company that will be paying with presented checkout. In order to do this, we create a new company.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location 'https://sand2.koverly.com/platform/v1/company' \\\n--header 'Authorization: Bearer YOUR_JWT_TOKEN' \\\n--data '{\n    \"name\": \"My Customer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"100 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n\n</code></pre>\n<p>This will create a <strong>Customer</strong> company instance.</p>\n<p>Subsequently, we need to associate this company as a customer to the payee company that we selected in step 1</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\"> curl --location -g --request PUT 'https://sand2.koverly.com/platform/v1/company/{companyId}/customer/{customerId}'\n\n</code></pre>\n<p><code>CompanyId</code> is the Id of the company of the API caller found in API credential section.</p>\n<p><code>CustomerId</code> is id of the customer company that we created in previous call.</p>\n<p>Step 2.2</p>\n<p>If the customer company created does not have this specific user (<strong>a user that was authenticated in the context of this flow</strong>), we need to create this user.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location 'https://sand2.koverly.com/platform/v1/company/{companyId}/customer/{customerId}/user' \\\n--data '{\n    \"first_name\": \"Jhon\",\n    \"last_name\" : \"Smith\",\n    \"email\": \"j.smith@gmail.com\",\n    \"role\" : \"ADMIN\"\n}\n'\n\n</code></pre>\n<p>The id of the user returned with this call should be retained for future payment calls at user level in the hosting application.</p>\n<h4 id=\"calling-a-single-combined-endpoint\">Calling a single combined endpoint</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/{companyId}/payment/widget/prepare' \\\n--data '{\n  \"customer\": {\n    \"name\": \"Wine Importer 2\",\n    \"legalName\": \"Import Intl Wines Inc.\",\n    \"address\": {\n      \"address1\": \"100 main street\",\n      \"address2\": \"\",\n      \"postalCode\": \"02215\",\n      \"countrySubDivision\": \"MA\",\n      \"country\": \"US\",\n      \"formatted\": \"100 main street, MA, US 02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244441\",\n    \"defaultCurrency\": \"USD\"\n  },\n  \"user\": {\n    \"firstName\": \"m1\",\n    \"lastName\": \"m22\",\n    \"email\": \"mike+11@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n  }\n}'\n\n</code></pre>\n<h4 id=\"step-3---add-invoices\">Step 3 - Add invoices</h4>\n<p>The next step is to select or add all required invoices. You can add all outstanding invoices right away, or only the once you want paid now. The only requirement is that once invoices are created their ids are retained in the system somewhere, so that the same invoice does not get created multiple times.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/{companyId}/customer/{{customerId we created in prev step}}/invoice' \\\n--data '{\n    \"invoiceNumber\": \"123456343\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"currency\": \"USD\"\n}'\n\n</code></pre>\n<h4 id=\"step-4---payment-widget-endpoint\">Step 4 - Payment widget endpoint</h4>\n<p>In this step, we will call the <code>/../payment/widget</code> endpoint with all of the data gathered above to get a secure token, required for widget initialization.</p>\n<p>https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/payment/widget</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location -g 'https://sand2.koverly.com/platform/v1/company/{companyId}/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/payment/widget \\\n--data '{\n  \"invoices\": [\n    {\n      \"invoiceId\": \"f0437cc6-be8d-4a4d-bcd4-a3c9fe7503d5\"\n    }\n  ],\n  \"userId\": \"{userid}\"\n}'\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3aWRnZXQiOnRydWUsImNvbXBhbnlJZCI6IjkwOTgyOGRmLTRhNDQtNDc5Yy1iNzliLTdiNGJiZWYwNDhjNiIsImNvbnRhY3RJZCI6IjQyY2Q3MGUxLTYwNmMtNDI0ZC05M2VkLTI5MjhjMWU0MWY0YSIsImlkIjoiY2U4ZjE5YTYtZjcwZi00MzgwLTg0ZDMtNDY4NDk2ZTFlNTQ0IiwiYmlsbHMiOlt7ImJpbGxJZCI6IjFmZGVkODU4LTBhMzgtNGZjYi04MjNiLTA3NTE3ZjI5OTAxZSJ9LHsiYmlsbElkIjoiOTk1YTNmMWMtMzliMS00N2MyLWI0MDgtMDQyNGY3NGZjYzQxIn1dLCJpYXQiOjE2OTExNjAyNDAsImV4cCI6MTY5MTE2MDU0MH0.N1kgouJWBAuv2JdX2onq9d4i1rXm3R1nLKL4z5zGsp4\"\n}\n\n</code></pre>\n<h4 id=\"step-5---initialize-embedded-widget\">Step 5 - Initialize embedded widget</h4>\n<p>The token is passed into the KoverlyApi in Javascript to initialize the embedded widget</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">&lt;html&gt;\n.....\n&lt;script id=\"{widget-id}\" src=\"https://sand2.koverly.com/embedded.js\"&gt;&lt;/script&gt;\n...\nkoverlyAPI.on('KOVERLY_EMBEDDED_CHECKOUT_CLOSE', (data) =&gt;   {console.log('KOVERLY_EMBEDDED_CHECKOUT_CLOSE', data)});\nkoverlyAPI.on('KOVERLY_EMBEDDED_CHECKOUT_SCHEDULE', (data) =&gt; {console.log('KOVERLY_EMBEDDED_CHECKOUT_SCHEDULE', data)});\nkoverlyAPI.initCheckout({ sso_token: \"tokken from call above\" });\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"48f88cfa-2327-47a6-be9f-d3c63f5b365c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7a61938-ee1f-445a-8b52-4293ec25d3c4","type":"text/javascript","exec":[""]}}],"_postman_id":"fbc3fb91-c495-430d-bd01-d1c0f6643ff8"},{"name":"Checkout Widget","item":[],"id":"d629d2aa-52c4-426c-85d2-9ac9a06029cd","description":"<img src=\"https://content.pstmn.io/81833d40-8ec5-40ae-9803-e1ac00eea3dd/aW1hZ2UucG5n\" alt=\"Example%20Widget\" width=\"1578\" height=\"794\" />\n\n<p>The checkout widget allows for an embedded checkout experience powered by Koverly's technology.</p>\n<p>In order to put together a functional checkout widget, the following is required:</p>\n<ol>\n<li><p>Web-based application with an ability to embed custom JavaScript code</p>\n</li>\n<li><p>Authenticated user, whose identity can be passed, securely, to the widget</p>\n</li>\n<li><p>Access to the Koverly API and API credentials to complete required calls for object creation</p>\n</li>\n</ol>\n<h2 id=\"javascript-example\">Javascript Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">&lt;html&gt;\n.....\n&lt;script id=\"{widget-id}\" src=\"https://sand2.koverly.com/embedded.js\"&gt;&lt;/script&gt;\n...\nkoverlyAPI.on('KOVERLY_EMBEDDED_CHECKOUT_CLOSE', (data) =&gt; {console.log('KOVERLY_EMBEDDED_CHECKOUT_CLOSE', data)});\nkoverlyAPI.on('KOVERLY_EMBEDDED_CHECKOUT_SCHEDULE', (data) =&gt; {console.log('KOVERLY_EMBEDDED_CHECKOUT_SCHEDULE', data)});\nkoverlyAPI.initCheckout({ sso_token: \"SOME_TOKEN_STRING\" });\n....\n\n</code></pre>\n<p><code>data</code> variable will contain to properties <code>error</code> and <code>result</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": null,\n    \"result\": {\n        \"success\": true,\n        \"payment\": {\n            \"paymentId\": \"c725490a-9328-4677-8e20-c53f3ccb9348\",\n            \"status\": \"paid\",\n            \"paymentType\": \"ACH/ACH\"\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"738a75e2-ef05-4aab-84f8-dbea45a51ef9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ce3d0551-b136-47fd-99e0-18eb27233ea8","type":"text/javascript","exec":[""]}}],"_postman_id":"d629d2aa-52c4-426c-85d2-9ac9a06029cd"}],"id":"30bc32c5-8cc8-499a-addd-f8e515e00e1b","description":"<p>Koverly’s B2B checkout solution allows customers to pay via ACH/bank transfer or credit card. Payments can be made in USD or foreign currency with real-time FX conversion rates built into checkout flow.</p>\n<p>Businesses in the United States may also apply for KoverlyPay financing for the option to spread payments over time.</p>\n<p>There are multiple integration options at every level:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Integration Option</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Low code</td>\n<td>Create and link a button on your website to an online payment page branded to your business by simply embedding an HTML tag on your website.</td>\n</tr>\n<tr>\n<td>API with Redirect to Koverly</td>\n<td>Use the API to populate existing connections between companies, customers and users in Koverly for a clean and easy checkout experience on the Koverly platform.</td>\n</tr>\n<tr>\n<td>Embedded UI</td>\n<td>Embed Koverly’s checkout widget into your platform for a seamless, branded payment experience without leaving your website.</td>\n</tr>\n<tr>\n<td>API only</td>\n<td>Completely customize the payment experience for your users by fully embedding Koverly’s APIs beneath your own UI. Please note that to offer B2B Financing (ie. KoverlyPay) using only API, requires a B2B Financing partnership.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"api-references\">API References</h3>\n<p>The following Koverly APIs are necessary to implement our B2B Checkout solution:</p>\n<ul>\n<li>Company</li>\n<li>Vendors</li>\n<li>Customer</li>\n<li>Invoice</li>\n<li>Bill</li>\n<li>Method</li>\n<li>Users</li>\n<li>Payments</li>\n<li>Webhooks</li>\n</ul>\n<p>These Koverly APIs are optional for B2B Checkout implementation:</p>\n<ul>\n<li>FX</li>\n<li>Embedded Finance</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c4d5a29a-0700-43d9-9a41-9cc63935dbfd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"437e937f-b746-4391-835c-2bf016310ae8","type":"text/javascript","exec":[""]}}],"_postman_id":"30bc32c5-8cc8-499a-addd-f8e515e00e1b"},{"name":"API References","item":[{"name":"Company","item":[{"name":"/platform/{api.version}/company","id":"fe3fe990-38cf-4817-8180-f800ee3ea08e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"ITS Freight Broker Client Customer\",\n  \"legalName\": \"Import Intl Wines Inc.\",\n  \"address\": {\n    \"address1\": \"100 main street\",\n    \"address2\": \"\",\n    \"postalCode\": \"02215\",\n    \"countrySubDivision\": \"MA\",\n    \"country\": \"US\",\n    \"formatted\": \"100 main street, MA, US 02215\"\n  },\n  \"legalTaxType\": \"EIN\",\n  \"legalTaxNumber\": \"12-2323244443\",\n  \"defaultCurrency\": \"USD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company","description":"<p>Create new company API endpoint is used to create all types of companies within Koverly business network.</p>\n<p>The endpoint accepts JSON payload with company specification and returns an initialized company object.</p>\n<p>It can be used to create:</p>\n<ul>\n<li>Companies</li>\n<li>Vendors</li>\n<li>Customers</li>\n<li>Partners (Coming soon)</li>\n</ul>\n<h3 id=\"request\"><strong>Request</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>name</td>\n<td>required</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>Legal name</td>\n<td>required</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>ein</td>\n<td>Legal/Tax id</td>\n<td>optional</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\"><strong>Response</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>unique id</td>\n</tr>\n<tr>\n<td>name</td>\n<td>name</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>Legal name</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>ein</td>\n<td>Legal/Tax id</td>\n</tr>\n<tr>\n<td>signonUrl</td>\n<td>Url that can be used to sign on</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"f5a926a6-a946-4ca5-be48-9dccc33156de","name":"/platform/{api.version}/company","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer YOUR_JWT_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"100 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 May 2023 22:39:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"414"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"19e-+bPTzSOAaObXgaU6xhgin2OPrSs\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"company\": {\n        \"companyId\": \"60e63207-0974-46a1-89f4-8a4098053102\",\n        \"name\": \"My Importer\",\n        \"legalName\": \"Import Wines Inc.\",\n        \"address\": {\n            \"address1\": \"100 main street\",\n            \"address2\": \"\",\n            \"address3\": null,\n            \"town\": null,\n            \"postalCode\": \"02215\",\n            \"countrySubDivision\": \"MA\",\n            \"country\": \"US\",\n            \"formatted\": \"100 main street, MA, US 02215\"\n        },\n        \"legalTaxType\": \"EIN\",\n        \"legalTaxNumber\": \"12-2323244443\",\n        \"defaultCurrency\": \"USD\"\n    }\n}"}],"_postman_id":"fe3fe990-38cf-4817-8180-f800ee3ea08e"},{"name":"/platform/{api.version}/company/{companyId}","event":[{"listen":"prerequest","script":{"id":"84f77f50-6b48-4814-a38a-7d14d53dedc0","exec":["pm.collectionVariables.set('local.comapnyId', \"60e63207-0974-46a1-89f4-8a4098053102\")\r",""],"type":"text/javascript"}}],"id":"06233e8d-b9d8-4c26-8c16-bd12cdd9b71e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"101 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02213\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/0420c8d0-aeb8-455b-b50d-552d739893c6\n\n","description":"<blockquote>\n<p>Company can be updated with this PUT request by including an id into the request.</p>\n</blockquote>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","0420c8d0-aeb8-455b-b50d-552d739893c6\n\n"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"e69bd3db-b020-4347-b5d9-d35be5df71dc","name":"/platform/{api.version}/company","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer YOUR_JWT_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Importer\",\n    \"legalName\": \"Import Wines Inc.\",\n    \"address\": {\n        \"address1\": \"101 main street\",\n        \"address2\": \"\",\n        \"Town\": \"Boston\",\n        \"countrySubDivision\" : \"MA\",\n        \"country\": \"US\",\n        \"postalCode\": \"02213\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244443\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/0420c8d0-aeb8-455b-b50d-552d739893c6\n\n"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 May 2023 22:41:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"414"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"19e-jykYjQgFyRXaUD60UDB7futMXBY\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"company\": {\n        \"companyId\": \"60e63207-0974-46a1-89f4-8a4098053102\",\n        \"name\": \"My Importer\",\n        \"legalName\": \"Import Wines Inc.\",\n        \"address\": {\n            \"address1\": \"101 main street\",\n            \"address2\": \"\",\n            \"address3\": null,\n            \"town\": null,\n            \"postalCode\": \"02213\",\n            \"countrySubDivision\": \"MA\",\n            \"country\": \"US\",\n            \"formatted\": \"101 main street, MA, US 02213\"\n        },\n        \"legalTaxType\": \"EIN\",\n        \"legalTaxNumber\": \"12-2323244443\",\n        \"defaultCurrency\": \"USD\"\n    }\n}"}],"_postman_id":"06233e8d-b9d8-4c26-8c16-bd12cdd9b71e"},{"name":"/platform/{api.version}/company/{companyId}","id":"cf535d0c-8223-4925-9716-187ea383d83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f","description":"<p>Returns company information based on company id</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"77439abb-4c91-417d-b4fb-81fbeb665592","name":"/platform/{api.version}/company/{companyId}","originalRequest":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 May 2023 15:16:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"386"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"182-bc7MYo/hNaVTLv2oUWcALXc+8PI\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"company\": {\n        \"companyId\": \"45bb5f5b-b0fb-4821-b732-92882bed35fe\",\n        \"name\": \"My Importer\",\n        \"legalName\": \"Import Wines Inc.\",\n        \"address\": {\n            \"address1\": \"100 main street\",\n            \"address2\": \"\",\n            \"postalCode\": \"02215\",\n            \"countrySubDivision\": \"MA\",\n            \"country\": \"US\",\n            \"formatted\": \"100 main street, MA, US 02215\"\n        },\n        \"legalTaxType\": \"EIN\",\n        \"legalTaxNumber\": \"12-2323244443\",\n        \"defaultCurrency\": \"USD\"\n    }\n}"}],"_postman_id":"cf535d0c-8223-4925-9716-187ea383d83c"},{"name":"/platform/{api.version}/company/{companyId}","id":"4b21b70f-759f-41c0-89b9-759bf926713f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer YOUR_JWT_TOKEN","type":"text"}],"url":"https://sand2.koverly.com/platform/v1/company/0420c8d0-aeb8-455b-b50d-552d739893c6\n\n","description":"<p>Remove company. Not all companies can be removed. If a company already has associated information it can not be safely removed.</p>\n<p>If you want to remove vendor/customer from the company list use provided APIs at the relashionship level.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","0420c8d0-aeb8-455b-b50d-552d739893c6\n\n"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b21b70f-759f-41c0-89b9-759bf926713f"},{"name":"/platform/{api.version}/company/search","id":"7ed8ad59-eaf1-45ef-af37-a1ec2e4a2a34","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"filter\": {\"name\": \"My Importer\"}}"},"url":"https://sand2.koverly.com/platform/v1/company/search","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","search"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"e8d13c59-832d-4de1-9ffa-a8c730e30bd5","name":"/platform/{api.version}/company/search","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \n}"},"url":"https://sand2.koverly.com/platform/v1/company/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 May 2023 14:45:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"401"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"191-ZtTWLYCSEzAeMNKAaJgTL5LDndQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"companies\": [\n        {\n            \"companyId\": \"45bb5f5b-b0fb-4821-b732-92882bed35fe\",\n            \"name\": \"My Importer\",\n            \"legalName\": \"Import Wines Inc.\",\n            \"address\": {\n                \"address1\": \"100 main street\",\n                \"address2\": \"\",\n                \"postalCode\": \"02215\",\n                \"countrySubDivision\": \"MA\",\n                \"country\": \"US\",\n                \"formatted\": \"100 main street, MA, US 02215\"\n            },\n            \"legalTaxType\": \"EIN\",\n            \"legalTaxNumber\": \"12-2323244443\",\n            \"defaultCurrency\": \"USD\"\n        }\n    ],\n    \"length\": 1\n}"}],"_postman_id":"7ed8ad59-eaf1-45ef-af37-a1ec2e4a2a34"},{"name":"/platform/{api.version}/company/sign-up-url","id":"9d008fae-31cf-442a-8ede-9d43b793a030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \n}"},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/sign-up-url","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","sign-up-url"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"4ddcdbc8-2316-4809-9ff6-68e6e5373232","name":"/platform/{api.version}/company/search Copy","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \n}"},"url":"https://sand2.koverly.com/platform/v1/company/45bb5f5b-b0fb-4821-b732-92882bed35fe/sign-up-url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 May 2023 14:49:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"322"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"142-cHEwDvM87YikCHpUP2aDBw7j1eQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"url\": \"https://sand2.koverly.com/signup/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY3RpdmF0aW9uIjp0cnVlLCJjb21wYW55SWQiOiI0NWJiNWY1Yi1iMGZiLTQ4MjEtYjczMi05Mjg4MmJlZDM1ZmUiLCJlbWFpbENvbmZpcm1lZCI6dHJ1ZSwiaWF0IjoxNjg1NTQ0NTc0LCJleHAiOjE2ODU2MzA5NzR9.q-uV4dkauztMAQwpou0Tayzpk_tatoQGaMyapil-a5g\"\n}"}],"_postman_id":"9d008fae-31cf-442a-8ede-9d43b793a030"}],"id":"5685a695-e92d-4f44-8361-7cb6aebb0a1a","description":"<p>Company object is used to create an operating business entity in Koverly system. Same company can play a number of roles in the monetary exchange supported by the platform. It could be the payer, payee, service provider or a partner.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Unique identifier</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>Legal name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address</td>\n<td>Address Object</td>\n</tr>\n<tr>\n<td>signupLink</td>\n<td>Signup link that can be used to initiate sign up for this company</td>\n<td>String</td>\n</tr>\n<tr>\n<td>ein</td>\n<td>Legal/Tax id</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>The address object within the Company object su structured as follows.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>address1</td>\n<td></td>\n<td>String</td>\n</tr>\n<tr>\n<td>address2</td>\n<td></td>\n<td>String</td>\n</tr>\n<tr>\n<td>town</td>\n<td></td>\n<td>String</td>\n</tr>\n<tr>\n<td>ctrySubDivision</td>\n<td>In US its a State code</td>\n<td>String</td>\n</tr>\n<tr>\n<td>postalCode</td>\n<td>Postal code</td>\n<td>String</td>\n</tr>\n<tr>\n<td>country</td>\n<td>2-latter ISO country code</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"5685a695-e92d-4f44-8361-7cb6aebb0a1a","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Vendors","item":[{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}","id":"d3426212-65d1-4473-95eb-0c18be2f9ce8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Company name\",\n    \"legal_name\": \"Company legal name\",\n    \"address\": {\n        \"address1\": \"address lini 1\",\n        \"address2\": \"address lini 2\",\n        \"Town\": \"The town company is located at\",\n        \"ctrySubDivision\" : \"In US its State\",\n        \"country\": \"2-character ISO Country code\",\n        \"postalCode\": \"Postal Code\"\n    },\n    \"legal_id\": \"EIN or equivalent\",\n    \"signup_link\" : \".... this link can be used to sugnup uninitialized company...\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a","description":"<p>Get a vendor company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3426212-65d1-4473-95eb-0c18be2f9ce8"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}","id":"87c98074-0d6b-499d-9271-46bd0bef8dda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a","description":"<p>This method adds a vendor to a company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"87c98074-0d6b-499d-9271-46bd0bef8dda"},{"name":"/platform/{api.version}/company/{companyId}/vendor/search","id":"3e502019-4b1f-4532-905d-920165e749af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/search","description":"<p>Get all vendors from a specific company</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","search"],"host":["https://sand2.koverly.com"],"query":[{"disabled":true,"description":{"content":"<p>Filter vendors of said company</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"3e502019-4b1f-4532-905d-920165e749af"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}","id":"b794fb28-781e-434a-afcc-6c5cfa49e7ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/add","description":"<p>Remove a vendor from a company. This is not always safe and is allowed only if vendor does not have active transactions.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","add"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b794fb28-781e-434a-afcc-6c5cfa49e7ba"}],"id":"27e7893f-c891-461e-aa65-f34db0af1609","description":"<p>Vendors are companies that are setup to get remittances and fund transfers.</p>\n<p>To setup a vendor use Company API to create a company and then add this company as a vendor to another. Companies can be vendors and customers in the same time.</p>\n","_postman_id":"27e7893f-c891-461e-aa65-f34db0af1609","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Customer","item":[{"name":"Users","item":[{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/user","id":"c077d391-fec6-4ff0-99cf-4a79fd60ee7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Mike\",\n    \"lastName\" : \"MMM\",\n    \"email\": \"mike+111@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/user","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","user"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"d8d98c1b-e585-46ef-b2f7-e3bc37884b91","name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Mike\",\n    \"lastName\" : \"MMM\",\n    \"email\": \"mike+111@koverly.com\",\n    \"role\": \"ADMIN\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Aug 2023 13:41:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"225"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"e1-zIRBOqcMDLjWYnrv3pFJtyNrmE8\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"user\": {\n        \"userId\": \"afd3d138-ac19-4596-91ba-2cf012246f7b\",\n        \"email\": \"mike+111@koverly.com\",\n        \"firstName\": \"Mike\",\n        \"lastName\": \"MMM\",\n        \"mobileNumber\": null,\n        \"isActive\": false,\n        \"isBlocked\": false,\n        \"role\": \"ADMIN\"\n    }\n}"}],"_postman_id":"c077d391-fec6-4ff0-99cf-4a79fd60ee7b"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/user/{userId}","id":"c6f92362-bfed-4271-9395-a1eabfa164cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609user/8de435bc-f869-41d2-9a53-a985b1cad81d","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609user","8de435bc-f869-41d2-9a53-a985b1cad81d"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6f92362-bfed-4271-9395-a1eabfa164cc"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/user/{userId}","id":"8f5e6534-398d-4d9a-b6e7-7a8e3e3568b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/user/8de435bc-f869-41d2-9a53-a985b1cad81d","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","user","8de435bc-f869-41d2-9a53-a985b1cad81d"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f5e6534-398d-4d9a-b6e7-7a8e3e3568b3"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/user/search","id":"3577c5ca-bdba-47a7-8ef4-e2aba59bea05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{$or: [\n        {amount: 12\n        },\n        {amount: {$start: 23, $end: 45\n            }\n        },\n        {amoun: 4\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/user/search","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","user","search"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3577c5ca-bdba-47a7-8ef4-e2aba59bea05"}],"id":"b6c6cb5f-2dc2-4feb-bf1b-4144fcffd705","description":"<p>When using payment widget or other embedded functions and need to create user to pass identity information from your context a user under specific customer of the company can be created.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>Last name</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>First name</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>role</td>\n<td>ADMIN / CONTRIBUTOR</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>isActive</td>\n<td>true/false</td>\n<td>false</td>\n</tr>\n<tr>\n<td>isBlocked</td>\n<td>true/false</td>\n<td>false</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b6c6cb5f-2dc2-4feb-bf1b-4144fcffd705","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}","id":"d233680f-1a1d-4da7-a677-f302d33ea4f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/{{custimerId}}","description":"<p>Get a vendor company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","{{custimerId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d233680f-1a1d-4da7-a677-f302d33ea4f2"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}","id":"126bd634-b0f7-41cb-8541-814bbde15450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609","description":"<p>Add a customer to a company record.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"126bd634-b0f7-41cb-8541-814bbde15450"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/dashboard/link/send","id":"2427d6d6-ae02-4f24-997c-0c3f27e1b477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"mike@koverly.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/dashboard/link/send","description":"<p>Publish statment dashboard for payment.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","dashboard","link","send"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"f8b67f9e-17e6-4367-9a2f-ce8ff635071d","name":"/platform/{api.version}/company/{companyId}/customer/{customerId} Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"mike@koverly.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/dashboard/link/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 04:12:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"2427d6d6-ae02-4f24-997c-0c3f27e1b477"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/portal","id":"c3bb8cbf-2c64-4923-9419-ab9a0896cf06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609","description":"<p>Add a customer to a company record.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3bb8cbf-2c64-4923-9419-ab9a0896cf06"},{"name":"/platform/{api.version}/company/{companyId}/customer/search","id":"473a5722-8332-4a9e-8aa7-0fc52f698330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/search","description":"<p>Get all vendors from a specific company</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","search"],"host":["https://sand2.koverly.com"],"query":[{"disabled":true,"description":{"content":"<p>Filter customer query</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"473a5722-8332-4a9e-8aa7-0fc52f698330"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}","id":"cb068afa-c44b-4421-949f-dca9454dbb33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/{customerId}","description":"<p>Remove a customer from a company. This is not always safe and is allowed only if vendor does not have active transactions.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","{customerId}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb068afa-c44b-4421-949f-dca9454dbb33"}],"id":"de72556b-15c6-4b21-b8f3-84e3dd8535c9","description":"<p>Customers are companies that are setup to get statements and invoices</p>\n<p>To setup a customer use Company API to create a company and then add this company as a customer to another.</p>\n<p>Companies can be vendors and customers in the same time.</p>\n","_postman_id":"de72556b-15c6-4b21-b8f3-84e3dd8535c9","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Invoice","item":[{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice/{invoiceId}","id":"51fbca58-354d-4817-bf31-de5b860c1c88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/{{custimerId}}","description":"<p>Get a vendor company object.</p>\n<p>Response Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"invoice\": {\n    \"invoiceId\": \"51e7492a-332a-481c-9eea-6c4ff4a8b1c0\",\n    \"invoiceNumber\": \"123456343\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"316534da-43ea-4ccf-98d2-7f9e6a4d868f\",\n    \"payerName\": \"Partest2 company 7897897898755\",\n    \"payeeId\": \"b4506a89-5914-4b4e-8027-4efe212bfb10\",\n    \"payeeName\": \"Partest1 company 7897897898755\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"isPaid\": false,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n  }\n}\n\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","{{custimerId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51fbca58-354d-4817-bf31-de5b860c1c88"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice","id":"c753800e-9d57-46ba-b4ab-d29ad106af80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceNumber\": \"123456343\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"316534da-43ea-4ccf-98d2-7f9e6a4d868f\",\n    \"payeeId\": \"b4506a89-5914-4b4e-8027-4efe212bfb10\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/invoice","description":"<p>Create new invoice.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invoiceNumber</td>\n<td>Reference number</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>Date when invoice is due</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>payerId</td>\n<td>Payer company id</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>payeeId</td>\n<td>Payee company id</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>note</td>\n<td></td>\n<td>N</td>\n</tr>\n<tr>\n<td>memo</td>\n<td></td>\n<td>N</td>\n</tr>\n<tr>\n<td>paidTime</td>\n<td></td>\n<td>N</td>\n</tr>\n<tr>\n<td>currency</td>\n<td></td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"invoice\": {\n    \"invoiceId\": \"51e7492a-332a-481c-9eea-6c4ff4a8b1c0\",\n    \"invoiceNumber\": \"123456343\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"316534da-43ea-4ccf-98d2-7f9e6a4d868f\",\n    \"payerName\": \"Partest2 company 7897897898755\",\n    \"payeeId\": \"b4506a89-5914-4b4e-8027-4efe212bfb10\",\n    \"payeeName\": \"Partest1 company 7897897898755\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"isPaid\": false,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n  }\n}\n\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","invoice"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"0f765784-fe29-486b-84c8-ce207a0a5140","name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoiceNumber\": \"AA123353\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"createdTime\": \"08/29/2023\",\n    \"currency\": \"USD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Aug 2023 15:51:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"538"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"21a-xJ0oIylACHqu8ITQYQRK2XIPopM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"invoice\": {\n        \"invoiceId\": \"fd51cd6b-019e-4b6f-b95a-03d4156ec753\",\n        \"invoiceNumber\": \"AA123353\",\n        \"invoiceState\": \"Open\",\n        \"account\": null,\n        \"createdTime\": \"2023-08-29T04:00:00.000Z\",\n        \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n        \"payerId\": \"6406c450-585e-4b57-b065-240560c7cea2\",\n        \"payerName\": \"Wine Importer 2\",\n        \"payeeId\": \"0420c8d0-aeb8-455b-b50d-552d739893c6\",\n        \"payeeName\": \"Crest\",\n        \"amount\": 12,\n        \"balance\": 12,\n        \"isPaid\": false,\n        \"note\": null,\n        \"memo\": null,\n        \"paymentIds\": [],\n        \"payeeCanEdit\": true,\n        \"payerCanEdit\": false,\n        \"paidTime\": null,\n        \"currency\": \"USD\"\n    }\n}"}],"_postman_id":"c753800e-9d57-46ba-b4ab-d29ad106af80"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice/search","id":"9616e85a-6423-411f-b60f-fcaef44b3b47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/invoice/search","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","invoice","search"],"host":["https://sand2.koverly.com"],"query":[{"disabled":true,"description":{"content":"<p>Filter to query</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"9616e85a-6423-411f-b60f-fcaef44b3b47"},{"name":"/platform/{api.version}/company/{companyId}/invoice/search","id":"31191ac3-6c1e-4937-98c3-327785ffff83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 1000.00,\n    \"currency\": \"EUR\",\n    \"dueDate\": \"10/10/2023\",\n    \"createdTime\": \"10/10/2023\",\n    \"state\": \"Open\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/invoice/search","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","invoice","search"],"host":["https://sand2.koverly.com"],"query":[{"disabled":true,"description":{"content":"<p>Filter to query</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"31191ac3-6c1e-4937-98c3-327785ffff83"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice/{invoiceId}","id":"6b41fc5d-ac9e-489d-88e9-c05842714e03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 1000.00,\n    \"currency\": \"EUR\",\n    \"dueDate\": \"10/10/2023\",\n    \"createdTime\": \"10/10/2023\",\n    \"state\": \"Open\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/invoice/{{invoiceId}}","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","invoice","{{invoiceId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b41fc5d-ac9e-489d-88e9-c05842714e03"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/invoice/{invoiceId}","id":"1fead67e-78e1-4d27-9d3b-250c87084e30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/{customerId}/invoice/{{invoiceId}}","description":"<p>Remove a customer from a company. This is not always safe and is allowed only if vendor does not have active transactions.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","{customerId}","invoice","{{invoiceId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1fead67e-78e1-4d27-9d3b-250c87084e30"}],"id":"cd96b30b-e1a7-4b87-88b6-6cd305d06a9b","description":"<h2 id=\"invoice\">Invoice</h2>\n<p>Invoice is request for payment presented between the company and its customer. The following fields are part of invoice object</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invoiceId</td>\n<td>Invoice id, Retrned with created invoice</td>\n<td></td>\n</tr>\n<tr>\n<td>invoiceNumber</td>\n<td>Invoice reference number.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>createdTime</td>\n<td>Recorded as creation time for this invoice</td>\n<td>N</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>Due date of the invoice</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>payerId</td>\n<td>Id of the customer for which this invoice is targeted</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>payeeId</td>\n<td>Id of the company that presents the invoice</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Amount of this invoice in designated currency</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>Remaining balance of this invoice in designated currency</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Currency of this invoice</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>note</td>\n<td>Note attached to the invoice to be passed to the reciver</td>\n<td>N</td>\n</tr>\n<tr>\n<td>memo</td>\n<td>Memo for check on this invoice</td>\n<td>N</td>\n</tr>\n<tr>\n<td>invoiceState</td>\n<td>One of legal invoice states</td>\n<td>N</td>\n</tr>\n<tr>\n<td>paidTime</td>\n<td>Time when invoice was paid.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"cd96b30b-e1a7-4b87-88b6-6cd305d06a9b","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Bill","item":[{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/bill/{billId}","id":"5d1f262d-31e8-4294-9520-136994a775bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a/bill/{{billId}}","description":"<p>Get a vendor company object.</p>\n<p>Response Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"invoice\": {\n    \"invoiceId\": \"51e7492a-332a-481c-9eea-6c4ff4a8b1c0\",\n    \"invoiceNumber\": \"123456343\",\n    \"createdTime\": \"2021-12-22T05:00:00.000Z\",\n    \"dueDate\": \"2021-12-22T05:00:00.000Z\",\n    \"payerId\": \"316534da-43ea-4ccf-98d2-7f9e6a4d868f\",\n    \"payerName\": \"Partest2 company 7897897898755\",\n    \"payeeId\": \"b4506a89-5914-4b4e-8027-4efe212bfb10\",\n    \"payeeName\": \"Partest1 company 7897897898755\",\n    \"amount\": 12,\n    \"balance\": 12,\n    \"isPaid\": false,\n    \"note\": \"Some note\",\n    \"memo\": \"Some memo\",\n    \"invoiceState\": \"Open\",\n    \"paidTime\": null,\n    \"currency\": \"GBP\"\n  }\n}\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a","bill","{{billId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d1f262d-31e8-4294-9520-136994a775bf"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/bill","id":"1e0a516c-a603-481d-b3f2-bfc468c0dcb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 1000.00,\n    \"currency\": \"EUR\",\n    \"dueDate\": \"10/10/2023\",\n    \"createdTime\": \"10/10/2023\",\n    \"state\": \"Open\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a/bill","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a","bill"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e0a516c-a603-481d-b3f2-bfc468c0dcb5"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/bill/{billId}","id":"4f47ca13-6834-4514-92ca-496f1fe837b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 1000.00,\n    \"currency\": \"EUR\",\n    \"dueDate\": \"10/10/2023\",\n    \"createdTime\": \"10/10/2023\",\n    \"state\": \"Open\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a/bill/{{billId}}","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a","bill","{{billId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f47ca13-6834-4514-92ca-496f1fe837b3"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/bill/search","id":"810e3edf-4308-4881-aba5-c11a5da21325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Company name\",\n    \"legal_name\": \"Company legal name\",\n    \"address\": {\n        \"address1\": \"address lini 1\",\n        \"address2\": \"address lini 2\",\n        \"Town\": \"The town company is located at\",\n        \"ctrySubDivision\" : \"In US its State\",\n        \"country\": \"2-character ISO Country code\",\n        \"postalCode\": \"Postal Code\"\n    },\n    \"legal_id\": \"EIN or equivalent\",\n    \"signup_link\" : \".... this link can be used to sugnup uninitialized company...\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/bill/search?filter","description":"<p>Get all vendors from a specific company</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","bill","search"],"host":["https://sand2.koverly.com"],"query":[{"description":{"content":"<p>Filter expression</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"810e3edf-4308-4881-aba5-c11a5da21325"},{"name":"/platform/{api.version}/company/{companyId}/bill/search","id":"8ff99b28-59c2-4853-86b0-e61c7415a867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Company name\",\n    \"legal_name\": \"Company legal name\",\n    \"address\": {\n        \"address1\": \"address lini 1\",\n        \"address2\": \"address lini 2\",\n        \"Town\": \"The town company is located at\",\n        \"ctrySubDivision\" : \"In US its State\",\n        \"country\": \"2-character ISO Country code\",\n        \"postalCode\": \"Postal Code\"\n    },\n    \"legal_id\": \"EIN or equivalent\",\n    \"signup_link\" : \".... this link can be used to sugnup uninitialized company...\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/bill/search?filter","description":"<p>Get all vendors from a specific company</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","bill","search"],"host":["https://sand2.koverly.com"],"query":[{"description":{"content":"<p>Filter expression</p>\n","type":"text/plain"},"key":"filter","value":null}],"variable":[]}},"response":[],"_postman_id":"8ff99b28-59c2-4853-86b0-e61c7415a867"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/bill/{billId}","id":"f2711999-5dca-41b5-8136-48fb238f80fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/{vendorId}/bill/{{billId}}","description":"<p>Remove a customer from a company. This is not always safe and is allowed only if vendor does not have active transactions.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","{vendorId}","bill","{{billId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2711999-5dca-41b5-8136-48fb238f80fd"}],"id":"08177017-72a3-49ff-904b-cdfb98e54120","description":"<p>Customers are companies that are setup to get statements and invoices</p>\n<p>To setup a customer use Company API to create a company and then add this company as a customer to another.</p>\n<p>Companies can be vendors and customers in the same time.</p>\n","_postman_id":"08177017-72a3-49ff-904b-cdfb98e54120","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Method","item":[{"name":"/platform/{api.version}/company/{companyId}/method/{methodId}","id":"bc93589f-7319-4605-bdf7-d24a2614b7c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/method/{{methodId}}","description":"<p>Get a vendor company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","method","{{methodId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc93589f-7319-4605-bdf7-d24a2614b7c4"},{"name":"/platform/{api.version}/company/{companyId}/method","id":"0e988227-0fc2-4003-987b-21ec0de520a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"method\": \"ACH\",\n    \"account\" : {\n        \"rtn\": \"38728732882\",\n        \"account\" : \"23333322222\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/method","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","method"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e988227-0fc2-4003-987b-21ec0de520a3"},{"name":"/platform/{api.version}/company/{companyId}/method","id":"1a5a19ad-19e3-4810-bbcb-2fc8b71c160e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"method\": \"ACH\",\n    \"account\" : {\n        \"rtn\": \"38728732882\",\n        \"account\" : \"23333322222\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/method/{{methodId}}","description":"<p>Add a company to be a customer for another company.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","method","{{methodId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a5a19ad-19e3-4810-bbcb-2fc8b71c160e"},{"name":"/platform/{api.version}/company/{companyId}/method/requirements","id":"5afb0756-df7f-4b12-bd6d-7cadc75f4e73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"method\": \"ACH\",\n    \"account\" : {\n        \"rtn\": \"38728732882\",\n        \"account\" : \"23333322222\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/method/requirements?currency=EUR&bankCountry=FR&beneficiaryCountry=FR","description":"<p>Get required fileds that are nessesary for specific method to do.</p>\n<p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"beneficiary\": {\n        \"priority\": [\n            {\n                \"beneficiaryCompanyName\": {\n                    \"reg\": \"^.{1,255}\",\n                    \"label\": \"Company Name\"\n                },\n                \"beneficiaryCity\": {\n                    \"reg\": \"^.{1,255}\",\n                    \"label\": \"City\"\n                },\n                \"beneficiaryCountry\": {\n                    \"reg\": \"^[A-z]{2}$\",\n                    \"label\": \"Country\"\n                },\n                \"iban\": {\n                    \"reg\": \"([A-Z0-9]\\\\s*){15,34}\",\n                    \"label\": \"IBAN\"\n                },\n                \"beneficiaryAddress\": {\n                    \"reg\": \"^.{1,255}\",\n                    \"label\": \"Address\"\n                },\n                \"bicSwift\": {\n                    \"reg\": \"^[0-9A-Z]{8}$|^[0-9A-Z]{11}$\",\n                    \"label\": \"BIC SWIFT\"\n                },\n                \"paymentType\": {\n                    \"reg\": \"priority\",\n                    \"label\": \"Payment Type\"\n                }\n            }\n        ],\n        \"regular\": [\n            {\n                \"iban\": {\n                    \"reg\": \"([A-Z0-9]\\\\s*){15,34}\",\n                    \"label\": \"IBAN\"\n                },\n                \"paymentType\": {\n                    \"reg\": \"regular\",\n                    \"label\": \"Payment Type\"\n                }\n            }\n        ]\n    }\n}\n\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","method","requirements"],"host":["https://sand2.koverly.com"],"query":[{"description":{"content":"<p>Currency value</p>\n","type":"text/plain"},"key":"currency","value":"EUR"},{"description":{"content":"<p>FR</p>\n","type":"text/plain"},"key":"bankCountry","value":"FR"},{"description":{"content":"<p>FR</p>\n","type":"text/plain"},"key":"beneficiaryCountry","value":"FR"}],"variable":[]}},"response":[],"_postman_id":"5afb0756-df7f-4b12-bd6d-7cadc75f4e73"},{"name":"/platform/{api.version}/company/{companyId}/method/{methodId}","id":"a2a8aaa5-8c14-4390-895c-d45da64610cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/method/{{methodId}}","description":"<p>Remove a customer from a company. This is not always safe and is allowed only if vendor does not have active transactions.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","method","{{methodId}}"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2a8aaa5-8c14-4390-895c-d45da64610cc"}],"id":"801c6bf1-c592-439b-9f3c-9ef0a823b924","description":"<p>Customers are companies that are setup to get statements and invoices</p>\n<p>To setup a customer use Company API to create a company and then add this company as a customer to another.</p>\n<p>Companies can be vendors and customers in the same time.</p>\n","_postman_id":"801c6bf1-c592-439b-9f3c-9ef0a823b924","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Users","item":[{"name":"/platform/{api.version}/company/{companyId}/user","id":"0201329b-3b5b-49a0-90db-9d5f5529ad7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Jhon\",\n    \"lastName\" : \"Smith\",\n    \"email\": \"mike+its@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0201329b-3b5b-49a0-90db-9d5f5529ad7c"},{"name":"/platform/{api.version}/company/{companyId}/user/assign","id":"e7626996-587a-4cb3-86dd-520275eb4ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Jhon\",\n    \"lastName\" : \"Smith\",\n    \"email\": \"mike+its@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7626996-587a-4cb3-86dd-520275eb4ad9"},{"name":"/platform/{api.version}/company/{companyId}/user/{userId}","id":"3d03ab26-0ee7-4960-8a03-5d8139c265d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user/8de435bc-f869-41d2-9a53-a985b1cad81d","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user","8de435bc-f869-41d2-9a53-a985b1cad81d"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d03ab26-0ee7-4960-8a03-5d8139c265d9"},{"name":"/platform/{api.version}/company/{companyId}/user/{userId}","id":"7e7fd16c-2320-4c9a-8534-763fa4f8d112","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user/8de435bc-f869-41d2-9a53-a985b1cad81d","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user","8de435bc-f869-41d2-9a53-a985b1cad81d"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e7fd16c-2320-4c9a-8534-763fa4f8d112"},{"name":"/platform/{api.version}/company/{companyId}/user/search","id":"d54be43a-d319-40db-a8b3-2bd0effaddd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{$or: [\n        {amount: 12\n        },\n        {amount: {$start: 23, $end: 45\n            }\n        },\n        {amoun: 4\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user/search","description":"<p>Get a customer company object.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user","search"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d54be43a-d319-40db-a8b3-2bd0effaddd0"},{"name":"/platform/{api.version}/company/{companyId}/user/{userId}/sign-up-url","id":"758fc548-d88f-4b0c-a65c-2aaf86c5abda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\",\n    \"legal_id\": \"EIN or equivalent\",\n    \"signup_link\" : \".... this link can be used to sugnup uninitialized company...\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user/8de435bc-f869-41d2-9a53-a985b1cad81d/sign-up-url","description":"<p>Returns sso url that can be used to redirect user to Koverly platform without additional authentication.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"sso_url\": \"https://......\"\n}\n\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user","8de435bc-f869-41d2-9a53-a985b1cad81d","sign-up-url"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"758fc548-d88f-4b0c-a65c-2aaf86c5abda"},{"name":"/platform/{api.version}/company/{companyId}/user/{userId}/sign-in-url","id":"4f2d8741-1315-418a-81b4-a4d8e62c3142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First name of the user\",\n    \"last_name\" : \"Last name of the user\",\n    \"email\": \"user email\",\n    \"legal_id\": \"EIN or equivalent\",\n    \"signup_link\" : \".... this link can be used to sugnup uninitialized company...\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/user/8de435bc-f869-41d2-9a53-a985b1cad81d/sign-in-url","description":"<p>Returns sso url that can be used to redirect user to Koverly platform without additional authentication.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"sso_url\": \"https://......\"\n}\n\n</code></pre>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","user","8de435bc-f869-41d2-9a53-a985b1cad81d","sign-in-url"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f2d8741-1315-418a-81b4-a4d8e62c3142"}],"id":"156d18da-bd4f-4703-87ed-9f9ed169fb3b","description":"<p>Customers are companies that are setup to get bills and statements to be paid.</p>\n<p>To setup a customer use Company API to create a company and then add this company as a customers to another. Companies can be vendors and customers in the same time.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>Last name</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>First name</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>role</td>\n<td>ADMIN / CONTRIBUTOR</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>isActive</td>\n<td>true/false</td>\n<td>false</td>\n</tr>\n<tr>\n<td>isBlocked</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"156d18da-bd4f-4703-87ed-9f9ed169fb3b","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"FX","item":[{"name":"/platform/{api.version}/company/{companyId}/fx/currencies","id":"1cc7a236-3c29-48c2-9ffe-7dc6ea3ff52f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/fx/currencies","description":"<p>Get a list of supported currencies.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","fx","currencies"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cc7a236-3c29-48c2-9ffe-7dc6ea3ff52f"},{"name":"/platform/{api.version}/company/{companyId}/fx/rate","id":"bc786bd7-2450-4143-816d-14e77932de1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"providerId\": \"uuid()\",\n    \"buyCurrency\": \"EUR\",\n    \"sellCurrency\": \"USD\",\n    \"scheduleTime\": \"2023-05-29\",\n    \"payerId\": \"uuid payer id\",\n    \"payeeId\": \"uuid payer id\",\n    \"amount\": 1002.00\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/fx/price-lock","description":"<p>Get a list of supported currencies.</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","fx","price-lock"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc786bd7-2450-4143-816d-14e77932de1a"}],"id":"d3f42b94-1c6a-40eb-9885-fd05f08d22f1","description":"<p>Customers are companies that are setup to get bills and statements to be paid.</p>\n<p>To setup a customer use Company API to create a company and then add this company as a customers to another. Companies can be vendors and customers in the same time.</p>\n","_postman_id":"d3f42b94-1c6a-40eb-9885-fd05f08d22f1","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Payments","item":[{"name":"/platform/{api.version}/company/{companyId}/payment/{paymentId}","id":"d1e19204-a66f-4f53-9955-0a3c01e998ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d1e19204-a66f-4f53-9955-0a3c01e998ce"},{"name":"/platform/{api.version}/company/{companyId}/payment","id":"dd031a70-c1e2-478d-a072-96afdc4e3d53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"payerId\": \"payer id\",\n    \"payeeId\": \"payee id\",\n    \"paymentMethodId\": \"payment method id\",\n    \"fundingMethodId\": \"funding method id\",\n    \"amount\": 2000,\n    \"currency\": \"EUR\",\n    \"scheduled\": \"2023-06-20\",\n    \"lockId\": \"lockid\",\n    \"invoices\": [\n        {\n            \"id\": \"2384723874\",\n            \"partialPay\": 1999\n        },\n        {\n            \"id\": \"2384545544\",\n            \"partialPay\": 20\n        },       \n    ]\n}"},"auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"dd031a70-c1e2-478d-a072-96afdc4e3d53"},{"name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/payment/widget","id":"5ee5cd06-afa2-455a-9582-d8c3e4bdbe1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"invoices\": [\n    {\n      \"invoiceId\": \"810b7312-6e25-4ea6-889c-c2aa0971f1da\"\n    },\n    {\n      \"invoiceId\": \"078ee225-596a-49e5-98ac-f7185e756893\"\n    }\n  ],\n  \"userId\": \"327f6edc-ee7c-4980-a670-0e0613d44d7a\"\n}"},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/customer/330c41dc-3dd7-46c6-9ae0-185511b15609/payment/widget","description":"<p>This endpoint will return a secure token that can be passed into Koverly Checkout widget in order to transfer secure identity.</p>\n<p>The token returned is very shourt-lived and can not be used outside the widget initialization.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3aWRnZXQiOnRydWUsImNvbXBhbnlJZCI6IjkwOTgyOGRmLTRhNDQtNDc5Yy1iNzliLTdiNGJiZWYwNDhjNiIsImNvbnRhY3RJZCI6IjQyY2Q3MGUxLTYwNmMtNDI0ZC05M2VkLTI5MjhjMWU0MWY0YSIsImlkIjoiY2U4ZjE5YTYtZjcwZi00MzgwLTg0ZDMtNDY4NDk2ZTFlNTQ0IiwiYmlsbHMiOlt7ImJpbGxJZCI6IjFmZGVkODU4LTBhMzgtNGZjYi04MjNiLTA3NTE3ZjI5OTAxZSJ9LHsiYmlsbElkIjoiOTk1YTNmMWMtMzliMS00N2MyLWI0MDgtMDQyNGY3NGZjYzQxIn1dLCJpYXQiOjE2OTExNjAyNDAsImV4cCI6MTY5MTE2MDU0MH0.N1kgouJWBAuv2JdX2onq9d4i1rXm3R1nLKL4z5zGsp4\"\n}\n\n</code></pre>\n<p>It is assumed that all the required objects are already created by API or manually in the product</p>\n<p>Parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyId</td>\n<td>Company id that is creating and will display the widget.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>The customer that will be paying when widget is presented</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>Payload - userId</td>\n<td>Identity of the user of the customer that is going to pay as authenticated by the hosting app</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>Payload - invoices</td>\n<td>List of invoices</td>\n<td>Y  <br /></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","customer","330c41dc-3dd7-46c6-9ae0-185511b15609","payment","widget"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ee5cd06-afa2-455a-9582-d8c3e4bdbe1c"},{"name":"/platform/{api.version}/company/{companyId}/payment/widget/prepare","id":"132e9afb-fae0-404d-83f9-1df06fe94ecb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"customer\": {\n    \"name\": \"Wine Importer 2\",\n    \"legalName\": \"Import Intl Wines Inc.\",\n    \"address\": {\n      \"address1\": \"100 main street\",\n      \"address2\": \"\",\n      \"postalCode\": \"02215\",\n      \"countrySubDivision\": \"MA\",\n      \"country\": \"US\",\n      \"formatted\": \"100 main street, MA, US 02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244441\",\n    \"defaultCurrency\": \"USD\"\n  },\n  \"user\": {\n    \"firstName\": \"m1\",\n    \"lastName\": \"m22\",\n    \"email\": \"mike+11@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/payment/widget/prepare","description":"<p>This endpoint will return a secure token that can be passed into Koverly Checkout widget in order to transfer secure identity.</p>\n<p>The token returned is very shourt-lived and can not be used outside the widget initialization.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3aWRnZXQiOnRydWUsImNvbXBhbnlJZCI6IjkwOTgyOGRmLTRhNDQtNDc5Yy1iNzliLTdiNGJiZWYwNDhjNiIsImNvbnRhY3RJZCI6IjQyY2Q3MGUxLTYwNmMtNDI0ZC05M2VkLTI5MjhjMWU0MWY0YSIsImlkIjoiY2U4ZjE5YTYtZjcwZi00MzgwLTg0ZDMtNDY4NDk2ZTFlNTQ0IiwiYmlsbHMiOlt7ImJpbGxJZCI6IjFmZGVkODU4LTBhMzgtNGZjYi04MjNiLTA3NTE3ZjI5OTAxZSJ9LHsiYmlsbElkIjoiOTk1YTNmMWMtMzliMS00N2MyLWI0MDgtMDQyNGY3NGZjYzQxIn1dLCJpYXQiOjE2OTExNjAyNDAsImV4cCI6MTY5MTE2MDU0MH0.N1kgouJWBAuv2JdX2onq9d4i1rXm3R1nLKL4z5zGsp4\"\n}\n\n</code></pre>\n<p>It is assumed that all the required objects are already created by API or manually in the product</p>\n<p>Parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyId</td>\n<td>Company id that is creating and will display the widget.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>The customer that will be paying when widget is presented</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>Payload - userId</td>\n<td>Identity of the user of the customer that is going to pay as authenticated by the hosting app</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>Payload - invoices</td>\n<td>List of invoices</td>\n<td>Y  <br /></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","payment","widget","prepare"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"1969220a-7eb4-4e49-a1c8-be96498cc11e","name":"/platform/{api.version}/company/{companyId}/customer/{customerId}/payment/widget Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"customer\": {\n    \"name\": \"Wine Importer 2\",\n    \"legalName\": \"Import Intl Wines Inc.\",\n    \"address\": {\n      \"address1\": \"100 main street\",\n      \"address2\": \"\",\n      \"postalCode\": \"02215\",\n      \"countrySubDivision\": \"MA\",\n      \"country\": \"US\",\n      \"formatted\": \"100 main street, MA, US 02215\"\n    },\n    \"legalTaxType\": \"EIN\",\n    \"legalTaxNumber\": \"12-2323244441\",\n    \"defaultCurrency\": \"USD\"\n  },\n  \"user\": {\n    \"firstName\": \"m1\",\n    \"lastName\": \"m22\",\n    \"email\": \"mike+11@koverly.com\",\n    \"role\": \"ADMIN\",\n    \"isActive\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/payment/widget/prepare"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 20:39:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"614"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"266-ujonKFn3OzD3oenTxLtLitkloe0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"customer\": {\n        \"companyId\": \"7e6ea0cd-96b4-46ab-8db5-0ce511a5c594\",\n        \"name\": \"Wine Importer 2\",\n        \"legalName\": \"Import Intl Wines Inc.\",\n        \"address\": {\n            \"address1\": \"100 main street\",\n            \"address2\": \"\",\n            \"address3\": null,\n            \"town\": null,\n            \"postalCode\": \"02215\",\n            \"countrySubDivision\": \"MA\",\n            \"country\": \"US\",\n            \"formatted\": \"100 main street, MA, US 02215\"\n        },\n        \"legalTaxType\": \"EIN\",\n        \"legalTaxNumber\": \"12-2323244441\",\n        \"defaultCurrency\": \"USD\"\n    },\n    \"user\": {\n        \"userId\": \"59a27ea1-638e-4df7-90b6-36dfebe589f8\",\n        \"email\": \"mike+11@koverly.com\",\n        \"firstName\": \"m1\",\n        \"lastName\": \"m22\",\n        \"mobileNumber\": null,\n        \"isActive\": true,\n        \"isBlocked\": false,\n        \"role\": \"ADMIN\"\n    }\n}"}],"_postman_id":"132e9afb-fae0-404d-83f9-1df06fe94ecb"}],"id":"5c1fb283-93bd-46a4-9542-bdba2c1ce18f","_postman_id":"5c1fb283-93bd-46a4-9542-bdba2c1ce18f","description":"","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"WebHooks","item":[{"name":"/platform/{api.version}/webhook","id":"30bf06cc-369a-45f0-bfcb-c5f7f6c8587e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"object\": \"payment\",\n    \"callbackUrl\": \"https://www.my.com/a.b.c\",\n    \"callbackPayload\" : {any json object that will be relayed back to you}\n    \"event\" : \"STATUS_CHANGED\"\n}\n"},"url":"https://sand2.koverly.com/platform/v1/webhook","description":"<p>Creates new Web Hook. Returns newly created object.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"web hook id\",\n    \"object\": \"payment\",\n    \"endpoint\": \"https://www.my.com/a.b.c\"\n}\n\n</code></pre>","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","webhook"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"30bf06cc-369a-45f0-bfcb-c5f7f6c8587e"},{"name":"/platform/{api.version}/webhook/{webhookId}","id":"43303ef4-f13d-466e-8138-2cd6781e0a19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/platform/{api.version}/webhook/{{webhookId}}","description":"<p>Returns existing web hook object</p>\n","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","{api.version}","webhook","{{webhookId}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43303ef4-f13d-466e-8138-2cd6781e0a19"},{"name":"/platform/{api.version}/webhook/{webhookId}","id":"c5972778-fcd3-47b8-b59a-47f0105e8944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/platform/{api.version}/webhook/{{webhookId}}","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","{api.version}","webhook","{{webhookId}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5972778-fcd3-47b8-b59a-47f0105e8944"},{"name":"/platform/{api.version}/webhook/search","id":"b157a2d0-5dbb-4a3a-96c3-3fb50d51814a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/platform/{api.version}/webhook/search","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","{api.version}","webhook","search"],"query":[],"variable":[]}},"response":[],"_postman_id":"b157a2d0-5dbb-4a3a-96c3-3fb50d51814a"}],"id":"fda6b0af-41b7-482b-9162-ac0220801e1c","description":"<h3 id=\"overview\">Overview</h3>\n<p>Web Hooks are used to report events to a web hook subscriber. In order to subscribe to web hook you first need to create a web hook object. The obect is a simple JSON object that contains 2 properties.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"object\": \"payment\",\n    \"callbackUrl\": \"https://www.my.com/a.b.c\",\n    \"callbackPayload\" : {any json object that will be relayed back to you}\n    \"event\" : \"STATUS_CHANGED\"\n}\n\n</code></pre>\n<p>*Currently only payment object events are supported.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>Only https valid public internet endpoints, protected by a valid certificate are supported. The endpoint will need to process HTTP POST method and consume payload as well as Koverly-Token authentication header.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST //// HTTP/1.1\n.....\n.....\nContent-type: application:json\nKoverly-Token: 823ue89ud289hde9w823d9jh928ed239udh982hdu9h2d98y23ehu92eh98dh239udh29983289838938383==\n{\n  \"success\": true,\n  \"statusCode\": 0,\n  \"webhook\": {\n     \"id\": \"id....\",\n     \"callbackPayload\": {}\n  },\n  \"payment\": {\n    \"paymentId\": \"3dca6f35-162b-4af9-92e9-c16c4c182fc6\",\n    \"paymentNumber\": \"97898755\",\n    \"invoices\": [\n      {\n        \"billId\": \"1fc74da3-2b66-45dd-b408-0cf0caf4752e\",\n        \"currency\": \"USD\",\n        \"dueAmount\": 0,\n        \"paymentAmount\": 12\n      },\n      {\n        \"billId\": \"ab85cd73-fd72-4730-88a5-fd0b06cbbba9\",\n        \"currency\": \"USD\",\n        \"dueAmount\": 0,\n        \"paymentAmount\": 12\n      }\n    ],\n    \"paymentMethodId\": \"123123123123123\",\n    \"fundingMethodId\": \"123123123123123\",\n    \"paymentType\": \"ACH/ACH\",\n    \"payerId\": \"740cb157-3cab-467c-8223-ec4810dd3e09\",\n    \"payeeId\": \"549d6fb1-48c2-4ca4-9c38-a600480f6335\",\n    \"payerCurrency\": \"USD\",\n    \"payeeCurrency\": \"USD\",\n    \"payeeCurrencyRate\": 1,\n    \"scheduleTime\": \"2023-05-29T23:11:01.702Z\",\n    \"sentTime\": null,\n    \"paymentAmount\": 25,\n    \"paymentFeePercentage\": 0,\n    \"payeeFeePercentage\": 0,\n    \"paymentFee\": 0,\n    \"payeeFee\": 0,\n    \"payeeAmount\": 0,\n    \"payeeCurrencyAmount\": 0,\n    \"payerAmount\": 0,\n    \"status\": \"scheduled\",\n    \"transactionStatus\": null,\n    \"paymentTransactionStatus\": null\n  }\n}\n\n</code></pre><h4 id=\"koverly-token\">Koverly-Token</h4>\n<p>Koverly-Token authentication header is a calculated as follows</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const token = B64(HMAC256(weebhookId, 'api-secret'));\ntoken == Koverly-Token header value \n\n</code></pre>\n","_postman_id":"fda6b0af-41b7-482b-9162-ac0220801e1c","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"Embedded Finance","item":[{"name":"/platform/{api.version}/company/{companyId}/credit/application","id":"32a98ba4-cf6b-461c-af6e-b2b16a299bdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"industry\": {\n    \"code\": \"2022\",\n    \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n  },\n  \"address\": {\n    \"address1\": \"1 Entin Road\",\n    \"address2\": \"STE 8\",\n    \"postalCode\": \"07014\",\n    \"ctrySubDivision\": \"NJ\",\n    \"town\": \"CLIFTON\",\n    \"country\": \"US\",\n    \"phone\": \"19732074111\",\n    \"email\": \"bob@marcelliformaggi.com\"\n  },\n  \"leadership\": {\n    \"firstName\": \"Robert\",\n    \"lastName\": \"Marcelli\",\n    \"legalId\": \"262-90-2126\",\n    \"address\": {\n      \"address1\": \"39 Alpine Dr\",\n      \"address2\": \"\",\n      \"postalCode\": \"07470-4201\",\n      \"ctrySubDivision\": \"NJ\",\n      \"town\": \"Wayne\",\n      \"country\": \"US\",\n      \"phone\": \"\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"Robert\",\n      \"lastName\": \"Marcelli\",\n      \"dob\": \"02/02/1950\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"39 Alpine Dr\",\n        \"postalCode\": \"07470-4201\",\n        \"ctrySubDivision\": \"NJ\",\n        \"town\": \"Wayne\",\n        \"country\": \"US\",\n        \"phone\": \"9732074111\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"otherBusinessType\": \"\",\n  \"legalId\": \"26-1628238\",\n  \"governmentIssuedCompanyId\": \"\",\n  \"legalName\": \"Marcelli Formaggi LLC\",\n  \"web\": \"www.marcelliformaggi.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","application"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"471c8794-26a8-4c2a-814c-848c1b4dcc15","name":"example 1","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"industry\": {\n    \"code\": \"2022\",\n    \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n  },\n  \"address\": {\n    \"address1\": \"1 Entin Road\",\n    \"address2\": \"STE 8\",\n    \"postalCode\": \"07014\",\n    \"ctrySubDivision\": \"NJ\",\n    \"town\": \"CLIFTON\",\n    \"country\": \"US\",\n    \"phone\": \"19732074111\",\n    \"email\": \"bob@marcelliformaggi.com\"\n  },\n  \"leadership\": {\n    \"firstName\": \"Robert\",\n    \"lastName\": \"Marcelli\",\n    \"legalId\": \"262-90-2126\",\n    \"address\": {\n      \"address1\": \"39 Alpine Dr\",\n      \"address2\": \"\",\n      \"postalCode\": \"07470-4201\",\n      \"ctrySubDivision\": \"NJ\",\n      \"town\": \"Wayne\",\n      \"country\": \"US\",\n      \"phone\": \"\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"Robert\",\n      \"lastName\": \"Marcelli\",\n      \"dob\": \"02/02/1950\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"39 Alpine Dr\",\n        \"postalCode\": \"07470-4201\",\n        \"ctrySubDivision\": \"NJ\",\n        \"town\": \"Wayne\",\n        \"country\": \"US\",\n        \"phone\": \"9732074111\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"otherBusinessType\": \"\",\n  \"legalId\": \"26-1628238\",\n  \"governmentIssuedCompanyId\": \"\",\n  \"legalName\": \"Marcelli Formaggi LLC\",\n  \"web\": \"www.marcelliformaggi.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 02:51:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1224"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"4c8-ne7PWeYRBaQmbVFn9HjzJaqwE90\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"application\": {\n        \"applicationId\": \"85084352699623714302007360898\",\n        \"applicationType\": \"credit\",\n        \"companyId\": \"3f48ee3b-35b3-485c-a8eb-effbd03a2186\",\n        \"userId\": \"8de435bc-f869-41d2-9a53-a985b1cad81d\",\n        \"industry\": {\n            \"code\": \"2022\",\n            \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n        },\n        \"address\": {\n            \"address1\": \"1 Entin Road\",\n            \"address2\": \"STE 8\",\n            \"postalCode\": \"07014\",\n            \"ctrySubDivision\": \"NJ\",\n            \"town\": \"CLIFTON\",\n            \"country\": \"US\",\n            \"phone\": \"19732074111\",\n            \"email\": \"bob@marcelliformaggi.com\"\n        },\n        \"leadership\": {\n            \"firstName\": \"Robert\",\n            \"lastName\": \"Marcelli\",\n            \"legalId\": \"262-90-2126\",\n            \"address\": {\n                \"address1\": \"39 Alpine Dr\",\n                \"address2\": \"\",\n                \"postalCode\": \"07470-4201\",\n                \"ctrySubDivision\": \"NJ\",\n                \"town\": \"Wayne\",\n                \"country\": \"US\",\n                \"phone\": \"\"\n            }\n        },\n        \"otherOwners\": \"yes\",\n        \"ownership\": [\n            {\n                \"firstName\": \"Robert\",\n                \"lastName\": \"Marcelli\",\n                \"dob\": \"02/02/1950\",\n                \"legalId\": \"262-90-2126\",\n                \"address\": {\n                    \"address1\": \"39 Alpine Dr\",\n                    \"postalCode\": \"07470-4201\",\n                    \"ctrySubDivision\": \"NJ\",\n                    \"town\": \"Wayne\",\n                    \"country\": \"US\",\n                    \"phone\": \"9732074111\"\n                }\n            }\n        ],\n        \"financial\": {\n            \"revenue\": {\n                \"amount\": \"between_1000000_and_2000000\"\n            }\n        },\n        \"type\": \"Limited Liability Company (LLC)\",\n        \"otherBusinessType\": \"\",\n        \"legalId\": \"26-1628238\",\n        \"governmentIssuedCompanyId\": \"\",\n        \"legalName\": \"Marcelli Formaggi LLC\",\n        \"web\": \"www.marcelliformaggi.com\"\n    }\n}"}],"_postman_id":"32a98ba4-cf6b-461c-af6e-b2b16a299bdb"},{"name":"/platform/{api.version}/company/{companyId}/credit/application","id":"b410d5bd-2fd3-467b-a81c-89922b5c5327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"industry\": {\n    \"code\": \"2022\",\n    \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n  },\n  \"address\": {\n    \"address1\": \"1 Entin Road\",\n    \"address2\": \"STE 8\",\n    \"postalCode\": \"07014\",\n    \"ctrySubDivision\": \"NJ\",\n    \"town\": \"CLIFTON\",\n    \"country\": \"US\",\n    \"phone\": \"19732074111\",\n    \"email\": \"bob@marcelliformaggi.com\"\n  },\n  \"leadership\": {\n    \"firstName\": \"Robert\",\n    \"lastName\": \"Marcelli\",\n    \"legalId\": \"262-90-2126\",\n    \"address\": {\n      \"address1\": \"39 Alpine Dr\",\n      \"address2\": \"\",\n      \"postalCode\": \"07470-4201\",\n      \"ctrySubDivision\": \"NJ\",\n      \"town\": \"Wayne\",\n      \"country\": \"US\",\n      \"phone\": \"\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"Robert\",\n      \"lastName\": \"Marcelli\",\n      \"dob\": \"02/02/1950\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"39 Alpine Dr\",\n        \"postalCode\": \"07470-4201\",\n        \"ctrySubDivision\": \"NJ\",\n        \"town\": \"Wayne\",\n        \"country\": \"US\",\n        \"phone\": \"9732074111\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"otherBusinessType\": \"\",\n  \"legalId\": \"26-1628238\",\n  \"governmentIssuedCompanyId\": \"\",\n  \"legalName\": \"Marcelli Formaggi LLC\",\n  \"web\": \"www.marcelliformaggi.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","application"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"af120c44-fd04-4680-90ff-d9929861a0be","name":"example 1","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"industry\": {\n    \"code\": \"2022\",\n    \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n  },\n  \"address\": {\n    \"address1\": \"1 Entin Road\",\n    \"address2\": \"STE 8\",\n    \"postalCode\": \"07014\",\n    \"ctrySubDivision\": \"NJ\",\n    \"town\": \"CLIFTON\",\n    \"country\": \"US\",\n    \"phone\": \"19732074111\",\n    \"email\": \"bob@marcelliformaggi.com\"\n  },\n  \"leadership\": {\n    \"firstName\": \"Robert\",\n    \"lastName\": \"Marcelli\",\n    \"legalId\": \"262-90-2126\",\n    \"address\": {\n      \"address1\": \"39 Alpine Dr\",\n      \"address2\": \"\",\n      \"postalCode\": \"07470-4201\",\n      \"ctrySubDivision\": \"NJ\",\n      \"town\": \"Wayne\",\n      \"country\": \"US\",\n      \"phone\": \"\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"Robert\",\n      \"lastName\": \"Marcelli\",\n      \"dob\": \"02/02/1950\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"39 Alpine Dr\",\n        \"postalCode\": \"07470-4201\",\n        \"ctrySubDivision\": \"NJ\",\n        \"town\": \"Wayne\",\n        \"country\": \"US\",\n        \"phone\": \"9732074111\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"otherBusinessType\": \"\",\n  \"legalId\": \"26-1628238\",\n  \"governmentIssuedCompanyId\": \"\",\n  \"legalName\": \"Marcelli Formaggi LLC\",\n  \"web\": \"www.marcelliformaggi.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 02:53:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1224"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"4c8-ne7PWeYRBaQmbVFn9HjzJaqwE90\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"application\": {\n        \"applicationId\": \"85084352699623714302007360898\",\n        \"applicationType\": \"credit\",\n        \"companyId\": \"3f48ee3b-35b3-485c-a8eb-effbd03a2186\",\n        \"userId\": \"8de435bc-f869-41d2-9a53-a985b1cad81d\",\n        \"industry\": {\n            \"code\": \"2022\",\n            \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n        },\n        \"address\": {\n            \"address1\": \"1 Entin Road\",\n            \"address2\": \"STE 8\",\n            \"postalCode\": \"07014\",\n            \"ctrySubDivision\": \"NJ\",\n            \"town\": \"CLIFTON\",\n            \"country\": \"US\",\n            \"phone\": \"19732074111\",\n            \"email\": \"bob@marcelliformaggi.com\"\n        },\n        \"leadership\": {\n            \"firstName\": \"Robert\",\n            \"lastName\": \"Marcelli\",\n            \"legalId\": \"262-90-2126\",\n            \"address\": {\n                \"address1\": \"39 Alpine Dr\",\n                \"address2\": \"\",\n                \"postalCode\": \"07470-4201\",\n                \"ctrySubDivision\": \"NJ\",\n                \"town\": \"Wayne\",\n                \"country\": \"US\",\n                \"phone\": \"\"\n            }\n        },\n        \"otherOwners\": \"yes\",\n        \"ownership\": [\n            {\n                \"firstName\": \"Robert\",\n                \"lastName\": \"Marcelli\",\n                \"dob\": \"02/02/1950\",\n                \"legalId\": \"262-90-2126\",\n                \"address\": {\n                    \"address1\": \"39 Alpine Dr\",\n                    \"postalCode\": \"07470-4201\",\n                    \"ctrySubDivision\": \"NJ\",\n                    \"town\": \"Wayne\",\n                    \"country\": \"US\",\n                    \"phone\": \"9732074111\"\n                }\n            }\n        ],\n        \"financial\": {\n            \"revenue\": {\n                \"amount\": \"between_1000000_and_2000000\"\n            }\n        },\n        \"type\": \"Limited Liability Company (LLC)\",\n        \"otherBusinessType\": \"\",\n        \"legalId\": \"26-1628238\",\n        \"governmentIssuedCompanyId\": \"\",\n        \"legalName\": \"Marcelli Formaggi LLC\",\n        \"web\": \"www.marcelliformaggi.com\"\n    }\n}"}],"_postman_id":"b410d5bd-2fd3-467b-a81c-89922b5c5327"},{"name":"/platform/{api.version}/company/{companyId}/credit/application/widget","id":"a166a998-2834-42d3-a894-ca8c4246bf1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"userId\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application/widget","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","application","widget"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"6f2c17a1-92bf-4ab1-a638-4e0bc17d6910","name":"/platform/{api.version}/company/{companyId}/credit/plan","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 15:39:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1035"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"40b-zJhfEl0pH3pDLxsNnw1U6uWDRbQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"plan\": {\n        \"displayName\": \"New plan with description 2\",\n        \"description\": \"* test\\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen\",\n        \"creditDelayEnabled\": true,\n        \"creditDelayValue\": 4,\n        \"creditOffers\": [\n            {\n                \"creditOfferId\": \"25431698\",\n                \"name\": \"More offer 8\",\n                \"description\": \"More offer 8\",\n                \"installmentNumber\": 34,\n                \"installmentInterval\": 54,\n                \"installmentPercentage\": 45\n            },\n            {\n                \"creditOfferId\": \"90090815\",\n                \"name\": \"More offer 2\",\n                \"description\": \"More offer 2\",\n                \"installmentNumber\": 4,\n                \"installmentInterval\": 5,\n                \"installmentPercentage\": 3\n            },\n            {\n                \"creditOfferId\": \"69918875\",\n                \"name\": \"10 payments per 14 days (25%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 10,\n                \"installmentInterval\": 14,\n                \"installmentPercentage\": 25\n            },\n            {\n                \"creditOfferId\": \"40208009\",\n                \"name\": \"2 payments per 7 days (10%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 2,\n                \"installmentInterval\": 7,\n                \"installmentPercentage\": 10\n            }\n        ]\n    }\n}"}],"_postman_id":"a166a998-2834-42d3-a894-ca8c4246bf1e"},{"name":"/platform/{api.version}/company/{companyId}/credit/status","id":"2332ec6c-3865-4e66-9b8e-1d8531caa65d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/status","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","status"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"36da981f-dea5-4238-8582-3b88a892dea9","name":"example 1","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"industry\": {\n    \"code\": \"2022\",\n    \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n  },\n  \"address\": {\n    \"address1\": \"1 Entin Road\",\n    \"address2\": \"STE 8\",\n    \"postalCode\": \"07014\",\n    \"ctrySubDivision\": \"NJ\",\n    \"town\": \"CLIFTON\",\n    \"country\": \"US\",\n    \"phone\": \"19732074111\",\n    \"email\": \"bob@marcelliformaggi.com\"\n  },\n  \"leadership\": {\n    \"firstName\": \"Robert\",\n    \"lastName\": \"Marcelli\",\n    \"legalId\": \"262-90-2126\",\n    \"address\": {\n      \"address1\": \"39 Alpine Dr\",\n      \"address2\": \"\",\n      \"postalCode\": \"07470-4201\",\n      \"ctrySubDivision\": \"NJ\",\n      \"town\": \"Wayne\",\n      \"country\": \"US\",\n      \"phone\": \"\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"Robert\",\n      \"lastName\": \"Marcelli\",\n      \"dob\": \"02/02/1950\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"39 Alpine Dr\",\n        \"postalCode\": \"07470-4201\",\n        \"ctrySubDivision\": \"NJ\",\n        \"town\": \"Wayne\",\n        \"country\": \"US\",\n        \"phone\": \"9732074111\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"otherBusinessType\": \"\",\n  \"legalId\": \"26-1628238\",\n  \"governmentIssuedCompanyId\": \"\",\n  \"legalName\": \"Marcelli Formaggi LLC\",\n  \"web\": \"www.marcelliformaggi.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 02:53:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1224"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"4c8-ne7PWeYRBaQmbVFn9HjzJaqwE90\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"application\": {\n        \"applicationId\": \"85084352699623714302007360898\",\n        \"applicationType\": \"credit\",\n        \"companyId\": \"3f48ee3b-35b3-485c-a8eb-effbd03a2186\",\n        \"userId\": \"8de435bc-f869-41d2-9a53-a985b1cad81d\",\n        \"industry\": {\n            \"code\": \"2022\",\n            \"name\": \"NATURAL, PROCESSED, AND IMITATION CHEESE\"\n        },\n        \"address\": {\n            \"address1\": \"1 Entin Road\",\n            \"address2\": \"STE 8\",\n            \"postalCode\": \"07014\",\n            \"ctrySubDivision\": \"NJ\",\n            \"town\": \"CLIFTON\",\n            \"country\": \"US\",\n            \"phone\": \"19732074111\",\n            \"email\": \"bob@marcelliformaggi.com\"\n        },\n        \"leadership\": {\n            \"firstName\": \"Robert\",\n            \"lastName\": \"Marcelli\",\n            \"legalId\": \"262-90-2126\",\n            \"address\": {\n                \"address1\": \"39 Alpine Dr\",\n                \"address2\": \"\",\n                \"postalCode\": \"07470-4201\",\n                \"ctrySubDivision\": \"NJ\",\n                \"town\": \"Wayne\",\n                \"country\": \"US\",\n                \"phone\": \"\"\n            }\n        },\n        \"otherOwners\": \"yes\",\n        \"ownership\": [\n            {\n                \"firstName\": \"Robert\",\n                \"lastName\": \"Marcelli\",\n                \"dob\": \"02/02/1950\",\n                \"legalId\": \"262-90-2126\",\n                \"address\": {\n                    \"address1\": \"39 Alpine Dr\",\n                    \"postalCode\": \"07470-4201\",\n                    \"ctrySubDivision\": \"NJ\",\n                    \"town\": \"Wayne\",\n                    \"country\": \"US\",\n                    \"phone\": \"9732074111\"\n                }\n            }\n        ],\n        \"financial\": {\n            \"revenue\": {\n                \"amount\": \"between_1000000_and_2000000\"\n            }\n        },\n        \"type\": \"Limited Liability Company (LLC)\",\n        \"otherBusinessType\": \"\",\n        \"legalId\": \"26-1628238\",\n        \"governmentIssuedCompanyId\": \"\",\n        \"legalName\": \"Marcelli Formaggi LLC\",\n        \"web\": \"www.marcelliformaggi.com\"\n    }\n}"}],"_postman_id":"2332ec6c-3865-4e66-9b8e-1d8531caa65d"},{"name":"/platform/{api.version}/company/{companyId}/credit/plan","id":"b7ef319f-fa70-44dd-9c65-6838ebbdd5a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","plan"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"6fce6f5c-0fb5-434c-93af-acbfc11888bf","name":"/platform/{api.version}/company/{companyId}/credit/plan","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 15:39:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1035"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"40b-zJhfEl0pH3pDLxsNnw1U6uWDRbQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"plan\": {\n        \"displayName\": \"New plan with description 2\",\n        \"description\": \"* test\\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen\",\n        \"creditDelayEnabled\": true,\n        \"creditDelayValue\": 4,\n        \"creditOffers\": [\n            {\n                \"creditOfferId\": \"25431698\",\n                \"name\": \"More offer 8\",\n                \"description\": \"More offer 8\",\n                \"installmentNumber\": 34,\n                \"installmentInterval\": 54,\n                \"installmentPercentage\": 45\n            },\n            {\n                \"creditOfferId\": \"90090815\",\n                \"name\": \"More offer 2\",\n                \"description\": \"More offer 2\",\n                \"installmentNumber\": 4,\n                \"installmentInterval\": 5,\n                \"installmentPercentage\": 3\n            },\n            {\n                \"creditOfferId\": \"69918875\",\n                \"name\": \"10 payments per 14 days (25%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 10,\n                \"installmentInterval\": 14,\n                \"installmentPercentage\": 25\n            },\n            {\n                \"creditOfferId\": \"40208009\",\n                \"name\": \"2 payments per 7 days (10%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 2,\n                \"installmentInterval\": 7,\n                \"installmentPercentage\": 10\n            }\n        ]\n    }\n}"}],"_postman_id":"b7ef319f-fa70-44dd-9c65-6838ebbdd5a9"},{"name":"/platform/{api.version}/company/{companyId}/credit/plan/default","id":"21f2dac0-6253-40d5-a9d3-d5e27337a8f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan/default","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","plan","default"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"9b045bab-d8ce-42f3-856c-ecaca1a96d99","name":"/platform/{api.version}/company/{companyId}/credit/plan","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 15:39:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1035"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"40b-zJhfEl0pH3pDLxsNnw1U6uWDRbQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"plan\": {\n        \"displayName\": \"New plan with description 2\",\n        \"description\": \"* test\\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen\",\n        \"creditDelayEnabled\": true,\n        \"creditDelayValue\": 4,\n        \"creditOffers\": [\n            {\n                \"creditOfferId\": \"25431698\",\n                \"name\": \"More offer 8\",\n                \"description\": \"More offer 8\",\n                \"installmentNumber\": 34,\n                \"installmentInterval\": 54,\n                \"installmentPercentage\": 45\n            },\n            {\n                \"creditOfferId\": \"90090815\",\n                \"name\": \"More offer 2\",\n                \"description\": \"More offer 2\",\n                \"installmentNumber\": 4,\n                \"installmentInterval\": 5,\n                \"installmentPercentage\": 3\n            },\n            {\n                \"creditOfferId\": \"69918875\",\n                \"name\": \"10 payments per 14 days (25%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 10,\n                \"installmentInterval\": 14,\n                \"installmentPercentage\": 25\n            },\n            {\n                \"creditOfferId\": \"40208009\",\n                \"name\": \"2 payments per 7 days (10%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 2,\n                \"installmentInterval\": 7,\n                \"installmentPercentage\": 10\n            }\n        ]\n    }\n}"}],"_postman_id":"21f2dac0-6253-40d5-a9d3-d5e27337a8f7"},{"name":"/platform/{api.version}/company/{companyId}/credit/checkout/widget","id":"d0dfc9b6-49c9-4905-a7e6-69cdbf365b97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"userId\": \"530a3afc-464a-4d0b-9603-f8ff34dcad10\",\n  \"bills\": [\n    {\n      \"billId\": \"74d03b21-0394-4140-bf37-42dad7e7fcf0\"\n    }\n  ],\n  \"collectingMethodId\": \"788625669942507186122198476200016\",\n  \"fundingMethodId\": \"8798240650587731247102005464000016\",\n  \"creditOfferId\": \"37acbf55-fe10-4e78-93e2-d7e38fdc6a3b\",\n  \"partnerFunding\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/checkout/widget","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","checkout","widget"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[{"id":"7926cf32-f5be-44ad-af77-6f104fc6687d","name":"/platform/{api.version}/company/{companyId}/credit/plan","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/plan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 15:39:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1035"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.21.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"40b-zJhfEl0pH3pDLxsNnw1U6uWDRbQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"statusCode\": 0,\n    \"plan\": {\n        \"displayName\": \"New plan with description 2\",\n        \"description\": \"* test\\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen\",\n        \"creditDelayEnabled\": true,\n        \"creditDelayValue\": 4,\n        \"creditOffers\": [\n            {\n                \"creditOfferId\": \"25431698\",\n                \"name\": \"More offer 8\",\n                \"description\": \"More offer 8\",\n                \"installmentNumber\": 34,\n                \"installmentInterval\": 54,\n                \"installmentPercentage\": 45\n            },\n            {\n                \"creditOfferId\": \"90090815\",\n                \"name\": \"More offer 2\",\n                \"description\": \"More offer 2\",\n                \"installmentNumber\": 4,\n                \"installmentInterval\": 5,\n                \"installmentPercentage\": 3\n            },\n            {\n                \"creditOfferId\": \"69918875\",\n                \"name\": \"10 payments per 14 days (25%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 10,\n                \"installmentInterval\": 14,\n                \"installmentPercentage\": 25\n            },\n            {\n                \"creditOfferId\": \"40208009\",\n                \"name\": \"2 payments per 7 days (10%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 2,\n                \"installmentInterval\": 7,\n                \"installmentPercentage\": 10\n            }\n        ]\n    }\n}"}],"_postman_id":"d0dfc9b6-49c9-4905-a7e6-69cdbf365b97"},{"name":"/platform/{api.version}/company/{companyId}/vendor/{vendorId}/credit/loan/reservation","id":"4c1ff4d8-b498-4b4e-9d55-39069d33e872","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bills\": [\n    {\n      \"billId\": \"74d03b21-0394-4140-bf37-42dad7e7fcf0\"\n    }\n  ],\n  \"collectingMethodId\": \"788625669942507186122198476200016\",\n  \"fundingMethodId\": \"453347897897898755\",\n  \"creditOfferId\": \"25431698\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/vendor/632f238c-6128-43e6-b32c-47611f607d2a/credit/loan/reservation","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","vendor","632f238c-6128-43e6-b32c-47611f607d2a","credit","loan","reservation"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c1ff4d8-b498-4b4e-9d55-39069d33e872"},{"name":"/platform/{api.version}/company/{companyId}/credit/loan/{loanId}/allocate","id":"4376e7ba-241d-4d7f-b9e8-c1d48f3b2a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/loan/eb6dbd95-e60c-4844-9c45-a90b4c3efb59/allocate","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","loan","eb6dbd95-e60c-4844-9c45-a90b4c3efb59","allocate"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4376e7ba-241d-4d7f-b9e8-c1d48f3b2a03"},{"name":"/platform/{api.version}/company/{companyId}/credit/loan/{loanId}/cancel","id":"9da08a5b-db73-4aa9-9ab5-a92de2425a7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://sand2.koverly.com/platform/v1/company/39389d44-e063-4967-b8ba-403cfd333f1f/credit/loan/eb6dbd95-e60c-4844-9c45-a90b4c3efb59/cancel","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"path":["platform","v1","company","39389d44-e063-4967-b8ba-403cfd333f1f","credit","loan","eb6dbd95-e60c-4844-9c45-a90b4c3efb59","cancel"],"host":["https://sand2.koverly.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9da08a5b-db73-4aa9-9ab5-a92de2425a7f"}],"id":"b13046ff-bde6-4381-9417-783f09524ab6","description":"<p>Landing API is a collection of calls that support management, reservation and allocation of KoverylPay loans from Koverly platform.</p>\n<h3 id=\"credit-application\">Credit Application</h3>\n<p>In order to initiate credit process Koverly Pay application needs to be filled out and submitted. The following information is needed in order to initialize cresit application with API. Application can also be initialize via embedded widget as well.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"industry\": {\n    \"code\": \"SIC Code\",\n    \"name\": \"SIC Code description\"\n  },\n  \"address\": {\n    \"address1\": \"address line 1\",\n    \"address2\": \"address line 2\",\n    \"postalCode\": \"postal code\",\n    \"ctrySubDivision\": \"In US mus contain valid state code [A-Z]{2}\",\n    \"town\": \"Town or city name\",\n    \"country\": \"Must contain 2 character code for country\",\n    \"phone\": \"phone number\",\n    \"email\": \"valid email\"\n  },\n  \"leadership\": {\n    \"firstName\": \"First name\",\n    \"lastName\": \"LastName\",\n    \"legalId\": \"In US should be a valid SSN\",\n    \"passportNumber\": \"Passport information\",\n    \"dateOfPassportExpiry\": \"Date passport expires\",\n    \"address\": {\n      \"address1\": \"Address line 1\",\n      \"address2\": \"\",\n      \"postalCode\": \"postal code\",\n      \"ctrySubDivision\": \"In US is a valid state\",\n      \"town\": \"Town\",\n      \"country\": \"Must contain 2 character code for country\",\n      \"phone\": \"phone\"\n    }\n  },\n  \"otherOwners\": \"yes\",\n  \"ownership\": [\n    {\n      \"firstName\": \"\",\n      \"lastName\": \"\",\n      \"dob\": \"valid date of birth mm/DD/yyyy\",\n      \"legalId\": \"262-90-2126\",\n      \"address\": {\n        \"address1\": \"\",\n        \"postalCode\": \"\",\n        \"ctrySubDivision\": \"\",\n        \"town\": \"\",\n        \"country\": \"\",\n        \"phone\": \"\"\n      }\n    }\n  ],\n  \"financial\": {\n    \"revenue\": {\n      \"amount\": \"between_1000000_and_2000000\"\n    }\n  },\n  \"type\": \"Limited Liability Company (LLC)\",\n  \"legalId\": \"In US must have valid EIN\",\n  \"governmentIssuedCompanyId\": \"In non US\",\n  \"legalName\": \"Liga company name\",\n  \"web\": \"web presence URL\"\n}\n\n</code></pre>\n<h4 id=\"sic-codes\">SIC Codes</h4>\n<p><a href=\"https://www.sec.gov/corpfin/division-of-corporation-finance-standard-industrial-classification-sic-code-list\">SIC Codesx</a></p>\n<h4 id=\"revenue-ranges\">Revenue Ranges</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Descitpion</strong></th>\n<th><strong>Range</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Under $500,000 per year</td>\n<td>under_500000</td>\n</tr>\n<tr>\n<td>$500,000 - $1,000,000 per year</td>\n<td>between_500000_and_1000000</td>\n</tr>\n<tr>\n<td>$1,000,000 - $2,000,000 per year</td>\n<td>between_1000000_and_2000000</td>\n</tr>\n<tr>\n<td>$1,000,000 - $5,000,000 per year</td>\n<td>between_1000000_and_5000000</td>\n</tr>\n<tr>\n<td>Over $5,000,000 per year</td>\n<td>more_5000000</td>\n</tr>\n</tbody>\n</table>\n</div><p>Company Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Types</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Sole Proprietorships</td>\n</tr>\n<tr>\n<td>Partnerships</td>\n</tr>\n<tr>\n<td>S Corporations</td>\n</tr>\n<tr>\n<td>Limited Liability Company (LLC)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<p>The status endpoint returns information about credit line, including activation, balance and outstanding amounts.</p>\n<h2 id=\"plan\">Plan</h2>\n<p>The Plan endpoint returns information about credit plan that is assigned to the caller.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"plan\": {\n        \"displayName\": \"New plan with description 2\",\n        \"description\": \"* test\\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen\",\n        \"creditDelayEnabled\": true,\n        \"creditDelayValue\": 4,\n        \"creditOffers\": [\n            {\n                \"creditOfferId\": \"25431698\",\n                \"name\": \"More offer 8\",\n                \"description\": \"More offer 8\",\n                \"installmentNumber\": 34,\n                \"installmentInterval\": 54,\n                \"installmentPercentage\": 45\n            },\n            {\n                \"creditOfferId\": \"90090815\",\n                \"name\": \"More offer 2\",\n                \"description\": \"More offer 2\",\n                \"installmentNumber\": 4,\n                \"installmentInterval\": 5,\n                \"installmentPercentage\": 3\n            },\n            {\n                \"creditOfferId\": \"69918875\",\n                \"name\": \"10 payments per 14 days (25%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 10,\n                \"installmentInterval\": 14,\n                \"installmentPercentage\": 25\n            },\n            {\n                \"creditOfferId\": \"40208009\",\n                \"name\": \"2 payments per 7 days (10%)\",\n                \"description\": \"\",\n                \"installmentNumber\": 2,\n                \"installmentInterval\": 7,\n                \"installmentPercentage\": 10\n            }\n        ]\n    }\n}\n\n</code></pre>\n<h4 id=\"reserving-the-loan\">Reserving the Loan</h4>\n<p>In order to aquire the loan we first create loan reservation that take information about purpose of the loan, amount, invoices and returns reservation id that is valid for a period of time.</p>\n<p>The payload required for the loan reservation is described below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"bills\": [\n    {\n      \"billId\": \"id of the bill created with bill api\"\n    }\n  ],\n  \"collectingMethodId\": \"The method create with method api that will be used to collect loan repayments\",\n  \"fundingMethodId\": \"Method that can be used to fund the reciver of loan funds.\",\n  \"creditOfferId\": \"credit offer selected.\"\n}\n\n</code></pre>\n<h4 id=\"allocate-the-loan\">Allocate the Loan</h4>\n<p>If reservation is successful it will contain <code>loan_id</code> that can be used to allocate the loan.</p>\n<p>The allocation call will return status to confirm that loan was allocated.</p>\n","_postman_id":"b13046ff-bde6-4381-9417-783f09524ab6","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}}],"id":"8c46a63e-d531-4325-885c-8621db349e80","_postman_id":"8c46a63e-d531-4325-885c-8621db349e80","description":"","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}},{"name":"PLAID","item":[{"name":"New Request","id":"14661b83-e237-4545-86ea-0fbb3b0515c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"14661b83-e237-4545-86ea-0fbb3b0515c1"}],"id":"319273b7-3865-4a35-8cbb-c1db98ff1010","_postman_id":"319273b7-3865-4a35-8cbb-c1db98ff1010","description":"","auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"},"isInherited":true,"source":{"_postman_id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","id":"a612f9e2-a87f-4ae9-89a9-1fd3c5335bc4","name":"Koverly API","type":"collection"}}}],"auth":{"type":"jwt","jwt":{"payload":"<payload>","secret":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","isSecretBase64Encoded":"<is-secret-base64encoded>","algorithm":"<algorithm>","addTokenTo":"<add-token-to>","headerPrefix":"<header-prefix>","queryParamKey":"<query-param-key>","header":"<header>"}},"event":[{"listen":"prerequest","script":{"id":"e0d54d6f-8074-4d88-b322-8af2451854cd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b1a0d992-79fb-40bd-bcd8-b5af2f9399b6","type":"text/javascript","exec":[""]}}],"variable":[{"key":"platform.endpoint","value":"https://sand2.koverly.com"},{"key":"api.version","value":"v1"},{"key":"api.key","value":"kk-Yta3y6eHw80FYdOmfCOJJ-Zn_blCMAG_ZKYoBdF2DkkTUYzf3jTLx9Fc5llZyNI9QpEcJlVmGEdksYEZx5tRXg","type":"string"},{"key":"api.secret","value":"ks-ABzNigfq99jkEdLvpqRBbdDTXz4_d5TV75NBeaDLRewuMDCKEpGKVg9QkjrAORRwalVEUKdn0JdU8rGKTT_JOYUVkU9WToCGRJdhsThWuxl3Op-bD1GoLS8o6NtEo28GreHUiIUb7A3wm1G10ktVYMU78pZkFAQlcdleuDxSEqsOWtBERCgfHBmpYNq9JHNNqaicAf1AqjBDqKkHgIYKJ4","type":"string"},{"key":"api.token","value":""},{"key":"local.comapnyId","value":"0420c8d0-aeb8-455b-b50d-552d739893c6\n\n"},{"key":"companyId","value":"39389d44-e063-4967-b8ba-403cfd333f1f"},{"key":"vendorId","value":"632f238c-6128-43e6-b32c-47611f607d2a"},{"key":"userId","value":"8de435bc-f869-41d2-9a53-a985b1cad81d"},{"key":"customerId","value":"330c41dc-3dd7-46c6-9ae0-185511b15609","type":"string"},{"key":"loanId","value":"eb6dbd95-e60c-4844-9c45-a90b4c3efb59"}]}