{"info":{"_postman_id":"1dd9ff14-db56-4daa-964c-5db1f86796cd","name":"Public BlytzPay API New","description":"<html><head></head><body><h3 id=\"overview\">Overview</h3>\n<p>This documentation is to provide merchants the ability to integrate with BlytzPay with ease. BlytzPay allows our merchants to create, update and delete their Customers, Invoices, Messages, and Transactions through our robust API.</p>\n<hr>\n<h4 id=\"host-environments\">Host Environments</h4>\n<p>BlytzPay offers two environents for our clients to build in. We have our Production and Sandbox environments. Be aware of the two environments and not use a sandbox URL in your production environments. </p>\n<p><strong>Production:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://connect.blytzpay.com/v2\n</code></pre><p><strong>Sandbox:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://sandbox.blytzpay.com/v2\n</code></pre><hr>\n<h4 id=\"notes\">Notes</h4>\n<p>Sandbox environments are periodically emptied and cleared of data to ensure a clean sandbox for all clients. Also the BlytzPay sandbox environment is the first environment to see upcoming changes to our applications.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14361556","collectionId":"1dd9ff14-db56-4daa-964c-5db1f86796cd","publishedId":"TzecCQtf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-06-23T21:08:02.000Z"},"item":[{"name":"Customers","item":[{"name":"Create | Customer","event":[{"listen":"test","script":{"id":"70d51ecb-757f-4b70-81ea-6c6c9169f496","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Inserted invoices successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.success).to.eql(true);","  pm.environment.set('blytzpay_customer_id', jsonData.customer.blytzpay_customer_id)","  pm.environment.set('blytzpay_customer_custom_field_id', jsonData.customer.custom_fields[0].blytzpay_custom_field_id)","});","pm.test(\"Response time is less than 2500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2500);","});","postman.setNextRequest('Get One | Customer')"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"003346bb-b9d7-481a-b956-cc3961ef587e","exec":["var phoneNumber = \"55555501\"+Math.floor(0 + Math.random() * 9)+Math.floor(0 + Math.random() * 9);","pm.environment.set(\"phone\", phoneNumber);","pm.environment.set(\"customer_id\",  Math.floor(Math.random() * 90000) + '_' + Math.floor(0 + Math.random() * 90000))"],"type":"text/javascript"}}],"id":"2bf0f476-00cf-477a-bc94-a2f032b0b936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"suppress_customer_invite\": false,\n    \"customer\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"phone\": \"{{phone}}\",\n        \"date_of_birth\": \"{{date_of_birth}}\",\n        \"address\": \"{{street}}\",\n        \"address2\": \"{{street2}}\",\n        \"city\": \"{{city}}\",\n        \"state\": \"{{state}}\",\n        \"zip\": \"{{postalCode}}\",\n        \"country\": \"{{countryCode}}\",\n        \"customer_id\": \"{{customer_id}}\",\n        \"ssn\": \"{{ssn}}\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"custom_fields\": [\n            {\n                \"field_name\": \"Financial\",\n                \"field_value\": \"Inclusion\"\n            },\n            {\n                \"field_name\": \"Blytz\",\n                \"field_value\": \"Pay\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/customer/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Provided by BlytzPay</td>\n</tr>\n<tr>\n<td>suppress_customer_invite</td>\n<td>boolean</td>\n<td><strong>required</strong></td>\n<td>If this is set to False, a SMS and/or email will be sent to the newly created customer inviting them to register through BlytzPay.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customer-object\">Customer Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>preferred_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>A name the customer likes to go by that is possibly not their legal name. Example: <em>Robert</em> = <em>Bob</em></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Format: 8015551234</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Abbreviation of state - <em>ex: TX, UT, AL, AK</em></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Social security number - Format: 123456789</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Your system's customer id</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>sms_optin</td>\n<td>boolean</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>email_optin</td>\n<td>boolean</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>is_company</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td>If setting to true, first_name and last_name will be used as the company contact.</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom-fields-optional\">Custom Fields (optional)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c3f0327a-dcb1-43b0-8e0f-33d2ed04944c","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"suppress_customer_invite\": false,\n    \"customer\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"phone\": \"{{phone}}\",\n        \"date_of_birth\": \"{{date_of_birth}}\",\n        \"address\": \"{{street}}\",\n        \"address2\": \"{{street2}}\",\n        \"city\": \"{{city}}\",\n        \"state\": \"{{state}}\",\n        \"zip\": \"{{postalCode}}\",\n        \"country\": \"{{countryCode}}\",\n        \"customer_id\": \"{{customer_id}}\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"custom_fields\": [\n            {\n                \"field_name\": \"Financial\",\n                \"field_value\": \"Inclusion\"\n            },\n            {\n                \"field_name\": \"Blytz\",\n                \"field_value\": \"Pay\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/customer/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:22:51 GMT"},{"key":"Content-Length","value":"1020"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"customer\": {\n        \"address\": \"1234 apple st\",\n        \"address2\": \"apt 25\",\n        \"address_city\": \"lehi\",\n        \"address_zip\": \"84043\",\n        \"address_state\": \"Utah\",\n        \"address_county\": null,\n        \"address_country\": \"United States\",\n        \"verified\": false,\n        \"id\": \"247154581357\",\n        \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n        \"customer_id\": \"247154581357\",\n        \"first_name\": \"Edward\",\n        \"last_name\": \"Mead\",\n        \"phone\": \"5555550121\",\n        \"email\": null,\n        \"status\": \"Enabled\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"b5383bdd-20a1-472d-89ae-1473dc97a2fe\",\n                \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                \"customer_id\": \"247154581357\",\n                \"field_name\": \"Financial\",\n                \"field_value\": \"Inclusion\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"d0ee42c9-4d23-409e-99d0-c7208395404a\",\n                \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                \"customer_id\": \"247154581357\",\n                \"field_name\": \"Blytz\",\n                \"field_value\": \"Pay\",\n                \"order\": 0\n            }\n        ],\n        \"date_of_birth\": \"12-31-1992 00:00:00\",\n        \"accounts\": []\n    },\n    \"warnings\": [\n        \"Failed to send out invite via text to 5555550121\"\n    ]\n}"}],"_postman_id":"2bf0f476-00cf-477a-bc94-a2f032b0b936"},{"name":"Update | Customer","event":[{"listen":"test","script":{"id":"00ba1576-8fab-4f7b-8843-4ea69cbac9b8","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Inserted invoices successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.success).to.eql(true);","  pm.expect(jsonData.customer.address).to.eql(\"123 Smart Avenues\");","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Get All | Customers')"],"type":"text/javascript"}}],"id":"76993dc1-36c4-4ada-9739-7deed7bfd925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"customer\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"date_of_birth\": \"01-01-1980\",\n        \"address\": \"123 Smart Avenues\",\n        \"address2\": \"apt #25\",\n        \"city\": \"Lehi\",\n        \"state\": \"Utah\",\n        \"zip\": \"84043\",\n        \"country\": \"US\",\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"new_customer_id\": \"{{customer_id}}\",\n        \"email_optin\": false,\n        \"custom_fields\": [\n        \t{\n        \t\t\"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\",\n\t\t\t\t\"field_name\": \"Financial\",\n\t\t\t\t\"field_value\": \"Level Playing Field\"\n        \t}\n        ]\n    }\n}"},"url":"{{host}}/customer/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Provided by BlytzPay</td>\n</tr>\n<tr>\n<td>suppress_customer_invite</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td>If this is set to False, a SMS and/or email will be sent to the newly created customer inviting them to register through BlytzPay.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customer-object\">Customer Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>new_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): abc123</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1234e678-12w3-1a23-12s3-1234e1234e12</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): Johnathan</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): Smith</td>\n</tr>\n<tr>\n<td>preferred_name</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td>A name the customer likes to go by that is possibly not their legal name - Example(s): John</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 5555550101</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 123 Apple Road</td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td>Example(s): Apt #25</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): <a href=\"mailto:Johnsmith@example.com\">Johnsmith@example.com</a></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): Salt Lake City</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Abbreviation of state - Example(s): UT</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 84043</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): US</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): Iron</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Your system's customer id - Example(s): abc123</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>sms_optin</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email_optin</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Social security number - Example(s): 123456789</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom-fields-optional\">Custom Fields (optional)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6a78c292-d649-4211-879a-e246b6929b31","name":"Update Customer","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"customer\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"date_of_birth\": \"01-01-1980\",\n        \"address\": \"123 Smart Avenues\",\n        \"address2\": \"apt #25\",\n        \"city\": \"Lehi\",\n        \"state\": \"Utah\",\n        \"zip\": \"84043\",\n        \"country\": \"US\",\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"new_customer_id\": \"supercool\",\n        \"email_optin\": false,\n        \"custom_fields\": [\n        \t{\n        \t\t\"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\",\n\t\t\t\t\"field_name\": \"Financial\",\n\t\t\t\t\"field_value\": \"Level Playing Field\"\n        \t}\n        ]\n    }\n}"},"url":"{{host}}/customer/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:25:20 GMT"},{"key":"Content-Length","value":"962"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"customer\": {\n        \"address\": \"123 smart avenues\",\n        \"address2\": \"apt #25\",\n        \"address_city\": \"lehi\",\n        \"address_zip\": \"84043\",\n        \"address_state\": \"Utah\",\n        \"address_county\": null,\n        \"address_country\": \"United States\",\n        \"verified\": false,\n        \"id\": \"supercool\",\n        \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n        \"customer_id\": \"supercool\",\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"phone\": \"5555550121\",\n        \"email\": null,\n        \"status\": \"Enabled\",\n        \"sms_optin\": true,\n        \"email_optin\": false,\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"d0ee42c9-4d23-409e-99d0-c7208395404a\",\n                \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                \"customer_id\": \"supercool\",\n                \"field_name\": \"Blytz\",\n                \"field_value\": \"Pay\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"b5383bdd-20a1-472d-89ae-1473dc97a2fe\",\n                \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                \"customer_id\": \"supercool\",\n                \"field_name\": \"Financial\",\n                \"field_value\": \"Level Playing Field\",\n                \"order\": 10\n            }\n        ],\n        \"date_of_birth\": \"01-01-1980 00:00:00\",\n        \"accounts\": []\n    }\n}"}],"_postman_id":"76993dc1-36c4-4ada-9739-7deed7bfd925"},{"name":"Get One | Customer","event":[{"listen":"test","script":{"id":"7f045d5f-c977-483a-9cc6-4118d2024429","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Update | Customer')"],"type":"text/javascript"}}],"id":"4b8eab6c-75c0-4fd8-b896-d57b56248051","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}"},"url":"{{host}}/customer","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b6c4ae97-c6be-48c5-9e6e-6e4efc8f5b9e","name":"Get One | Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}"},"url":"{{host}}/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1408"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 29 Jan 2021 17:32:45 GMT"},{"key":"x-amzn-RequestId","value":"9acf8d6c-0538-47b0-90ea-5f11c65ad246"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"x-amz-apigw-id","value":"Z6_9lEGeoAMFVNw="},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"X-Amzn-Trace-Id","value":"Root=1-601446bd-1776789e69b79ec7072da0bd"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 2c861897aa9389c1f47299b6fea5b59d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEN50-C2"},{"key":"X-Amz-Cf-Id","value":"aV1Dg63VBgqkm-qWVXpQ5fOofE2SfCyDtVY0S9pnNUp3BNJ5G3TUjA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"customer\": {\n        \"address\": \"12300 South 300 East\",\n        \"address2\": null,\n        \"address_city\": \"Draper\",\n        \"address_zip\": \"84020\",\n        \"address_state\": \"Utah\",\n        \"address_county\": \"Salt Lake County\",\n        \"address_country\": \"United States\",\n        \"verified\": false,\n        \"preferred_name\": null,\n        \"created_at\": 1607979282,\n        \"updated_at\": 1607979483,\n        \"invitation_code\": null,\n        \"blytzpay_user_id\": \"f6c66503-444d-4b41-a649-83c952bd634e\",\n        \"blytzpay_customer_id\": \"351c8119-7876-4bef-82e7-fb3f5e369ec6\",\n        \"customer_id\": \"setup\",\n        \"first_name\": \"Bklytztest\",\n        \"last_name\": \"test\",\n        \"phone\": \"5555555555\",\n        \"email\": \"example@blytzpay.com\",\n        \"status\": \"Active\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"timezone\": \"America/Denver\",\n        \"custom_fields\": [],\n        \"date_of_birth\": \"10-10-2000 00:00:00\",\n        \"accounts\": [\n            {\n                \"blytzpay_account_id\": \"73f2e996-5555-5555-5555-56fb0d94eb84\",\n                \"created_at\": \"12-14-2020 20:55:12\",\n                \"updated_at\": \"12-14-2020 20:55:12\",\n                \"status\": \"Active\",\n                \"active\": true,\n                \"account_type\": \"Auto Loan\",\n                \"description\": null,\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"note\": null,\n                \"email\": null,\n                \"balance\": null,\n                \"account_id\": \"testing12345\",\n                \"enrolled_in_autopay\": false,\n                \"account_terms_url\": null,\n                \"customer_id\": 1,\n                \"custom_fields\": []\n            }\n        ],\n        \"user_verified\": false,\n        \"company_contact_number\": \"+15555555555\",\n        \"is_company\": false\n    }\n}"}],"_postman_id":"4b8eab6c-75c0-4fd8-b896-d57b56248051"},{"name":"Get All | Customers","event":[{"listen":"test","script":{"id":"79b47df9-f6ef-440e-89d0-402d1347c321","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2000);","});","postman.setNextRequest('Create Custom Field | Customer')"],"type":"text/javascript"}}],"id":"e3d5c2d1-b82a-4a06-a93c-46370c3d6a90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/customers","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_user_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status_ids</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2f80350c-7699-414c-a433-a158835b7738","name":"Get All Customers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:36:05 GMT"},{"key":"Content-Length","value":"862"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"customers\": [\n        {\n            \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n            \"customer_id\": \"supercool\",\n            \"first_name\": \"Mister\",\n            \"last_name\": \"Blytz\",\n            \"phone\": \"5555550121\",\n            \"email\": null,\n            \"status\": \"Enabled\",\n            \"sms_optin\": true,\n            \"email_optin\": false,\n            \"custom_fields\": [\n                {\n                    \"blytzpay_custom_field_id\": \"b5383bdd-20a1-472d-89ae-1473dc97a2fe\",\n                    \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                    \"customer_id\": \"supercool\",\n                    \"field_name\": \"Financial\",\n                    \"field_value\": \"Level Playing Field\",\n                    \"order\": 10\n                },\n                {\n                    \"blytzpay_custom_field_id\": \"d0ee42c9-4d23-409e-99d0-c7208395404a\",\n                    \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n                    \"customer_id\": \"supercool\",\n                    \"field_name\": \"Blytz\",\n                    \"field_value\": \"Pay\",\n                    \"order\": 0\n                }\n            ],\n            \"date_of_birth\": \"01-01-1980 00:00:00\",\n            \"accounts\": []\n        }\n    ],\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"e3d5c2d1-b82a-4a06-a93c-46370c3d6a90"},{"name":"Create Custom Field | Customer","event":[{"listen":"test","script":{"id":"70d51ecb-757f-4b70-81ea-6c6c9169f496","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Custom field\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.custom_field.field_name).to.eql(\"New field\");","  pm.environment.set(\"blytzpay_customer_custom_field_id\", jsonData.custom_field.blytzpay_custom_field_id);","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Update Custom Field | Customer')"],"type":"text/javascript"}}],"id":"e895581f-00e6-4247-be9e-c2eea827d52b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"field_name\": \"New field\",\n\t\"field_value\": \"New value\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}"},"url":"{{host}}/customer/custom-field/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","custom-field","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e0a74213-df72-4a68-a02d-19fb042ac0ed","name":"Create Customer Custom Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{access_token}}","type":"text","disabled":true},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"refresh-token","value":"{{refresh_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"field_name\": \"New field\",\n\t\"field_value\": \"New value\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}"},"url":"{{host}}/customer/custom-field/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:36:26 GMT"},{"key":"Content-Length","value":"249"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"custom_field\": {\n        \"blytzpay_custom_field_id\": \"a747df3f-b4d4-43f0-8834-959a5c2c272f\",\n        \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n        \"customer_id\": \"supercool\",\n        \"field_name\": \"New field\",\n        \"field_value\": \"New value\",\n        \"order\": 10\n    }\n}"}],"_postman_id":"e895581f-00e6-4247-be9e-c2eea827d52b"},{"name":"Update Custom Field | Customer","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.success).to.eql(true);","  pm.expect(jsonData.custom_field.field_name).to.eql(\"Updated Field Name\");","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Delete Custom Field | Customer')"],"type":"text/javascript"}}],"id":"1b90a953-bbc8-4b19-b59a-284736eb460c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\",\n\t\"field_name\": \"Updated Field Name\"\n}"},"url":"{{host}}/customer/custom-field/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_custom_field_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","custom-field","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2dd037ae-65fb-458f-83e4-a68694d3805d","name":"Update Customer Custom Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\",\n\t\"field_name\": \"Final change\"\n}"},"url":"{{host}}/customer/custom-field/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:36:52 GMT"},{"key":"Content-Length","value":"252"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"custom_field\": {\n        \"blytzpay_custom_field_id\": \"a747df3f-b4d4-43f0-8834-959a5c2c272f\",\n        \"blytzpay_customer_id\": \"014d0e53-bb00-4433-8da5-d1f8c76ce115\",\n        \"customer_id\": \"supercool\",\n        \"field_name\": \"Final change\",\n        \"field_value\": \"New value\",\n        \"order\": 10\n    }\n}"}],"_postman_id":"1b90a953-bbc8-4b19-b59a-284736eb460c"},{"name":"Delete Custom Field | Customer","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Get Types | Accounts')"],"type":"text/javascript"}}],"id":"28f4c297-3912-4dd7-baed-a08b2267b568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\"\n}"},"url":"{{host}}/customer/custom-field/delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_custom_field_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","custom-field","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"98f776a8-2f3f-43ee-80c3-eabf75100343","name":"Delete Customer Custom Field","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_customer_custom_field_id}}\"\n}"},"url":"{{host}}/customer/custom-field/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 09 Mar 2020 23:37:09 GMT"},{"key":"Content-Length","value":"71"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"successfully deleted customer custom field\"\n}"}],"_postman_id":"28f4c297-3912-4dd7-baed-a08b2267b568"},{"name":"Delete | Customer","event":[{"listen":"prerequest","script":{"id":"01238a26-d50f-477e-ae28-c4f54bbe3db7","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"6d541aa2-20bb-46c4-8acb-33b9ef24b249","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript"}}],"id":"278014b3-e8a3-401b-9fca-248aec916f6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}\n"},"url":"{{host}}/customer/delete","description":"<p>Gives user a delete status as well as disabling their cognito user.</p>\n<p>This is a required step before you can hard delete a user.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"278014b3-e8a3-401b-9fca-248aec916f6a"}],"id":"71a68e17-94a3-445f-8120-ebdfd509c8b1","_postman_id":"71a68e17-94a3-445f-8120-ebdfd509c8b1","description":""},{"name":"Account","item":[{"name":"Get Types | Accounts","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"4a95216a-b3a3-4606-8ad0-c0385499b894","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 750ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(750);","});","postman.setNextRequest('Get All | Accounts');"],"type":"text/javascript"}}],"id":"4e3061e7-339f-4339-91ce-0d286392c052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/account/types","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f6d8846b-18fd-45ac-af1f-ae9adaa53405","name":"Get Account Types","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:27:01 GMT"},{"key":"Content-Length","value":"583"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_types\": [\n        {\n            \"id\": 1,\n            \"name\": \"Auto Loan\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Title Loan\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Rental\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Mortgage\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Signature Loan\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Donation\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 7,\n            \"name\": \"SAAS\",\n            \"description\": \"\",\n            \"status_id\": 1\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Unknown\",\n            \"description\": \"This account has not been properly configured, please select a valid account type.\",\n            \"status_id\": 1\n        }\n    ],\n    \"success\": true\n}"}],"_postman_id":"4e3061e7-339f-4339-91ce-0d286392c052"},{"name":"Create | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.environment.set(\"blytzpay_account_id\", jsonData.account.blytzpay_account_id);","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Create Custom Field | Account');"],"type":"text/javascript"}}],"id":"2dcd13ce-85fe-4c69-bc1c-c35aa84a6d73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"account\": {\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Rental\",\n    \t\"address\": \"123 Monkey Street\",\n    \t\"city\": \"Lehi\",\n    \t\"state\": \"utah\",\n    \t\"zip\": \"84043\",\n    \t\"country\": \"us\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    }\n}"},"url":"{{host}}/account/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>account</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"account-object\">Account Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_terms_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>note</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>balance</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"55260cac-537a-40ad-804b-a7092617d367","name":"Create Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"account\": {\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"first_name\": \"James\",\n        \"last_name\": \"Liam\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Rental\",\n    \t\"address\": \"123 Monkey Street\",\n    \t\"city\": \"Lehi\",\n    \t\"state\": \"utah\",\n    \t\"zip\": \"84043\",\n    \t\"country\": \"us\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:27:21 GMT"},{"key":"Content-Length","value":"1021"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"address\": \"123 monkey street\",\n        \"address2\": null,\n        \"address_city\": \"lehi\",\n        \"address_zip\": \"84043\",\n        \"address_state\": \"Utah\",\n        \"address_county\": null,\n        \"address_country\": \"United States\",\n        \"verified\": false,\n        \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n        \"created_at\": \"03-10-2020 01:27:21\",\n        \"updated_at\": \"03-10-2020 01:27:21\",\n        \"status\": \"New\",\n        \"active\": true,\n        \"account_type\": \"Rental\",\n        \"description\": null,\n        \"first_name\": \"James\",\n        \"last_name\": \"Liam\",\n        \"note\": null,\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"ecypt4beow0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"f236252b-c7da-4f08-bad1-3e4b0220ffda\",\n                \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                \"account_id\": \"ecypt4beow0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"028cdd97-6c15-4e1d-ae83-b97c25a27814\",\n                \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                \"account_id\": \"ecypt4beow0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"2dcd13ce-85fe-4c69-bc1c-c35aa84a6d73"},{"name":"Create wtih No Address | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","","pm.test(\"Created account successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_account_id\", jsonData.account.blytzpay_account_id);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript"}}],"id":"fbfac293-06f3-4c3a-a915-59cd1d240139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"account\": {\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"first_name\": \"James\",\n        \"last_name\": \"Liam\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Title Loan\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    }\n}"},"url":"{{host}}/account/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>account</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"account-object\">Account Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_terms_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>note</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>balance</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"91a9515e-d013-4ca2-8e0e-6b1849b2a97a","name":"Create Account No Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"account\": {\n        \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n        \"first_name\": \"James\",\n        \"last_name\": \"Liam\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Title Loan\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:28:07 GMT"},{"key":"Content-Length","value":"839"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"New\",\n        \"active\": true,\n        \"account_type\": \"Title Loan\",\n        \"description\": null,\n        \"first_name\": \"James\",\n        \"last_name\": \"Liam\",\n        \"note\": null,\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"fbfac293-06f3-4c3a-a915-59cd1d240139"},{"name":"Create Custom Field | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.environment.set(\"blytzpay_account_custom_field_id\", jsonData.custom_field.blytzpay_custom_field_id);","});","pm.test(\"Response time is less than 750ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(750);","});","postman.setNextRequest('Get All Custom Fields | Account');"],"type":"text/javascript"}}],"id":"92ef9a28-e475-46e5-b6f6-290edf7219fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"field_name\": \"Happy\",\n\t\"field_value\": \"to help\"\n}"},"url":"{{host}}/account/custom-field/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or account_id</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_account_id</td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","custom-field","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5005a604-a493-44f5-8d11-c886c972be4a","name":"Create Account Custom Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"field_name\": \"Happy\",\n\t\"field_value\": \"to help\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/custom-field/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:28:39 GMT"},{"key":"Content-Length","value":"264"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"custom_field\": {\n        \"blytzpay_custom_field_id\": \"dff2af44-e1ba-4ab9-a0f6-729d29f11adc\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"field_name\": \"Happy\",\n        \"field_value\": \"to help\",\n        \"order\": 10\n    }\n}"}],"_postman_id":"92ef9a28-e475-46e5-b6f6-290edf7219fc"},{"name":"Update Custom Field | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.custom_field.field_name).to.eql(\"Happier\");","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(750);","});","postman.setNextRequest('Delete Custom Field | Account');"],"type":"text/javascript"}}],"id":"32dda967-136d-4e70-85ae-9841bb33842c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_account_custom_field_id}}\",\n\t\"field_name\": \"Happier\",\n\t\"field_value\": \"to help you\",\n\t\"order\": 99\n}"},"url":"{{host}}/account/custom-field/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>field_value</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_custom_field_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","custom-field","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cb4262d8-5176-4b1e-bd25-eec48551814f","name":"Update Account Custom Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_account_custom_field_id}}\",\n\t\"field_name\": \"Happier\",\n\t\"field_value\": \"to help you\",\n\t\"order\": 99\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/custom-field/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:29:00 GMT"},{"key":"Content-Length","value":"270"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"custom_field\": {\n        \"blytzpay_custom_field_id\": \"dff2af44-e1ba-4ab9-a0f6-729d29f11adc\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"field_name\": \"Happier\",\n        \"field_value\": \"to help you\",\n        \"order\": 99\n    }\n}"}],"_postman_id":"32dda967-136d-4e70-85ae-9841bb33842c"},{"name":"Delete Custom Field | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33d18d41-0a03-4d59-8db1-63dd7df8971d","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Update | Account');"],"type":"text/javascript"}}],"id":"998a0db4-bc70-498e-8de0-9e04520c0d1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_account_custom_field_id}}\"\n}"},"url":"{{host}}/account/custom-field/delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_custom_field_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","custom-field","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e427d9dc-354d-4510-bda7-ffa6d463fbca","name":"Delete Account Custom Field","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_custom_field_id\": \"{{blytzpay_account_custom_field_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/custom-field/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:30:29 GMT"},{"key":"Content-Length","value":"16"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"998a0db4-bc70-498e-8de0-9e04520c0d1c"},{"name":"Update | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"ac202ce4-ff5f-47ec-a3db-692ff2164399","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.account.first_name).to.eql(\"Jamie\");","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Add/Replace Note | Account');"],"type":"text/javascript"}}],"id":"630526c9-729c-4b67-a387-2035aa8a28ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"account\": {\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n        \"account_type\": \"Auto Loan\",\n    \t\"address\": \"1234 Monkey Street\",\n    \t\"city\": \"American Fork\",\n    \t\"state\": \"utah\",\n    \t\"zip\": \"84003\",\n    \t\"country\": \"us\",\n    \t\"description\": \"I have many leather bound books\",\n    \t\"note\": \"It's pronounced sand Diaaaago\"\n    }\n}"},"url":"{{host}}/account/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>account</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"account-object\">Account Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>new_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_account_id</td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or account_id</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_terms_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>note</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you pass the address field</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e910e0d9-c870-42c8-9aee-d19dd433fe86","name":"Update Account","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"account\": {\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n        \"account_type\": \"Auto Loan\",\n    \t\"address\": \"1234 Monkey Street\",\n    \t\"city\": \"American Fork\",\n    \t\"state\": \"utah\",\n    \t\"zip\": \"84003\",\n    \t\"country\": \"us\",\n    \t\"description\": \"I have many leather bound books\",\n    \t\"note\": \"It's pronounced sand Diaaaago\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:30:58 GMT"},{"key":"Content-Length","value":"895"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"New\",\n        \"active\": true,\n        \"account_type\": \"Auto Loan\",\n        \"description\": \"I have many leather bound books\",\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"note\": \"It's pronounced sand Diaaaago\",\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"630526c9-729c-4b67-a387-2035aa8a28ca"},{"name":"Add/Replace Note | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"f27bc5fa-13b8-4208-9a8e-2bf7cf043d1f","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Create | Invoice');"],"type":"text/javascript"}}],"id":"a2ff78b0-ba57-4c55-a6a4-c02c3e5d6c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"note\": \"this is my really really cool note\"\n}"},"url":"{{host}}/account/note","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_account_id</td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or account_id</td>\n</tr>\n<tr>\n<td>note</td>\n<td>['string', 'null']</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","note"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"817b5212-07cd-4955-9a45-ae430f22dac0","name":"Account Add/Replace note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"note\": \"this is my really really cool note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/note"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:31:34 GMT"},{"key":"Content-Length","value":"900"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"New\",\n        \"active\": true,\n        \"account_type\": \"Auto Loan\",\n        \"description\": \"I have many leather bound books\",\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"note\": \"this is my really really cool note\",\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"a2ff78b0-ba57-4c55-a6a4-c02c3e5d6c38"},{"name":"Get All Custom Fields | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"a95c6c0f-1a41-4a4d-9fbc-70776068d0b7","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Get One | Account');"],"type":"text/javascript"}}],"id":"b9c13219-13e4-4be6-acd2-0740a743f0b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}"},"url":"{{host}}/account/custom-field/list","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","custom-field","list"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c715bc0b-3c1b-4e64-8a71-58740508240a","name":"List Account Custom Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/custom-field/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:31:58 GMT"},{"key":"Content-Length","value":"492"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"custom_fields\": [\n        {\n            \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n            \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n            \"account_id\": \"skuw7sitog0000000000000000000000\",\n            \"field_name\": \"Happy\",\n            \"field_value\": \"to help\",\n            \"order\": 0\n        },\n        {\n            \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n            \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n            \"account_id\": \"skuw7sitog0000000000000000000000\",\n            \"field_name\": \"Foo\",\n            \"field_value\": \"bar\",\n            \"order\": 0\n        }\n    ],\n    \"success\": true\n}"}],"_postman_id":"b9c13219-13e4-4be6-acd2-0740a743f0b4"},{"name":"Get One | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"4f418f50-a5f9-436d-bf5e-406784bba2d8","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Created account successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.success).to.eql(true);","  // pm.expect(jsonData.account.first_name).to.eql(\"Jamie\");","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Add/Replace Note | Account');"],"type":"text/javascript"}}],"id":"10424e92-0161-46dc-b9e1-0b86f42d8383","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}"},"url":"{{host}}/account","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or account_id</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_account_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"26a56fcb-851c-4c4d-8754-adaec7a43197","name":"Get Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:32:26 GMT"},{"key":"Content-Length","value":"1096"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"address\": \"1234 monkey street\",\n        \"address2\": null,\n        \"address_city\": \"american fork\",\n        \"address_zip\": \"84003\",\n        \"address_state\": \"Utah\",\n        \"address_county\": null,\n        \"address_country\": \"United States\",\n        \"verified\": false,\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"New\",\n        \"active\": true,\n        \"account_type\": \"Auto Loan\",\n        \"description\": \"I have many leather bound books\",\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"note\": \"this is my really really cool note\",\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"10424e92-0161-46dc-b9e1-0b86f42d8383"},{"name":"Get All | Accounts","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"8bc10ff7-cf33-4310-b15e-fa32e4c2e754","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Get All By Customer Id | Accounts');"],"type":"text/javascript"}}],"id":"010aaa82-b072-4192-8005-965b0f7777ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/accounts","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["accounts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a3780965-1bcb-4911-b373-1669b8d11f9f","name":"Lists Accounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:32:49 GMT"},{"key":"Content-Length","value":"1817"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"total\": 2,\n    \"count\": 2,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1,\n    \"accounts\": [\n        {\n            \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n            \"created_at\": \"03-10-2020 01:27:21\",\n            \"updated_at\": \"03-10-2020 01:27:21\",\n            \"status\": \"New\",\n            \"active\": true,\n            \"account_type\": \"Rental\",\n            \"description\": null,\n            \"first_name\": \"James\",\n            \"last_name\": \"Liam\",\n            \"note\": null,\n            \"email\": null,\n            \"balance\": null,\n            \"account_id\": \"ecypt4beow0000000000000000000000\",\n            \"custom_fields\": [\n                {\n                    \"blytzpay_custom_field_id\": \"f236252b-c7da-4f08-bad1-3e4b0220ffda\",\n                    \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                    \"account_id\": \"ecypt4beow0000000000000000000000\",\n                    \"field_name\": \"Happy\",\n                    \"field_value\": \"to help\",\n                    \"order\": 0\n                },\n                {\n                    \"blytzpay_custom_field_id\": \"028cdd97-6c15-4e1d-ae83-b97c25a27814\",\n                    \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                    \"account_id\": \"ecypt4beow0000000000000000000000\",\n                    \"field_name\": \"Foo\",\n                    \"field_value\": \"bar\",\n                    \"order\": 0\n                }\n            ]\n        },\n        {\n            \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n            \"created_at\": \"03-10-2020 01:28:07\",\n            \"updated_at\": \"03-10-2020 01:28:07\",\n            \"status\": \"New\",\n            \"active\": true,\n            \"account_type\": \"Auto Loan\",\n            \"description\": \"I have many leather bound books\",\n            \"first_name\": \"Jamie\",\n            \"last_name\": \"Liams\",\n            \"note\": \"this is my really really cool note\",\n            \"email\": null,\n            \"balance\": null,\n            \"account_id\": \"skuw7sitog0000000000000000000000\",\n            \"custom_fields\": [\n                {\n                    \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                    \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                    \"account_id\": \"skuw7sitog0000000000000000000000\",\n                    \"field_name\": \"Happy\",\n                    \"field_value\": \"to help\",\n                    \"order\": 0\n                },\n                {\n                    \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                    \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                    \"account_id\": \"skuw7sitog0000000000000000000000\",\n                    \"field_name\": \"Foo\",\n                    \"field_value\": \"bar\",\n                    \"order\": 0\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"010aaa82-b072-4192-8005-965b0f7777ba"},{"name":"Get All By Customer Id | Accounts","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","// pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"21251f70-7b77-42be-bf53-7167c2c6041c","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Got accounts successfully\", function () {","  var jsonData = pm.response.json();","  pm.expect(jsonData.success).to.eql(true);","});","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","postman.setNextRequest('Create | Account');"],"type":"text/javascript"}}],"id":"0e6d70a6-3ea7-4a30-83e0-7a50e6330459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}"},"url":"{{host}}/accounts","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["accounts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"62aac441-db65-4e40-96f0-9ad30ad5cd17","name":"Lists Accounts By Customer Id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:33:13 GMT"},{"key":"Content-Length","value":"1817"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"total\": 2,\n    \"count\": 2,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1,\n    \"accounts\": [\n        {\n            \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n            \"created_at\": \"03-10-2020 01:27:21\",\n            \"updated_at\": \"03-10-2020 01:27:21\",\n            \"status\": \"New\",\n            \"active\": true,\n            \"account_type\": \"Rental\",\n            \"description\": null,\n            \"first_name\": \"James\",\n            \"last_name\": \"Liam\",\n            \"note\": null,\n            \"email\": null,\n            \"balance\": null,\n            \"account_id\": \"ecypt4beow0000000000000000000000\",\n            \"custom_fields\": [\n                {\n                    \"blytzpay_custom_field_id\": \"f236252b-c7da-4f08-bad1-3e4b0220ffda\",\n                    \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                    \"account_id\": \"ecypt4beow0000000000000000000000\",\n                    \"field_name\": \"Happy\",\n                    \"field_value\": \"to help\",\n                    \"order\": 0\n                },\n                {\n                    \"blytzpay_custom_field_id\": \"028cdd97-6c15-4e1d-ae83-b97c25a27814\",\n                    \"blytzpay_account_id\": \"c495a9dd-95aa-4590-838e-8dd04e0d160d\",\n                    \"account_id\": \"ecypt4beow0000000000000000000000\",\n                    \"field_name\": \"Foo\",\n                    \"field_value\": \"bar\",\n                    \"order\": 0\n                }\n            ]\n        },\n        {\n            \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n            \"created_at\": \"03-10-2020 01:28:07\",\n            \"updated_at\": \"03-10-2020 01:28:07\",\n            \"status\": \"New\",\n            \"active\": true,\n            \"account_type\": \"Auto Loan\",\n            \"description\": \"I have many leather bound books\",\n            \"first_name\": \"Jamie\",\n            \"last_name\": \"Liams\",\n            \"note\": \"this is my really really cool note\",\n            \"email\": null,\n            \"balance\": null,\n            \"account_id\": \"skuw7sitog0000000000000000000000\",\n            \"custom_fields\": [\n                {\n                    \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                    \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                    \"account_id\": \"skuw7sitog0000000000000000000000\",\n                    \"field_name\": \"Happy\",\n                    \"field_value\": \"to help\",\n                    \"order\": 0\n                },\n                {\n                    \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                    \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                    \"account_id\": \"skuw7sitog0000000000000000000000\",\n                    \"field_name\": \"Foo\",\n                    \"field_value\": \"bar\",\n                    \"order\": 0\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"0e6d70a6-3ea7-4a30-83e0-7a50e6330459"},{"name":"Disable | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"5f395bb7-d9b6-4ffb-954f-9cf0e69279e6","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Delete | Account')"],"type":"text/javascript"}}],"id":"08de1055-d04a-411f-8fc5-e5025f14e317","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}"},"url":"{{host}}/account/disable","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","disable"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a7ff8f7a-c6ff-445f-8252-9f1870cce408","name":"Disable Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/disable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:33:59 GMT"},{"key":"Content-Length","value":"906"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"Disabled\",\n        \"active\": false,\n        \"account_type\": \"Auto Loan\",\n        \"description\": \"I have many leather bound books\",\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"note\": \"this is my really really cool note\",\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"08de1055-d04a-411f-8fc5-e5025f14e317"},{"name":"Delete | Account","event":[{"listen":"prerequest","script":{"id":"ab471354-8e7e-45aa-b843-1676c951f8a0","exec":["function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"78f788be-56ad-435e-b2b9-86c7f0a095e2","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Delete | Customer')"],"type":"text/javascript"}}],"id":"f84a44a4-578f-4c8d-8122-c2e74940171b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}"},"url":"{{host}}/account/delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8b69ff46-ee53-4048-9477-893bcef673fc","name":"Delete Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:34:20 GMT"},{"key":"Content-Length","value":"905"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"account\": {\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"created_at\": \"03-10-2020 01:28:07\",\n        \"updated_at\": \"03-10-2020 01:28:07\",\n        \"status\": \"Deleted\",\n        \"active\": false,\n        \"account_type\": \"Auto Loan\",\n        \"description\": \"I have many leather bound books\",\n        \"first_name\": \"Jamie\",\n        \"last_name\": \"Liams\",\n        \"note\": \"this is my really really cool note\",\n        \"email\": null,\n        \"balance\": null,\n        \"account_id\": \"skuw7sitog0000000000000000000000\",\n        \"custom_fields\": [\n            {\n                \"blytzpay_custom_field_id\": \"e5d78df0-b6f5-426c-b26e-944076899689\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Happy\",\n                \"field_value\": \"to help\",\n                \"order\": 0\n            },\n            {\n                \"blytzpay_custom_field_id\": \"12bccf3b-f5ab-4b4b-86bc-678c49c1e8d4\",\n                \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n                \"account_id\": \"skuw7sitog0000000000000000000000\",\n                \"field_name\": \"Foo\",\n                \"field_value\": \"bar\",\n                \"order\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"f84a44a4-578f-4c8d-8122-c2e74940171b"}],"id":"4711b60c-93bc-47db-a31b-d85da825be43","_postman_id":"4711b60c-93bc-47db-a31b-d85da825be43","description":""},{"name":"Invoices","item":[{"name":"Create | Invoice","event":[{"listen":"test","script":{"id":"1220fbf8-5f21-42ac-8c27-69ce6b2874e2","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1500ms\", function () {","   pm.expect(pm.response.responseTime).to.be.below(1500);","});","pm.test(\"Inserted invoices successfully\", function () {","   var jsonData = pm.response.json();","   pm.expect(jsonData.success).to.eql(true);","   pm.environment.set('blytzpay_invoice_id', jsonData.invoice.blytzpay_invoice_id)","   pm.environment.set('invoice_id', jsonData.invoice.invoice_id)","   pm.environment.set('blytzpay_invoice_item_id', jsonData.invoice.line_items[0].blytzpay_invoice_item_id)","   pm.environment.set('amount', jsonData.invoice.amount_due)","});","postman.setNextRequest('Update | Invoice');"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"f6a72882-51d9-4586-8255-ef9e61cc2404","exec":["var invoice_id = Math.floor(1000000000 + Math.random() * 9000000000);","pm.environment.set(\"invoice_id\", invoice_id);"],"type":"text/javascript"}}],"id":"9a31f931-5c59-47e6-81f1-49e2a0aa78b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"invoice\": {\n        \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n        \"description\": \"2015 Subaru WRX\",\n        \"due_date\": \"8-1-2019\",\n        \"minimum_amount_due\": \"220.00\",\n        \"status\": \"upcoming\",\n        \"invoice_id\": \"a90ba1f0-5399-441e-814c-2b29899d1d7e\",\n        \"invoice_type\": \"{{invoice_type}}\",\n        \"line_items\": [\n            {\n                \"amount\": \"-25.00\",\n                \"description\": \"Discount\",\n                \"order\": 10\n            },\n            {\n                \"amount\": \"400.00\",\n                \"description\": \"Car Payment\",\n                \"order\": 15\n            }\n        ]\n    }\n}"},"url":"{{host}}/invoice/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"invoice-object\">Invoice Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_account_id</td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or account_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>paid_date</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>due_date</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>minimum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount_paid</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>maximum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_plan_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>line_items</td>\n<td>array</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"line-item-object\">Line Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or invoice_id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_invoice_item_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>delete</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoice","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"10243a49-da4d-4ea9-b232-6d777f34715a","name":"Create | Invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"invoice\": {\n        \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n        \"description\": \"2015 Subaru WRX\",\n        \"due_date\": \"8-1-2019\",\n        \"paid_date\": \"01/1/2019\",\n        \"minimum_amount_due\": \"220.00\",\n        \"status\": \"upcoming\",\n        \"invoice_id\": \"62ba6ce4-6cd1-474d-9a3b-f11e31ee8163\",\n        \"invoice_type\": \"{{invoice_type}}\",\n        \"line_items\": [\n            {\n                \"amount\": \"-25.00\",\n                \"description\": \"Discount\",\n                \"order\": 10\n            },\n            {\n                \"amount\": \"400.00\",\n                \"description\": \"Car Payment\",\n                \"order\": 15\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoice/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:34:49 GMT"},{"key":"Content-Length","value":"993"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoice\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"phone\": \"5555550143\",\n        \"email\": null,\n        \"customer_id\": \"247154581357_2021\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n        \"invoice_id\": \"42e16965-c2c3-41ce-8d5d-01fdf49d6754\",\n        \"blytzpay_invoice_id\": \"0f353ef9-f646-4977-a27b-53d88f6f1928\",\n        \"status\": \"Upcoming\",\n        \"description\": \"2015 Subaru WRX\",\n        \"invoice_type\": \"Auto Loan Payment\",\n        \"amount_due\": \"375.00\",\n        \"amount_paid\": \"0.00\",\n        \"amount_outstanding\": \"375.00\",\n        \"due_date\": \"08-01-2019 00:00:00\",\n        \"paid_date\": \"01-01-2019 00:00:00\",\n        \"minimum_amount_due\": \"220.00\",\n        \"maximum_amount_due\": \"375.00\",\n        \"line_items\": [\n            {\n                \"description\": \"Discount\",\n                \"amount\": \"-25.00\",\n                \"blytzpay_invoice_item_id\": \"595a6fff-d870-4f80-8b50-d580a4520a4c\",\n                \"order\": 10\n            },\n            {\n                \"description\": \"Car Payment\",\n                \"amount\": \"400.00\",\n                \"blytzpay_invoice_item_id\": \"a7725d66-ec13-4de6-9eef-152e1e1482d5\",\n                \"order\": 15\n            }\n        ],\n        \"created_at\": \"03-10-2020 01:34:48\",\n        \"updated_at\": \"03-10-2020 01:34:48\"\n    }\n}"}],"_postman_id":"9a31f931-5c59-47e6-81f1-49e2a0aa78b4"},{"name":"Update | Invoice","event":[{"listen":"test","script":{"id":"c1aacf94-8c45-4d78-83b3-ef4f13304d6d","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1500ms\", function () {","   pm.expect(pm.response.responseTime).to.be.below(1500);","});","pm.test(\"Updated invoices successfully\", function () {","   var jsonData = pm.response.json();","   pm.expect(jsonData.success).to.eql(true);","   pm.environment.set('amount', jsonData.invoice.amount_due)","});","postman.setNextRequest('Update Line Item | Invoice');"],"type":"text/javascript"}}],"id":"ff21eb92-9002-43e2-8903-394046eda1d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"invoice\": {\n        \"description\": \"2015 Subaru WRX STI\",\n        \"due_date\": \"08-01-2019\",\n        \"status\": \"late\",\n        \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n        \"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n        \"invoice_type\": \"Title Loan Payment\",\n        \"line_items\": [\n            {\n                \"blytzpay_invoice_item_id\": \"{{blytzpay_invoice_item_id}}\",\n                \"amount\": \"100.00\",\n                \"description\": \"Updates existing item\",\n                \"order\": 10\n            },\n            {\n                \"amount\": \"2.00\",\n                \"description\": \"Creates new item\",\n                \"order\": 20\n            },\n            {\n                \"blytzpay_invoice_item_id\": \"{{blytzpay_invoice_item_id}}\",\n                \"amount\": \"10.00\",\n                \"description\": \"Delete existing item\",\n                \"delete\": true\n            }\n        ]\n    }\n}"},"url":"{{host}}/invoice/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"invoice-object\">Invoice Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount_paid</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>due_date</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>paid_date</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>minimum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>maximum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>line_items</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"line-item-object\">Line Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or invoice_id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_invoice_item_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>delete</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoice","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff21eb92-9002-43e2-8903-394046eda1d7"},{"name":"Update Line Item | Invoice","event":[{"listen":"test","script":{"id":"109c97c2-5a31-4849-a518-290e55de30ed","exec":["pm.test(\"Updated invoices successfully\", function () {","   var jsonData = pm.response.json();","   pm.expect(jsonData.success).to.eql(true);","   pm.environment.set('amount', jsonData.invoice.amount_due)","});","postman.setNextRequest('Get All Account | Invoices');"],"type":"text/javascript"}}],"id":"7142dbe1-51e3-4fd1-8226-ae07f14a559b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"line_item\": {\n\t\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\t\"blytzpay_invoice_item_id\": \"{{blytzpay_invoice_item_id}}\",\n\t\t\"amount\": \"100.00\",\n\t\t\"description\": \"Car Payment (updated)\",\n\t\t\"order\": 2\n\t}\n}"},"url":"{{host}}/account/invoices/line-items","description":"<h3 id=\"json-schema-of-optional-and-required-fields\">JSON schema of optional and required fields</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n    \"title\": \"Update Invoice Line Item\",\n    \"type\": \"object\",\n    \"description\": \"Update single invoice's line item.\",\n    \"properties\": {\n        \"blytzpay_company_id\": {\n            \"type\": \"string\"\n        },\n        \"line_item\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"blytzpay_account_id\": {\n                    \"type\": \"string\",\n                    \"minLength\": 32\n                },\n                \"blytzpay_invoice_id\": {\n                    \"type\": \"string\",\n                    \"minLength\": 32\n                },\n                \"invoice_id\": {\n                    \"type\": \"string\",\n                    \"minLength\": 32\n                },\n                \"blytzpay_invoice_item_id\": {\n                    \"type\": \"string\",\n                    \"minLength\": 1\n                },\n                \"delete\": {\n                    \"type\": \"boolean\"\n                },\n                \"description\": {\n                    \"type\": \"string\",\n                    \"minLength\": 1,\n                    \"maxLength\": 255\n                },\n                \"amount\": {\n                    \"type\": \"string\",\n                    \"pattern\": \"^([0-9]+(\\\\.[0-9]{1,2}))|((-)[0-9]+(\\\\.[0-9]{1,2}))?$\"\n                },\n                \"order\": {\n                    \"type\": \"integer\",\n                    \"minimum\": 0,\n                    \"maximum\": 100\n                }\n            },\n            \"required\": [\"blytzpay_account_id\", \"blytzpay_invoice_item_id\"],\n            \"anyOf\": [\n                {\n                    \"required\": [\n                        \"invoice_id\"\n                    ]\n                },\n                {\n                    \"required\": [\n                        \"blytzpay_invoice_id\"\n                    ]\n                }\n            ],\n            \"additionalProperties\": false\n        }\n    },\n    \"additionalProperties\": false,\n    \"required\": [\n        \"blytzpay_company_id\",\n        \"line_item\"\n    ]\n}\n</code></pre>","urlObject":{"path":["account","invoices","line-items"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5b4aa474-b871-4f1f-850c-e502bb2926e9","name":"Update Line Item | Invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"line_item\": {\n\t\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\t\"blytzpay_invoice_item_id\": \"{{blytzpay_invoice_item_id}}\",\n\t\t\"amount\": \"-200.00\",\n\t\t\"description\": \"Car Payment (updated)\",\n\t\t\"order\": 2\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/account/invoices/line-items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:36:49 GMT"},{"key":"Content-Length","value":"1262"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"line_item\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"phone\": \"5555550143\",\n        \"email\": null,\n        \"customer_id\": \"247154581357_2021\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n        \"invoice_id\": \"42e16965-c2c3-41ce-8d5d-01fdf49d6754\",\n        \"blytzpay_invoice_id\": \"0f353ef9-f646-4977-a27b-53d88f6f1928\",\n        \"status\": \"Upcoming\",\n        \"description\": \"2015 Subaru WRX\",\n        \"invoice_type\": \"Auto Loan Payment\",\n        \"amount_due\": \"545.00\",\n        \"amount_paid\": \"0.00\",\n        \"amount_outstanding\": \"545.00\",\n        \"due_date\": \"08-01-2019 00:00:00\",\n        \"paid_date\": \"12-16-2019 00:00:00\",\n        \"minimum_amount_due\": \"200.00\",\n        \"maximum_amount_due\": \"545.00\",\n        \"line_items\": [\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"-200.00\",\n                \"blytzpay_invoice_item_id\": \"595a6fff-d870-4f80-8b50-d580a4520a4c\",\n                \"order\": 2\n            },\n            {\n                \"description\": \"Car Payment\",\n                \"amount\": \"400.00\",\n                \"blytzpay_invoice_item_id\": \"a7725d66-ec13-4de6-9eef-152e1e1482d5\",\n                \"order\": 15\n            },\n            {\n                \"description\": \"Late Fee\",\n                \"amount\": \"45.00\",\n                \"blytzpay_invoice_item_id\": \"6d4b8428-4329-4a97-88ac-e443d10e0464\",\n                \"order\": 1\n            },\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"300.00\",\n                \"blytzpay_invoice_item_id\": \"7fa7283d-de8b-45dd-87e5-f3abdc29e93e\",\n                \"order\": 2\n            }\n        ],\n        \"created_at\": \"03-10-2020 01:34:48\",\n        \"updated_at\": \"03-10-2020 01:34:48\"\n    }\n}"}],"_postman_id":"7142dbe1-51e3-4fd1-8226-ae07f14a559b"},{"name":"Get All Account | Invoices","event":[{"listen":"test","script":{"id":"90b541c1-5eaa-47d9-8ee5-2214386b8dff","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1500);","});","postman.setNextRequest('Get One | Invoice by BlytzPay Invoice ID');"],"type":"text/javascript"}}],"id":"c0a4ae74-a4ce-4033-8646-9b9e9fb7b1e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n    \"num_per_page\": 5,\n    \"page\": 1\n}"},"url":"{{host}}/account/invoices/list","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td>required</td>\n<td></td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>either blytzpay_account_id <em>OR</em> account_id</td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>blytzpay_account_id <em>OR</em> account_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>blytzpay_customer_id <em>OR</em> customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>blytzpay_customer_id <em>OR</em> customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_ids</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status_ids</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["account","invoices","list"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ce40e573-b257-4886-bef4-81ed9cd94791","name":"Get All | Invoices","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"},{"key":"merchant-token","value":"{{merchantToken}}","type":"text"}],"url":"{{host}}/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 25 Nov 2019 13:49:13 GMT"},{"key":"Content-Length","value":"3408"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoices\": [\n        {\n            \"blytzpay_company_id\": \"2876676a-2410-4622-b072-54371a402f84\",\n            \"blytzpay_invoice_id\": \"df7472a9-b8ec-4bc5-a5a2-938223e5fdaa\",\n            \"blytzpay_account_id\": \"7e95cd88-7a70-42c2-a257-d67c4fe47c15\",\n            \"blytzpay_customer_id\": \"a8664452-e127-4821-8502-0eb247a4fcdf\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"phone\": \"8015554444\",\n            \"email\": \"johndoe@yahoo.com\",\n            \"customer_id\": null,\n            \"account_id\": null,\n            \"invoice_id\": \"onwefoiqn23\",\n            \"description\": \"Car Payment\",\n            \"due_date\": \"11-21-2019 00:00:12\",\n            \"minimum_amount_due\": \"350.00\",\n            \"invoice_status\": \"upcoming\",\n            \"line_items\": [\n                {\n                    \"line_item_id\": \"5079583b-d9de-46b1-a31f-0851ccad5324\",\n                    \"description\": \"2015 WRX\",\n                    \"amount\": \"350.00\"\n                }\n            ],\n            \"total_amount\": \"350.00\",\n            \"total_due\": \"350.00\",\n            \"total_paid\": \"0.00\",\n            \"created_at\": \"11-21-2019 07:53:07\",\n            \"updated_at\": \"11-21-2019 07:53:07\"\n        },\n        {\n            \"blytzpay_company_id\": \"4t23gdsf-432g-dfg4-dfg4-rdger4er74wf\",\n            \"blytzpay_invoice_id\": \"dfghd4fh-ba6a-4df6-4574-fjfgjfgjfgjj\",\n            \"blytzpay_account_id\": \"dhfgd44b-dfhf-42c2-5667-gyk5556u4j44\",\n            \"blytzpay_customer_id\": \"dfhd34hf-kkyk-ytk5-5433-fgjfgjfjrt6u\",\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Doe\",\n            \"phone\": \"8015555555\",\n            \"email\": \"janedoe@yahoo.com\",\n            \"customer_id\": \"65s1eg84694\",\n            \"account_id\": \"5465465456846\",\n            \"invoice_id\": \"8949845858\",\n            \"description\": \"Car Payment\",\n            \"due_date\": \"11-21-2019 00:00:12\",\n            \"minimum_amount_due\": \"400.00\",\n            \"invoice_status\": \"upcoming\",\n            \"line_items\": [\n                {\n                    \"line_item_id\": \"7528de85-5696-4f71-9bfe-b8028e6d9464\",\n                    \"description\": \"2019 STI\",\n                    \"amount\": \"800.00\"\n                }\n            ],\n            \"total_amount\": \"800.00\",\n            \"total_due\": \"700.00\",\n            \"total_paid\": \"100.00\",\n            \"created_at\": \"11-21-2019 07:53:07\",\n            \"updated_at\": \"11-21-2019 07:53:07\"\n        }\n    ],\n    \"page\": 1,\n    \"total_pages\": 1,\n    \"prev_page\": null,\n    \"next_page\": null,\n    \"num_per_page\": 1,\n    \"total_results\": 2,\n    \"results_on_page\": 2\n}"}],"_postman_id":"c0a4ae74-a4ce-4033-8646-9b9e9fb7b1e2"},{"name":"Get One | Invoice by BlytzPay Invoice ID","event":[{"listen":"test","script":{"id":"5603414a-4077-4cfe-9ad8-3b8257d0640c","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 1500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1500);","});","postman.setNextRequest('Get One | Invoice by Invoice ID');"],"type":"text/javascript"}}],"id":"8d20ac9c-73ab-4747-80de-130bbd6d4688","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}"},"url":"{{host}}/invoice/get","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or invoice_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoice","get"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2f77ab7d-22cf-48af-a66c-ab36e0957fc1","name":"Get One | Invoice by BlytzPay Invoice ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoice/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:37:44 GMT"},{"key":"Content-Length","value":"1260"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoice\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"phone\": \"5555550143\",\n        \"email\": null,\n        \"customer_id\": \"247154581357_2021\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n        \"invoice_id\": \"42e16965-c2c3-41ce-8d5d-01fdf49d6754\",\n        \"blytzpay_invoice_id\": \"0f353ef9-f646-4977-a27b-53d88f6f1928\",\n        \"status\": \"Upcoming\",\n        \"description\": \"2015 Subaru WRX\",\n        \"invoice_type\": \"Auto Loan Payment\",\n        \"amount_due\": \"545.00\",\n        \"amount_paid\": \"0.00\",\n        \"amount_outstanding\": \"545.00\",\n        \"due_date\": \"08-01-2019 00:00:00\",\n        \"paid_date\": \"12-16-2019 00:00:00\",\n        \"minimum_amount_due\": \"200.00\",\n        \"maximum_amount_due\": \"545.00\",\n        \"line_items\": [\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"-200.00\",\n                \"blytzpay_invoice_item_id\": \"595a6fff-d870-4f80-8b50-d580a4520a4c\",\n                \"order\": 2\n            },\n            {\n                \"description\": \"Car Payment\",\n                \"amount\": \"400.00\",\n                \"blytzpay_invoice_item_id\": \"a7725d66-ec13-4de6-9eef-152e1e1482d5\",\n                \"order\": 15\n            },\n            {\n                \"description\": \"Late Fee\",\n                \"amount\": \"45.00\",\n                \"blytzpay_invoice_item_id\": \"6d4b8428-4329-4a97-88ac-e443d10e0464\",\n                \"order\": 1\n            },\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"300.00\",\n                \"blytzpay_invoice_item_id\": \"7fa7283d-de8b-45dd-87e5-f3abdc29e93e\",\n                \"order\": 2\n            }\n        ],\n        \"created_at\": \"03-10-2020 01:34:48\",\n        \"updated_at\": \"03-10-2020 01:34:48\"\n    }\n}"}],"_postman_id":"8d20ac9c-73ab-4747-80de-130bbd6d4688"},{"name":"Get One | Invoice by Invoice ID","event":[{"listen":"test","script":{"id":"9365a8b4-ae8f-49e9-8659-dc5c3161414d","exec":["pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set('amount', jsonData.invoice.amount_due);","});","pm.test(\"Response time is less than 1500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1500);","});","postman.setNextRequest('Get Types | Invoices');"],"type":"text/javascript"}}],"id":"763c44ad-7c21-4f24-9ff5-438cec7323f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"invoice_id\": \"{{invoice_id}}\"\n}"},"url":"{{host}}/invoice/get","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_invoice_id</td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or invoice_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoice","get"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"38ee7f60-cca3-4a9a-85b4-076a641db580","name":"Get One | Invoice by Invoice ID","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"},{"key":"merchant-token","value":"{{merchantToken}}","type":"text"}],"url":"{{host}}/invoice/invoice_id/{{invoice_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Mon, 25 Nov 2019 16:04:25 GMT"},{"key":"Content-Length","value":"913"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoice\": {\n        \"blytzpay_company_id\": \"2876676a-2410-4622-b072-54371a402f84\",\n        \"blytzpay_invoice_id\": \"851b1d8d-e8d5-4243-a302-19855306186c\",\n        \"blytzpay_account_id\": \"2cbc6b84-ee00-4eb6-a5c0-b9d0331ce779\",\n        \"blytzpay_customer_id\": \"bce958c3-da3b-4388-b91b-54731c9ecc11\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"phone\": \"8015555555\",\n        \"email\": null,\n        \"customer_id\": \"500816318544\",\n        \"account_id\": \"180703361013\",\n        \"invoice_id\": \"1331582595\",\n        \"description\": \"2015 Subaru WRX\",\n        \"due_date\": \"08-01-2020 00:00:12\",\n        \"minimum_amount_due\": \"200.00\",\n        \"invoice_status\": \"upcoming\",\n        \"line_items\": [\n            {\n                \"line_item_id\": \"a98f464f-17be-4353-88ff-347f05d42726\",\n                \"description\": \"Late Fee\",\n                \"amount\": \"45.00\"\n            },\n            {\n                \"line_item_id\": \"d5c6ec6a-dc1b-45b7-92e6-4d8dc5bd95b7\",\n                \"description\": \"Car Payment\",\n                \"amount\": \"300.00\"\n            }\n        ],\n        \"total_amount\": \"345.00\",\n        \"total_due\": \"345.00\",\n        \"total_paid\": \"0.00\",\n        \"created_at\": \"11-25-2019 08:59:08\",\n        \"updated_at\": \"11-25-2019 09:00:09\"\n    }\n}"},{"id":"48873f13-92f6-4f1f-a39b-afe15c95b43b","name":"Get One | Invoice by Invoice ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"invoice_id\": \"{{invoice_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoice/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:38:20 GMT"},{"key":"Content-Length","value":"1260"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoice\": {\n        \"first_name\": \"Mister\",\n        \"last_name\": \"Blytz\",\n        \"phone\": \"5555550143\",\n        \"email\": null,\n        \"customer_id\": \"247154581357_2021\",\n        \"blytzpay_account_id\": \"39c3082b-a791-4698-aea2-2efd43f12e75\",\n        \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n        \"invoice_id\": \"42e16965-c2c3-41ce-8d5d-01fdf49d6754\",\n        \"blytzpay_invoice_id\": \"0f353ef9-f646-4977-a27b-53d88f6f1928\",\n        \"status\": \"Upcoming\",\n        \"description\": \"2015 Subaru WRX\",\n        \"invoice_type\": \"Auto Loan Payment\",\n        \"amount_due\": \"545.00\",\n        \"amount_paid\": \"0.00\",\n        \"amount_outstanding\": \"545.00\",\n        \"due_date\": \"08-01-2019 00:00:00\",\n        \"paid_date\": \"12-16-2019 00:00:00\",\n        \"minimum_amount_due\": \"200.00\",\n        \"maximum_amount_due\": \"545.00\",\n        \"line_items\": [\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"-200.00\",\n                \"blytzpay_invoice_item_id\": \"595a6fff-d870-4f80-8b50-d580a4520a4c\",\n                \"order\": 2\n            },\n            {\n                \"description\": \"Car Payment\",\n                \"amount\": \"400.00\",\n                \"blytzpay_invoice_item_id\": \"a7725d66-ec13-4de6-9eef-152e1e1482d5\",\n                \"order\": 15\n            },\n            {\n                \"description\": \"Late Fee\",\n                \"amount\": \"45.00\",\n                \"blytzpay_invoice_item_id\": \"6d4b8428-4329-4a97-88ac-e443d10e0464\",\n                \"order\": 1\n            },\n            {\n                \"description\": \"Car Payment (updated)\",\n                \"amount\": \"300.00\",\n                \"blytzpay_invoice_item_id\": \"7fa7283d-de8b-45dd-87e5-f3abdc29e93e\",\n                \"order\": 2\n            }\n        ],\n        \"created_at\": \"03-10-2020 01:34:48\",\n        \"updated_at\": \"03-10-2020 01:34:48\"\n    }\n}"}],"_postman_id":"763c44ad-7c21-4f24-9ff5-438cec7323f4"},{"name":"Get Types | Invoices","event":[{"listen":"test","script":{"id":"3923743c-5325-4f90-befc-e5fff524d5b9","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Process Credit Card | Payment');"],"type":"text/javascript"}}],"id":"5105e75d-87a3-499d-ac8c-42c019ccc614","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/invoice/types","urlObject":{"path":["invoice","types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"875db8df-92e7-431b-bf76-b53edfacb88a","name":"Get Types | Invoices","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoice/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:38:37 GMT"},{"key":"Content-Length","value":"443"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"invoice_types\": [\n        {\n            \"description\": \"\",\n            \"name\": \"Import\",\n            \"id\": 1\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Auto Loan Payment\",\n            \"id\": 2\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Title Loan Payment\",\n            \"id\": 3\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Rental Payment\",\n            \"id\": 4\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Mortgage Payment\",\n            \"id\": 5\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Signature Loan Payment\",\n            \"id\": 6\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"Donation Payment\",\n            \"id\": 7\n        },\n        {\n            \"description\": \"\",\n            \"name\": \"SAAS Payment\",\n            \"id\": 8\n        }\n    ]\n}"}],"_postman_id":"5105e75d-87a3-499d-ac8c-42c019ccc614"},{"name":"Delete | Invoice","event":[{"listen":"test","script":{"id":"4ac45990-9570-478c-a037-eafaecb0682c","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Disable | Account')"],"type":"text/javascript"}}],"id":"52db88a7-6ec8-4cd0-9e2b-1e7e09d8399c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}"},"url":"{{host}}/invoice/delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoice","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cb5d924c-a049-4c0d-87df-a1d0b38279bf","name":"hard delete invoice","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoice/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:38:53 GMT"},{"key":"Content-Length","value":"16"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"52db88a7-6ec8-4cd0-9e2b-1e7e09d8399c"}],"id":"8d4aaeae-e194-4a8c-ba2c-e36232cf6a11","event":[{"listen":"prerequest","script":{"id":"f1639c90-4c72-4ee7-9a8e-18db35dacd84","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1c4c2cd4-aab7-40d5-a8fc-bc190ce1b2f0","type":"text/javascript","exec":[""]}}],"_postman_id":"8d4aaeae-e194-4a8c-ba2c-e36232cf6a11","description":""},{"name":"Messages","item":[{"name":"Templates","item":[{"name":"Get Types | Templates","event":[{"listen":"test","script":{"id":"23e06d6b-4a29-4e0e-81ae-07c27d81672d","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"80996618-1cbe-4cf3-b997-cefb972167b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/messages/templates/types","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","templates","types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"073da7b9-5a6f-45ff-b5d6-4d4532851890","name":"List Message Templates Types","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/templates/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:39:44 GMT"},{"key":"Content-Length","value":"309"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"name\": \"billing\",\n            \"description\": \"\",\n            \"template_type_id\": 1\n        },\n        {\n            \"name\": \"marketing\",\n            \"description\": \"\",\n            \"template_type_id\": 2\n        },\n        {\n            \"name\": \"communication\",\n            \"description\": \"\",\n            \"template_type_id\": 3\n        }\n    ],\n    \"total\": 0,\n    \"count\": 0,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 0\n}"}],"_postman_id":"80996618-1cbe-4cf3-b997-cefb972167b1"},{"name":"Get All Templates | Templates","event":[{"listen":"test","script":{"id":"48b53a12-dfce-4357-ab68-4a17b425afa3","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"51bff60d-555b-4dd5-85ae-ab438862f176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/messages/templates","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>other_statuses</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","templates"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a14642b8-f9d1-444b-8fd4-a7d9e984d105","name":"List Message Templates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:42:52 GMT"},{"key":"Content-Length","value":"519"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"template_name\": \"paradigm\",\n            \"blytzpay_template_id\": \"c4ccdb77-af7a-4f9d-9406-96a1b3711bf1\",\n            \"description\": \"A friendly greeting\",\n            \"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n            \"body\": \"Hello {user_first_name}!\",\n            \"subject\": \"Hello {user_first_name}!\",\n            \"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n            \"template_type\": \"billing\"\n        }\n    ],\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"51bff60d-555b-4dd5-85ae-ab438862f176"},{"name":"Create | Template","event":[{"listen":"test","script":{"id":"88c39b93-0b2f-4676-8d0d-59b15f7bfac6","exec":["pm.test(\"Created account successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_template_id\", jsonData.data.blytzpay_template_id);","});","","pm.test(\"Created account successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"template_name\", jsonData.data.template_name);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"be4a3ba0-182f-464c-97f4-ee1c4884cb9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"body\": \"Hello {user_first_name}!\",\n\t\"template_name\": \"website\",\n\t\"description\": \"A friendly greeting\",\n\t\"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n\t\"subject\": \"Hello {user_first_name}!\",\n\t\"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n\t\"template_type_id\": 1\n}"},"url":"{{host}}/messages/template/create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>body</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>logo</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>sendgrid_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>template_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","template","create"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e617fbcb-967b-4cd4-a56e-f65611f21b22","name":"Create Message Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"body\": \"Hello {user_first_name}!\",\n\t\"template_name\": \"implementation\",\n\t\"description\": \"A friendly greeting\",\n\t\"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n\t\"subject\": \"Hello {user_first_name}!\",\n\t\"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n\t\"template_type_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:41:08 GMT"},{"key":"Content-Length","value":"458"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Template was successfully created\",\n    \"data\": {\n        \"template_name\": \"paradigm\",\n        \"blytzpay_template_id\": \"c4ccdb77-af7a-4f9d-9406-96a1b3711bf1\",\n        \"description\": \"A friendly greeting\",\n        \"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n        \"body\": \"Hello {user_first_name}!\",\n        \"subject\": \"Hello {user_first_name}!\",\n        \"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n        \"template_type\": \"billing\"\n    }\n}"}],"_postman_id":"be4a3ba0-182f-464c-97f4-ee1c4884cb9d"},{"name":"Delete by Template Id | Template","event":[{"listen":"test","script":{"id":"1fec08f3-ac2e-4196-ad1c-dce1f001c348","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"80ae6276-c531-4969-9010-db66d48a39e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_template_id\": \"{{blytzpay_template_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/messages/template/hard-delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","template","hard-delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"db5ab6ea-4b7a-4e38-bdc0-3d8bb8d02ce7","name":"Delete Message Template by template id","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_template_id\": \"{{blytzpay_template_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template/hard-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:50:57 GMT"},{"key":"Content-Length","value":"16"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"80ae6276-c531-4969-9010-db66d48a39e0"},{"name":"Delete by name | Template","event":[{"listen":"test","script":{"id":"2a0e75ef-8b74-463d-99b8-814bd720bcd0","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"7ca78ce8-9740-48d7-abce-747d639ecaed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"template_name\": \"{{template_name}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/messages/template/hard-delete","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","template","hard-delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c0533ff0-47f2-47ab-be1a-06af6af0e1e7","name":"Delete Message Template by name","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n\t\"template_name\": \"{{template_name}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template/hard-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:50:18 GMT"},{"key":"Content-Length","value":"16"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"7ca78ce8-9740-48d7-abce-747d639ecaed"},{"name":"Get Tags | Template","event":[{"listen":"test","script":{"id":"f8ba5f33-57c4-4811-a352-e4ccdd47e800","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"c41b7a47-39f6-4fd6-8374-1aff397dabf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}"},"url":"{{host}}/messages/templates/tags","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","templates","tags"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4c27a437-47a1-4e06-bfc1-a740e2bd7cbc","name":"Get Template Tags","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/templates/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:51:34 GMT"},{"key":"Content-Length","value":"642"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"name\": \"user_first_name\",\n            \"description\": \"Customer's first name\"\n        },\n        {\n            \"name\": \"user_last_name\",\n            \"description\": \"Customer's last name\"\n        },\n        {\n            \"name\": \"invoice_amount\",\n            \"description\": \"Amount Due on the invoice\"\n        },\n        {\n            \"name\": \"description\",\n            \"description\": \"Description on the invoice\"\n        },\n        {\n            \"name\": \"invoice_url\",\n            \"description\": \"Url that takes the customer to their invoice\"\n        },\n        {\n            \"name\": \"invoice_due_date\",\n            \"description\": \"The date the invoice is due\"\n        },\n        {\n            \"name\": \"merchant_name\",\n            \"description\": \"The name of the company the invoice is from\"\n        }\n    ],\n    \"page\": 1,\n    \"total\": 7,\n    \"count\": 7,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"c41b7a47-39f6-4fd6-8374-1aff397dabf1"},{"name":"Get Details | Template","event":[{"listen":"test","script":{"id":"99a35f24-b8a5-4f2e-b29e-71b88019b1e2","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"abaa531d-556a-4915-91d0-c0618ebbc050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"template_name\": \"{{template_name}}\"\n}"},"url":"{{host}}/messages/template","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, template_id, or template_name</td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_template_id, or template_name</td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_template_id, or template_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","template"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6f93f880-86d8-4b7a-940f-55887cb03ffc","name":"Get Message Template Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"template_name\": \"{{template_name}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:52:08 GMT"},{"key":"Content-Length","value":"433"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"template_name\": \"firmware\",\n        \"blytzpay_template_id\": \"f465b099-bdb1-485c-b9e8-fb8ce285904c\",\n        \"description\": \"A friendly greeting\",\n        \"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n        \"body\": \"Hello {user_first_name}!\",\n        \"subject\": \"Hello {user_first_name}!\",\n        \"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n        \"template_type_id\": 1,\n        \"template_type\": \"billing\"\n    }\n}"}],"_postman_id":"abaa531d-556a-4915-91d0-c0618ebbc050"},{"name":"Get Details by blytzpay_template_id  | Template","event":[{"listen":"test","script":{"id":"ac867e6e-8b97-4f7b-8f51-5f5220a855be","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"ae429061-d7b7-4e9b-a290-98575af9c334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_template_id\": \"{{blytzpay_template_id}}\"\n}"},"url":"{{host}}/messages/template","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, template_id, or template_name</td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_template_id, or template_name</td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_template_id, or template_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","template"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"0f8d8c8d-a649-457c-a813-4066ff22b2be","name":"Get Message Template Details by blytzpay_template_id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{AWSToken}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_template_id\": \"{{blytzpay_template_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:52:42 GMT"},{"key":"Content-Length","value":"433"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"template_name\": \"firmware\",\n        \"blytzpay_template_id\": \"f465b099-bdb1-485c-b9e8-fb8ce285904c\",\n        \"description\": \"A friendly greeting\",\n        \"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n        \"body\": \"Hello {user_first_name}!\",\n        \"subject\": \"Hello {user_first_name}!\",\n        \"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n        \"template_type_id\": 1,\n        \"template_type\": \"billing\"\n    }\n}"}],"_postman_id":"ae429061-d7b7-4e9b-a290-98575af9c334"},{"name":"Update | Template","id":"e0646219-2ad7-4228-ae78-20a7591ab926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\":\"{{blytzpay_company_id}}\",\n\t\"template_name\": \"{{template_name}}\",\n\t\"body\": \"Hello {user_first_name} {user_last_name}!\",\n\t\"subject\": \"Hello {user_first_name} {user_last_name}!\"\n}"},"url":"{{host}}/messages/template/update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Must include this or blytzpay_template_id</td>\n</tr>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Must include this or blytzpay_company_id</td>\n</tr>\n<tr>\n<td>body</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>logo</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>sendgrid_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>\n","urlObject":{"path":["messages","template","update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7d889eb4-d21a-4194-bb8e-b68bb709e861","name":"Update Message Template","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{access_token}}","type":"text","disabled":true},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"refresh-token","value":"{{refresh_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\":\"{{blytzpay_company_id}}\",\n\t\"template_name\": \"{{template_name}}\",\n\t\"body\": \"Hello {user_first_name} {user_last_name}!\",\n\t\"subject\": \"Hello {user_first_name} {user_last_name}!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/template/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:53:01 GMT"},{"key":"Content-Length","value":"492"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Template was successfully updated\",\n    \"data\": {\n        \"template_name\": \"firmware\",\n        \"blytzpay_template_id\": \"f465b099-bdb1-485c-b9e8-fb8ce285904c\",\n        \"description\": \"A friendly greeting\",\n        \"sendgrid_id\": \"d-23859964eb114bc5b82c603c344c5018\",\n        \"body\": \"Hello {user_first_name} {user_last_name}!\",\n        \"subject\": \"Hello {user_first_name} {user_last_name}!\",\n        \"logo\": \"https://www.thetruthaboutcars.com/wp-content/uploads/2019/11/2019-Honda-Civic-Type-R-profile-610x407.jpg\",\n        \"template_type\": \"billing\"\n    }\n}"}],"_postman_id":"e0646219-2ad7-4228-ae78-20a7591ab926"}],"id":"022251fb-a392-4390-856b-47a2272b06b5","_postman_id":"022251fb-a392-4390-856b-47a2272b06b5","description":""},{"name":"SMS","item":[{"name":"Send | SMS","event":[{"listen":"test","script":{"id":"3f970e49-bc99-48e1-9aea-f7414ff242bd","exec":["pm.test(\"Sent message successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_message_id\", jsonData.data.blytzpay_message_id);","});","","pm.test(\"Conversation ID\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_conversation_id\", jsonData.data.conversation_id);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"a327a4b8-ad8d-40be-bb66-b4c2e97e9168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{ \"body\": \"greeting2\", \"blytzpay_company_id\": \"{{blytzpay_company_id}}\", \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"}","type":"text"},{"key":"file0","type":"file","src":"/Users/loftonharmon/Downloads/bernie_no.gif"}]},"url":"{{host}}/messages/sms/send","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>body</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>days_interval</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_due_date</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>company_user_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>image</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_variables</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","sms","send"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a327a4b8-ad8d-40be-bb66-b4c2e97e9168"},{"name":"Get Details | SMS","event":[{"listen":"test","script":{"id":"3fb5c75b-4d4d-4e86-a017-14b49a3ee15a","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"84e8b8a6-c332-47e2-aaf4-a1155ae570db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_message_id\": \"{{blytzpay_message_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\"\n}"},"url":"{{host}}/message","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_message_id</td>\n</tr>\n<tr>\n<td>blytzpay_message_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or message_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["message"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e8b8a6-c332-47e2-aaf4-a1155ae570db"},{"name":"Get All | SMS","event":[{"listen":"test","script":{"id":"8bb72465-ba25-4f4f-a3d6-33b7f2a1e9d4","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"c8a434b9-d8f7-4342-a325-17e111474567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}"},"url":"{{host}}/messages","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>new_only</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td>This is an unreleased feature</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b13a1be9-f88d-4532-aca6-841b5ea2116c","name":"Message List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:56:08 GMT"},{"key":"Content-Length","value":"685"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"body\": \"Customizable secondary circuit has invited you to receive and pay bills via Blytzpay sign up here http://sandbox.blytzpay.com/signup/uCdewPjPEIlaU9lf/2\",\n            \"blytzpay_message_id\": \"4c4e1fd4-e416-4490-bf4c-e79910d40be1\",\n            \"message_type\": \"sms\",\n            \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n            \"to_number_or_email\": \"8015555555\",\n            \"from_number_or_email\": \"3853557633\",\n            \"external_account_id\": null,\n            \"blytzpay_account_id\": null,\n            \"blytzpay_invoice_id\": null,\n            \"conversation_id\": 1,\n            \"company_user_id\": null,\n            \"sent_on\": \"03-10-2020 00:38:25\",\n            \"attachments\": []\n        }\n    ],\n    \"page\": 1,\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"c8a434b9-d8f7-4342-a325-17e111474567"},{"name":"Get Conversations | SMS","event":[{"listen":"test","script":{"id":"c9927b4e-d663-4a44-8a6f-e3f85e3d9bc8","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"d6e89d0c-e86c-4ce8-8837-00d978ce699c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/conversations","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","conversations"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e6f3b479-91d4-4d92-bad4-ad7052de0403","name":"Get Conversations","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/conversations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:57:55 GMT"},{"key":"Content-Length","value":"771"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"conversation_id\": 1,\n            \"status\": \"Active\",\n            \"message_count\": 1,\n            \"messages\": [\n                {\n                    \"body\": \"Customizable secondary circuit has invited you to receive and pay bills via Blytzpay sign up here http://localhost:8080/signup/uCdewPjPEIlaU9lf/2\",\n                    \"blytzpay_message_id\": \"4c4e1fd4-e416-4490-bf4c-e79910d40be1\",\n                    \"message_type\": \"sms\",\n                    \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n                    \"to_number_or_email\": \"3853098526\",\n                    \"from_number_or_email\": \"+13853557633\",\n                    \"external_account_id\": null,\n                    \"blytzpay_account_id\": null,\n                    \"blytzpay_invoice_id\": null,\n                    \"conversation_id\": 1,\n                    \"company_user_id\": null,\n                    \"sent_on\": \"03-10-2020 00:38:25\",\n                    \"attachments\": []\n                }\n            ]\n        }\n    ],\n    \"page\": 1,\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"d6e89d0c-e86c-4ce8-8837-00d978ce699c"},{"name":"Get Conversation | SMS","event":[{"listen":"test","script":{"id":"3630e6dc-22e0-4b60-a42a-befc4ddef326","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"461658a4-9043-4b1b-864f-87e50813949d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"conversation_id\": {{blytzpay_conversation_id}},\n\t\"num_per_page\": 5,\n\t\"page\": 1\n}"},"url":"{{host}}/messages/conversation","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_conversation_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_customer_id, or customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_conversation_id, or customer_id</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this, blytzpay_conversation_id, or blytzpay_customer_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","conversation"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ff2271c7-0214-4ebc-9302-adf072d0a528","name":"Get Conversation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"conversation_id\": {{blytzpay_conversation_id}},\n\t\"num_per_page\": 5,\n\t\"page\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages/conversation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:58:53 GMT"},{"key":"Content-Length","value":"761"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"customer_id\": 1,\n        \"status\": \"Active\",\n        \"members\": null,\n        \"messages\": [\n            {\n                \"body\": \"Customizable secondary circuit has invited you to receive and pay bills via Blytzpay sign up here http://localhost:8080/signup/uCdewPjPEIlaU9lf/2\",\n                \"blytzpay_message_id\": \"4c4e1fd4-e416-4490-bf4c-e79910d40be1\",\n                \"message_type\": \"sms\",\n                \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n                \"to_number_or_email\": \"3853098526\",\n                \"from_number_or_email\": \"+13853557633\",\n                \"external_account_id\": null,\n                \"blytzpay_account_id\": null,\n                \"blytzpay_invoice_id\": null,\n                \"conversation_id\": 1,\n                \"company_user_id\": null,\n                \"sent_on\": \"03-10-2020 00:38:25\",\n                \"attachments\": []\n            }\n        ]\n    },\n    \"page\": 1,\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 5,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"461658a4-9043-4b1b-864f-87e50813949d"}],"id":"3804fa38-4afc-444f-a5ad-77b6338d112c","_postman_id":"3804fa38-4afc-444f-a5ad-77b6338d112c","description":""},{"name":"Email","item":[{"name":"Send | Email","event":[{"listen":"test","script":{"id":"0d52e93d-1e4e-4bdc-ba5e-a37bbe7078b0","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"fcf7dace-a492-4c05-b769-58b107dd297d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{ \"template_name\": \"{{template_name}}\", \"blytzpay_company_id\": \"{{blytzpay_company_id}}\", \"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\" ,  \"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"}","type":"text"},{"key":"file0","type":"file","value":null}]},"url":"{{host}}/messages/email/send","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_template_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>body</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>logo_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>image</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>template_variables</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages","email","send"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcf7dace-a492-4c05-b769-58b107dd297d"},{"name":"Get All | Email","event":[{"listen":"test","script":{"id":"fc6cdf69-bfc7-4269-9d0c-23e356274c7f","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"d5095623-fce2-48ee-bf27-efba4e880149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}"},"url":"{{host}}/messages","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or blytzpay_customer_id</td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Must include this or customer_id</td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>num_per_page</td>\n<td>integer</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>new_only</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td>This is an unreleased feature</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["messages"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"465569a4-557c-4923-8325-c920930cca5b","name":"Message List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_customer_id\": \"{{blytzpay_customer_id}}\",\n\t\"num_per_page\": 50,\n\t\"page\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 01:56:08 GMT"},{"key":"Content-Length","value":"685"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"body\": \"Customizable secondary circuit has invited you to receive and pay bills via Blytzpay sign up here http://sandbox.blytzpay.com/signup/uCdewPjPEIlaU9lf/2\",\n            \"blytzpay_message_id\": \"4c4e1fd4-e416-4490-bf4c-e79910d40be1\",\n            \"message_type\": \"sms\",\n            \"blytzpay_customer_id\": \"4f304b04-a176-41c0-bfc4-e3032df71ef1\",\n            \"to_number_or_email\": \"8015555555\",\n            \"from_number_or_email\": \"3853557633\",\n            \"external_account_id\": null,\n            \"blytzpay_account_id\": null,\n            \"blytzpay_invoice_id\": null,\n            \"conversation_id\": 1,\n            \"company_user_id\": null,\n            \"sent_on\": \"03-10-2020 00:38:25\",\n            \"attachments\": []\n        }\n    ],\n    \"page\": 1,\n    \"total\": 1,\n    \"count\": 1,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"d5095623-fce2-48ee-bf27-efba4e880149"}],"id":"492558b7-ea0c-4d64-b049-c89b3730e6c3","_postman_id":"492558b7-ea0c-4d64-b049-c89b3730e6c3","description":""}],"id":"7401b555-b339-40e8-a72b-c9e9250a124d","event":[{"listen":"prerequest","script":{"id":"dcf10763-9c7f-4432-8fb8-746a8bcb9243","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2f74a815-9c32-470c-83aa-1a770a08061a","type":"text/javascript","exec":[""]}}],"_postman_id":"7401b555-b339-40e8-a72b-c9e9250a124d","description":""},{"name":"Payments","item":[{"name":"Process Credit Card | Payment","event":[{"listen":"test","script":{"id":"ef4899f8-5ffb-4de1-a13f-15ace19cfab8","exec":["pm.test(\"Created transaction successfully\", function () {","  var jsonData = pm.response.json();","  pm.environment.set(\"blytzpay_transaction_id\", jsonData.payment.blytzpay_transaction_id);","  pm.environment.set(\"blytzpay_payment_token\", jsonData.payment.blytzpay_payment_token);","});","pm.test(\"Response time is less than 3500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(3500);","});","postman.setNextRequest('Get All | Transactions');"],"type":"text/javascript","packages":{}}}],"id":"1f053750-a358-4cd7-a8c0-373a19965bc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"28\",\n\t\"card_cvv\": \"123\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"{{amount}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_token</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_month</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_year</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>save_payment_method</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>is_split_payment</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>'Payment' or 'Donation'</td>\n</tr>\n<tr>\n<td>payment_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>'credit', 'ach' or 'cash'</td>\n</tr>\n<tr>\n<td>routing_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","process"],"host":["{{secureURL}}"],"query":[],"variable":[]}},"response":[{"id":"98d5ff6a-4da2-40cb-b583-38ed93a1f933","name":"Process Payment with Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:12:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"a1460dc4f649dc9d"},{"key":"Via","value":"1.1 a26fb8c293e0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"31b573ed-d603-45e1-a5ff-c7429836f4fe\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:12:01\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS126\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309221200\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069730079920\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"145b10cb-bb15-46c9-987d-a83f50da36c7","name":"Process Payment No Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:33:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"9915e1d9081f8f6e"},{"key":"Via","value":"1.1 a8c2afe118d7"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"898178a0-cad4-4624-a239-4304e9e71d17\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:33:49\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS236\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309223348\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069666781228\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"0184e29a-6a07-46dc-befb-092b285d82e9","name":"Process Payment with Payment Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_payment_token\": \"{{blytzpay_payment_token}}\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://tntlgdnztdo.SANDBOX.verygoodproxy.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 03:25:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"89cc28cc36c6a823"},{"key":"Via","value":"1.1 a7803faeae96"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"02dc8175-3422-46fa-b8d4-8e3e2c91cfca\",\n        \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n        \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"a6418887-7662-4309-95eb-316dc1da8d1d\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 03:25:13\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"X\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS360\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232512\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069638184312\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"0f8c72cf-1067-433f-a662-2e0f36534885","name":"Process Credit Card | Payment","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"{{CCNumber}}\",\n\t\"card_month\": \"04\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"571\",\n\t\"address\": \"{{Address}}\",\n\t\"city\": \"{{city}}\",\n\t\"state\": \"{{State}}\",\n\t\"postal_code\": \"84005\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.00\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Test\",\n\t\"last_name\": \"User\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Jun 2020 18:01:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"5be583070dbc7e299644d06cf47f7379"},{"key":"Via","value":"1.1 5df6b64cc40c"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"payment_status\": \"Success\",\n        \"blytzpay_company_id\": \"ee591162-8405-4572-ba94-b95130ed7618\",\n        \"blytzpay_transaction_id\": \"3d4f6cdf-8c28-40af-b646-65e8eeddb648\",\n        \"blytzpay_account_id\": \"adfb433b-0135-4609-967d-9d46360c97e8\",\n        \"blytzpay_invoice_id\": \"81674b90-61fa-4141-8eba-183286f6ddd8\",\n        \"invoice\": {\n            \"company_name\": \"Fully-configurable attitude-oriented function\",\n            \"company_phone\": \"319-308-5236\",\n            \"company_email\": \"test@gmail.com\",\n            \"blytzpay_company_id\": \"ee591162-8405-4572-ba94-b95130ed7618\",\n            \"company_address\": \"180 Chloe Stream\",\n            \"company_address2\": \"243\",\n            \"company_city\": \"Lake Amiya\",\n            \"company_state\": \"Utah\",\n            \"company_postal_code\": \"84062\",\n            \"first_name\": \"Edward\",\n            \"last_name\": \"Mead\",\n            \"phone\": \"5555550111\",\n            \"email\": null,\n            \"customer_id\": \"14039_61915\",\n            \"blytzpay_account_id\": \"adfb433b-0135-4609-967d-9d46360c97e8\",\n            \"blytzpay_customer_id\": \"ee795e8f-f17a-40e6-a085-c427d354c77c\",\n            \"invoice_id\": \"1e4584c8-6361-4279-9f36-98c751808647\",\n            \"blytzpay_invoice_id\": \"81674b90-61fa-4141-8eba-183286f6ddd8\",\n            \"status\": \"Upcoming\",\n            \"description\": \"2015 Subaru WRX\",\n            \"invoice_type\": \"Auto Payment\",\n            \"amount_due\": \"875.00\",\n            \"amount_paid\": \"4.00\",\n            \"amount_outstanding\": \"871.00\",\n            \"due_date\": \"08-01-2020 00:00:00\",\n            \"paid_date\": null,\n            \"minimum_amount_due\": \"1.00\",\n            \"maximum_amount_due\": \"871.00\",\n            \"line_items\": [\n                {\n                    \"description\": \"Discount\",\n                    \"amount\": \"-25.00\",\n                    \"blytzpay_invoice_item_id\": \"7fc31b09-e31d-4707-bf77-e69d2eef3581\",\n                    \"order\": 10\n                },\n                {\n                    \"description\": \"Car Payment\",\n                    \"amount\": \"900.00\",\n                    \"blytzpay_invoice_item_id\": \"eb61b7f1-e203-445b-9da4-929c49b49190\",\n                    \"order\": 15\n                }\n            ],\n            \"created_at\": \"06-24-2020 17:56:30\",\n            \"updated_at\": \"06-24-2020 18:01:02\"\n        },\n        \"amount_paid\": \"1.00\",\n        \"blytzpay_payment_token\": \"d0db421a-6713-40a9-adde-e7bc79616cb2\",\n        \"masked_number\": \"411111xxxxxx1111\",\n        \"last_four\": \"1111\",\n        \"payment_type\": \"credit\",\n        \"card_brand\": \"VISA\",\n        \"created_at\": \"06-24-2020 18:01:02\",\n        \"message\": \"Approved\",\n        \"processor_response\": {\n            \"ExpressResponseCode\": \"0\",\n            \"ExpressResponseMessage\": \"Approved\",\n            \"ExpressTransactionDate\": \"20200624\",\n            \"ExpressTransactionTime\": \"130102\",\n            \"ExpressTransactionTimezone\": \"UTC-06:00\",\n            \"HostResponseCode\": \"000\",\n            \"HostResponseMessage\": \"AP\",\n            \"Credentials\": null,\n            \"Batch\": {\n                \"BatchCloseType\": \"Regular\",\n                \"BatchQueryType\": \"Totals\",\n                \"HostBatchID\": \"1\",\n                \"HostItemID\": \"1163\",\n                \"HostBatchAmount\": \"165859.84\",\n                \"BatchGroupingCode\": \"FullBatch\",\n                \"BatchIndexCode\": \"Current\"\n            },\n            \"Card\": {\n                \"ExpirationMonth\": \"04\",\n                \"ExpirationYear\": \"21\",\n                \"AVSResponseCode\": \"N\",\n                \"CardLogo\": \"Visa\",\n                \"BIN\": \"411111\"\n            },\n            \"Transaction\": {\n                \"TransactionID\": \"53654151\",\n                \"ApprovalNumber\": \"000001\",\n                \"ReferenceNumber\": \"81674b9061fa41418eba183286f6ddd8\",\n                \"ReversalType\": \"System\",\n                \"MarketCode\": \"Default\",\n                \"AcquirerData\": \"aVb001234567810425c0425d5e00\",\n                \"BillPaymentFlag\": \"False\",\n                \"DuplicateCheckDisableFlag\": \"False\",\n                \"DuplicateOverrideFlag\": \"False\",\n                \"RecurringFlag\": \"False\",\n                \"ProcessorName\": \"NULL_PROCESSOR_TEST\",\n                \"TransactionStatus\": \"Approved\",\n                \"TransactionStatusCode\": \"1\",\n                \"PartialApprovedFlag\": \"False\",\n                \"ApprovedAmount\": \"1.00\",\n                \"EMVEncryptionFormat\": \"Default\",\n                \"ReversalReason\": \"Unknown\",\n                \"PaymentType\": \"NotUsed\",\n                \"SubmissionType\": \"NotUsed\"\n            },\n            \"DemandDepositAccount\": {\n                \"CheckType\": \"Personal\"\n            }\n        }\n    }\n}"}],"_postman_id":"1f053750-a358-4cd7-a8c0-373a19965bc6"},{"name":"Process ACH | Payment","event":[{"listen":"test","script":{"id":"ef4899f8-5ffb-4de1-a13f-15ace19cfab8","exec":["pm.test(\"Created transaction successfully\", function () {","  var jsonData = pm.response.json();","  pm.environment.set(\"blytzpay_transaction_id\", jsonData.payment.blytzpay_transaction_id);","  pm.environment.set(\"blytzpay_payment_token\", jsonData.payment.blytzpay_payment_token);","});","pm.test(\"Response time is less than 2500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2500);","});","postman.setNextRequest('Refund | Transaction');"],"type":"text/javascript"}}],"id":"644eba13-5f2e-4337-aa94-274c6d0be10c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"12131546\",\n\t\"routing_number\": \"123456789\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"375.00\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"ach\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_token</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_month</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_year</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>save_payment_method</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>is_split_payment</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>'Payment' or 'Donation'</td>\n</tr>\n<tr>\n<td>payment_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>'credit', 'ach' or 'cash'</td>\n</tr>\n<tr>\n<td>routing_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","process"],"host":["{{secureURL}}"],"query":[],"variable":[]}},"response":[{"id":"1c1d976a-934d-4e61-876d-32b7edef3a50","name":"Process Payment with Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:12:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"a1460dc4f649dc9d"},{"key":"Via","value":"1.1 a26fb8c293e0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"31b573ed-d603-45e1-a5ff-c7429836f4fe\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:12:01\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS126\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309221200\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069730079920\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"f02b4577-dd19-40fc-9ead-697663d99e1c","name":"Process Payment with Payment Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_payment_token\": \"{{blytzpay_payment_token}}\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://tntlgdnztdo.SANDBOX.verygoodproxy.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 03:25:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"89cc28cc36c6a823"},{"key":"Via","value":"1.1 a7803faeae96"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"02dc8175-3422-46fa-b8d4-8e3e2c91cfca\",\n        \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n        \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"a6418887-7662-4309-95eb-316dc1da8d1d\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 03:25:13\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"X\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS360\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232512\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069638184312\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"3e79453b-cc7f-4478-8aa4-7d32b32da85c","name":"Process Payment No Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:33:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"9915e1d9081f8f6e"},{"key":"Via","value":"1.1 a8c2afe118d7"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"898178a0-cad4-4624-a239-4304e9e71d17\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:33:49\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS236\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309223348\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069666781228\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"}],"_postman_id":"644eba13-5f2e-4337-aa94-274c6d0be10c"},{"name":"Process Payment Token| Payment","event":[{"listen":"test","script":{"id":"ef4899f8-5ffb-4de1-a13f-15ace19cfab8","exec":["pm.test(\"Created transaction successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_transaction_id\", jsonData.payment.blytzpay_transaction_id);","    pm.environment.set(\"blytzpay_payment_token\", jsonData.payment.blytzpay_payment_token);","});","pm.test(\"Response time is less than 2500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2500);","});"],"type":"text/javascript"}}],"id":"575812fb-b1a8-4e9e-a18a-b0d279531163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_payment_token\": \"{{blytzpay_payment_token}}\",\n\t\"description\": \"second transaction\",\n\t\"amount\": \"375.00\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_token</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_month</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_year</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>save_payment_method</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>is_split_payment</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>'Payment' or 'Donation'</td>\n</tr>\n<tr>\n<td>payment_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>'credit', 'ach' or 'cash'</td>\n</tr>\n<tr>\n<td>routing_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","process"],"host":["{{secureURL}}"],"query":[],"variable":[]}},"response":[{"id":"bebc8d62-05a7-422b-9e1c-bb655f5e688f","name":"Process Payment with Payment Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_payment_token\": \"{{blytzpay_payment_token}}\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://tntlgdnztdo.SANDBOX.verygoodproxy.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 03:25:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"89cc28cc36c6a823"},{"key":"Via","value":"1.1 a7803faeae96"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"02dc8175-3422-46fa-b8d4-8e3e2c91cfca\",\n        \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n        \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"a6418887-7662-4309-95eb-316dc1da8d1d\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 03:25:13\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"X\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS360\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232512\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069638184312\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"23acffe3-dd83-46a7-a5ed-459788074eaa","name":"Process Payment No Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:33:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"9915e1d9081f8f6e"},{"key":"Via","value":"1.1 a8c2afe118d7"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"898178a0-cad4-4624-a239-4304e9e71d17\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:33:49\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS236\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309223348\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069666781228\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"051714ef-a3ee-42ba-916d-7b67c2cd3273","name":"Process Payment with Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:12:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"a1460dc4f649dc9d"},{"key":"Via","value":"1.1 a26fb8c293e0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"31b573ed-d603-45e1-a5ff-c7429836f4fe\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:12:01\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS126\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309221200\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069730079920\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"}],"_postman_id":"575812fb-b1a8-4e9e-a18a-b0d279531163"},{"name":"Process Cash| Payment","event":[{"listen":"test","script":{"id":"ef4899f8-5ffb-4de1-a13f-15ace19cfab8","exec":["pm.test(\"Created transaction successfully\", function () {","    var jsonData = pm.response.json();","    pm.environment.set(\"blytzpay_transaction_id\", jsonData.payment.blytzpay_transaction_id);","    pm.environment.set(\"blytzpay_payment_token\", jsonData.payment.blytzpay_payment_token);","});","pm.test(\"Response time is less than 2500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2500);","});"],"type":"text/javascript"}}],"id":"51e071f1-63e1-415c-b81d-a1e4c0734e66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"second transaction\",\n\t\"amount\": \"375.00\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"payment_type\": \"cash\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_token</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_month</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_year</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>save_payment_method</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>is_split_payment</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>'Payment' or 'Donation'</td>\n</tr>\n<tr>\n<td>payment_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>'credit', 'ach' or 'cash'</td>\n</tr>\n<tr>\n<td>routing_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","process"],"host":["{{secureURL}}"],"query":[],"variable":[]}},"response":[{"id":"8b8184af-c730-41cd-92c9-cf443c03ac76","name":"Process Payment with Payment Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_payment_token\": \"{{blytzpay_payment_token}}\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://tntlgdnztdo.SANDBOX.verygoodproxy.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 03:25:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"89cc28cc36c6a823"},{"key":"Via","value":"1.1 a7803faeae96"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"02dc8175-3422-46fa-b8d4-8e3e2c91cfca\",\n        \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n        \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"a6418887-7662-4309-95eb-316dc1da8d1d\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 03:25:13\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"X\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS360\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232512\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069638184312\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"ad7f5ade-cd4b-445a-805f-661ce82a7913","name":"Process Payment No Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:33:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1144"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"9915e1d9081f8f6e"},{"key":"Via","value":"1.1 a8c2afe118d7"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"898178a0-cad4-4624-a239-4304e9e71d17\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:33:49\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS236\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309223348\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069666781228\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"},{"id":"8c527a15-629c-4156-87d0-461f47fb728f","name":"Process Payment with Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"account_number\": \"4111111111111111\",\n\t\"card_month\": \"12\",\n\t\"card_year\": \"21\",\n\t\"card_cvv\": \"001\",\n\t\"address\": \"123 Baker st\",\n\t\"city\": \"Draper\",\n\t\"state\": \"UT\",\n\t\"postal_code\": \"84020\",\n\t\"country\": \"US\",\n\t\"description\": \"test transaction\",\n\t\"amount\": \"1.01\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\",\n\t\"transaction_type\": \"Payment\",\n\t\"payment_type\": \"credit\",\n\t\"first_name\": \"Todd\",\n\t\"last_name\": \"Smith\",\n\t\"save_payment_method\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.blytzpay.com/payment/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 10 Mar 2020 02:12:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1154"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"a1460dc4f649dc9d"},{"key":"Via","value":"1.1 a26fb8c293e0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payments_processed\": 1,\n    \"payment\": {\n        \"blytzpay_transaction_id\": \"31b573ed-d603-45e1-a5ff-c7429836f4fe\",\n        \"blytzpay_invoice_id\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n        \"blytzpay_account_id\": \"9bee0610-2df7-43f8-8fb4-3565337fae70\",\n        \"payment_status\": \"Success\",\n        \"amount_paid\": \"1.01\",\n        \"blytzpay_payment_token\": \"727295c0-a574-478d-8f73-d08d93aa24ad\",\n        \"payment_type\": \"debit\",\n        \"created_at\": \"03-10-2020 02:12:01\",\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"00f369cd-3434-4c32-ae1f-9e373d261a14\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS126\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309221200\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"1221\",\n            \"retref\": \"069730079920\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"}],"_postman_id":"51e071f1-63e1-415c-b81d-a1e4c0734e66"},{"name":"All in One (Create Customer, Account, Invoice and Take Payment)","event":[{"listen":"prerequest","script":{"id":"e6c55702-2ba9-4427-8890-ea0ced86d3ce","exec":["var phoneNumber = \"55555501\" + Math.floor(0 + Math.random() * 9) + Math.floor(0 + Math.random() * 9);","pm.environment.set(\"phone\", phoneNumber);","pm.environment.set(\"customer_id\", Math.floor(Math.random() * 90000) + '_' + Math.floor(0 + Math.random() * 90000))","function randomString(length) {","    return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);","}","pm.environment.set('account_id', randomString(32))"],"type":"text/javascript"}},{"listen":"test","script":{"id":"30e4d1ea-45c5-435b-a955-3ad2d73b6ea0","exec":["pm.test(\"Status code is 200\", function () {","  pm.response.to.have.status(200);","});","pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});"],"type":"text/javascript"}}],"id":"b9385138-c510-467f-8e77-6264d07102cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"suppress_customer_invite\": true,\n    \"customer\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"phone\": \"{{phone}}\",\n        \"date_of_birth\": \"{{date_of_birth}}\",\n        \"address\": \"{{street}}\",\n        \"address2\": \"{{street2}}\",\n        \"city\": \"{{city}}\",\n        \"state\": \"{{state}}\",\n        \"zip\": \"{{postalCode}}\",\n        \"country\": \"{{countryCode}}\",\n        \"customer_id\": \"{{customer_id}}\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"custom_fields\": [\n        \t{\n\t\t\t\t\"field_name\": \"Financial\",\n\t\t\t\t\"field_value\": \"Inclusion\"\n        \t},\n        \t{\n\t\t\t\t\"field_name\": \"Blytz\",\n\t\t\t\t\"field_value\": \"Pay\"\n        \t}\n        ]\n    },\n\t\"account\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Auto Loan\",\n    \t\"address\": \"{{street}}\",\n    \t\"city\": \"{{city}}\",\n    \t\"state\": \"{{state}}\",\n    \t\"zip\": \"{{postalCode}}\",\n    \t\"country\": \"{{countryCode}}\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    },\n    \"invoice\": {\n        \"description\": \"2015 Subaru WRX\",\n        \"due_date\": \"8-1-2020\",\n        \"status\": \"upcoming\",\n        \"invoice_id\": \"3ad4abda-1f42-4af7-80b8-f0ae7b771315\",\n        \"invoice_type\": \"{{invoice_type}}\",\n        \"minimum_amount_due\": \"0.00\",\n        \"line_items\": [\n            {\n                \"amount\": \"-25.00\",\n                \"description\": \"Discount\",\n                \"order\": 10\n            },\n            {\n                \"amount\": \"400.00\",\n                \"description\": \"Car Payment\",\n                \"order\": 15\n            }\n        ]\n\t},\n\t\"payment\": {\n\t\t\"account_number\": \"{{visaCard}}\",\n\t\t\"card_month\": \"12\",\n\t\t\"card_year\": \"25\",\n\t\t\"card_cvv\": \"123\",\n\t\t\"address\": \"{{street}}\",\n\t\t\"city\": \"{{city}}\",\n\t\t\"state\": \"{{state}}\",\n\t\t\"postal_code\": \"{{postalCode}}\",\n\t\t\"country\": \"{{countryCode}}\",\n\t\t\"description\": \"test transaction\",\n\t\t\"amount\": \"{{amount}}\",\n\t\t\"transaction_type\": \"Payment\",\n\t\t\"payment_type\": \"credit\",\n\t\t\"first_name\": \"Todd\",\n\t\t\"last_name\": \"Smith\",\n\t\t\"save_payment_method\": false,\n\t\t\"callback_url\": \"{{callback_url}}\"\n\t}\n}\n","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process/create-and-process","description":"<p>This endpoint will create a customer, account, an invoice and take a payment in all one step. Or you can send an existing customer and account and it will use those to create the invoice and process a payment. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>suppress_customer_invite</td>\n<td>boolean</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>account</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>payment</td>\n<td>object</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customer-object\">Customer Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>preferred_name</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 8017561232, 18017561232</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_customer_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td>Example(s): 123456789</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>sms_optin</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email_optin</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>is_company</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"account-object\">Account Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_terms_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>note</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>balance</td>\n<td>['string', 'null']</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"invoice-object\">Invoice Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>due_date</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td>Example(s): 1-1-2020, 1/2/2020, 12/31/2000, 12-31-2000</td>\n</tr>\n<tr>\n<td>minimum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>amount_paid</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>maximum_amount_due</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>line_items</td>\n<td>array</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"payment-object\">Payment Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_month</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_year</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>save_payment_method</td>\n<td>boolean</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>payment_type</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>routing_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_payment_token</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","process","create-and-process"],"host":["{{secureURL}}"],"query":[],"variable":[]}},"response":[{"id":"80680929-d2c5-4853-8f83-fd80cf950220","name":"All in One (Create Customer, Account, Invoice and Take Payment)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{AWSToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"suppress_customer_invite\": true,\n    \"customer\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"phone\": \"{{phone}}\",\n        \"date_of_birth\": \"{{date_of_birth}}\",\n        \"address\": \"{{street}}\",\n        \"address2\": \"{{street2}}\",\n        \"city\": \"{{city}}\",\n        \"state\": \"{{state}}\",\n        \"zip\": \"{{postalCode}}\",\n        \"country\": \"{{countryCode}}\",\n        \"customer_id\": \"{{customer_id}}\",\n        \"sms_optin\": true,\n        \"email_optin\": true,\n        \"custom_fields\": [\n        \t{\n\t\t\t\t\"field_name\": \"Financial\",\n\t\t\t\t\"field_value\": \"Inclusion\"\n        \t},\n        \t{\n\t\t\t\t\"field_name\": \"Blytz\",\n\t\t\t\t\"field_value\": \"Pay\"\n        \t}\n        ]\n    },\n\t\"account\": {\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"account_id\": \"{{account_id}}\",\n        \"account_type\": \"Auto Loan\",\n    \t\"address\": \"{{street}}\",\n    \t\"city\": \"{{city}}\",\n    \t\"state\": \"{{state}}\",\n    \t\"zip\": \"{{postalCode}}\",\n    \t\"country\": \"{{countryCode}}\",\n        \"custom_fields\": [\n        \t{\n        \t\t\"field_name\": \"Happy\",\n        \t\t\"field_value\": \"to help\"\n        \t},\n        \t{\n        \t\t\"field_name\": \"Foo\",\n        \t\t\"field_value\": \"bar\"\n        \t}\n        ]\n    },\n    \"invoice\": {\n        \"description\": \"2015 Subaru WRX\",\n        \"due_date\": \"8-1-2020\",\n        \"status\": \"upcoming\",\n        \"invoice_id\": \"bf5e1627-d5bf-468b-b9a7-b5070036ca44\",\n        \"invoice_type\": \"{{invoice_type}}\",\n        \"minimum_amount_due\": \"0.00\",\n        \"line_items\": [\n            {\n                \"amount\": \"500.00\",\n                \"description\": \"Car Payment\",\n                \"order\": 15\n            }\n        ]\n\t},\n\t\"payment\": {\n\t\t\"account_number\": \"{{visaCard}}\",\n\t\t\"card_month\": \"12\",\n\t\t\"card_year\": \"25\",\n\t\t\"card_cvv\": \"123\",\n\t\t\"address\": \"{{street}}\",\n\t\t\"city\": \"{{city}}\",\n\t\t\"state\": \"{{state}}\",\n\t\t\"postal_code\": \"{{postalCode}}\",\n\t\t\"country\": \"{{countryCode}}\",\n\t\t\"description\": \"test transaction\",\n\t\t\"amount\": \"500.00\",\n\t\t\"transaction_type\": \"Payment\",\n\t\t\"payment_type\": \"credit\",\n\t\t\"first_name\": \"Todd\",\n\t\t\"last_name\": \"Smith\",\n\t\t\"save_payment_method\": false,\n\t\t\"callback_url\": \"{{callback_url}}\"\n\t}\n}\n","options":{"raw":{"language":"json"}}},"url":"{{secureURL}}/payment/process/create-and-process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Jun 2020 19:29:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"},{"key":"VGS-Request-Id","value":"eb4845007996165bbcf7263252497df3"},{"key":"Via","value":"1.1 0da6da4e5a96"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"customer\": {\n            \"success\": true,\n            \"customer\": {\n                \"address\": \"1234 apple st\",\n                \"address2\": \"apt 25\",\n                \"address_city\": \"Lehi\",\n                \"address_zip\": \"84043\",\n                \"address_state\": \"Utah\",\n                \"address_county\": null,\n                \"address_country\": \"United States\",\n                \"verified\": false,\n                \"blytzpay_customer_id\": \"e13f35ae-5f57-44d2-b5f6-cbdead3a9fcf\",\n                \"customer_id\": \"34812_27587\",\n                \"first_name\": \"Edward\",\n                \"last_name\": \"Mead\",\n                \"phone\": \"5555550113\",\n                \"email\": null,\n                \"status\": \"Active\",\n                \"sms_optin\": true,\n                \"email_optin\": true,\n                \"timezone\": null,\n                \"custom_fields\": [\n                    {\n                        \"blytzpay_custom_field_id\": \"e23f559c-8e78-4bb3-a273-2eb9ab1f3fb9\",\n                        \"blytzpay_customer_id\": \"e13f35ae-5f57-44d2-b5f6-cbdead3a9fcf\",\n                        \"customer_id\": \"34812_27587\",\n                        \"field_name\": \"Financial\",\n                        \"field_value\": \"Inclusion\",\n                        \"order\": 0\n                    },\n                    {\n                        \"blytzpay_custom_field_id\": \"bcbfa6dd-f1b4-42fd-b6f5-e468f6275f0c\",\n                        \"blytzpay_customer_id\": \"e13f35ae-5f57-44d2-b5f6-cbdead3a9fcf\",\n                        \"customer_id\": \"34812_27587\",\n                        \"field_name\": \"Blytz\",\n                        \"field_value\": \"Pay\",\n                        \"order\": 0\n                    }\n                ],\n                \"date_of_birth\": \"01-31-1992 00:00:00\",\n                \"accounts\": [],\n                \"is_company\": false\n            },\n            \"warnings\": []\n        },\n        \"account\": {\n            \"success\": true,\n            \"account\": {\n                \"address\": \"1234 apple st\",\n                \"address2\": null,\n                \"address_city\": \"Lehi\",\n                \"address_zip\": \"84043\",\n                \"address_county\": null,\n                \"verified\": false,\n                \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                \"created_at\": \"06-24-2020 19:29:35\",\n                \"updated_at\": \"06-24-2020 19:29:35\",\n                \"status\": \"Active\",\n                \"active\": true,\n                \"account_type\": \"Auto Loan\",\n                \"description\": null,\n                \"first_name\": \"Edward\",\n                \"last_name\": \"Mead\",\n                \"note\": null,\n                \"email\": null,\n                \"balance\": null,\n                \"account_id\": \"81en903b800000000000000000000000\",\n                \"enrolled_in_autopay\": false,\n                \"custom_fields\": [\n                    {\n                        \"blytzpay_custom_field_id\": \"4cd1cdb3-9238-4500-9a0e-25e7214a686f\",\n                        \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                        \"account_id\": \"81en903b800000000000000000000000\",\n                        \"field_name\": \"Happy\",\n                        \"field_value\": \"to help\",\n                        \"order\": 0\n                    },\n                    {\n                        \"blytzpay_custom_field_id\": \"7920190e-020f-4095-b713-91809a0e77ca\",\n                        \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                        \"account_id\": \"81en903b800000000000000000000000\",\n                        \"field_name\": \"Foo\",\n                        \"field_value\": \"bar\",\n                        \"order\": 0\n                    }\n                ]\n            }\n        },\n        \"invoice\": {\n            \"success\": true,\n            \"invoice\": {\n                \"company_name\": \"Fully-configurable attitude-oriented function\",\n                \"company_phone\": \"319-308-5236\",\n                \"company_email\": \"test@gmail.com\",\n                \"blytzpay_company_id\": \"ee591162-8405-4572-ba94-b95130ed7618\",\n                \"company_address\": \"180 Chloe Stream\",\n                \"company_address2\": \"243\",\n                \"company_city\": \"Lake Amiya\",\n                \"company_state\": \"Utah\",\n                \"company_postal_code\": \"84062\",\n                \"first_name\": \"Edward\",\n                \"last_name\": \"Mead\",\n                \"phone\": \"5555550113\",\n                \"email\": null,\n                \"customer_id\": \"34812_27587\",\n                \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                \"blytzpay_customer_id\": \"e13f35ae-5f57-44d2-b5f6-cbdead3a9fcf\",\n                \"invoice_id\": \"6c72996d-f438-413e-91f8-a07c2909b31e\",\n                \"blytzpay_invoice_id\": \"2ef8284b-e9e5-4822-b028-d529be272dfa\",\n                \"status\": \"Upcoming\",\n                \"description\": \"2015 Subaru WRX\",\n                \"invoice_type\": \"Auto Payment\",\n                \"amount_due\": \"500.00\",\n                \"amount_paid\": \"0.00\",\n                \"amount_outstanding\": \"500.00\",\n                \"due_date\": \"08-01-2020 00:00:00\",\n                \"paid_date\": null,\n                \"minimum_amount_due\": null,\n                \"maximum_amount_due\": \"500.00\",\n                \"line_items\": [\n                    {\n                        \"description\": \"Car Payment\",\n                        \"amount\": \"500.00\",\n                        \"blytzpay_invoice_item_id\": \"2e61856f-45c6-4d99-9e84-cc7f6c3bd8c2\",\n                        \"order\": 15\n                    }\n                ],\n                \"created_at\": \"06-24-2020 19:29:35\",\n                \"updated_at\": \"06-24-2020 19:29:35\"\n            }\n        },\n        \"payment\": {\n            \"success\": true,\n            \"payments_processed\": 1,\n            \"payment\": {\n                \"payment_status\": \"Success\",\n                \"blytzpay_company_id\": \"ee591162-8405-4572-ba94-b95130ed7618\",\n                \"blytzpay_transaction_id\": \"86dc2b1b-51f1-4d12-b504-07d64f8e9175\",\n                \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                \"blytzpay_invoice_id\": \"2ef8284b-e9e5-4822-b028-d529be272dfa\",\n                \"invoice\": {\n                    \"company_name\": \"Fully-configurable attitude-oriented function\",\n                    \"company_phone\": \"319-308-5236\",\n                    \"company_email\": \"Murphy.Leffler83@gmail.com\",\n                    \"blytzpay_company_id\": \"ee591162-8405-4572-ba94-b95130ed7618\",\n                    \"company_address\": \"180 Chloe Stream\",\n                    \"company_address2\": \"243\",\n                    \"company_city\": \"Lake Amiya\",\n                    \"company_state\": \"Utah\",\n                    \"company_postal_code\": \"84062\",\n                    \"first_name\": \"Edward\",\n                    \"last_name\": \"Mead\",\n                    \"phone\": \"5555550113\",\n                    \"email\": null,\n                    \"customer_id\": \"34812_27587\",\n                    \"blytzpay_account_id\": \"1160a101-469a-4f4b-980a-2449355bd404\",\n                    \"blytzpay_customer_id\": \"e13f35ae-5f57-44d2-b5f6-cbdead3a9fcf\",\n                    \"invoice_id\": \"6c72996d-f438-413e-91f8-a07c2909b31e\",\n                    \"blytzpay_invoice_id\": \"2ef8284b-e9e5-4822-b028-d529be272dfa\",\n                    \"status\": \"Paid\",\n                    \"description\": \"2015 Subaru WRX\",\n                    \"invoice_type\": \"Auto Payment\",\n                    \"amount_due\": \"500.00\",\n                    \"amount_paid\": \"500.00\",\n                    \"amount_outstanding\": \"0.00\",\n                    \"due_date\": \"08-01-2020 00:00:00\",\n                    \"paid_date\": \"06-24-2020 19:29:38\",\n                    \"minimum_amount_due\": null,\n                    \"maximum_amount_due\": null,\n                    \"line_items\": [\n                        {\n                            \"description\": \"Car Payment\",\n                            \"amount\": \"500.00\",\n                            \"blytzpay_invoice_item_id\": \"2e61856f-45c6-4d99-9e84-cc7f6c3bd8c2\",\n                            \"order\": 15\n                        }\n                    ],\n                    \"created_at\": \"06-24-2020 19:29:35\",\n                    \"updated_at\": \"06-24-2020 19:29:38\"\n                },\n                \"amount_paid\": \"500.00\",\n                \"blytzpay_payment_token\": \"53d5060d-2e6d-481a-8db0-33ab3e27e678\",\n                \"masked_number\": \"411111xxxxxx1111\",\n                \"last_four\": \"1111\",\n                \"payment_type\": \"debit\",\n                \"card_brand\": \"VISA\",\n                \"created_at\": \"06-24-2020 19:29:38\",\n                \"message\": \"Approved\",\n                \"processor_response\": {\n                    \"ExpressResponseCode\": \"0\",\n                    \"ExpressResponseMessage\": \"Approved\",\n                    \"ExpressTransactionDate\": \"20200624\",\n                    \"ExpressTransactionTime\": \"142938\",\n                    \"ExpressTransactionTimezone\": \"UTC-06:00\",\n                    \"HostResponseCode\": \"000\",\n                    \"HostResponseMessage\": \"AP\",\n                    \"Credentials\": null,\n                    \"Batch\": {\n                        \"BatchCloseType\": \"Regular\",\n                        \"BatchQueryType\": \"Totals\",\n                        \"HostBatchID\": \"1\",\n                        \"HostItemID\": \"1171\",\n                        \"HostBatchAmount\": \"168532.87\",\n                        \"BatchGroupingCode\": \"FullBatch\",\n                        \"BatchIndexCode\": \"Current\"\n                    },\n                    \"Card\": {\n                        \"ExpirationMonth\": \"12\",\n                        \"ExpirationYear\": \"25\",\n                        \"AVSResponseCode\": \"N\",\n                        \"CVVResponseCode\": \"M\",\n                        \"CardLogo\": \"Visa\",\n                        \"BIN\": \"489528\"\n                    },\n                    \"Transaction\": {\n                        \"TransactionID\": \"53660819\",\n                        \"ApprovalNumber\": \"000029\",\n                        \"ReferenceNumber\": \"2ef8284be9e54822b028d529be272dfa\",\n                        \"ReversalType\": \"System\",\n                        \"MarketCode\": \"Default\",\n                        \"AcquirerData\": \"aVb001234567810425c0425d5e00\",\n                        \"BillPaymentFlag\": \"False\",\n                        \"DuplicateCheckDisableFlag\": \"False\",\n                        \"DuplicateOverrideFlag\": \"False\",\n                        \"RecurringFlag\": \"False\",\n                        \"ProcessorName\": \"NULL_PROCESSOR_TEST\",\n                        \"TransactionStatus\": \"Approved\",\n                        \"TransactionStatusCode\": \"1\",\n                        \"PartialApprovedFlag\": \"False\",\n                        \"ApprovedAmount\": \"500.00\",\n                        \"EMVEncryptionFormat\": \"Default\",\n                        \"ReversalReason\": \"Unknown\",\n                        \"PaymentType\": \"NotUsed\",\n                        \"SubmissionType\": \"NotUsed\"\n                    },\n                    \"DemandDepositAccount\": {\n                        \"CheckType\": \"Personal\"\n                    }\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"b9385138-c510-467f-8e77-6264d07102cf"},{"name":"Get Payment","id":"c8177b4f-9776-4ed2-a3ad-a7ec1600f60b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n    \"blytzpay_transaction_id\": \"{{blytzpay_transaction_id}}\"\n}"},"url":"{{host}}/payment/get","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_transaction_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payment","get"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8177b4f-9776-4ed2-a3ad-a7ec1600f60b"}],"id":"bbe948af-c1ae-494f-9e8e-8d7a6c6b04ce","description":"<h4 id=\"overview\">Overview</h4>\n<p>These endpoints allow companies to process payments through the BlytzPay API in a secure method which is PCI compliant.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;iframe src=\"https://{{host}}/embedded-payment?amount={{amount}}&amp;blytzpay_account_id={{blytzpay_account_id}}&amp;blytzpay_invoice_id={{blytzpay_invoice_id}}&amp;blytzpay_company_id={{blytzpay_company_id}}&amp;blytzpay_company_token={{blytzpay_company_token}}&amp;api_key={{api_key}}&amp;first_name={{first_name}}&amp;last_name={{last_name}}&amp;description={{description}}&amp;selected_payment_method=credit&amp;selected_payment_options=credit,ach,cash&amp;callback_url={{callback_url}}\"&gt;\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"97024fc7-1a84-41ba-915d-aca4a6238104","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ee11d7cf-3947-484c-b5f9-fb6249906cc3","type":"text/javascript","exec":[""]}}],"_postman_id":"bbe948af-c1ae-494f-9e8e-8d7a6c6b04ce"},{"name":"Transactions","item":[{"name":"Get All | Transactions","event":[{"listen":"test","script":{"id":"1d110451-ee48-4be4-868f-86cbcacbe0ff","exec":["pm.test(\"Response time is less than 1500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1500);","});","postman.setNextRequest('Get One | Transaction');"],"type":"text/javascript"}}],"id":"ece8e5ec-a4ec-4a70-8197-4e7da31c83d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{apiKey}}","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/transactions","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_account_id</td>\n<td>string</td>\n<td><em>optional</em></td>\n<td><strong>Required</strong> if you use blytzpay_invoice_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["transactions"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4368d91d-b799-4897-9c31-ffe77aab5346","name":"List Transactions","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{AWSToken}}","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_account_id\": \"{{blytzpay_account_id}}\",\n\t\"blytzpay_invoice_id\": \"{{blytzpay_invoice_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 03:25:54 GMT"},{"key":"Content-Length","value":"2454"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"transactions\": [\n        {\n            \"blytzpay_transaction_id\": \"942bc23c-799f-4662-a713-0678c5d27dc0\",\n            \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"invoice_id\": \"445087a8-9b37-4197-8377-b382c4093bc9\",\n            \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n            \"account_id\": 1,\n            \"status\": \"Success\",\n            \"amount\": \"1.01\",\n            \"type\": \"charge\",\n            \"created_at\": \"03-10-2020 03:24:30\",\n            \"updated_at\": \"03-10-2020 03:24:30\",\n            \"blytzpay_refunded_transaction_id\": null,\n            \"processor_response\": {\n                \"amount\": \"1.01\",\n                \"resptext\": \"Approval\",\n                \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n                \"commcard\": \"N\",\n                \"cvvresp\": \"M\",\n                \"respcode\": \"00\",\n                \"batchid\": \"172\",\n                \"avsresp\": \"Z\",\n                \"entrymode\": \"ECommerce\",\n                \"merchid\": \"820000000074\",\n                \"token\": \"9418594164541111\",\n                \"authcode\": \"PPS987\",\n                \"respproc\": \"FNOR\",\n                \"bintype\": \"\",\n                \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232430\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n                \"expiry\": \"1221\",\n                \"retref\": \"069826784270\",\n                \"respstat\": \"A\",\n                \"account\": \"41XXXXXXXXXX1111\",\n                \"status_code\": 200,\n                \"card_last_four\": \"1111\",\n                \"card_number_masked\": \"41XXXXXXXXXX1111\"\n            }\n        },\n        {\n            \"blytzpay_transaction_id\": \"02dc8175-3422-46fa-b8d4-8e3e2c91cfca\",\n            \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"invoice_id\": \"445087a8-9b37-4197-8377-b382c4093bc9\",\n            \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n            \"account_id\": 1,\n            \"status\": \"Success\",\n            \"amount\": \"1.01\",\n            \"type\": \"charge\",\n            \"created_at\": \"03-10-2020 03:25:13\",\n            \"updated_at\": \"03-10-2020 03:25:13\",\n            \"blytzpay_refunded_transaction_id\": null,\n            \"processor_response\": {\n                \"amount\": \"1.01\",\n                \"resptext\": \"Approval\",\n                \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n                \"commcard\": \"N\",\n                \"cvvresp\": \"X\",\n                \"respcode\": \"00\",\n                \"batchid\": \"172\",\n                \"avsresp\": \"Z\",\n                \"entrymode\": \"ECommerce\",\n                \"merchid\": \"820000000074\",\n                \"token\": \"9418594164541111\",\n                \"authcode\": \"PPS360\",\n                \"respproc\": \"FNOR\",\n                \"bintype\": \"\",\n                \"receipt\": \"{\\\"dateTime\\\":\\\"20200309232512\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n                \"expiry\": \"1221\",\n                \"retref\": \"069638184312\",\n                \"respstat\": \"A\",\n                \"account\": \"41XXXXXXXXXX1111\",\n                \"status_code\": 200,\n                \"card_last_four\": \"1111\",\n                \"card_number_masked\": \"41XXXXXXXXXX1111\"\n            }\n        }\n    ],\n    \"total\": 2,\n    \"count\": 2,\n    \"current_page\": 1,\n    \"num_per_page\": 50,\n    \"next_page\": null,\n    \"prev_page\": null,\n    \"total_pages\": 1\n}"}],"_postman_id":"ece8e5ec-a4ec-4a70-8197-4e7da31c83d2"},{"name":"Get One | Transaction","event":[{"listen":"test","script":{"id":"20b40bf0-6680-4428-84fc-d04e8b9b436c","exec":["pm.test(\"Response time is less than 500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(500);","});","postman.setNextRequest('Cancel Transaction');"],"type":"text/javascript"}}],"id":"c1dbfcdd-3ea7-497b-b614-ae28610ad2ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","type":"text","value":"{{apiKey}}"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_transaction_id\": \"{{blytzpay_transaction_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/transaction","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_transaction_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["transaction"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d484ce83-2bc1-4f2e-9c81-3380366d48d2","name":"Transaction Details","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{AWSToken}}","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_transaction_id\": \"{{blytzpay_transaction_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/transaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Tue, 10 Mar 2020 03:48:44 GMT"},{"key":"Content-Length","value":"1257"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Access-Control-Allow-Origin,Access-Control-Request-Method,Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key,access-token,blytzpay-company-token,refresh-token"},{"key":"Access-Control-Expose-Headers","value":"blytzpay-company-token,access-token,refresh-token"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"transaction\": {\n        \"blytzpay_transaction_id\": \"c60b36eb-a287-421f-abc7-e2be677dce9a\",\n        \"blytzpay_invoice_id\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n        \"invoice_id\": \"445087a8-9b37-4197-8377-b382c4093bc9\",\n        \"blytzpay_account_id\": \"aef191ad-e0ac-4229-82a7-d4b1b9cff956\",\n        \"blytzpay_payment_token\": \"69a52401-cc79-45b1-9eeb-e194245c8525\",\n        \"account_id\": 1,\n        \"status\": \"Success\",\n        \"amount\": \"1.01\",\n        \"type\": \"charge\",\n        \"created_at\": \"03-10-2020 03:46:09\",\n        \"updated_at\": \"03-10-2020 03:46:09\",\n        \"blytzpay_refunded_transaction_id\": null,\n        \"processor_response\": {\n            \"amount\": \"1.01\",\n            \"resptext\": \"Approval\",\n            \"orderId\": \"33581c9f-8610-4b10-93b9-9590f55bf53d\",\n            \"commcard\": \"N\",\n            \"cvvresp\": \"M\",\n            \"respcode\": \"00\",\n            \"batchid\": \"172\",\n            \"avsresp\": \"Z\",\n            \"entrymode\": \"ECommerce\",\n            \"merchid\": \"820000000074\",\n            \"token\": \"9418594164541111\",\n            \"authcode\": \"PPS852\",\n            \"respproc\": \"FNOR\",\n            \"bintype\": \"\",\n            \"receipt\": \"{\\\"dateTime\\\":\\\"20200309234608\\\",\\\"dba\\\":\\\"BlytzPay LLC\\\",\\\"address2\\\":\\\"King of Prussia, PA\\\",\\\"phone\\\":\\\"877-828-0720\\\",\\\"footer\\\":\\\"\\\",\\\"nameOnCard\\\":\\\"Todd Smith\\\",\\\"address1\\\":\\\"1000 Continental Dr\\\",\\\"orderNote\\\":\\\"\\\",\\\"header\\\":\\\"\\\",\\\"items\\\":\\\"\\\"}\",\n            \"expiry\": \"0454\",\n            \"retref\": \"069775185568\",\n            \"respstat\": \"A\",\n            \"account\": \"41XXXXXXXXXX1111\",\n            \"status_code\": 200,\n            \"card_last_four\": \"1111\",\n            \"card_number_masked\": \"41XXXXXXXXXX1111\"\n        }\n    }\n}"}],"_postman_id":"c1dbfcdd-3ea7-497b-b614-ae28610ad2ca"},{"name":"Cancel Transaction","event":[{"listen":"test","script":{"id":"8896e0ff-583f-4c91-9a25-27573deab0d3","exec":["pm.test(\"Response time is less than 2500ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2500);","});","postman.setNextRequest('Delete | Invoice');"],"type":"text/javascript"}}],"id":"062bd023-b71f-4b74-bd61-ab3588e9b6d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_transaction_id\": \"{{blytzpay_transaction_id}}\"\n}"},"url":"{{host}}/transaction/cancel","description":"<p>This will cancel the entire transaction.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_transaction_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["transaction","cancel"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"062bd023-b71f-4b74-bd61-ab3588e9b6d1"},{"name":"Refund Transaction","event":[{"listen":"test","script":{"id":"e75c71fc-8205-48bf-b2db-390c27488848","exec":[""],"type":"text/javascript"}}],"id":"0669f160-3bbd-4456-a714-3ea61912d315","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"blytzpay-company-token","type":"text","value":"{{blytzpay_company_token}}"},{"key":"x-api-key","type":"text","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n\t\"blytzpay_company_id\": \"{{blytzpay_company_id}}\",\n\t\"blytzpay_transaction_id\": \"{{blytzpay_transaction_id}}\",\n\t\"amount\": \"{{amount}}\"\n}"},"url":"{{host}}/transaction/refund","description":"<p>This will refund an amount specified by the request up to the full amount of the original transaction.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Requirement</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>blytzpay_company_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>blytzpay_transaction_id</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td><strong>required</strong></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["transaction","refund"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0669f160-3bbd-4456-a714-3ea61912d315"}],"id":"6b494988-3c31-444d-bdf8-51a0a8f2f7e6","description":"<h4 id=\"overview\">Overview</h4>\n<p>These endpoints allow merchants to create, update, and delete transactions with their customers.</p>\n","event":[{"listen":"prerequest","script":{"id":"e7e44119-6064-41a2-9b00-43f085621eb6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90a7dceb-478a-4323-a7b8-09e934de45a3","type":"text/javascript","exec":[""]}}],"_postman_id":"6b494988-3c31-444d-bdf8-51a0a8f2f7e6"},{"name":"Authentication","item":[],"id":"869dcd44-ee5d-4f87-b5f4-d698f6e6941d","_postman_id":"869dcd44-ee5d-4f87-b5f4-d698f6e6941d","description":""},{"name":"API Status","id":"c5b67196-336e-4301-be21-9de89b1f6cdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"blytzpay-company-token","value":"{{blytzpay_company_token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"url":"{{host}}/","urlObject":{"path":[""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5b67196-336e-4301-be21-9de89b1f6cdb"}],"event":[{"listen":"prerequest","script":{"id":"be032566-e644-4962-9e42-61a6fa96ffdd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9e175200-ad7c-4c7c-9fcf-64bb32d5cf5c","type":"text/javascript","exec":[""]}}]}