{"info":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","description":"<html><head></head><body><p>Generate new order in Billing.gg</p>\n<ul>\n<li><strong>Method:</strong><br>  <code>POST</code></li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>To access the API, edit a Billing.gg configuration to allow API access.<br>Go to Manage Users &gt; Edit User. Select your user, set the ‘API access’ option to Yes,<br>then save changes.</p>\n<p>In the User details, the API Token (Bearer Token) and API Base URL will now be displayed.</p>\n<p>If your model calls for zero value authorizations (zero-auth) on initial payment,<br>check with Zing.gg to confirm whether your acquirer supports zero-auth protocol.<br>Where zero-auth is unsupported, a low value authorization may be used. Amounts<br>between 0.01 and 1.00 are processed as a pre-auth only and are not captured.</p>\n<hr>\n<p><strong>Data format:</strong></p>\n<p>Parameters can be sent in FormData or Json object format.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"544619","collectionId":"4df711b1-21bd-447c-abba-fd18e0c426ae","publishedId":"TVYKbcVe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-27T18:37:55.000Z"},"item":[{"name":"Orders","item":[{"name":"Create instalment order","id":"a83ba9b1-f1a6-417b-9914-3208b6cf37b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 1,\n        \"invoice_id\": \"W58XGHF\",\n        \"initial_amount\": 10.0,\n        \"split_number\": 2,\n        \"scheduled_unit\": \"MONTH\",\n        \"scheduled_interval\": \"3\",\n        \"start_date\": \"10/07/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 3,\n            \"qty\": 2,\n            \"amount\": \"150\",\n            \"discount_amount\": 20,\n            \"fee_amount\": 30\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_instalment_order","description":"<h4 id=\"this-api-is-used-to-create-an-instalment-order\">This API is used to create an Instalment order</h4>\n<p>The parameters should be wrapped in <code>order</code>.</p>\n<p><strong><code>currency</code></strong>: [string] Currency code (ISO 4217)</p>\n<p><strong><code>customer_id</code></strong>: [integer] Customer Internal ID</p>\n<p><strong><code>invoice_id</code></strong>: [string] Order/Invoice ID</p>\n<p><code>initial_amount</code>: [decimal] Initial Amount ( <em>Optional</em> )</p>\n<p><code>split_number</code>: [integer] Payment Split Number ( <em>Optional</em> )</p>\n<p><code>scheduled_unit</code>: [string] Should be one of [YEAR, MONTH, WEEK, DAY] ( <em>Optional</em> )</p>\n<p><code>scheduled_interval</code>: [integer] Payment Scheduled Interval ( <em>Optional</em> )</p>\n<p><code>start_date</code>: [string] Payment Start Date ( <em>Optional</em> )</p>\n<p><code>start_date_unix</code>: [string] String Format for <code>start_date</code> ( <em>Optional</em> )</p>\n<p><code>redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>failed_redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>description</code>: [string] ( <em>Optional</em> )</p>\n<p><code>note</code>: [string] ( <em>Optional</em> )</p>\n<p><strong><code>create_checkout</code></strong>: [boolean]</p>\n<p><strong><code>order_product</code></strong>: [Hash] Order's product detail</p>\n<p><strong><code>order_product[product_id]</code></strong>: [integer] Product's ID</p>\n<p><code>order_product[qty]</code>: [integer] Product's QTY ( <em>Optional</em> )</p>\n<p><code>order_product[amount]</code>: [decimal] Product amount ( <em>Optional</em> )</p>\n<p><code>order_product[discount_amount]</code>: [decimal] Product Discount Amount ( <em>Optional</em> )</p>\n<p><code>order_product[fee_amount]</code>: [decimal] Product Fee Amount ( <em>Optional</em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","create_instalment_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"41efc448-4187-4b0c-a279-02f6ac5c38d8","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 1,\n        \"initial_amount\": 10.0,\n        \"split_number\": 2,\n        \"scheduled_unit\": \"MONTH\",\n        \"scheduled_interval\": \"3\",\n        \"start_date\": \"10/07/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\":\n        {\n            \"product_id\": 7,\n            \"qty\": 2,\n            \"amount\": \"150\",\n            \"discount_amount\": 20,\n            \"fee_amount\": 30\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_instalment_order"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 108,\n            \"invoice_id\": \"C83255F71A\",\n            \"customer_id\": \"6902DB8B21\",\n            \"initial_amount\": \"10.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"20.0\",\n            \"total_fee_amount\": \"30.0\",\n            \"total_tax_amount\": \"51.67\"\n        },\n        \"customer\": {\n            \"id\": 1,\n            \"first_name\": \"New\",\n            \"last_name\": \"Customer1\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"2022-06-01\",\n            \"phone\": \"+4477333123456\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 233,\n                \"order_id\": 108,\n                \"product_id\": 3,\n                \"name\": \"Instalment1\",\n                \"description\": null,\n                \"qty\": 2,\n                \"amount\": \"150.0\",\n                \"created_at\": \"2022-07-03T10:51:03.451Z\",\n                \"updated_at\": \"2022-07-03T10:51:03.451Z\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 2,\n                \"discount_amount\": \"20.0\",\n                \"fee_amount\": \"30.0\",\n                \"tax_amount\": \"51.67\",\n                \"subtotal_amount\": \"310.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"d4d29b23b93b022aadf799130421a7e258d536e0@2022-07-01 06:10:29 +0000\",\n            \"timestamp\": \"2022-07-03 10:51:04+0000\",\n            \"ndc\": \"40A1C8C17C2832EB38C56657D9AF9929.uat01-vm-tx04\",\n            \"id\": \"40A1C8C17C2832EB38C56657D9AF9929.uat01-vm-tx04\",\n            \"form_action\": \"https://test.billing.gg/checkout/108/Lw1zNzrZg9RARbVe64hmjvvd\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/108/Lw1zNzrZg9RARbVe64hmjvvd\",\n        \"redirect_url\": null,\n        \"start_date\": \"2022-07-10T21:24:00.000Z\",\n        \"repeated_amount\": \"150.0\",\n        \"scheduled_duration\": 2,\n        \"scheduled_unit\": \"MONTH\",\n        \"scheduled_interval\": 3\n    },\n    \"status\": 201\n}"}],"_postman_id":"a83ba9b1-f1a6-417b-9914-3208b6cf37b8"},{"name":"Create subscription order","id":"7a49f45d-91c0-4d2a-8056-a06fb47a9134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"invoice_id\": \"W58XGHF\",\n        \"recurring_collection_interval\": \"MONTH\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 3,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_subscription_order","description":"<h4 id=\"this-api-is-used-to-create-a-subscription-order\">This API is used to create a Subscription order</h4>\n<p>The parameters should be wrapped in <code>order</code>.</p>\n<p><strong><code>currency</code></strong>: [string] Currency code (ISO 4217)</p>\n<p><strong><code>customer_id</code></strong>: [integer] Customer Internal ID</p>\n<p><strong><code>invoice_id</code></strong>: [string] Order/Invoice ID</p>\n<p><code>recurring_collection_interval</code>: [string] Should be one of [MONTH, QUARTER, YEAR], default: collection interval of the selected product, ( <em>Optional</em> )</p>\n<p><code>start_date</code>: [string] Payment Start Date ( <em>Optional</em> )</p>\n<p><code>start_date_unix</code>: [string] String Format for <code>start_date</code> ( <em>Optional</em> )</p>\n<p><code>redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>failed_redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>description</code>: [string] ( <em>Optional</em> )</p>\n<p><code>note</code>: [string] ( <em>Optional</em> )</p>\n<p><strong><code>create_checkout</code></strong>: [boolean]</p>\n<p><strong><code>order_product</code></strong>: [Hash] Order's product detail</p>\n<p><strong><code>order_product[product_id]</code></strong>: [integer] Product's ID</p>\n<p><code>order_product[qty]</code>: [integer] Product's QTY ( <em>Optional</em> )</p>\n<p><code>order_product[amount]</code>: [decimal] Product amount ( <em>Optional</em> )</p>\n<p><code>order_product[discount_amount]</code>: [decimal] Product Discount Amount ( <em>Optional</em> )</p>\n<p><code>order_product[fee_amount]</code>: [decimal] Product Fee Amount ( <em>Optional</em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","create_subscription_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"d388fa66-c421-4e06-8006-384bb4f0ccc1","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer EFFRo4qBTKFBQ2HP8bGYPXXVF43NXXDr46CbwVRHKFnXpjparcr29LbwAek383wf","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"recurring_collection_interval\": \"MONTH\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 3,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_subscription_order"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 174,\n            \"invoice_id\": \"FA8C53167D\",\n            \"customer_id\": 42\",\n            \"initial_amount\": \"20.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"0.0\",\n            \"total_fee_amount\": \"0.0\",\n            \"total_tax_amount\": \"3.47\"\n        },\n        \"customer\": {\n            \"id\": 1,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 224,\n                \"order_id\": 174,\n                \"product_id\": 3,\n                \"name\": \"Subscription1\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:46:26.391+08:00\",\n                \"updated_at\": \"2022-05-19T15:46:26.391+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 3,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"3.47\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:46:32+0000\",\n            \"ndc\": \"A587E14EAC826B6063FBB294693891DF.uat01-vm-tx02\",\n            \"id\": \"A587E14EAC826B6063FBB294693891DF.uat01-vm-tx02\",\n            \"form_action\": \"https://test.billing.gg/checkout/174/mXCJ25FsxLaMwJjmVCjZ5rWd\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/174/mXCJ25FsxLaMwJjmVCjZ5rWd\",\n        \"redirect_url\": null,\n        \"start_date\": \"2022-04-11T05:24:00.000+08:00\",\n        \"repeated_amount\": \"20.0\",\n        \"scheduled_duration\": null,\n        \"scheduled_unit\": \"MONTH\",\n        \"scheduled_interval\": 1\n    },\n    \"status\": 201\n}"}],"_postman_id":"7a49f45d-91c0-4d2a-8056-a06fb47a9134"},{"name":"Create metered order","id":"2fb837d2-f34b-48f9-8588-de5c52512513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR1\",\n        \"customer_id\": 1,\n        \"invoice_id\": \"W58XGHF\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 24,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_metered_order","description":"<h4 id=\"this-api-is-used-to-create-a-metered-order\">This API is used to create a Metered order</h4>\n<p>The parameteres should be wrapped in <code>order</code>.</p>\n<p><strong><code>currency</code></strong>: [string] Currency code (ISO 4217)</p>\n<p><strong><code>customer_id</code></strong>: [integer] Customer Internal ID</p>\n<p><strong><code>invoice_id</code></strong>: [string] Order/Invoice ID</p>\n<p><code>start_date</code>: [string] Payment Start Date ( <em>Optional</em> )</p>\n<p><code>start_date_unix</code>: [string] String Format for <code>start_date</code> ( <em>Optional</em> )</p>\n<p><code>redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>failed_redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>description</code>: [string] ( <em>Optional</em> )</p>\n<p><code>note</code>: [string] ( <em>Optional</em> )</p>\n<p><strong><code>create_checkout</code></strong>: [boolean]</p>\n<p><strong><code>order_product</code></strong>: [Hash] Order's product detail</p>\n<p><strong><code>order_product[product_id]</code></strong>: [integer] Product's ID</p>\n<p><code>order_product[qty]</code>: [integer] Product's QTY ( <em>Optional</em> )</p>\n<p><code>order_product[amount]</code>: [decimal] Product Amount ( <em>Optional</em> )</p>\n<p><code>order_product[discount_amount]</code>: [decimal] Product Discount Amount ( <em>Optional</em> )</p>\n<p><code>order_product[fee_amount]</code>: [decimal] Product Fee Amount ( <em>Optional</em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","create_metered_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"fc1ed286-18ab-4cbc-be4a-e831b81cf443","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR1\",\n        \"customer_id\": 42,\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 4,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_metered_order"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 175,\n            \"invoice_id\": \"DF99946BAC\",\n            \"customer_id\": \"123986\",\n            \"initial_amount\": \"20.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"0.0\",\n            \"total_fee_amount\": \"0.0\",\n            \"total_tax_amount\": \"1.82\"\n        },\n        \"customer\": {\n            \"id\": 42,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 225,\n                \"order_id\": 175,\n                \"product_id\": 4,\n                \"name\": \"Metered1\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:46:55.190+08:00\",\n                \"updated_at\": \"2022-05-19T15:46:55.190+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 1,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"1.82\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"200.300.404\",\n                \"description\": \"invalid or missing parameter\",\n                \"parameterErrors\": [\n                    {\n                        \"name\": \"currency\",\n                        \"value\": \"EUR1\",\n                        \"message\": \"must be a valid ISO-4217, 3-character currency.\"\n                    }\n                ]\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:46:56+0000\",\n            \"ndc\": \"610DC4C7761FCCCD0E088039848F2E68.uat01-vm-tx03\",\n            \"form_action\": \"https://test.billing.gg/checkout/175/cxNuVZK5Jfzs2tLbBLRJhzT2\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/175/cxNuVZK5Jfzs2tLbBLRJhzT2\",\n        \"redirect_url\": null\n    },\n    \"status\": 201\n}"}],"_postman_id":"2fb837d2-f34b-48f9-8588-de5c52512513"},{"name":"Create single order","id":"2df70c95-0ea7-4694-a8d0-572c27c6a558","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"invoice_id\": \"W58XGHF\",\n        \"create_registration\": true,\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_products\": [\n            {\n                \"product_id\": 7,\n                \"qty\": \"2\",\n                \"amount\": \"20.00\",\n                \"discount_amount\": \"10\",\n                \"fee_amount\": \"20\"\n            },\n            {\n                \"product_id\": 6,\n                \"qty\": 1,\n                \"amount\": 20.00,\n                \"discount_amount\": 0,\n                \"fee_amount\": 0\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_single_order","description":"<h4 id=\"this-api-is-used-to-create-a-single-payment-order\">This API is used to create a Single Payment order</h4>\n<p>The parameters should be wrapped in <code>order</code>.</p>\n<p><strong><code>currency</code></strong>: [string] Currency code (ISO 4217)</p>\n<p><strong><code>customer_id</code></strong>: [integer] Customer Internal ID</p>\n<p><strong><code>invoice_id</code></strong>: [string] Order/Invoice ID</p>\n<p><code>create_registration</code>: [boolean] Save card credentials for future orders, default: False, (Optional)</p>\n<p><code>redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>failed_redirect_url</code>: [string] ( <em>Optional</em> )</p>\n<p><code>description</code>: [string] ( <em>Optional</em> )</p>\n<p><code>note</code>: [string] ( <em>Optional</em> )</p>\n<p><strong><code>create_checkout</code></strong>: [boolean]</p>\n<p><strong><code>order_products</code></strong>: [Array] Order's one-off products detail</p>\n<p><strong><code>order_products[0][product_id]</code></strong>: [integer] Product's ID</p>\n<p><code>order_products[0][qty]</code>: [integer] Product's QTY ( <em>Optional</em> )</p>\n<p><code>order_products[0][amount]</code>: [decimal] Product amount ( <em>Optional</em> )</p>\n<p><code>order_products[0][discount_amount]</code>: [decimal] Product Discount Amount ( <em>Optional</em> )</p>\n<p><code>order_products[0][fee_amount]</code>: [decimal] Product Fee Amount ( <em>Optional</em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","create_single_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"44805f79-dfa3-478b-a6e4-9f560991e262","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"create_registration\": true,\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_products\": [\n            {\n                \"product_id\": 7,\n                \"qty\": \"2\",\n                \"amount\": \"20.00\",\n                \"discount_amount\": \"10\",\n                \"fee_amount\": \"20\"\n            },\n            {\n                \"product_id\": 6,\n                \"qty\": 1,\n                \"amount\": 20.00,\n                \"discount_amount\": 0,\n                \"fee_amount\": 0\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/create_single_order"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 176,\n            \"invoice_id\": \"0B959CBA6A\",\n            \"customer_id\": 42,\n            \"initial_amount\": \"0.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"10.0\",\n            \"total_fee_amount\": \"20.0\",\n            \"total_tax_amount\": \"10.15\"\n        },\n        \"customer\": {\n            \"id\": 1,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 226,\n                \"order_id\": 176,\n                \"product_id\": 7,\n                \"name\": \"SingleProduct3\",\n                \"description\": null,\n                \"qty\": 2,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:47:31.486+08:00\",\n                \"updated_at\": \"2022-05-19T15:47:31.486+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 2,\n                \"discount_amount\": \"10.0\",\n                \"fee_amount\": \"20.0\",\n                \"tax_amount\": \"8.33\",\n                \"subtotal_amount\": \"50.0\"\n            },\n            {\n                \"id\": 227,\n                \"order_id\": 176,\n                \"product_id\": 6,\n                \"name\": \"SingleProduct2\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:47:31.494+08:00\",\n                \"updated_at\": \"2022-05-19T15:47:31.494+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 1,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"1.82\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:47:33+0000\",\n            \"ndc\": \"B3C594C6A866348372FC863D26BAF5B5.uat01-vm-tx01\",\n            \"id\": \"B3C594C6A866348372FC863D26BAF5B5.uat01-vm-tx01\",\n            \"form_action\": \"https://test.billing.gg/checkout/176/w97LX4d8mCAS8C6QAkTSkSNr\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/176/w97LX4d8mCAS8C6QAkTSkSNr\",\n        \"redirect_url\": null,\n        \"register_card\": true\n    },\n    \"status\": 201\n}"}],"_postman_id":"2df70c95-0ea7-4694-a8d0-572c27c6a558"},{"name":"Update to Instalment Order","id":"ec34ba32-b5df-4083-9e46-290a679b8260","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"order_type\": \"instalment\",\n        \"currency\": \"GBP\",\n        \"customer_id\": 42,\n        \"initial_amount\": \"10.0\",\n        \"split_number\": \"3\",\n        \"scheduled_unit\": \"WEEK\",\n        \"scheduled_interval\": \"2\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 2,\n            \"qty\": 1,\n            \"amount\": \"100\",\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}"},"url":"API_BASE_URL/api/v1/orders/{{order_id}}/update_to_instalment_order","description":"<p>This endpoint updates the given order into an Instalment Order.</p>\n<p>The given order must be an order with a draft or rejected status.</p>\n<p>Please refer to the API params for creating an Instalment Order.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","update_to_instalment_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"b60cbf1d-d9c2-40a2-a948-5d6e08f6659a","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"GBP\",\n        \"customer_id\": 42,\n        \"initial_amount\": \"10.0\",\n        \"split_number\": \"3\",\n        \"scheduled_unit\": \"WEEK\",\n        \"scheduled_interval\": \"2\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 2,\n            \"qty\": 1,\n            \"amount\": \"100\",\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/141/update_to_instalment_order"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 141,\n            \"invoice_id\": \"78E62F5893\",\n            \"customer_id\": \"123986\",\n            \"initial_amount\": \"10.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"0.0\",\n            \"total_fee_amount\": \"0.0\",\n            \"total_tax_amount\": \"9.09\"\n        },\n        \"customer\": {\n            \"id\": 42,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 228,\n                \"order_id\": 141,\n                \"product_id\": 2,\n                \"name\": \"Instalment2\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"100.0\",\n                \"created_at\": \"2022-05-19T15:51:47.090+08:00\",\n                \"updated_at\": \"2022-05-19T15:51:47.090+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 1,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"9.09\",\n                \"subtotal_amount\": \"100.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:51:49+0000\",\n            \"ndc\": \"E9CA7E6F7DFCB94D9B296BB3DA7E577B.uat01-vm-tx03\",\n            \"id\": \"E9CA7E6F7DFCB94D9B296BB3DA7E577B.uat01-vm-tx03\",\n            \"form_action\": \"https://test.billing.gg/checkout/141/MbXngSRv2gGaE1fQTjA8MPk6\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/141/MbXngSRv2gGaE1fQTjA8MPk6\",\n        \"redirect_url\": null,\n        \"start_date\": \"2022-04-11T05:24:00.000+08:00\",\n        \"repeated_amount\": \"30.0\",\n        \"scheduled_duration\": 3,\n        \"scheduled_unit\": \"WEEK\",\n        \"scheduled_interval\": 2\n    },\n    \"status\": 200\n}"}],"_postman_id":"ec34ba32-b5df-4083-9e46-290a679b8260"},{"name":"Update to Subscription Order","id":"c5057b6d-3c6f-4ed9-83a6-e217efbedee9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"recurring_collection_interval\": \"MONTH\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 3,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}"},"url":"API_BASE_URL/api/v1/orders/{{order_id}}/update_to_subscription_order","description":"<p>This endpoint updates the given order into a Subscription Order.</p>\n<p>The given order must be an order with draft or rejected status</p>\n<p>Please refer to the API parameters for creating a Subscription Order</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","update_to_subscription_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"b9d23879-513a-4f2c-96f9-1d0c103d04dd","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"recurring_collection_interval\": \"MONTH\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 3,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/142/update_to_subscription_order"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 142,\n            \"invoice_id\": \"7EC7BEDF32\",\n            \"customer_id\": \"123986\",\n            \"initial_amount\": \"20.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"0.0\",\n            \"total_fee_amount\": \"0.0\",\n            \"total_tax_amount\": \"3.47\"\n        },\n        \"customer\": {\n            \"id\": 42,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 229,\n                \"order_id\": 142,\n                \"product_id\": 3,\n                \"name\": \"Subscription1\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:54:31.834+08:00\",\n                \"updated_at\": \"2022-05-19T15:54:31.834+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 3,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"3.47\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:54:33+0000\",\n            \"ndc\": \"9EEE9251545530E79108CCFFFE6746E8.uat01-vm-tx04\",\n            \"id\": \"9EEE9251545530E79108CCFFFE6746E8.uat01-vm-tx04\",\n            \"form_action\": \"https://test.billing.gg/checkout/142/uoY9nmpxT3FA7bVsDaUMuvLB\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/142/uoY9nmpxT3FA7bVsDaUMuvLB\",\n        \"redirect_url\": null,\n        \"start_date\": \"2022-04-11T05:24:00.000+08:00\",\n        \"repeated_amount\": \"20.0\",\n        \"scheduled_duration\": null,\n        \"scheduled_unit\": \"MONTH\",\n        \"scheduled_interval\": 1\n    },\n    \"status\": 200\n}"}],"_postman_id":"c5057b6d-3c6f-4ed9-83a6-e217efbedee9"},{"name":"Update to Metered Order","id":"80885e15-496b-476d-98cb-9a8b89774552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"recurring_collection_interval\": \"MONTH\",\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 4,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}"},"url":"API_BASE_URL/api/v1/orders/{{order_id}}/update_to_metered_order","description":"<p>This endpoint updates the given order into a Metered Order.</p>\n<p>The given order must be an order with a draft or rejected status.</p>\n<p>Please refer the API parameters for creating a Metered Order.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","update_to_metered_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"c6aaab3b-79cd-492f-a82b-b163966dd10e","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"start_date\": \"10/04/2022 21:24\",\n        \"start_date_unix\": \"\",\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_product\": {\n            \"product_id\": 4,\n            \"qty\": 1,\n            \"amount\": 20.00,\n            \"discount_amount\": 0,\n            \"fee_amount\": 0\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/143/update_to_metered_order"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 143,\n            \"invoice_id\": \"C2579DD7B5\",\n            \"customer_id\": \"123986\",\n            \"initial_amount\": \"20.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"0.0\",\n            \"total_fee_amount\": \"0.0\",\n            \"total_tax_amount\": \"1.82\"\n        },\n        \"customer\": {\n            \"id\": 42,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 230,\n                \"order_id\": 143,\n                \"product_id\": 4,\n                \"name\": \"Metered1\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:57:37.801+08:00\",\n                \"updated_at\": \"2022-05-19T15:57:37.801+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 1,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"1.82\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:57:39+0000\",\n            \"ndc\": \"9ECE977DCB5CD56A17B9A1C4E505B410.uat01-vm-tx01\",\n            \"id\": \"9ECE977DCB5CD56A17B9A1C4E505B410.uat01-vm-tx01\",\n            \"form_action\": \"https://test.billing.gg/checkout/143/jDe4pSknPraoHmw18V54PV6s\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/143/jDe4pSknPraoHmw18V54PV6s\",\n        \"redirect_url\": null\n    },\n    \"status\": 200\n}"}],"_postman_id":"80885e15-496b-476d-98cb-9a8b89774552"},{"name":"Update to Single Order","id":"34907b60-e33c-414e-8e8f-c3dd1031da1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"create_registration\": true,\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_products\": [\n            {\n                \"product_id\": 7,\n                \"qty\": \"2\",\n                \"amount\": \"20.00\",\n                \"discount_amount\": \"10\",\n                \"fee_amount\": \"20\"\n            },\n            {\n                \"product_id\": 6,\n                \"qty\": 1,\n                \"amount\": 20.00,\n                \"discount_amount\": 0,\n                \"fee_amount\": 0\n            }\n        ]\n    }\n}"},"url":"API_BASE_URL/api/v1/orders/{{order_id}}/update_to_single_order","description":"<p>Resume Order Endpoint</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","update_to_single_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"e2245c69-7ed3-4fa2-b14f-2755a3977ea4","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"currency\": \"EUR\",\n        \"customer_id\": 42,\n        \"create_registration\": true,\n        \"redirect_url\": \"\",\n        \"failed_redirect_url\": \"\",\n        \"description\": \"this is test description.\",\n        \"note\": \"this is test note.\",\n        \"create_checkout\": true,\n        \"order_products\": [\n            {\n                \"product_id\": 7,\n                \"qty\": \"2\",\n                \"amount\": \"20.00\",\n                \"discount_amount\": \"10\",\n                \"fee_amount\": \"20\"\n            },\n            {\n                \"product_id\": 6,\n                \"qty\": 1,\n                \"amount\": 20.00,\n                \"discount_amount\": 0,\n                \"fee_amount\": 0\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/144/update_to_single_order"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"order\": {\n            \"id\": 144,\n            \"invoice_id\": \"EC654E75DF\",\n            \"customer_id\": \"123986\",\n            \"initial_amount\": \"0.0\",\n            \"description\": \"this is test description.\",\n            \"note\": null,\n            \"total_discount_amount\": \"10.0\",\n            \"total_fee_amount\": \"20.0\",\n            \"total_tax_amount\": \"10.15\"\n        },\n        \"customer\": {\n            \"id\": 42,\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"email\": \"hsunny3993@gmail.com\",\n            \"date_of_birth\": \"1978-03-12\",\n            \"phone\": \"+447700181908\",\n            \"billing_address\": {\n                \"street\": \"28 Milsom St\",\n                \"city\": \"Bath\",\n                \"postal_code\": \"BA1 1DG\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\"\n            }\n        },\n        \"product\": [\n            {\n                \"id\": 231,\n                \"order_id\": 144,\n                \"product_id\": 7,\n                \"name\": \"SingleProduct3\",\n                \"description\": null,\n                \"qty\": 2,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:59:19.642+08:00\",\n                \"updated_at\": \"2022-05-19T15:59:19.642+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 2,\n                \"discount_amount\": \"10.0\",\n                \"fee_amount\": \"20.0\",\n                \"tax_amount\": \"8.33\",\n                \"subtotal_amount\": \"50.0\"\n            },\n            {\n                \"id\": 232,\n                \"order_id\": 144,\n                \"product_id\": 6,\n                \"name\": \"SingleProduct2\",\n                \"description\": null,\n                \"qty\": 1,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2022-05-19T15:59:19.650+08:00\",\n                \"updated_at\": \"2022-05-19T15:59:19.650+08:00\",\n                \"product_discount_id\": null,\n                \"product_fee_id\": null,\n                \"product_tax_id\": 1,\n                \"discount_amount\": \"0.0\",\n                \"fee_amount\": \"0.0\",\n                \"tax_amount\": \"1.82\",\n                \"subtotal_amount\": \"20.0\"\n            }\n        ],\n        \"checkout\": {\n            \"result\": {\n                \"code\": \"000.200.100\",\n                \"description\": \"successfully created checkout\"\n            },\n            \"buildNumber\": \"8854a5c81bde316486906c37de7e1bd18297382d@2022-05-13 13:55:50 +0000\",\n            \"timestamp\": \"2022-05-19 07:59:21+0000\",\n            \"ndc\": \"8B2490D27685666312D9822847E2CC71.uat01-vm-tx03\",\n            \"id\": \"8B2490D27685666312D9822847E2CC71.uat01-vm-tx03\",\n            \"form_action\": \"https://test.billing.gg/checkout/144/2KSKhG4ADVJFR3d9PsfYfhpM\"\n        },\n        \"payment_link\": \"https://test.billing.gg/checkout/144/2KSKhG4ADVJFR3d9PsfYfhpM\",\n        \"redirect_url\": null,\n        \"register_card\": true\n    },\n    \"status\": 200\n}"}],"_postman_id":"34907b60-e33c-414e-8e8f-c3dd1031da1a"},{"name":"Pause Order","id":"b534c1d1-83d2-450e-8807-38047ec4ef7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/pause_order","description":"<p><strong>Pause Order</strong></p>\n<p>Pauses an active order temporarily. A paused order can be resumed later using the resume order endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","pause_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"042ce3e5-0f39-4ee5-97ec-7c0b76cabb58","name":"Pause Order","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/pause_order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"f462af3b-9a62-4409-900d-955788ccc166"},{"key":"X-Runtime","value":"0.043791"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.27, sql.active_record;dur=15.98, instantiation.active_record;dur=0.30, render.active_model_serializers;dur=0.07, process_action.action_controller;dur=27.72"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"ouhcknopkosx691vl0iv"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order successfully paused\",\n    \"order_id\": 4,\n    \"order_status\": \"paused\"\n}"}],"_postman_id":"b534c1d1-83d2-450e-8807-38047ec4ef7a"},{"name":"Resume Order","id":"2cd5c1cf-dc31-437d-a10f-ab648072007f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/resume_order","description":"<p><strong>Resume Order</strong></p>\n<p>Resumes a previously paused order, returning it to its active state so that processing can continue.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","resume_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"ad0a8bbf-5eb4-4f89-b79a-60f990b4b4e4","name":"Resume Order","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/resume_order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"92076a11-1999-4a71-aaa0-e9826db750bf"},{"key":"X-Runtime","value":"0.042414"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.13, sql.active_record;dur=16.30, instantiation.active_record;dur=0.38, render.active_model_serializers;dur=0.07, process_action.action_controller;dur=27.96"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"pus4da1wce89c6yu9p8h,af3cyzp4dwat8i89zbpr,obd3lyt7zm8cmxmxk9zh,tif6dn72u9txzeba6xww"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order successfully resumed\",\n    \"order_id\": 4,\n    \"order_status\": \"active\"\n}"}],"_postman_id":"2cd5c1cf-dc31-437d-a10f-ab648072007f"},{"name":"Cancel Order","id":"207c38cc-e25b-44b9-835d-b53188c6e937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/cancel_order","description":"<p><strong>Cancel Order</strong></p>\n<p>This endpoint allows to cancel an active order in the billing platform. Once an order is canceled, it cannot be resumed or processed.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}","cancel_order"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"fdc29793-ed4e-411b-b5fb-08537bd19300","name":"Cancel Order","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}/cancel_order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"839a5d5d-6621-4e23-bfc4-99f2c0091e1f"},{"key":"X-Runtime","value":"0.059293"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.25, sql.active_record;dur=29.94, instantiation.active_record;dur=0.39, render.active_model_serializers;dur=0.05, process_action.action_controller;dur=47.15"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"70vlaiphe4udt3a87krl,66s4g3kzz8ocn8yzpqzv"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order successfully cancelled\",\n    \"order_id\": 4,\n    \"order_status\": \"cancelled\"\n}"}],"_postman_id":"207c38cc-e25b-44b9-835d-b53188c6e937"},{"name":"Show Order","id":"f988304b-37cc-4c81-a916-78595a82c136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/{{order_id}}","description":"<p>This endpoint returns given Order's detail</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","{{order_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"bacc2957-ceb0-4f02-9ef7-8b8109c37daa","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/144"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 144,\n    \"order_type\": \"single_payment\",\n    \"status\": \"pending\",\n    \"invoice_id\": \"EC654E75DF\",\n    \"customer_id\": 1,\n    \"currency\": \"EUR\",\n    \"monthly_amount\": \"0.0\",\n    \"total_to_pay\": \"0.0\",\n    \"count_to_pay\": 0,\n    \"channel_id\": 3,\n    \"description\": \"this is test description.\",\n    \"channel_payment_method\": \"ECOM\",\n    \"order_source\": 2,\n    \"collect_initial_payment\": false,\n    \"total_discount_amount\": \"10.0\",\n    \"total_tax_amount\": \"10.15\",\n    \"total_fee_amount\": \"20.0\",\n    \"products\": [\n        {\n            \"product_id\": 7,\n            \"name\": \"SingleProduct3\",\n            \"qty\": 2,\n            \"amount\": \"20.0\",\n            \"product_tax_id\": 2,\n            \"discount_amount\": \"10.0\",\n            \"fee_amount\": \"20.0\",\n            \"tax_amount\": \"8.33\",\n            \"subtotal_amount\": \"50.0\"\n        },\n        {\n            \"product_id\": 6,\n            \"name\": \"SingleProduct2\",\n            \"qty\": 1,\n            \"amount\": \"20.0\",\n            \"product_tax_id\": 1,\n            \"discount_amount\": \"0.0\",\n            \"fee_amount\": \"0.0\",\n            \"tax_amount\": \"1.82\",\n            \"subtotal_amount\": \"20.0\"\n        }\n    ],\n    \"customer\": {\n        \"first_name\": \"John\",\n        \"last_name\": \"Smith\",\n        \"email\": \"hsunny3993@gmail.com\",\n        \"phone\": \"+447700181908\",\n        \"street\": \"28 Milsom St\",\n        \"postal_code\": \"BA1 1DG\",\n        \"city\": \"Bath\",\n        \"state\": \"Avon\",\n        \"country\": \"GB\"\n    }\n}"}],"_postman_id":"f988304b-37cc-4c81-a916-78595a82c136"}],"id":"b5c9d7ff-8d20-46be-9efa-2fd61122bf59","description":"<p>Orders API sets</p>\n","_postman_id":"b5c9d7ff-8d20-46be-9efa-2fd61122bf59","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Customers","item":[{"name":"Customers","id":"de899732-304c-431c-ab6d-a59bf3d8d0d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/customers?customer_id={{merchant_customer_id}}&page={{page_number}}","description":"<p>This endpoint returns all customers related with user's channel.</p>\n<ul>\n<li><code>customer_id</code>: [string] Customer's Merchant ID</li>\n</ul>\n<p>When <code>customer_id</code> is specified, endpoint returns matching customer with <code>customer_id</code>.</p>\n<p>At that time, <code>page</code> must be not specified or 1.</p>\n<ul>\n<li><p><code>page</code>: [integer] Page Number</p>\n</li>\n<li><p>By default, limit is 25 per page.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customers"],"host":["API_BASE_URL"],"query":[{"key":"customer_id","value":"{{merchant_customer_id}}"},{"key":"page","value":"{{page_number}}"}],"variable":[]}},"response":[{"id":"39a6d0b2-8d2a-4a01-a135-de89764828e0","name":"Example with customer_id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":{"raw":"API_BASE_URL/api/v1/customers?customer_id=1335F15982","host":["API_BASE_URL"],"path":["api","v1","customers"],"query":[{"key":"customer_id","value":"1335F15982"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 43,\n        \"first_name\": \"David\",\n        \"last_name\": \"Boyce\",\n        \"customer_id\": \"1335F15982\",\n        \"date_of_birth\": null,\n        \"email\": \"testuser@gmail.com\",\n        \"phone\": \"+447700181908\",\n        \"status\": \"active\",\n        \"created_at\": \"2022-05-18T23:39:58.293+08:00\",\n        \"updated_at\": \"2022-05-18T23:39:58.293+08:00\",\n        \"organisation\": {\n            \"name\": \"TEST2\",\n            \"registration_number\": \"\",\n            \"vat\": \"\",\n            \"web_url\": \"\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-18T23:39:58.273+08:00\",\n            \"updated_at\": \"2022-05-18T23:39:58.273+08:00\"\n        },\n        \"addresses\": [\n            {\n                \"id\": 58,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-18T23:39:58.302+08:00\",\n                \"address_type\": \"billing\",\n                \"updated_at\": \"2022-05-18T23:39:58.302+08:00\"\n            },\n            {\n                \"id\": 59,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-18T23:39:58.310+08:00\",\n                \"address_type\": \"shipping\",\n                \"updated_at\": \"2022-05-18T23:39:58.310+08:00\"\n            }\n        ]\n    }\n]"},{"id":"3a812222-3f31-4e65-af8e-fdd5d69017e3","name":"Example without customer_id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":{"raw":"API_BASE_URL/api/v1/customers?page=1","host":["API_BASE_URL"],"path":["api","v1","customers"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 42,\n        \"first_name\": \"David1\",\n        \"last_name\": \"Boyce1\",\n        \"customer_id\": \"2DD2CCE001\",\n        \"date_of_birth\": null,\n        \"email\": \"testuser@gmail.com\",\n        \"phone\": \"+447700181908\",\n        \"status\": \"active\",\n        \"created_at\": \"2022-05-18T23:21:47.800+08:00\",\n        \"updated_at\": \"2022-05-19T00:05:42.796+08:00\",\n        \"organisation\": {\n            \"name\": \"TEST3\",\n            \"registration_number\": \"\",\n            \"vat\": \"\",\n            \"web_url\": \"sssss\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-19T00:05:42.792+08:00\",\n            \"updated_at\": \"2022-05-19T00:05:42.792+08:00\"\n        },\n        \"addresses\": [\n            {\n                \"id\": 60,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-19T00:05:32.872+08:00\",\n                \"address_type\": \"billing\",\n                \"updated_at\": \"2022-05-19T00:05:32.872+08:00\"\n            },\n            {\n                \"id\": 61,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-19T00:05:32.881+08:00\",\n                \"address_type\": \"shipping\",\n                \"updated_at\": \"2022-05-19T00:05:32.881+08:00\"\n            }\n        ]\n    },\n    {\n        \"id\": 2,\n        \"first_name\": \"New\",\n        \"last_name\": \"Customer2\",\n        \"customer_id\": \"123123\",\n        \"date_of_birth\": null,\n        \"email\": \"kdjuric08@gmail.com\",\n        \"phone\": \"\",\n        \"status\": \"active\",\n        \"created_at\": \"2022-05-04T18:01:00.626+08:00\",\n        \"updated_at\": \"2022-05-04T18:01:00.626+08:00\",\n        \"addresses\": [\n            {\n                \"id\": 50,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-18T23:34:34.949+08:00\",\n                \"address_type\": \"billing\",\n                \"updated_at\": \"2022-05-18T23:34:34.949+08:00\"\n            },\n            {\n                \"id\": 51,\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"created_at\": \"2022-05-18T23:34:34.952+08:00\",\n                \"address_type\": \"shipping\",\n                \"updated_at\": \"2022-05-18T23:34:34.952+08:00\"\n            }\n        ]\n    },\n    ...\n]"}],"_postman_id":"de899732-304c-431c-ab6d-a59bf3d8d0d8"},{"name":"Create Customer","id":"cc9a9168-597d-4a4a-9b9c-3f460c6424ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"first_name\":       \"David\",\n        \"last_name\":        \"Boyce\",\n        \"date_of_birth\":    \"20/01/1988\",\n        \"email\":            \"testuser@gmail.com\",\n        \"phone\":            \"+447700181908\",\n        \"organisation\": {\n            \"name\":                 \"TEST2\",\n            \"registration_number\":  \"\",\n            \"web_url\":              \"\",\n            \"vat\":                  \"\",\n            \"description\":          \"\"\n        },\n        \"addresses\": {\n            \"billing_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            },\n            \"shipping_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            }\n        }\n    }\n}"},"url":"API_BASE_URL/api/v1/customers","description":"<p>This endpoint creates a customer.</p>\n<p><strong><code>first_name</code></strong>: [string]</p>\n<p><strong><code>last_name</code></strong>: [string]</p>\n<p><code>date_of_birth</code>: [string] DD/MM/YYYY ( <em>Optional</em> )</p>\n<p><strong><code>email</code></strong>: [string]</p>\n<p><code>phone</code>: [string] ( Optional )</p>\n<p>organisation: [hash] ( Optional )</p>\n<p>addresses: [array]</p>\n<p><strong><code>addresses[billing_address]</code></strong>: [hash]</p>\n<p><strong><code>addresses[billing_address][sreet]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][city]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][state]</code></strong>: [string] ( Optional )</p>\n<p><strong><code>addresses[billing_address][country]</code></strong>: [string] ISO-3166, 2-character country code</p>\n<p><strong><code>addresses[billing_address][postal_code]</code></strong>: [string]</p>\n<p><code>addresses[shipping_address]</code>: [hash] ( Optional )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customers"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"b5a784b2-9c24-4cc8-93e6-a18703a2a405","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"first_name\":       \"David\",\n        \"last_name\":        \"Boyce\",\n        \"date_of_birth\":    \"\",\n        \"email\":            \"testuser@gmail.com\",\n        \"phone\":            \"+447700181908\",\n        \"organisation\": {\n            \"name\":                 \"TEST2\",\n            \"registration_number\":  \"\",\n            \"web_url\":              \"\",\n            \"vat\":                  \"\",\n            \"description\":          \"\"\n        },\n        \"addresses\": {\n            \"billing_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            },\n            \"shipping_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 44,\n    \"first_name\": \"David\",\n    \"last_name\": \"Boyce\",\n    \"customer_id\": \"B419B77940\",\n    \"date_of_birth\": null,\n    \"email\": \"testuser@gmail.com\",\n    \"phone\": \"+447700181908\",\n    \"status\": null,\n    \"created_at\": \"2022-05-19T16:32:07.325+08:00\",\n    \"updated_at\": \"2022-05-19T16:32:07.325+08:00\",\n    \"organisation\": {\n        \"name\": \"TEST2\",\n        \"registration_number\": \"\",\n        \"vat\": \"\",\n        \"web_url\": \"\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-19T16:32:07.315+08:00\",\n        \"updated_at\": \"2022-05-19T16:32:07.315+08:00\"\n    },\n    \"addresses\": [\n        {\n            \"id\": 62,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:32:07.329+08:00\",\n            \"address_type\": \"billing\",\n            \"updated_at\": \"2022-05-19T16:32:07.329+08:00\"\n        },\n        {\n            \"id\": 63,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:32:07.333+08:00\",\n            \"address_type\": \"shipping\",\n            \"updated_at\": \"2022-05-19T16:32:07.333+08:00\"\n        }\n    ]\n}"}],"_postman_id":"cc9a9168-597d-4a4a-9b9c-3f460c6424ba"},{"name":"Update Customer","id":"58525891-833b-40cf-8398-e0017d7c1793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"first_name\":       \"David1\",\n        \"last_name\":        \"Boyce1\",\n        \"date_of_birth\":    \"\",\n        \"email\":            \"testuser@gmail.com\",\n        \"phone\":            \"+447700181908\",\n        \"organisation\": {\n            \"name\":                 \"TEST3\",\n            \"registration_number\":  \"\",\n            \"web_url\":              \"sssss\",\n            \"vat\":                  \"\",\n            \"description\":          \"\"\n        },\n        \"addresses\": {\n            \"billing_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            },\n            \"shipping_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            }\n        },\n        \"status\":           \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/customers/{{customer_id}}","description":"<p>This endpoint updates given customer.</p>\n<p><strong><code>first_name</code></strong>: [string]</p>\n<p><strong><code>last_name</code></strong>: [string]</p>\n<p><code>date_of_birth</code>: [string] ( <em>Optional</em> )</p>\n<p><strong><code>email</code></strong>: [string]</p>\n<p><code>phone</code>: [string] ( Optional )</p>\n<p>organisation: [hash] ( Optional )</p>\n<p>addresses: [array]</p>\n<p><strong><code>addresses[billing_address]</code></strong>: [hash]</p>\n<p><strong><code>addresses[billing_address][sreet]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][city]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][state]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][country]</code></strong>: [string]</p>\n<p><strong><code>addresses[billing_address][postal_code]</code></strong>: [string]</p>\n<p><code>addresses[shipping_address]</code>: [hash] ( Optional )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customers","{{customer_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"e7a62072-6db9-49df-b930-4109d1f5ae45","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"first_name\":       \"David1\",\n        \"last_name\":        \"Boyce1\",\n        \"date_of_birth\":    \"\",\n        \"email\":            \"testuser@gmail.com\",\n        \"phone\":            \"+447700181908\",\n        \"organisation\": {\n            \"name\":                 \"TEST3\",\n            \"registration_number\":  \"\",\n            \"web_url\":              \"sssss\",\n            \"vat\":                  \"\",\n            \"description\":          \"\"\n        },\n        \"addresses\": {\n            \"billing_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            },\n            \"shipping_address\": {\n                \"street\":       \"28 Milsom St\",\n                \"city\":         \"Bath\",\n                \"state\":        \"Avon\",\n                \"country\":      \"GB\",\n                \"postal_code\":  \"BA1 1DG\"\n            }\n        },\n        \"status\":           \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/customers/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"first_name\": \"David1\",\n    \"last_name\": \"Boyce1\",\n    \"customer_id\": \"123986\",\n    \"date_of_birth\": null,\n    \"email\": \"testuser@gmail.com\",\n    \"phone\": \"+447700181908\",\n    \"status\": \"active\",\n    \"created_at\": \"2022-05-04T17:00:12.542+08:00\",\n    \"updated_at\": \"2022-05-19T16:34:13.244+08:00\",\n    \"organisation\": {\n        \"name\": \"TEST3\",\n        \"registration_number\": \"\",\n        \"vat\": \"\",\n        \"web_url\": \"sssss\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-19T16:34:13.241+08:00\",\n        \"updated_at\": \"2022-05-19T16:34:13.241+08:00\"\n    },\n    \"addresses\": [\n        {\n            \"id\": 64,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:34:13.179+08:00\",\n            \"address_type\": \"billing\",\n            \"updated_at\": \"2022-05-19T16:34:13.179+08:00\"\n        },\n        {\n            \"id\": 65,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:34:13.183+08:00\",\n            \"address_type\": \"shipping\",\n            \"updated_at\": \"2022-05-19T16:34:13.183+08:00\"\n        }\n    ]\n}"}],"_postman_id":"58525891-833b-40cf-8398-e0017d7c1793"},{"name":"Show Customer","id":"a9bc6f2d-bd2f-4fe8-ac5c-9fd0f4cbef4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/customers/{{customer_id}}","description":"<p>This endpoint returns the given customer's details.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customers","{{customer_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"53534dbb-dc67-4890-ab0c-800e375a674e","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/customers/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"first_name\": \"David1\",\n    \"last_name\": \"Boyce1\",\n    \"customer_id\": \"123986\",\n    \"date_of_birth\": null,\n    \"email\": \"testuser@gmail.com\",\n    \"phone\": \"+447700181908\",\n    \"status\": \"active\",\n    \"created_at\": \"2022-05-04T17:00:12.542+08:00\",\n    \"updated_at\": \"2022-05-19T16:34:13.244+08:00\",\n    \"organisation\": {\n        \"name\": \"TEST3\",\n        \"registration_number\": \"\",\n        \"vat\": \"\",\n        \"web_url\": \"sssss\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-19T16:34:13.241+08:00\",\n        \"updated_at\": \"2022-05-19T16:34:13.241+08:00\"\n    },\n    \"addresses\": [\n        {\n            \"id\": 64,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:34:13.179+08:00\",\n            \"address_type\": \"billing\",\n            \"updated_at\": \"2022-05-19T16:34:13.179+08:00\"\n        },\n        {\n            \"id\": 65,\n            \"city\": \"Bath\",\n            \"street\": \"28 Milsom St\",\n            \"state\": \"Avon\",\n            \"country\": \"GB\",\n            \"created_at\": \"2022-05-19T16:34:13.183+08:00\",\n            \"address_type\": \"shipping\",\n            \"updated_at\": \"2022-05-19T16:34:13.183+08:00\"\n        }\n    ]\n}"}],"_postman_id":"a9bc6f2d-bd2f-4fe8-ac5c-9fd0f4cbef4d"}],"id":"96a09bba-4324-4f86-90e7-cf36e455773e","description":"<p>Customer API Sets</p>\n","_postman_id":"96a09bba-4324-4f86-90e7-cf36e455773e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Products","item":[{"name":"Products","id":"cbabb6f2-6bde-4abf-a763-3517e650a03e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/products?merchant_product_id={{merchant_product_id}}&page={{page_number}}","description":"<p>This endpoint returns all products related with user's channel.</p>\n<ul>\n<li><code>merchant_product_id</code>: [string] Merchant Product ID</li>\n</ul>\n<p>When <code>merchant_product_id</code> is specified, endpoint returns matching product with <code>merchant_product_id</code>.</p>\n<p>At that time, <code>page</code> must be not specified or be 1.</p>\n<ul>\n<li><p><code>page</code>: [integer] Page Number</p>\n</li>\n<li><p>By default, limit is 25 per page.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products"],"host":["API_BASE_URL"],"query":[{"key":"merchant_product_id","value":"{{merchant_product_id}}"},{"key":"page","value":"{{page_number}}"}],"variable":[]}},"response":[{"id":"b6294d1a-768f-4439-93ac-7dc5e152de8b","name":"Example with merchant_product_id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":{"raw":"API_BASE_URL/api/v1/products?merchant_product_id=42AF4E1E08","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"merchant_product_id","value":"42AF4E1E08"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 68,\n        \"product_id\": \"42AF4E1E08\",\n        \"currency\": \"EUR\",\n        \"price\": \"100.00\",\n        \"product_type\": \"metered\",\n        \"product_status\": \"active\",\n        \"lock_price\": true,\n        \"scheduled_interval\": \"\",\n        \"scheduled_unit\": \"\",\n        \"created_at\": \"2022-05-19T16:52:34.514+08:00\",\n        \"fee\": {\n            \"name\": \"Fee 2\",\n            \"amount\": \"20.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n            \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n        },\n        \"discount\": {\n            \"name\": \"Discount 1\",\n            \"amount\": \"10.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n            \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n        },\n        \"tax\": {\n            \"name\": \"Tax 1\",\n            \"percentage\": \"10.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n            \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n        }\n    }\n]"},{"id":"99bf9316-22d0-40b0-a8a6-277a4fd2fb8e","name":"Example without merchant_product_id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":{"raw":"API_BASE_URL/api/v1/products?page=1","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"product_id\": \"12412SDF\",\n        \"currency\": \"EUR\",\n        \"price\": \"30.00\",\n        \"product_type\": \"metered\",\n        \"product_status\": \"active\",\n        \"lock_price\": false,\n        \"lock_payment_config\": false,\n        \"scheduled_interval\": \"\",\n        \"scheduled_unit\": \"YEAR\",\n        \"created_at\": \"2022-05-04T00:15:11.139+08:00\",\n        \"fee\": {\n            \"name\": \"Fee 1\",\n            \"amount\": \"10.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n            \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n        },\n        \"discount\": {\n            \"name\": \"Discount 2\",\n            \"amount\": \"20.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n            \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n        },\n        \"tax\": {\n            \"name\": \"Tax 1\",\n            \"percentage\": \"10.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n            \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n        }\n    },\n    {\n        \"id\": 5,\n        \"product_id\": \"12312SDF\",\n        \"currency\": \"EUR\",\n        \"price\": \"70.00\",\n        \"product_type\": \"single_payment\",\n        \"product_status\": \"active\",\n        \"lock_price\": false,\n        \"lock_payment_config\": false,\n        \"created_at\": \"2022-05-04T00:15:37.277+08:00\",\n        \"fee\": {\n            \"name\": \"Fee 2\",\n            \"amount\": \"20.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n            \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n        },\n        \"discount\": {\n            \"name\": \"Discount 1\",\n            \"amount\": \"10.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n            \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n        },\n        \"tax\": {\n            \"name\": \"Tax 2\",\n            \"percentage\": \"20.00\",\n            \"description\": \"\",\n            \"created_at\": \"2022-05-04T00:06:07.551+08:00\",\n            \"updated_at\": \"2022-05-04T00:06:07.551+08:00\"\n        }\n    },\n    ..."}],"_postman_id":"cbabb6f2-6bde-4abf-a763-3517e650a03e"},{"name":"Create Single Product","id":"967ee665-123b-49e5-9676-cab1f3378b70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\",\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"product_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"product_status\":                   \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products?type=single_payment","description":"<p>This endpoint creates a single-payment product.</p>\n<p><strong><code>name</code></strong>: [string] Product Name</p>\n<p><code>short_desc</code>: [string] Product short description ( <em>Optional</em> )</p>\n<p><code>long_desc</code>: [string] Product long description ( <em>Optional</em> )</p>\n<p><code>currency</code>: [string] Currency code (ISO 4217) ( <em>Optional</em> ), Default: EUR</p>\n<p><strong><code>price</code></strong>: [decimal] Product price</p>\n<p><code>product_group_id</code>: [integer] Product group ID ( <em>Optional</em> )</p>\n<p><code>product_unit_id</code>: [integer] Product unit ID ( <em>Optional</em> )</p>\n<p><code>product_discount_id</code>: [integer] Product discount ID ( <em>Optional</em> )</p>\n<p><code>product_fee_id</code>: [integer] Product fee ID ( <em>Optional</em> )</p>\n<p><code>product_tax_id</code>: [integer] Product tax ID ( <em>Optional</em> )</p>\n<p><code>product_note</code>: [string] Note of product( <em>Optional</em> )</p>\n<p><strong><code>lock_price</code></strong>: [boolean] Lock the product's price</p>\n<p><strong><code>lock_payment_config</code></strong>: [boolean] Lock product's payment configuration</p>\n<p><strong><code>product_status</code></strong>: [string] Product status ( <em><code>active</code></em> <em>|</em> <em><code>inactive</code></em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"single_payment"}],"variable":[]}},"response":[{"id":"747ff136-fd4c-48ee-9770-17d9f3faf2f5","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\",\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"product_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"product_status\":                   \"active\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products?type=single_payment","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"type","value":"single_payment"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 65,\n    \"product_id\": \"EF0FD56B01\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"single_payment\",\n    \"product_status\": \"active\",\n    \"lock_price\": false,\n    \"lock_payment_config\": false,\n    \"created_at\": \"2022-05-19T16:51:03.217+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"967ee665-123b-49e5-9676-cab1f3378b70"},{"name":"Create Instalment Product","id":"a273067f-37c7-471d-bcd7-1a2128cecc5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\" ,\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"scheduled_duration_number\":    3,\n            \"scheduled_duration_unit\":      \"WEEK\",\n            \"scheduled_interval\":           2,\n            \"product_note\":                 \"\",\n            \"payment_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"initial_payment_amount\":           30.00,\n        \"product_status\":                   \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products?type=instalment","description":"<p>This endpoint creates a instalment product.</p>\n<p><strong><code>name</code></strong>: [string] Product Name</p>\n<p><code>short_desc</code>: [string] Product short description ( <em>Optional</em> )</p>\n<p><code>long_desc</code>: [string] Product long description ( <em>Optional</em> )</p>\n<p><code>currency</code>: [string] Currency code (ISO 4217) ( <em>Optional</em> ), Default: EUR</p>\n<p><strong><code>price</code></strong>: [decimal] Product price</p>\n<p><code>product_group_id</code>: [integer] Product group ID ( <em>Optional</em> )</p>\n<p><code>product_unit_id</code>: [integer] Product unit ID ( <em>Optional</em> )</p>\n<p><code>product_discount_id</code>: [integer] Product discount ID ( <em>Optional</em> )</p>\n<p><code>product_fee_id</code>: [integer] Product fee ID ( <em>Optional</em> )</p>\n<p><code>product_tax_id</code>: [integer] Product tax ID ( <em>Optional</em> )</p>\n<p><strong><code>payment_configuration[scheduled_duration_number]</code></strong>: [integer] Payment Split Number</p>\n<p><strong><code>payment_configuration[scheduled_duration_unit]</code></strong>: [string] Should be one of [YEAR, MONTH, WEEK, DAY]</p>\n<p><strong><code>payment_configuration[scheduled_interval]</code></strong>: [integer] Payment Scheduled Interval</p>\n<p><code>payment_configuration[product_note]</code>: [string] Note for product( <em>Optional</em> )</p>\n<p><code>payment_configuration[payment_note]</code>: [string] Note for payment( <em>Optional</em> )</p>\n<p><strong><code>lock_price</code></strong>: [boolean] Lock the product's price</p>\n<p><strong><code>lock_payment_config</code></strong>: [boolean] Lock product's payment configuration</p>\n<p><strong><code>product_status</code></strong>: [string] Product status ( <em><code>active</code></em> <em>|</em> <em><code>inactive</code></em> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"instalment"}],"variable":[]}},"response":[{"id":"94e04dba-20e9-417c-988c-dee28471e599","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\" ,\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"scheduled_duration_number\":    3,\n            \"scheduled_duration_unit\":      \"WEEK\",\n            \"scheduled_interval\":           2,\n            \"product_note\":                 \"\",\n            \"payment_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"initial_payment_amount\":           30.00,\n        \"product_status\":                   \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products?type=instalment","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"type","value":"instalment"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 66,\n    \"product_id\": \"CEAE6D5048\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"instalment\",\n    \"product_status\": \"active\",\n    \"lock_price\": false,\n    \"lock_payment_config\": false,\n    \"scheduled_interval\": 2,\n    \"scheduled_duration\": 3,\n    \"scheduled_unit\": \"WEEK\",\n    \"deposit_amount\": \"30.00\",\n    \"created_at\": \"2022-05-19T16:51:35.413+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"a273067f-37c7-471d-bcd7-1a2128cecc5a"},{"name":"Create Subscription Product","id":"5a866791-9bac-4a78-a875-25f0fdb09e40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      3,\n        \"product_fee_id\":                           1,\n        \"product_tax_id\":                           1,\n        \"recurring_interval\":                       \"MONTHLY\",\n        \"payment_configuration\": {\n            \"fee_for_initial_payment_only\":         true,\n            \"discount_for_initial_payment_only\":    false,\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               false,\n        \"product_status\":                           \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products?type=subscription","description":"<p>This endpoint creates a subscription product.</p>\n<p><strong><code>name</code></strong>: [string] Product Name</p>\n<p><code>short_desc</code>: [string] Product short description ( <em>Optional</em> )</p>\n<p><code>long_desc</code>: [string] Product long description ( <em>Optional</em> )</p>\n<p><code>currency</code>: [string] Currency code (ISO 4217) ( <em>Optional</em> ), Default: EUR</p>\n<p><strong><code>price</code></strong>: [decimal] Product price</p>\n<p><code>product_group_id</code>: [integer] Product group ID ( <em>Optional</em> )</p>\n<p><code>product_unit_id</code>: [integer] Product unit ID ( <em>Optional</em> )</p>\n<p><code>product_discount_id</code>: [integer] Product discount ID ( <em>Optional</em> )</p>\n<p><code>product_fee_id</code>: [integer] Product fee ID ( <em>Optional</em> )</p>\n<p><code>product_tax_id</code>: [integer] Product tax ID ( <em>Optional</em> )</p>\n<p><strong><code>recurring_interval</code></strong>: [string] How often to collect the subscription payment ( <code>MONTHLY</code>, <code>QUARTERLY</code>, <code>YEARLY</code>)</p>\n<p><strong><code>payment_configuration[fee_for_initial_payment_only]</code></strong>: [boolean] Apply fee to only initial payment</p>\n<p><strong><code>payment_configuration[discount_for_initial_payment_only]</code></strong>: [boolean] Apply discount to only initial payment</p>\n<p><code>payment_configuration[product_note]</code>: [string] Note for product( <em>Optional</em> )</p>\n<p><strong><code>lock_price</code></strong>: [boolean] Lock the product's price</p>\n<p><strong><code>product_status</code></strong>: [string] Product status ( <code>_active_</code> <em>|</em> <code>_inactive_</code> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"subscription"}],"variable":[]}},"response":[{"id":"fae771ab-e8b5-4732-b32d-968d9b0b7950","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      3,\n        \"product_fee_id\":                           1,\n        \"product_tax_id\":                           1,\n        \"recurring_interval\":                       \"MONTHLY\",\n        \"payment_configuration\": {\n            \"fee_for_initial_payment_only\":         true,\n            \"discount_for_initial_payment_only\":    false,\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               false,\n        \"product_status\":                           \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products?type=subscription","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"type","value":"subscription"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 67,\n    \"product_id\": \"D49952DD9C\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"subscription\",\n    \"product_status\": \"active\",\n    \"lock_price\": false,\n    \"scheduled_interval\": 1,\n    \"scheduled_unit\": \"MONTH\",\n    \"fee_for_initial_payment_only\": true,\n    \"discount_for_initial_payment_only\": false,\n    \"deposit_amount\": \"105.00\",\n    \"created_at\": \"2022-05-19T16:51:50.839+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 5%\",\n        \"percentage\": \"5.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-07T02:02:58.797+08:00\",\n        \"updated_at\": \"2022-05-07T02:02:58.797+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"5a866791-9bac-4a78-a875-25f0fdb09e40"},{"name":"Create Metered Product","id":"f349e5c8-8f98-479d-bd32-2ddbbe0ef24b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      1,\n        \"product_fee_id\":                           2,\n        \"product_tax_id\":                           1,\n        \"payment_configuration\": {\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               true,\n        \"product_status\":                           \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products?type=metered","description":"<p>This endpoint creates a metered product.</p>\n<p><strong><code>name</code></strong>: [string] Product Name</p>\n<p><code>short_desc</code>: [string] Product short description ( <em>Optional</em> )</p>\n<p><code>long_desc</code>: [string] Product long description ( <em>Optional</em> )</p>\n<p><code>currency</code>: [string] Currency code (ISO 4217) ( <em>Optional</em> ), Default: EUR</p>\n<p><strong><code>price</code></strong>: [decimal] Product price</p>\n<p><code>product_group_id</code>: [integer] Product group ID ( <em>Optional</em> )</p>\n<p><code>product_unit_id</code>: [integer] Product unit ID ( <em>Optional</em> )</p>\n<p><code>product_discount_id</code>: [integer] Product discount ID ( <em>Optional</em> )</p>\n<p><code>product_fee_id</code>: [integer] Product fee ID ( <em>Optional</em> )</p>\n<p><code>product_tax_id</code>: [integer] Product tax ID ( <em>Optional</em> )</p>\n<p><code>payment_configuration[product_note]</code>: [string] Note for product( <em>Optional</em> )</p>\n<p><strong><code>lock_price</code></strong>: [boolean] Lock the product's price</p>\n<p><strong><code>product_status</code></strong>: [string] Product status ( <code>_active_</code> <em>|</em> <code>_inactive_</code> )</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"metered"}],"variable":[]}},"response":[{"id":"e091b562-926a-4db5-94e6-1e0ee3376b1f","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      1,\n        \"product_fee_id\":                           2,\n        \"product_tax_id\":                           1,\n        \"payment_configuration\": {\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               true,\n        \"product_status\":                           \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products?type=metered","host":["API_BASE_URL"],"path":["api","v1","products"],"query":[{"key":"type","value":"metered"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 68,\n    \"product_id\": \"42AF4E1E08\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"metered\",\n    \"product_status\": \"active\",\n    \"lock_price\": true,\n    \"scheduled_interval\": \"\",\n    \"scheduled_unit\": \"\",\n    \"created_at\": \"2022-05-19T16:52:34.514+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"f349e5c8-8f98-479d-bd32-2ddbbe0ef24b"},{"name":"Update Single Product","id":"a1b06e16-c55a-4ae7-af45-970be61fa784","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\",\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"product_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"product_status\":                   \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products/{{product_id}}?type=single_payment","description":"<p>This endpoint updates a given product into a Single Payment product.</p>\n<p>Please refer to the endpoint parameters for creating a Single Payment product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products","{{product_id}}"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"single_payment"}],"variable":[]}},"response":[{"id":"9325be9e-66ab-4569-9652-1cc8b24eac0d","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\",\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"product_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"product_status\":                   \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products/1?type=single_payment","host":["API_BASE_URL"],"path":["api","v1","products","1"],"query":[{"key":"type","value":"single_payment"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 54,\n    \"product_id\": \"8D786ACE0A\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"single_payment\",\n    \"lock_price\": false,\n    \"lock_payment_config\": false,\n    \"created_at\": \"2022-05-18T16:57:41.075+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"a1b06e16-c55a-4ae7-af45-970be61fa784"},{"name":"Update Instalment Product","id":"91d0eacf-18e0-488c-b1f2-e104dcdfa248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\" ,\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"scheduled_duration_number\":    3,\n            \"scheduled_duration_unit\":      \"WEEK\",\n            \"scheduled_interval\":           2,\n            \"product_note\":                 \"\",\n            \"payment_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"initial_payment_amount\":           30.00,\n        \"product_status\":                   \"active\"\n    }\n}"},"url":"API_BASE_URL/api/v1/products/{{product_id}}?type=instalment","description":"<p>This endpoint updates a given product into an Instalment product.</p>\n<p>Please refer to the endpoint parameters for creating an Instalment product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products","{{product_id}}"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"instalment"}],"variable":[]}},"response":[{"id":"1d5dbaa3-d3c4-417a-bdb5-db7d078538d4","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                             \"TEST1\",\n        \"short_desc\":                       \"\",\n        \"long_desc\":                        \"\" ,\n        \"currency\":                         \"EUR\",\n        \"price\":                            100.00,\n        \"product_group_id\":                 null,\n        \"product_unit_id\":                  null,\n        \"product_discount_id\":              2,\n        \"product_fee_id\":                   1,\n        \"product_tax_id\":                   1,\n        \"payment_configuration\": {\n            \"scheduled_duration_number\":    3,\n            \"scheduled_duration_unit\":      \"WEEK\",\n            \"scheduled_interval\":           2,\n            \"product_note\":                 \"\",\n            \"payment_note\":                 \"\"\n        },\n        \"lock_price\":                       false,\n        \"lock_payment_config\":              false,\n        \"initial_payment_amount\":           30.00,\n        \"product_status\":                   \"active\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products/1?type=instalment","host":["API_BASE_URL"],"path":["api","v1","products","1"],"query":[{"key":"type","value":"instalment"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 55,\n    \"product_id\": \"E3E6F0C990\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"instalment\",\n    \"lock_price\": false,\n    \"lock_payment_config\": false,\n    \"scheduled_interval\": 2,\n    \"scheduled_duration\": 3,\n    \"scheduled_unit\": \"WEEK\",\n    \"deposit_amount\": \"30.00\",\n    \"created_at\": \"2022-05-18T17:15:55.566+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"91d0eacf-18e0-488c-b1f2-e104dcdfa248"},{"name":"Update Subscription Product","id":"34b308f2-1ecc-4910-95dd-270b2086bada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      3,\n        \"product_fee_id\":                           1,\n        \"product_tax_id\":                           1,\n        \"recurring_interval\":                       \"MONTHLY\",\n        \"payment_configuration\": {\n            \"fee_for_initial_payment_only\":         true,\n            \"discount_for_initial_payment_only\":    false,\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               false,\n        \"lock_payment_config\":                      false\n    }\n}"},"url":"API_BASE_URL/api/v1/products/{{product_id}}?type=subscription","description":"<p>This endpoint updates the given product into a Subscription product.</p>\n<p>Please refer to the endpoint parameters for creating a Subscription product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products","{{product_id}}"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"subscription"}],"variable":[]}},"response":[{"id":"55bd666c-0fae-4bb7-b6f4-e527f7f6f700","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      3,\n        \"product_fee_id\":                           1,\n        \"product_tax_id\":                           1,\n        \"recurring_interval\":                       \"MONTHLY\",\n        \"payment_configuration\": {\n            \"fee_for_initial_payment_only\":         true,\n            \"discount_for_initial_payment_only\":    false,\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               false,\n        \"lock_payment_config\":                      false\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products/1?type=subscription&Authorization=Bearer AUTH_TOKEN","host":["API_BASE_URL"],"path":["api","v1","products","1"],"query":[{"key":"type","value":"subscription"},{"key":"Authorization","value":"Bearer AUTH_TOKEN"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 56,\n    \"product_id\": \"639355AD70\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"subscription\",\n    \"lock_price\": false,\n    \"lock_payment_config\": false,\n    \"scheduled_interval\": 1,\n    \"scheduled_unit\": \"MONTH\",\n    \"fee_for_initial_payment_only\": true,\n    \"discount_for_initial_payment_only\": false,\n    \"deposit_amount\": \"105.00\",\n    \"created_at\": \"2022-05-18T17:17:03.014+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 5%\",\n        \"percentage\": \"5.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-07T02:02:58.797+08:00\",\n        \"updated_at\": \"2022-05-07T02:02:58.797+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"34b308f2-1ecc-4910-95dd-270b2086bada"},{"name":"Update Metered Product","id":"c358a25d-6981-46f1-be41-afec09a8d7d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      1,\n        \"product_fee_id\":                           2,\n        \"product_tax_id\":                           1,\n        \"payment_configuration\": {\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               true,\n        \"lock_payment_config\":                      false\n    }\n}"},"url":"API_BASE_URL/api/v1/products/{{product_id}}?type=metered","description":"<p>This endpoint updates the given product into a Metered product.</p>\n<p>Please refer to the endpoint parameters for creating a Metered product.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products","{{product_id}}"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"metered"}],"variable":[]}},"response":[{"id":"4bdc2988-35d4-449e-a8c0-bf19e3bf8d97","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"name\":                                     \"TEST1\",\n        \"short_desc\":                               \"\",\n        \"long_desc\":                                \"\",\n        \"currency\":                                 \"EUR\",\n        \"price\":                                    100.00,\n        \"product_group_id\":                         null,\n        \"product_unit_id\":                          null,\n        \"product_discount_id\":                      1,\n        \"product_fee_id\":                           2,\n        \"product_tax_id\":                           1,\n        \"payment_configuration\": {\n            \"product_note\":                         \"\"\n        },\n        \"lock_price\":                               true,\n        \"lock_payment_config\":                      false\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/products/1?type=metered","host":["API_BASE_URL"],"path":["api","v1","products","1"],"query":[{"key":"type","value":"metered"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 57,\n    \"product_id\": \"82816150F5\",\n    \"currency\": \"EUR\",\n    \"price\": \"100.00\",\n    \"product_type\": \"metered\",\n    \"lock_price\": true,\n    \"lock_payment_config\": false,\n    \"created_at\": \"2022-05-18T17:18:19.542+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 1\",\n        \"percentage\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    }\n}"}],"_postman_id":"c358a25d-6981-46f1-be41-afec09a8d7d0"},{"name":"Show Product","id":"27421f70-f3de-407c-bc73-66947795d3b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/products/{{product_id}}","description":"<p>This endpoint returns given product's detail</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","products","{{product_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"fce918e4-390c-4455-8d52-e2eab3dd458d","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/products/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"product_id\": \"12312SDK\",\n    \"currency\": \"GBP\",\n    \"price\": \"100.00\",\n    \"product_type\": \"instalment\",\n    \"lock_price\": true,\n    \"lock_payment_config\": true,\n    \"scheduled_interval\": \"1\",\n    \"scheduled_duration\": \"3\",\n    \"scheduled_unit\": \"MONTH\",\n    \"deposit_amount\": \"20.00\",\n    \"created_at\": \"2022-05-04T00:16:01.270+08:00\",\n    \"fee\": {\n        \"name\": \"Fee 2\",\n        \"amount\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n    },\n    \"discount\": {\n        \"name\": \"Discount 1\",\n        \"amount\": \"10.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n    },\n    \"tax\": {\n        \"name\": \"Tax 2\",\n        \"percentage\": \"20.00\",\n        \"description\": \"\",\n        \"created_at\": \"2022-05-04T00:06:07.551+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:07.551+08:00\"\n    }\n}"}],"_postman_id":"27421f70-f3de-407c-bc73-66947795d3b2"}],"id":"ebe1aab4-7069-441e-854a-a9c6b4e3d882","description":"<p>Products API sets</p>\n","_postman_id":"ebe1aab4-7069-441e-854a-a9c6b4e3d882","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Product Discounts","item":[{"name":"Discounts","id":"22505968-b92d-4947-a5db-56dfd323cf0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_discounts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"2101acd4-a5b3-4eef-ad86-701d9c691fe4","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_discounts"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Discount 1\",\n        \"description\": \"\",\n        \"percentage\": \"0.0\",\n        \"amount\": \"10.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:06:30.808+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:30.808+08:00\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Discount 2\",\n        \"description\": \"\",\n        \"percentage\": \"0.0\",\n        \"amount\": \"20.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:06:47.132+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:47.132+08:00\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Discount 5%\",\n        \"description\": \"\",\n        \"percentage\": \"5.0\",\n        \"amount\": \"0.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-07T02:02:58.797+08:00\",\n        \"updated_at\": \"2022-05-07T02:02:58.797+08:00\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Discount 3\",\n        \"description\": \"\",\n        \"percentage\": \"40.0\",\n        \"amount\": \"0.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-20T06:46:27.651+08:00\",\n        \"updated_at\": \"2022-05-20T06:46:27.651+08:00\"\n    }\n]"}],"_postman_id":"22505968-b92d-4947-a5db-56dfd323cf0d"},{"name":"Create Discount by Amount","id":"31aa2d41-e994-4b2f-863e-d7525194ed29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"amount\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_discounts?type=amount","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"amount"}],"variable":[]}},"response":[{"id":"3034524b-53d0-462e-846e-80b0d3a61e30","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"amount\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":{"raw":"API_BASE_URL/api/v1/product_discounts?type=amount","host":["API_BASE_URL"],"path":["api","v1","product_discounts"],"query":[{"key":"type","value":"amount"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"name\": \"Discount1\",\n    \"description\": \"This is Discount\",\n    \"percentage\": null,\n    \"amount\": \"20.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:01:34.354+08:00\",\n    \"updated_at\": \"2022-05-20T07:01:34.354+08:00\"\n}"}],"_postman_id":"31aa2d41-e994-4b2f-863e-d7525194ed29"},{"name":"Create Discount by Percentage","id":"c02c1902-6d33-45a1-9721-4376004e0c22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_discounts?type=percentage","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"percentage"}],"variable":[]}},"response":[{"id":"961cb37f-a204-4c07-94f2-d5cc03ddf09b","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":{"raw":"API_BASE_URL/api/v1/product_discounts?type=percentage","host":["API_BASE_URL"],"path":["api","v1","product_discounts"],"query":[{"key":"type","value":"percentage"}]}},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"name\": \"Discount1\",\n    \"description\": \"This is Discount\",\n    \"percentage\": null,\n    \"amount\": \"20.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:01:34.354+08:00\",\n    \"updated_at\": \"2022-05-20T07:01:34.354+08:00\"\n}"}],"_postman_id":"c02c1902-6d33-45a1-9721-4376004e0c22"},{"name":"Update Discount by Amount","id":"3da91fe6-19c3-4d35-aedc-2d26b088d4b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"amount\": 40.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_discounts/5?type=amount","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts","5"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"amount"}],"variable":[]}},"response":[{"id":"824e595b-2a48-4d0b-9159-437b1f222953","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"amount\": 40.00,\n        \"description\": \"This is Discount\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/product_discounts/5?type=amount","host":["API_BASE_URL"],"path":["api","v1","product_discounts","5"],"query":[{"key":"type","value":"amount"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"name\": \"Discount1\",\n    \"description\": \"This is Discount\",\n    \"percentage\": null,\n    \"amount\": \"40.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:01:25.394+08:00\",\n    \"updated_at\": \"2022-05-20T14:45:39.356+08:00\"\n}"}],"_postman_id":"3da91fe6-19c3-4d35-aedc-2d26b088d4b4"},{"name":"Update Discount by Percentage","id":"fb8ceb92-ed7b-4c6b-9b8a-606b6cfb8635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_discounts/5?type=percentage","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts","5"],"host":["API_BASE_URL"],"query":[{"key":"type","value":"percentage"}],"variable":[]}},"response":[{"id":"2de61cfa-0df2-4025-88ad-652c4a1d1cd5","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": {\n        \"name\": \"Discount1\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Discount\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"API_BASE_URL/api/v1/product_discounts/5?type=percentage","host":["API_BASE_URL"],"path":["api","v1","product_discounts","5"],"query":[{"key":"type","value":"percentage"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"name\": \"Discount1\",\n    \"description\": \"This is Discount\",\n    \"percentage\": \"20.0\",\n    \"amount\": null,\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:01:25.394+08:00\",\n    \"updated_at\": \"2022-05-20T14:44:19.736+08:00\"\n}"}],"_postman_id":"fb8ceb92-ed7b-4c6b-9b8a-606b6cfb8635"},{"name":"Show Discount","id":"d6c4e203-a872-4aa1-9df2-c9ecec27ff7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_discounts/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_discounts","1"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"8a7ef23e-b527-46c0-9f14-abbf98a9886d","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_discounts/5"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"name\": \"Discount1\",\n    \"description\": \"This is Discount\",\n    \"percentage\": null,\n    \"amount\": \"40.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:01:25.394+08:00\",\n    \"updated_at\": \"2022-05-20T14:45:39.356+08:00\"\n}"}],"_postman_id":"d6c4e203-a872-4aa1-9df2-c9ecec27ff7d"}],"id":"7176060c-3fbd-4d8e-ac01-b38afd9b668f","_postman_id":"7176060c-3fbd-4d8e-ac01-b38afd9b668f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Product Fees","item":[{"name":"Fees","id":"8d0e8a3c-3aed-4156-ada2-b72fc09374d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_fees","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_fees"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"490debd3-1ec6-49fb-bf22-f56e029ee3b2","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_fees"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Fee 1\",\n        \"description\": \"\",\n        \"amount\": \"10.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:08:20.528+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:20.528+08:00\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Fee 2\",\n        \"description\": \"\",\n        \"amount\": \"20.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:08:36.732+08:00\",\n        \"updated_at\": \"2022-05-04T00:08:36.732+08:00\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Set-up Fee 50\",\n        \"description\": \"\",\n        \"amount\": \"50.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-07T02:03:54.962+08:00\",\n        \"updated_at\": \"2022-05-07T02:03:54.962+08:00\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Test Fee1\",\n        \"description\": \"This is Fee\",\n        \"amount\": \"50.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-20T07:21:23.307+08:00\",\n        \"updated_at\": \"2022-05-20T07:21:28.176+08:00\"\n    }\n]"}],"_postman_id":"8d0e8a3c-3aed-4156-ada2-b72fc09374d9"},{"name":"Create Fee","id":"9780e722-bb05-4c28-a9cc-f45b9e8423a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fee\": {\n        \"name\": \"Test Fee\",\n        \"amount\": 20.00,\n        \"description\": \"This is Fee\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_fees","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_fees"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"093349aa-bcc2-4b1c-b974-a9b36fd9dc65","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fee\": {\n        \"name\": \"Test Fee\",\n        \"amount\": 20.00,\n        \"description\": \"This is Fee\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/product_fees"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Fee\",\n    \"description\": \"This is Fee\",\n    \"amount\": \"20.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:21:23.307+08:00\",\n    \"updated_at\": \"2022-05-20T07:21:23.307+08:00\"\n}"}],"_postman_id":"9780e722-bb05-4c28-a9cc-f45b9e8423a1"},{"name":"Update Fee","id":"8626a69b-c381-464a-9eb4-b83b5afe1f7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fee\": {\n        \"name\": \"Test Fee1\",\n        \"amount\": 50.00,\n        \"description\": \"This is Fee\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_fees/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_fees","4"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"196460dd-7320-4c5d-bbfe-94a9a290a1e9","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fee\": {\n        \"name\": \"Test Fee1\",\n        \"amount\": 50.00,\n        \"description\": \"This is Fee\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/product_fees/4"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Fee1\",\n    \"description\": \"This is Fee\",\n    \"amount\": \"50.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:21:23.307+08:00\",\n    \"updated_at\": \"2022-05-20T07:21:28.176+08:00\"\n}"}],"_postman_id":"8626a69b-c381-464a-9eb4-b83b5afe1f7d"},{"name":"Show Fee","id":"057be36e-e39e-4e31-b775-1f5164146a5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_fees/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_fees","1"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"18b638e9-0fc6-42dd-9629-033a96db9698","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_fees/4"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Fee1\",\n    \"description\": \"This is Fee\",\n    \"amount\": \"50.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:21:23.307+08:00\",\n    \"updated_at\": \"2022-05-20T07:21:28.176+08:00\"\n}"}],"_postman_id":"057be36e-e39e-4e31-b775-1f5164146a5e"}],"id":"d49d2f68-acad-4715-9b2e-063b855d9cab","_postman_id":"d49d2f68-acad-4715-9b2e-063b855d9cab","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Product Taxes","item":[{"name":"Taxes","id":"8013083f-a42b-4f12-b164-3137f92f2d20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"7e3f82bb-3c6f-4ab3-a418-998bf597b916","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_taxes"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Tax 1\",\n        \"description\": \"\",\n        \"percentage\": \"10.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:05:49.352+08:00\",\n        \"updated_at\": \"2022-05-04T00:05:49.352+08:00\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Tax 2\",\n        \"description\": \"\",\n        \"percentage\": \"20.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-04T00:06:07.551+08:00\",\n        \"updated_at\": \"2022-05-04T00:06:07.551+08:00\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Spain VAT 21\",\n        \"description\": \"\",\n        \"percentage\": \"21.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-07T02:04:06.693+08:00\",\n        \"updated_at\": \"2022-05-07T02:04:06.693+08:00\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Test Tax1\",\n        \"description\": \"This is Tax\",\n        \"percentage\": \"50.0\",\n        \"channel_id\": 3,\n        \"created_at\": \"2022-05-20T07:33:38.795+08:00\",\n        \"updated_at\": \"2022-05-20T14:32:57.354+08:00\"\n    }\n]"}],"_postman_id":"8013083f-a42b-4f12-b164-3137f92f2d20"},{"name":"Create Tax","id":"1637927c-069c-48ec-a763-5dc96ad90f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"Test Tax\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Tax\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"32c3b9a5-09a7-4394-8dde-4d57cbc3d68b","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"Test Tax\",\n        \"percentage\": 20.00,\n        \"description\": \"This is Tax\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/product_taxes"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Tax\",\n    \"description\": \"This is Tax\",\n    \"percentage\": \"20.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:33:38.795+08:00\",\n    \"updated_at\": \"2022-05-20T07:33:38.795+08:00\"\n}"}],"_postman_id":"1637927c-069c-48ec-a763-5dc96ad90f01"},{"name":"Update Tax","id":"56dbfa69-a147-4577-85ad-ac5833d8cc6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"Test Tax1\",\n        \"percentage\": 50.00,\n        \"description\": \"This is Tax\"\n    }\n}"},"url":"API_BASE_URL/api/v1/product_taxes/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_taxes","4"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"7ceb90d9-ecdd-4941-8863-215666121f0c","name":"Example","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"Test Tax1\",\n        \"percentage\": 50.00,\n        \"description\": \"This is Tax\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/product_taxes/4"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Tax1\",\n    \"description\": \"This is Tax\",\n    \"percentage\": \"50.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:33:38.795+08:00\",\n    \"updated_at\": \"2022-05-20T14:32:57.354+08:00\"\n}"}],"_postman_id":"56dbfa69-a147-4577-85ad-ac5833d8cc6c"},{"name":"Show Tax","id":"402994d4-ad7e-45d6-b7ee-752bb4343625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_taxes/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","product_taxes","4"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"5f489456-589d-4a2c-b4fd-a8b1b87ad573","name":"Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/product_taxes/4"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Test Tax1\",\n    \"description\": \"This is Tax\",\n    \"percentage\": \"50.0\",\n    \"channel_id\": 3,\n    \"created_at\": \"2022-05-20T07:33:38.795+08:00\",\n    \"updated_at\": \"2022-05-20T14:32:57.354+08:00\"\n}"}],"_postman_id":"402994d4-ad7e-45d6-b7ee-752bb4343625"}],"id":"dd217729-ddbd-4b60-b8f8-92bc6e1f408b","_postman_id":"dd217729-ddbd-4b60-b8f8-92bc6e1f408b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Checkout","item":[{"name":"Renew Checkout","id":"e244bd6d-9ac2-4a9c-a1a1-d012423bcfb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/order_checkouts/{{order_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","order_checkouts","{{order_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"465901aa-3c32-4ce9-bec7-5e4724b2c924","name":"New Order Checkout","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"}],"url":"API_BASE_URL/api/v1/order_checkouts/{{order_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; secure; HttpOnly; SameSite=Lax"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Miniprofiler-Ids","value":"emvnurd3gw8e5ruiyw0k,8mtxa0180iar03y3xqto,xafhpdhd41mf4myxutfx,1q6auq4cldewdt7264pm"},{"key":"X-Miniprofiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Request-Id","value":"2ee5e1c6-3f0b-4bfd-8049-53a09d6f9709"},{"key":"X-Runtime","value":"0.579232"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Fri, 14 Jan 2022 17:21:14 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"payload\": {\n        \"result\": {\n            \"code\": \"000.200.100\",\n            \"description\": \"successfully created checkout\"\n        },\n        \"buildNumber\": \"9ef750b164f760ad38eb47014668d3da8347b39e@2022-01-14 16:07:11 +0000\",\n        \"timestamp\": \"2022-01-14 17:21:14+0000\",\n        \"ndc\": \"349AA22D516EDAC3EEF4C0C15A98BA14.uat01-vm-tx03\",\n        \"id\": \"349AA22D516EDAC3EEF4C0C15A98BA14.uat01-vm-tx03\",\n        \"form_action\": \"https://test.billing.gg/checkout/47/xdUguSUw8t7q3ZjQ2ma9Lmpo\"\n    },\n    \"status\": 201\n}"}],"_postman_id":"e244bd6d-9ac2-4a9c-a1a1-d012423bcfb2"}],"id":"f770cf74-425c-4ffb-a2b2-efb90e39f04a","_postman_id":"f770cf74-425c-4ffb-a2b2-efb90e39f04a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Scheduled Payments","item":[{"name":"Scheduled Payments","id":"c5497c5d-2347-42c1-839d-02058a4eec62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","3","scheduled_payments"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"17a2b4a9-a930-4036-889a-aa977b1d2e99","name":"Scheduled Payments","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-bullet-footer-text","value":"[\"user: root  USE eager loading detected    ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\"]"},{"key":"X-bullet-console-text","value":"[\"user: root\\nUSE eager loading detected\\n  ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\\nCall stack\\n\\n\"]"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"7080b6bd-7a91-4879-a379-4724fab87521"},{"key":"X-Runtime","value":"0.038818"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.09, sql.active_record;dur=7.41, instantiation.active_record;dur=0.61, render_collection.action_view;dur=14.66, render_template.action_view;dur=16.12, process_action.action_controller;dur=30.42"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"rw9m8qip5rr5ohhlxrfq,snr8mbtnysgvom3x00w,hvd4i2gdaoltowdhif4u,rkhk4nxmy7kvavk4ai2s,7me0jwego9of6jdpguwd,19vv4z2nhutz5pjhgnn4,1ymw9dok9qwxkngfsag0,g6whi4cl5mgra6e3jqyw,f1kp00csehb2hv1cxn5a,x1k23f3fcjb7pqr22363,48q5c9bom6zmsmwbv0r5,9uo29sz54iq9db7daevq,8yqp1cqbsq6dxp18xwzk,tt0e30m9ojmv04pq982t,55qr57qqy9mex7fz0du9,9ud4c5z2uyuvnuua1t8c,gtte2uxrskktkcg10slf,d2iyaerq2mgywv7apnur,irakm8b0dd7zc6ptjp5j"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.602Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.602Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=3\"\n    },\n    {\n        \"id\": 4,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.607Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.607Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=4\"\n    },\n    {\n        \"id\": 5,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.612Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.612Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=5\"\n    },\n    {\n        \"id\": 6,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.617Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.617Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=6\"\n    },\n    {\n        \"id\": 7,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.621Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.621Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=7\"\n    },\n    {\n        \"id\": 8,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.626Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.626Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=8\"\n    },\n    {\n        \"id\": 9,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.631Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.631Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=9\"\n    },\n    {\n        \"id\": 10,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.636Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.636Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=10\"\n    },\n    {\n        \"id\": 11,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.641Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.641Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=11\"\n    },\n    {\n        \"id\": 12,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.647Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.647Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=12\"\n    },\n    {\n        \"id\": 13,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.651Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.651Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=13\"\n    },\n    {\n        \"id\": 14,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-06-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.656Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.656Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=14\"\n    },\n    {\n        \"id\": 15,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.661Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.661Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=15\"\n    },\n    {\n        \"id\": 16,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.666Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.666Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=16\"\n    },\n    {\n        \"id\": 17,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.671Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.671Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=17\"\n    },\n    {\n        \"id\": 18,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.676Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.676Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=18\"\n    },\n    {\n        \"id\": 19,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.686Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.686Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=19\"\n    },\n    {\n        \"id\": 20,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.691Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.691Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=20\"\n    },\n    {\n        \"id\": 21,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.696Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.696Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=21\"\n    },\n    {\n        \"id\": 22,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.702Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.702Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=22\"\n    },\n    {\n        \"id\": 23,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.707Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.707Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=23\"\n    },\n    {\n        \"id\": 24,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.713Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.713Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=24\"\n    },\n    {\n        \"id\": 25,\n        \"order_id\": 3,\n        \"amount\": \"22.16\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.718Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.718Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=25\"\n    }\n]"},{"id":"296c544e-46cd-425a-8423-fee6a9990054","name":"Update Scheduled Payment","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"scheduled_payment\": {\r\n    \"amount\": \"21.15\",\r\n    \"scheduled_at\": \"2024-07-24T21:38:00.000Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-bullet-footer-text","value":"[\"user: root  USE eager loading detected    ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\"]"},{"key":"X-bullet-console-text","value":"[\"user: root\\nUSE eager loading detected\\n  ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\\nCall stack\\n\\n\"]"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"7080b6bd-7a91-4879-a379-4724fab87521"},{"key":"X-Runtime","value":"0.038818"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.09, sql.active_record;dur=7.41, instantiation.active_record;dur=0.61, render_collection.action_view;dur=14.66, render_template.action_view;dur=16.12, process_action.action_controller;dur=30.42"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"rw9m8qip5rr5ohhlxrfq,snr8mbtnysgvom3x00w,hvd4i2gdaoltowdhif4u,rkhk4nxmy7kvavk4ai2s,7me0jwego9of6jdpguwd,19vv4z2nhutz5pjhgnn4,1ymw9dok9qwxkngfsag0,g6whi4cl5mgra6e3jqyw,f1kp00csehb2hv1cxn5a,x1k23f3fcjb7pqr22363,48q5c9bom6zmsmwbv0r5,9uo29sz54iq9db7daevq,8yqp1cqbsq6dxp18xwzk,tt0e30m9ojmv04pq982t,55qr57qqy9mex7fz0du9,9ud4c5z2uyuvnuua1t8c,gtte2uxrskktkcg10slf,d2iyaerq2mgywv7apnur,irakm8b0dd7zc6ptjp5j"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.602Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.602Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=3\"\n    },\n    {\n        \"id\": 4,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.607Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.607Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=4\"\n    },\n    {\n        \"id\": 5,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.612Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.612Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=5\"\n    },\n    {\n        \"id\": 6,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.617Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.617Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=6\"\n    },\n    {\n        \"id\": 7,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.621Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.621Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=7\"\n    },\n    {\n        \"id\": 8,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.626Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.626Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=8\"\n    },\n    {\n        \"id\": 9,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.631Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.631Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=9\"\n    },\n    {\n        \"id\": 10,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.636Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.636Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=10\"\n    },\n    {\n        \"id\": 11,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.641Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.641Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=11\"\n    },\n    {\n        \"id\": 12,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.647Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.647Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=12\"\n    },\n    {\n        \"id\": 13,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.651Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.651Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=13\"\n    },\n    {\n        \"id\": 14,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-06-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.656Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.656Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=14\"\n    },\n    {\n        \"id\": 15,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.661Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.661Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=15\"\n    },\n    {\n        \"id\": 16,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.666Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.666Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=16\"\n    },\n    {\n        \"id\": 17,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.671Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.671Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=17\"\n    },\n    {\n        \"id\": 18,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.676Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.676Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=18\"\n    },\n    {\n        \"id\": 19,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.686Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.686Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=19\"\n    },\n    {\n        \"id\": 20,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.691Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.691Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=20\"\n    },\n    {\n        \"id\": 21,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.696Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.696Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=21\"\n    },\n    {\n        \"id\": 22,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.702Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.702Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=22\"\n    },\n    {\n        \"id\": 23,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.707Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.707Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=23\"\n    },\n    {\n        \"id\": 24,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.713Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.713Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=24\"\n    },\n    {\n        \"id\": 25,\n        \"order_id\": 3,\n        \"amount\": \"22.16\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.718Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.718Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=25\"\n    }\n]"},{"id":"327f719a-1864-400f-bda6-afb94297d0dc","name":"Show Scheduled Payment","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/3/scheduled_payment/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-bullet-footer-text","value":"[\"user: root  USE eager loading detected    ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\"]"},{"key":"X-bullet-console-text","value":"[\"user: root\\nUSE eager loading detected\\n  ScheduledPayment =\\u003e [:payment]\\n  Add to your query: .includes([:payment])\\nCall stack\\n\\n\"]"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"7080b6bd-7a91-4879-a379-4724fab87521"},{"key":"X-Runtime","value":"0.038818"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.09, sql.active_record;dur=7.41, instantiation.active_record;dur=0.61, render_collection.action_view;dur=14.66, render_template.action_view;dur=16.12, process_action.action_controller;dur=30.42"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"rw9m8qip5rr5ohhlxrfq,snr8mbtnysgvom3x00w,hvd4i2gdaoltowdhif4u,rkhk4nxmy7kvavk4ai2s,7me0jwego9of6jdpguwd,19vv4z2nhutz5pjhgnn4,1ymw9dok9qwxkngfsag0,g6whi4cl5mgra6e3jqyw,f1kp00csehb2hv1cxn5a,x1k23f3fcjb7pqr22363,48q5c9bom6zmsmwbv0r5,9uo29sz54iq9db7daevq,8yqp1cqbsq6dxp18xwzk,tt0e30m9ojmv04pq982t,55qr57qqy9mex7fz0du9,9ud4c5z2uyuvnuua1t8c,gtte2uxrskktkcg10slf,d2iyaerq2mgywv7apnur,irakm8b0dd7zc6ptjp5j"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.602Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.602Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=3\"\n    },\n    {\n        \"id\": 4,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.607Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.607Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=4\"\n    },\n    {\n        \"id\": 5,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.612Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.612Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=5\"\n    },\n    {\n        \"id\": 6,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.617Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.617Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=6\"\n    },\n    {\n        \"id\": 7,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.621Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.621Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=7\"\n    },\n    {\n        \"id\": 8,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2024-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.626Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.626Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=8\"\n    },\n    {\n        \"id\": 9,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.631Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.631Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=9\"\n    },\n    {\n        \"id\": 10,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.636Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.636Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=10\"\n    },\n    {\n        \"id\": 11,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.641Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.641Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=11\"\n    },\n    {\n        \"id\": 12,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.647Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.647Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=12\"\n    },\n    {\n        \"id\": 13,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.651Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.651Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=13\"\n    },\n    {\n        \"id\": 14,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-06-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.656Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.656Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=14\"\n    },\n    {\n        \"id\": 15,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-07-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.661Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.661Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=15\"\n    },\n    {\n        \"id\": 16,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-08-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.666Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.666Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=16\"\n    },\n    {\n        \"id\": 17,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-09-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.671Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.671Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=17\"\n    },\n    {\n        \"id\": 18,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-10-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.676Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.676Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=18\"\n    },\n    {\n        \"id\": 19,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-11-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.686Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.686Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=19\"\n    },\n    {\n        \"id\": 20,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2025-12-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.691Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.691Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=20\"\n    },\n    {\n        \"id\": 21,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-01-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.696Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.696Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=21\"\n    },\n    {\n        \"id\": 22,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-02-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.702Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.702Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=22\"\n    },\n    {\n        \"id\": 23,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-03-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.707Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.707Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=23\"\n    },\n    {\n        \"id\": 24,\n        \"order_id\": 3,\n        \"amount\": \"22.22\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-04-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.713Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.713Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=24\"\n    },\n    {\n        \"id\": 25,\n        \"order_id\": 3,\n        \"amount\": \"22.16\",\n        \"currency\": \"EUR\",\n        \"status\": \"scheduled\",\n        \"executed_at\": null,\n        \"scheduled_at\": \"2026-05-23T21:38:00.000Z\",\n        \"created_at\": \"2024-06-23T19:39:04.718Z\",\n        \"updated_at\": \"2024-06-23T19:39:04.718Z\",\n        \"transaction_id\": null,\n        \"url\": \"http://localhost:3000/api/v1/orders/3/scheduled_payments.json?id=25\"\n    }\n]"}],"_postman_id":"c5497c5d-2347-42c1-839d-02058a4eec62"},{"name":"API_BASE_URL/api/v1/orders/3/scheduled_payments","id":"9a696890-edcd-47c7-ba74-5f4e3a53dc09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","3","scheduled_payments"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a696890-edcd-47c7-ba74-5f4e3a53dc09"},{"name":"API_BASE_URL/api/v1/orders/3/scheduled_payments/3","id":"5da6f30d-efbe-4af0-8011-0e94baef99ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","3","scheduled_payments","3"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"5da6f30d-efbe-4af0-8011-0e94baef99ce"},{"name":"API_BASE_URL/api/v1/orders/3/scheduled_payments/3","id":"8652db0d-52ed-4cdc-95aa-08caf37a6a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer AUTH_TOKEN","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"scheduled_payment\": {\r\n    \"amount\": \"21.15\",\r\n    \"scheduled_duration_unit\": \"WEEK\",\r\n    \"scheduled_interval\": \"3\",\r\n    \"status\": \"scheduled\",\r\n    \"scheduled_at\": \"2024-01-24T21:38:00.000Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/orders/3/scheduled_payments/13","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","orders","3","scheduled_payments","13"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"8652db0d-52ed-4cdc-95aa-08caf37a6a84"}],"id":"77ff11ac-9849-48ff-83ed-924694d50729","_postman_id":"77ff11ac-9849-48ff-83ed-924694d50729","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Customer Portal","item":[{"name":"Orders","item":[{"name":"Order","id":"1db5fae8-610c-4a88-8f23-213340cee6e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}","description":"<h3 id=\"get-apiv1customer_portalorderorder_idtoken\">GET /api/v1/customer_portal/order/{{order_id}}/{{token}}</h3>\n<p>This endpoint retrieves details of a specific customer order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body parameters are required for this endpoint.</p>\n<ul>\n<li><p><code>{{order_id}}</code> (path) - The unique identifier of the order.</p>\n</li>\n<li><p><code>{{token}}</code> (path) - The token for authentication.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": integer,\n  \"merchant_invoice_id\": string,\n  \"currency\": string,\n  \"status\": string,\n  \"transactions_count\": integer,\n  \"db_count\": integer,\n  \"rf_count\": integer,\n  \"amount_paid\": string,\n  \"total_to_pay\": string,\n  \"total_discount\": string,\n  \"total_tax\": string,\n  \"total_fee\": string,\n  \"profile_id\": integer,\n  \"description\": string,\n  \"payment_method\": string,\n  \"payment_method_id\": integer,\n  \"source\": integer,\n  \"order_type\": string,\n  \"created_at\": string,\n  \"updated_at\": string,\n  \"status_updated_at\": string,\n  \"initial_amount\": string,\n  \"create_registration\": boolean,\n  \"monthly_amount\": string,\n  \"scheduled_duration_unit\": string,\n  \"scheduled_interval\": integer,\n  \"scheduled_duration_number\": integer,\n  \"total_installment_amount\": string,\n  \"count_to_pay\": integer,\n  \"start_date\": string,\n  \"recurring_end_date\": string or null,\n  \"pause_until_date\": string or null,\n  \"redirect_url\": string or null,\n  \"failed_redirect_url\": string or null,\n  \"initial_email_sent_on\": string or null,\n  \"customer\": {\n    \"id\": integer,\n    \"first_name\": string,\n    \"last_name\": string,\n    \"customer_id\": string,\n    \"date_of_birth\": string,\n    \"email\": string,\n    \"phone\": string,\n    \"orders_count\": integer,\n    \"status\": string,\n    \"profile_id\": integer,\n    \"data\": object,\n    \"created_at\": string,\n    \"updated_at\": string,\n    \"user_id\": integer,\n    \"organisation_id\": integer,\n    \"tag_list\": array,\n    \"addresses\": [\n      {\n        \"id\": integer,\n        \"name\": string,\n        \"postal_code\": string,\n        \"city\": string,\n        \"street\": string,\n        \"state\": string,\n        \"country\": string,\n        \"address_type\": string,\n        \"created_at\": string,\n        \"updated_at\": string\n      }\n    ]\n  },\n  \"card\": {\n    \"id\": integer,\n    \"last_four\": string,\n    \"brand\": string,\n    \"default\": boolean,\n    \"active\": boolean,\n    \"customer_id\": integer,\n    \"registered\": string,\n    \"expires_at\": string\n  },\n  \"products\": [\n    {\n      \"id\": integer,\n      \"merchant_product_id\": string,\n      \"name\": string,\n      \"short_description\": string,\n      \"long_description\": string,\n      \"product_type\": string,\n      \"quantity\": integer,\n      \"unit_price\": string,\n      \"discount_amount\": string,\n      \"fee_amount\": string,\n      \"tax_amount\": string,\n      \"subtotal_amount\": string,\n      \"created_at\": string\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"458aaced-9d7c-4845-84a4-b2ad1ba15fa8","name":"Order","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"b30f2c53-4264-4a38-baa5-f68dfd901339"},{"key":"X-Runtime","value":"0.583808"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=106.42, instantiation.active_record;dur=49.28, cache_read.active_support;dur=1.48, cache_fetch_hit.active_support;dur=0.00, cache_generate.active_support;dur=1.40, cache_write.active_support;dur=0.68, service_url.active_storage;dur=2.17, render.active_model_serializers;dur=0.29, process_action.action_controller;dur=302.44"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"jm1ndqbpyifbgttxlfec,3ncz7woxj9zv0dakld8o,xb4nejq71378iz7tn9wn,t3xyaiuihs1zue5qo6rn,ym2ulmbomrfm28v5x7or,ujloyasjzzd8613w01va,bo9377egs8c4fbfjb19m,lfi4x8eid9z4o0ld6mrq,1p9in5x115pzgmxohen3,geoogflr0m5p8ukjmzef,gq760djeke4elwe3955r,aw6wdf3dm4u0pby9mfey,fic7zin4ry4cmqjzt9da,ef64dz0kmwofcfm7ujql,osd81003t6yxlelbp27o,d2k5nvx3jw5bs5u6yjbi,jciy699v86i3jt1m6odx,xs2e90aznblvfwm34e3d,2jt0juop955ii6fpihrm"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Accept, Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 684,\n    \"merchant_invoice_id\": \"1EA688C4E9\",\n    \"currency\": \"EUR\",\n    \"status\": \"active\",\n    \"transactions_count\": 2,\n    \"db_count\": 2,\n    \"rf_count\": 0,\n    \"amount_paid\": \"206.64\",\n    \"successful_payments_amount\": \"206.64\",\n    \"total_to_pay\": \"4566.0\",\n    \"total_discount\": \"0.0\",\n    \"total_tax\": \"0.0\",\n    \"total_fee\": \"0.0\",\n    \"profile_id\": 1,\n    \"failed_scheduled_payments_count\": 0,\n    \"failed_scheduled_payments_amount\": \"0.0\",\n    \"description\": \"\",\n    \"payment_method\": \"MOTO\",\n    \"payment_method_id\": 15,\n    \"source\": 1,\n    \"order_type\": \"instalment\",\n    \"created_at\": \"22-10-2025 11:39:30\",\n    \"updated_at\": \"22-10-2025 15:08:21\",\n    \"status_updated_at\": \"22-10-2025 15:08:16\",\n    \"initial_amount\": \"25.0\",\n    \"create_registration\": true,\n    \"monthly_amount\": \"90.82\",\n    \"scheduled_duration_unit\": \"MONTH\",\n    \"scheduled_interval\": 1,\n    \"scheduled_duration_number\": 50,\n    \"total_installment_amount\": \"4566.0\",\n    \"count_to_pay\": 51,\n    \"start_date\": \"22-11-2025 13:39:00\",\n    \"recurring_end_date\": null,\n    \"pause_until_date\": null,\n    \"redirect_url\": null,\n    \"failed_redirect_url\": null,\n    \"initial_email_sent_on\": null,\n    \"order_summary_pdf_url\": \"https://eug-ng-test.z-terminal.com/pd/order/684/F7qRFADP8jLn68S2Hr7ySr5s/order_summary.pdf\",\n    \"refunded_amount\": \"0.0\",\n    \"skipped_amount\": \"0.0\",\n    \"customer\": {\n        \"id\": 2,\n        \"first_name\": \"David\",\n        \"last_name\": \"Boyce\",\n        \"customer_id\": \"5327E83908\",\n        \"date_of_birth\": null,\n        \"email\": \"testuser@gmail.com\",\n        \"phone\": \"+447700181905\",\n        \"orders_count\": 30,\n        \"status\": \"active\",\n        \"profile_id\": 1,\n        \"data\": {},\n        \"created_at\": \"25-05-2022 16:55:56\",\n        \"updated_at\": \"26-07-2022 14:14:17\",\n        \"user_id\": 2,\n        \"organisation_id\": 1,\n        \"tag_list\": [],\n        \"addresses\": [\n            {\n                \"id\": 2,\n                \"name\": \"default\",\n                \"postal_code\": \"BA1 1DG\",\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"country_name\": \"United Kingdom\",\n                \"address_type\": \"billing\",\n                \"created_at\": \"25-05-2022 16:55:56\",\n                \"updated_at\": \"10-06-2022 15:52:41\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"default\",\n                \"postal_code\": \"BA1 1DG\",\n                \"city\": \"Bath\",\n                \"street\": \"28 Milsom St\",\n                \"state\": \"Avon\",\n                \"country\": \"GB\",\n                \"country_name\": \"United Kingdom\",\n                \"address_type\": \"shipping\",\n                \"created_at\": \"25-05-2022 16:55:56\",\n                \"updated_at\": \"10-06-2022 15:52:41\"\n            }\n        ]\n    },\n    \"card\": {\n        \"id\": 237,\n        \"last_four\": \"5454\",\n        \"brand\": \"MASTER\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 2,\n        \"registered\": \"25-08-2025 15:27:29\",\n        \"expires_at\": \"01-2027\"\n    },\n    \"products\": [\n        {\n            \"id\": 1,\n            \"merchant_product_id\": \"INS1\",\n            \"name\": \"Installment\",\n            \"short_description\": \"Simple isntalment\",\n            \"long_description\": \"Simple instalment\",\n            \"product_type\": \"instalment\",\n            \"group_name\": null,\n            \"unit_name\": null,\n            \"quantity\": 1,\n            \"unit_price\": \"4566.0\",\n            \"discount_amount\": \"0.0\",\n            \"fee_amount\": \"0.0\",\n            \"tax_amount\": \"0.0\",\n            \"subtotal_amount\": \"4566.0\",\n            \"fee_id\": null,\n            \"tax_id\": null,\n            \"discount_id\": null,\n            \"created_at\": \"25-05-2022 13:04:36\"\n        }\n    ],\n    \"profile\": {\n        \"name\": \"Payon Test Profile\",\n        \"registered_name\": \"Registered Name\",\n        \"company_name\": \"Company Name\",\n        \"email\": \"test@zing.gg\",\n        \"registration_number\": \"XZY 123456789\",\n        \"registration_country\": \"ES\",\n        \"terms_url\": \"www.zing.gg\",\n        \"website\": \"https://www.zing.gg\",\n        \"phone\": \"+34777777777\",\n        \"country\": \"ES\",\n        \"country_name\": \"Spain\",\n        \"city\": \"Barcelona\",\n        \"state\": \"\",\n        \"street\": \"Avda. Diagonal\",\n        \"postal_code\": \"08017\",\n        \"descriptor\": \"Test Descriptor\",\n        \"privacy_policy_url\": \"https://www.zing.gg\",\n        \"logo_url\": \"https://public-zing-billing.fra1.digitaloceanspaces.com/g3rri2qrb0xl3ybnoj3lagbzwqt9?response-content-disposition=inline%3B%20filename%3D%22Screenshot%20at%20Aug%2028%2015-47-52.png%22%3B%20filename%2A%3DUTF-8%27%27Screenshot%2520at%2520Aug%252028%252015-47-52.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=5RD5V6ZHFBXNZLTCQJVF%2F20251106%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20251106T100322Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=3a80925b756fb32d6f148658f0b50afbf34d69328625e2513942decc16b267e0\"\n    }\n}"}],"_postman_id":"1db5fae8-610c-4a88-8f23-213340cee6e6"},{"name":"Cancel Order","id":"0e0b306a-d134-4dd1-9fce-4473bf32fd37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cancel","description":"<h3 id=\"get-apiv1customer_portalorderorder_idtoken\">GET /api/v1/customer_portal/order/{{order_id}}/{{token}}</h3>\n<p>This endpoint retrieves details of a specific customer order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body parameters are required for this endpoint.</p>\n<ul>\n<li><p><code>{{order_id}}</code> (path) - The unique identifier of the order.</p>\n</li>\n<li><p><code>{{token}}</code> (path) - The token for authentication.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": integer,\n  \"merchant_invoice_id\": string,\n  \"currency\": string,\n  \"status\": string,\n  \"transactions_count\": integer,\n  \"db_count\": integer,\n  \"rf_count\": integer,\n  \"amount_paid\": string,\n  \"total_to_pay\": string,\n  \"total_discount\": string,\n  \"total_tax\": string,\n  \"total_fee\": string,\n  \"profile_id\": integer,\n  \"description\": string,\n  \"payment_method\": string,\n  \"payment_method_id\": integer,\n  \"source\": integer,\n  \"order_type\": string,\n  \"created_at\": string,\n  \"updated_at\": string,\n  \"status_updated_at\": string,\n  \"initial_amount\": string,\n  \"create_registration\": boolean,\n  \"monthly_amount\": string,\n  \"scheduled_duration_unit\": string,\n  \"scheduled_interval\": integer,\n  \"scheduled_duration_number\": integer,\n  \"total_installment_amount\": string,\n  \"count_to_pay\": integer,\n  \"start_date\": string,\n  \"recurring_end_date\": string or null,\n  \"pause_until_date\": string or null,\n  \"redirect_url\": string or null,\n  \"failed_redirect_url\": string or null,\n  \"initial_email_sent_on\": string or null,\n  \"customer\": {\n    \"id\": integer,\n    \"first_name\": string,\n    \"last_name\": string,\n    \"customer_id\": string,\n    \"date_of_birth\": string,\n    \"email\": string,\n    \"phone\": string,\n    \"orders_count\": integer,\n    \"status\": string,\n    \"profile_id\": integer,\n    \"data\": object,\n    \"created_at\": string,\n    \"updated_at\": string,\n    \"user_id\": integer,\n    \"organisation_id\": integer,\n    \"tag_list\": array,\n    \"addresses\": [\n      {\n        \"id\": integer,\n        \"name\": string,\n        \"postal_code\": string,\n        \"city\": string,\n        \"street\": string,\n        \"state\": string,\n        \"country\": string,\n        \"address_type\": string,\n        \"created_at\": string,\n        \"updated_at\": string\n      }\n    ]\n  },\n  \"card\": {\n    \"id\": integer,\n    \"last_four\": string,\n    \"brand\": string,\n    \"default\": boolean,\n    \"active\": boolean,\n    \"customer_id\": integer,\n    \"registered\": string,\n    \"expires_at\": string\n  },\n  \"products\": [\n    {\n      \"id\": integer,\n      \"merchant_product_id\": string,\n      \"name\": string,\n      \"short_description\": string,\n      \"long_description\": string,\n      \"product_type\": string,\n      \"quantity\": integer,\n      \"unit_price\": string,\n      \"discount_amount\": string,\n      \"fee_amount\": string,\n      \"tax_amount\": string,\n      \"subtotal_amount\": string,\n      \"created_at\": string\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","cancel"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"b188c87f-34de-49f5-8d76-07f6bd5823b3","name":"Cancel Order","originalRequest":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"cf677615-25c6-4b64-92bd-b1efe7d52436"},{"key":"X-Runtime","value":"0.093721"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=14.58, instantiation.active_record;dur=0.30, transaction.active_record;dur=30.39, render.active_model_serializers;dur=0.03, process_action.action_controller;dur=38.88"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"mg08zj5qefqr7om34qd9,4n6u6wv5i1ra9ohy3vl7,k97hxte0l2kmn6uppap8,dkdiwkud100nx83rvaf8,rbhxt852dstirdtjpekl"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order has been successfully canceled.\",\n    \"order_id\": 446,\n    \"order_status\": \"cancelled\"\n}"}],"_postman_id":"0e0b306a-d134-4dd1-9fce-4473bf32fd37"}],"id":"34ac9644-a7fb-4eb1-b251-12cef29e11a0","_postman_id":"34ac9644-a7fb-4eb1-b251-12cef29e11a0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Payments","item":[{"name":"Payments","id":"36563394-a67b-4fbf-88e1-aabed7c3507f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/payments","description":"<h3 id=\"get-apiv1customer_portalorderorder_idtokenpayments\">GET /api/v1/customer_portal/order/{{order_id}}/{{token}}/payments</h3>\n<p>This endpoint retrieves the payment details for a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<ul>\n<li><p><code>order_id</code> (path parameter) - The ID of the order for which payment details are to be retrieved.</p>\n</li>\n<li><p><code>token</code> (path parameter) - The token for authentication and authorization.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is an array of payment objects in JSON format. Each payment object includes the following fields:</p>\n<ul>\n<li><p><code>id</code> (number) - The ID of the payment.</p>\n</li>\n<li><p><code>order_id</code> (number) - The ID of the order associated with the payment.</p>\n</li>\n<li><p><code>merchant_invoice_id</code> (string) - The invoice ID from the merchant.</p>\n</li>\n<li><p><code>merchant_customer_id</code> (string) - The customer ID from the merchant.</p>\n</li>\n<li><p><code>original_id</code> (string) - The original ID of the payment.</p>\n</li>\n<li><p><code>original_reference_id</code> (string) - The original reference ID of the payment.</p>\n</li>\n<li><p><code>amount</code> (string) - The amount of the payment.</p>\n</li>\n<li><p><code>currency</code> (string) - The currency of the payment.</p>\n</li>\n<li><p><code>transaction_type</code> (string) - The type of transaction.</p>\n</li>\n<li><p><code>payment_brand</code> (string) - The brand of the payment method.</p>\n</li>\n<li><p><code>successful</code> (boolean) - Indicates if the payment was successful.</p>\n</li>\n<li><p><code>secure3d</code> (string) - The 3D secure status of the payment.</p>\n</li>\n<li><p><code>refunded</code> (boolean) - Indicates if the payment was refunded.</p>\n</li>\n<li><p><code>manual_payment</code> (boolean) - Indicates if the payment was manual.</p>\n</li>\n<li><p><code>initial_payment</code> (boolean) - Indicates if the payment was the initial payment.</p>\n</li>\n<li><p><code>payment_method</code> (string) - The payment method used.</p>\n</li>\n<li><p><code>invoice</code> (string) - The invoice details.</p>\n</li>\n<li><p><code>invoice_url</code> (string) - The URL to the invoice.</p>\n</li>\n<li><p><code>scheduled_payment_id</code> (string) - The ID of the scheduled payment.</p>\n</li>\n<li><p><code>payment_result</code> (string) - The result of the payment.</p>\n</li>\n<li><p><code>processed_at</code> (string) - The date and time when the payment was processed.</p>\n</li>\n<li><p><code>created_at</code> (string) - The date and time when the payment was created.</p>\n</li>\n<li><p><code>updated_at</code> (string) - The date and time when the payment was last updated.</p>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 0,\n        \"order_id\": 0,\n        \"merchant_invoice_id\": \"\",\n        \"merchant_customer_id\": \"\",\n        \"original_id\": \"\",\n        \"original_reference_id\": null,\n        \"amount\": \"\",\n        \"currency\": \"\",\n        \"transaction_type\": \"\",\n        \"payment_brand\": \"\",\n        \"successful\": true,\n        \"secure3d\": null,\n        \"refunded\": true,\n        \"manual_payment\": true,\n        \"initial_payment\": true,\n        \"payment_method\": \"\",\n        \"invoice\": null,\n        \"invoice_url\": null,\n        \"scheduled_payment_id\": null,\n        \"payment_result\": \"\",\n        \"processed_at\": \"\",\n        \"created_at\": \"\",\n        \"updated_at\": \"\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","payments"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"59bda2a9-046c-44ee-87fd-75a6d5d05828","name":"Payments Example","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"06bc1992-5647-499f-92eb-62b5b39d657b"},{"key":"X-Runtime","value":"0.345432"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=35.39, instantiation.active_record;dur=11.95, render.active_model_serializers;dur=0.08, process_action.action_controller;dur=89.97"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"1y5arw73sutjvra8reox,kqs6tou8onwh0yahd6fu,wtusqf29uc5uh1woldnn,exviocwmuwe85fj6gcjb,qj11ni17pxw5yykbi11w,r92qeusfk5857vig8m5l,c7ey7brcngn49dy5irr,92o32xza6xvlsuy8twcb,7dibezie3zsxluy4ckcx,7bf1v1pdhyzpjfu5ejjf,81fkryy66rbnhw166ygz,so8zrpgzs0mgbp6sffxc,t9og4i9r9pu2y0hy4zop,q406t1khuxpawieprgex,3f5ht6vfysrue7bhn52j,d8tr88vgsrg53i9kwp8,2s25q1vtj92qvzuqfnx9,1ko1bsqgbzeov2hebcz9,xzqpd8ahz5nabngjx1e6,wk9sib7qt0lodvsgzc9"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1021,\n        \"order_id\": 445,\n        \"merchant_invoice_id\": \"03E1140B41\",\n        \"merchant_customer_id\": \"sdsdf\",\n        \"original_id\": \"transaction_original_id\",\n        \"original_reference_id\": null,\n        \"amount\": \"0.35\",\n        \"currency\": \"GBP\",\n        \"transaction_type\": \"pa\",\n        \"payment_brand\": \"card\",\n        \"successful\": true,\n        \"secure3d\": null,\n        \"refunded\": false,\n        \"manual_payment\": true,\n        \"initial_payment\": true,\n        \"payment_method\": \"ECOM\",\n        \"invoice\": null,\n        \"invoice_url\": null,\n        \"scheduled_payment_id\": null,\n        \"payment_result\": \"Approved\",\n        \"processed_at\": \"25-04-2025 13:06:25\",\n        \"created_at\": \"25-04-2025 13:06:26\",\n        \"updated_at\": \"25-04-2025 13:06:26\"\n    }\n]"}],"_postman_id":"36563394-a67b-4fbf-88e1-aabed7c3507f"},{"name":"Payment","id":"69aa2598-299d-4fdf-9123-d0169ce63177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/payments/{{payment_id}}","description":"<h3 id=\"get-apiv1customer_portalorderorder_idtokenpayments\">GET /api/v1/customer_portal/order/{{order_id}}/{{token}}/payments</h3>\n<p>This endpoint retrieves the payment details for a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<ul>\n<li><p><code>order_id</code> (path parameter) - The ID of the order for which payment details are to be retrieved.</p>\n</li>\n<li><p><code>token</code> (path parameter) - The token for authentication and authorization.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is an array of payment objects in JSON format. Each payment object includes the following fields:</p>\n<ul>\n<li><p><code>id</code> (number) - The ID of the payment.</p>\n</li>\n<li><p><code>order_id</code> (number) - The ID of the order associated with the payment.</p>\n</li>\n<li><p><code>merchant_invoice_id</code> (string) - The invoice ID from the merchant.</p>\n</li>\n<li><p><code>merchant_customer_id</code> (string) - The customer ID from the merchant.</p>\n</li>\n<li><p><code>original_id</code> (string) - The original ID of the payment.</p>\n</li>\n<li><p><code>original_reference_id</code> (string) - The original reference ID of the payment.</p>\n</li>\n<li><p><code>amount</code> (string) - The amount of the payment.</p>\n</li>\n<li><p><code>currency</code> (string) - The currency of the payment.</p>\n</li>\n<li><p><code>transaction_type</code> (string) - The type of transaction.</p>\n</li>\n<li><p><code>payment_brand</code> (string) - The brand of the payment method.</p>\n</li>\n<li><p><code>successful</code> (boolean) - Indicates if the payment was successful.</p>\n</li>\n<li><p><code>secure3d</code> (string) - The 3D secure status of the payment.</p>\n</li>\n<li><p><code>refunded</code> (boolean) - Indicates if the payment was refunded.</p>\n</li>\n<li><p><code>manual_payment</code> (boolean) - Indicates if the payment was manual.</p>\n</li>\n<li><p><code>initial_payment</code> (boolean) - Indicates if the payment was the initial payment.</p>\n</li>\n<li><p><code>payment_method</code> (string) - The payment method used.</p>\n</li>\n<li><p><code>invoice</code> (string) - The invoice details.</p>\n</li>\n<li><p><code>invoice_url</code> (string) - The URL to the invoice.</p>\n</li>\n<li><p><code>scheduled_payment_id</code> (string) - The ID of the scheduled payment.</p>\n</li>\n<li><p><code>payment_result</code> (string) - The result of the payment.</p>\n</li>\n<li><p><code>processed_at</code> (string) - The date and time when the payment was processed.</p>\n</li>\n<li><p><code>created_at</code> (string) - The date and time when the payment was created.</p>\n</li>\n<li><p><code>updated_at</code> (string) - The date and time when the payment was last updated.</p>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 0,\n        \"order_id\": 0,\n        \"merchant_invoice_id\": \"\",\n        \"merchant_customer_id\": \"\",\n        \"original_id\": \"\",\n        \"original_reference_id\": null,\n        \"amount\": \"\",\n        \"currency\": \"\",\n        \"transaction_type\": \"\",\n        \"payment_brand\": \"\",\n        \"successful\": true,\n        \"secure3d\": null,\n        \"refunded\": true,\n        \"manual_payment\": true,\n        \"initial_payment\": true,\n        \"payment_method\": \"\",\n        \"invoice\": null,\n        \"invoice_url\": null,\n        \"scheduled_payment_id\": null,\n        \"payment_result\": \"\",\n        \"processed_at\": \"\",\n        \"created_at\": \"\",\n        \"updated_at\": \"\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","payments","{{payment_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"20be1785-0ed0-46f4-bece-92c3706732a5","name":"Payment","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/payments/{{payment_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"cf835ef1-c151-4441-b060-2e1b83097436"},{"key":"X-Runtime","value":"0.379946"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=38.68, instantiation.active_record;dur=31.24, render.active_model_serializers;dur=0.09, process_action.action_controller;dur=100.72"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"q69x25pvl63d6jmgbvai,dgzzxrxuahv0boy7snzg,3nhwiwhgutk8bbcplz64"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1021,\n    \"order_id\": 445,\n    \"merchant_invoice_id\": \"03E1140B41\",\n    \"merchant_customer_id\": \"sdsdf\",\n    \"original_id\": \"pi_3RHlxVAJNn36VBPh2bufwGY6\",\n    \"original_reference_id\": null,\n    \"amount\": \"0.35\",\n    \"currency\": \"GBP\",\n    \"transaction_type\": \"pa\",\n    \"payment_brand\": \"card\",\n    \"successful\": true,\n    \"message\": \"\",\n    \"secure3d\": null,\n    \"refunded\": false,\n    \"manual_payment\": true,\n    \"initial_payment\": true,\n    \"payment_method\": \"ECOM\",\n    \"invoice_number\": \"INV-123\",\n    \"invoice_url\": \"https://www.ucd.ie/t4cms/Test%20PDF-8mb.pdf\",\n    \"receipt_number\": \"RCPT-123\",\n    \"receipt_url\": \"https://www.ucd.ie/t4cms/Test%20PDF-8mb.pdf\",\n    \"credit_note_number\": \"CRDT-123\",\n    \"credit_note_url\": \"https://www.ucd.ie/t4cms/Test%20PDF-8mb.pdf\",\n    \"scheduled_payment_id\": null,\n    \"payment_result\": \"Approved\",\n    \"processed_at\": \"25-04-2025 13:06:25\",\n    \"created_at\": \"25-04-2025 13:06:26\",\n    \"updated_at\": \"25-04-2025 13:06:26\"\n}"}],"_postman_id":"69aa2598-299d-4fdf-9123-d0169ce63177"}],"id":"a66afbb3-c946-4c88-8d20-88cb83d28617","_postman_id":"a66afbb3-c946-4c88-8d20-88cb83d28617","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"customer","item":[{"name":"Customer","id":"ed1420d3-f32a-478e-b6da-9e2b452e56c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","customer"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"388f4a96-973e-47f5-97fb-0b9ec5dca404","name":"Customer Example","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"555428b3-3ae5-4528-8da3-6581d662bf53"},{"key":"X-Runtime","value":"0.061510"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=3.83, instantiation.active_record;dur=0.27, render.active_model_serializers;dur=0.10, process_action.action_controller;dur=9.02"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"exviocwmuwe85fj6gcjb,qj11ni17pxw5yykbi11w,r92qeusfk5857vig8m5l,c7ey7brcngn49dy5irr,92o32xza6xvlsuy8twcb,7dibezie3zsxluy4ckcx,7bf1v1pdhyzpjfu5ejjf,81fkryy66rbnhw166ygz,so8zrpgzs0mgbp6sffxc,t9og4i9r9pu2y0hy4zop,q406t1khuxpawieprgex,3f5ht6vfysrue7bhn52j,d8tr88vgsrg53i9kwp8,2s25q1vtj92qvzuqfnx9,1ko1bsqgbzeov2hebcz9,xzqpd8ahz5nabngjx1e6,wk9sib7qt0lodvsgzc9,7kzcpphe1am0b7p09ii1,qci2aaou3gcj4bkc04h7,6rdm17ly6t7en83u2z72"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 31,\n    \"first_name\": \"Alfredo\",\n    \"last_name\": \"Dominguez\",\n    \"customer_id\": \"CID1\",\n    \"date_of_birth\": \"29-01-1988\",\n    \"email\": \"test@zing.gg\",\n    \"phone\": \"+34566365458\",\n    \"orders_count\": 47,\n    \"status\": \"active\",\n    \"profile_id\": 10,\n    \"data\": {},\n    \"created_at\": \"28-05-2024 14:22:06\",\n    \"updated_at\": \"27-03-2025 16:52:20\",\n    \"user_id\": 2,\n    \"access_token\": null,\n    \"organisation_id\": 18,\n    \"tag_list\": [],\n    \"addresses\": [\n        {\n            \"id\": 43,\n            \"name\": \"default\",\n            \"postal_code\": \"08980\",\n            \"city\": \"Barcelona\",\n            \"street\": \"test street\",\n            \"state\": \"Barcelona\",\n            \"country\": \"ES\",\n            \"address_type\": \"billing\",\n            \"created_at\": \"28-05-2024 14:22:06\",\n            \"updated_at\": \"27-03-2025 16:52:01\"\n        }\n    ]\n}"}],"_postman_id":"ed1420d3-f32a-478e-b6da-9e2b452e56c0"}],"id":"1f530358-6dd5-4a0f-811f-c3b9cd0f2d96","_postman_id":"1f530358-6dd5-4a0f-811f-c3b9cd0f2d96","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Taxes","item":[{"name":"Taxes","id":"85ed1508-2f20-4a67-851c-0dbb07a923be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/taxes","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"ca896c23-6f33-4f2d-881e-4948192625bf","name":"Taxes","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"35650c19-c4b6-4f89-bf99-c29eedf3ce81"},{"key":"X-Runtime","value":"0.416272"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.03, sql.active_record;dur=43.15, instantiation.active_record;dur=59.45, render_collection.action_view;dur=0.69, render_template.action_view;dur=20.29, process_action.action_controller;dur=171.03"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"obf4luh03zvny97ok9te,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"taxes\": [\n        {\n            \"id\": 4,\n            \"name\": \"Tax\",\n            \"description\": \"\",\n            \"percentage\": \"25.0\",\n            \"active\": true,\n            \"created_at\": \"2024-08-04T18:48:16.769Z\",\n            \"updated_at\": \"2024-08-04T18:48:16.769Z\"\n        }\n    ]\n}"}],"_postman_id":"85ed1508-2f20-4a67-851c-0dbb07a923be"},{"name":"Show Tax","id":"56a6c304-a7c7-4528-94d7-cbaf4fd5e769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/taxes/{{tax_id}}","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"02eb1129-808b-4ce0-94b8-01496c8f07a2","name":"Show Tax","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/taxes/{{tax_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"219d0b75-2dad-4ca9-8149-dd27350dc41a"},{"key":"X-Runtime","value":"0.068447"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=2.86, instantiation.active_record;dur=0.30, render_partial.action_view;dur=0.60, render_template.action_view;dur=1.51, process_action.action_controller;dur=8.94"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"6qzmcqy9xmktbokf46ql,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w,obf4luh03zvny97ok9te"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"tax\": {\n        \"id\": 4,\n        \"name\": \"Tax\",\n        \"description\": \"\",\n        \"percentage\": \"25.0\",\n        \"active\": true,\n        \"created_at\": \"2024-08-04T18:48:16.769Z\",\n        \"updated_at\": \"2024-08-04T18:48:16.769Z\"\n    }\n}"}],"_postman_id":"56a6c304-a7c7-4528-94d7-cbaf4fd5e769"}],"id":"6e79d893-8b9a-4545-bd14-503674bf807e","_postman_id":"6e79d893-8b9a-4545-bd14-503674bf807e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Fees","item":[{"name":"Fees","id":"6695021c-966a-4d38-b41e-c442a47e30ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/fees","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","fees"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"7494925e-0d34-4b43-ae37-60222720686a","name":"Fees","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/fees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"3c25efcc-fd6c-47d0-858c-c0b2e1c12cb6"},{"key":"X-Runtime","value":"0.073726"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=2.39, instantiation.active_record;dur=0.30, render_collection.action_view;dur=0.74, render_template.action_view;dur=4.72, process_action.action_controller;dur=9.04"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"9e66zdxjin9hsssdlfkl,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w,obf4luh03zvny97ok9te,6qzmcqy9xmktbokf46ql,iwaujjx65dbaq9i49y3c,3jwsg8imj30q5wxb433n,f43nvc8kwbu0emgd3j9k,4jvq43nrmir81nxhmtum"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": [\n        {\n            \"id\": 4,\n            \"name\": \"Fee 1\",\n            \"description\": \"\",\n            \"amount\": \"24.0\",\n            \"percentage\": \"0.0\",\n            \"apply_conversion_rate\": false,\n            \"applicable_to\": null,\n            \"is_active\": true,\n            \"created_at\": \"2024-08-04T18:47:58.361Z\",\n            \"updated_at\": \"2024-08-04T18:47:58.361Z\"\n        }\n    ]\n}"}],"_postman_id":"6695021c-966a-4d38-b41e-c442a47e30ea"},{"name":"Show Fee","id":"bdded672-4faa-4a92-b587-6fc691985997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/fees/{{fee_id}}","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","fees","{{fee_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"ee94562f-17ba-46bd-b872-1c391043b65d","name":"Show Fee","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/fees/{{fee_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"4468a8db-f072-4c0b-838b-e6aadfc182b5"},{"key":"X-Runtime","value":"0.086508"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=11.80, instantiation.active_record;dur=6.13, render_partial.action_view;dur=0.51, render_template.action_view;dur=1.69, process_action.action_controller;dur=27.56"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"4jvq43nrmir81nxhmtum,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w,obf4luh03zvny97ok9te,6qzmcqy9xmktbokf46ql,iwaujjx65dbaq9i49y3c,3jwsg8imj30q5wxb433n,f43nvc8kwbu0emgd3j9k"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"fee\": {\n        \"id\": 4,\n        \"name\": \"Fee 1\",\n        \"description\": \"\",\n        \"amount\": \"24.0\",\n        \"percentage\": \"0.0\",\n        \"apply_conversion_rate\": false,\n        \"applicable_to\": null,\n        \"is_active\": true,\n        \"created_at\": \"2024-08-04T18:47:58.361Z\",\n        \"updated_at\": \"2024-08-04T18:47:58.361Z\"\n    }\n}"}],"_postman_id":"bdded672-4faa-4a92-b587-6fc691985997"}],"id":"8d9a4284-23c5-4662-9f4f-09cfbd17e21d","_postman_id":"8d9a4284-23c5-4662-9f4f-09cfbd17e21d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Discounts","item":[{"name":"Discounts","id":"86a107bc-7868-4709-9da7-db654859a1eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/discounts","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","discounts"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"b74a775d-9168-43a7-b7ad-ace0cbd66759","name":"Discounts","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/discounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"acc323f9-dd91-4aac-8582-d2c5a227dd10"},{"key":"X-Runtime","value":"0.125448"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=31.38, instantiation.active_record;dur=2.81, render_collection.action_view;dur=1.17, render_template.action_view;dur=18.83, process_action.action_controller;dur=56.44"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"75tr175jhkpkobc5dx1l,3llitqbhu0maaw15lptv,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w,obf4luh03zvny97ok9te,6qzmcqy9xmktbokf46ql,iwaujjx65dbaq9i49y3c,3jwsg8imj30q5wxb433n,f43nvc8kwbu0emgd3j9k,4jvq43nrmir81nxhmtum"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"discounts\": [\n        {\n            \"id\": 9,\n            \"name\": \"Discount 1\",\n            \"description\": \"\",\n            \"percentage\": \"0.0\",\n            \"amount\": \"24.0\",\n            \"apply_conversion_rate\": false,\n            \"applicable_to\": null,\n            \"is_active\": true,\n            \"created_at\": \"2024-08-04T18:48:09.337Z\",\n            \"updated_at\": \"2024-08-04T18:48:09.337Z\"\n        }\n    ]\n}"}],"_postman_id":"86a107bc-7868-4709-9da7-db654859a1eb"},{"name":"Show Discount","id":"350d4504-8f2b-48e2-aa7b-257c70d53dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/discounts/{{discount_id}}","description":"<p>This endpoint retrieves customer details for a specific order in the customer portal.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/customer</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>{ \"id\":0, \"first_name\":\"\", \"last_name\":\"\", \"customer_id\":\"\", \"date_of_birth\":\"\", \"email\":\"\", \"phone\":\"\", \"orders_count\":0, \"status\":\"\", \"profile_id\":0, \"data\":{}, \"created_at\":\"\", \"updated_at\":\"\", \"user_id\":0, \"access_token\":null, \"organisation_id\":0, \"tag_list\":[], \"addresses\":[ { \"id\":0, \"name\":\"\", \"postal_code\":\"\", \"city\":\"\", \"street\":\"\", \"state\":\"\", \"country\":\"\", \"address_type\":\"\", \"created_at\":\"\", \"updated_at\":\"\" } ] }</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","discounts","{{discount_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"cc485d65-dbed-4f4e-89b5-3bdd76d22791","name":"Show Discount","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/discounts/{{discount_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"669131aa-cabb-4791-80a5-32caa041b06d"},{"key":"X-Runtime","value":"0.067847"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=4.43, instantiation.active_record;dur=0.30, render_partial.action_view;dur=0.42, render_template.action_view;dur=1.27, process_action.action_controller;dur=10.06"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"lssnrv91vv0sy6camgyf,nkmyoxe58iv5zcwb72ne,h4xvlbsr9spa1qhebrej,k6v9k8rsr6sueltqj1et,75tr175jhkpkobc5dx1l,3llitqbhu0maaw15lptv,7pz2zws0j3apysr3rtxt,5p9b90yk4thrjuxxljvv,h2d85inj39fmhijjcs3v,rbu93fmgxx4nq7r1v08h,dv18k8pme68aih7l7nvd,tca7d5agj6kxhhtbs6a4,gpjy4qcmlcjx4gcqlp4h,ukxk5scrdmr85zgpo58g,qy4f4nq0kbw4l4bt13go,arbjcnq31njt1o2n6wua,8croi5pkyxp388pp9zy2,o0v7nd09iqzo9jrgwh9w,obf4luh03zvny97ok9te,6qzmcqy9xmktbokf46ql"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"discount\": {\n        \"id\": 9,\n        \"name\": \"Discount 1\",\n        \"description\": \"\",\n        \"percentage\": \"0.0\",\n        \"amount\": \"24.0\",\n        \"apply_conversion_rate\": false,\n        \"applicable_to\": null,\n        \"is_active\": true,\n        \"created_at\": \"2024-08-04T18:48:09.337Z\",\n        \"updated_at\": \"2024-08-04T18:48:09.337Z\"\n    }\n}"}],"_postman_id":"350d4504-8f2b-48e2-aa7b-257c70d53dbe"}],"id":"e4e447c1-3824-4508-be29-a5767f7ba746","_postman_id":"e4e447c1-3824-4508-be29-a5767f7ba746","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Cards","item":[{"name":"Cards","id":"2805c4a9-eb3c-4884-bb93-da5fef9a074b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards","description":"<h3 id=\"get-customer-cards\">Get Customer Cards</h3>\n<hr />\n<p>This endpoint retrieves the list of cards associated with a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]<br />  Example Response Body:[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","cards"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"e6985fd2-c6bd-4c27-bf63-5d7598c33df1","name":"Cards Example","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"d64cd7f0-c2f9-4b1b-88cf-a9660c862305"},{"key":"X-Runtime","value":"0.309411"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=30.21, instantiation.active_record;dur=22.29, render.active_model_serializers;dur=0.18, process_action.action_controller;dur=83.36"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"wtusqf29uc5uh1woldnn,exviocwmuwe85fj6gcjb,qj11ni17pxw5yykbi11w,r92qeusfk5857vig8m5l,c7ey7brcngn49dy5irr,92o32xza6xvlsuy8twcb,7dibezie3zsxluy4ckcx,7bf1v1pdhyzpjfu5ejjf,81fkryy66rbnhw166ygz,so8zrpgzs0mgbp6sffxc,t9og4i9r9pu2y0hy4zop,q406t1khuxpawieprgex,3f5ht6vfysrue7bhn52j,d8tr88vgsrg53i9kwp8,2s25q1vtj92qvzuqfnx9,1ko1bsqgbzeov2hebcz9,xzqpd8ahz5nabngjx1e6,wk9sib7qt0lodvsgzc9,7kzcpphe1am0b7p09ii1,qci2aaou3gcj4bkc04h7"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 145,\n        \"last_four\": \"0259\",\n        \"brand\": \"visa\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"09-01-2025 12:43:14\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 181,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"09-04-2025 15:21:03\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 154,\n        \"last_four\": \"3155\",\n        \"brand\": \"visa\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"22-01-2025 16:09:22\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 162,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"31-03-2025 15:09:01\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 163,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"31-03-2025 15:16:30\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 195,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"24-04-2025 13:45:02\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 164,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"31-03-2025 15:33:11\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 175,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"09-04-2025 10:19:43\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 197,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 10:02:25\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 203,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 13:05:01\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 204,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 13:05:43\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 199,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 10:04:27\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 186,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"14-04-2025 15:58:06\",\n        \"expires_at\": \"01-2026\"\n    },\n    {\n        \"id\": 200,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 10:06:29\",\n        \"expires_at\": \"01-2027\"\n    },\n    {\n        \"id\": 201,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 10:07:57\",\n        \"expires_at\": \"01-2028\"\n    },\n    {\n        \"id\": 202,\n        \"last_four\": \"5454\",\n        \"brand\": \"master\",\n        \"default\": false,\n        \"active\": true,\n        \"customer_id\": 31,\n        \"registered\": \"25-04-2025 10:40:08\",\n        \"expires_at\": \"01-2026\"\n    }\n]"}],"_postman_id":"2805c4a9-eb3c-4884-bb93-da5fef9a074b"},{"name":"New Card Checkout","id":"364f98e6-4679-4857-954e-e42f0b511409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards/new","description":"<h3 id=\"get-customer-cards\">Get Customer Cards</h3>\n<hr />\n<p>This endpoint retrieves the list of cards associated with a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]<br />  Example Response Body:[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","cards","new"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"11614436-3009-4602-ad5c-1df4eaab4205","name":"New Stripe Card Checkout","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards/new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"d50ed3ca-35b0-4d5e-b20b-4a2ba666685e"},{"key":"X-Runtime","value":"0.744443"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=64.47, instantiation.active_record;dur=35.75, transaction.active_record;dur=60.34, render_template.action_view;dur=0.60, process_action.action_controller;dur=497.90"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"2dl1lc4y5xwwgddlmp2s,wnzy15b1l8b5s8hgrmfb,uoyln75yamxu6nt4kpn1,c7plrqf31zxqv9udyjf8,8uxf5barx05hkcvlh5yx,x4s15bcndsl54f4ho7r9,2zhqaqd3vw1gv7b8j5yo,tkuwgoppocdtgqbzq3cu,8aqno5hr4ad8rmory4aa,w9votrqa2ubqjpcwml,tasu2jujuxzkyq22u7ci,pe1ol39tish8mimwf9l1,ytortlwlaf3srd4bquef,10723ayp1yq20ltn7xnc"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"checkout\": {\n        \"gateway\": null,\n        \"successful\": false,\n        \"order\": {\n            \"id\": 449,\n            \"status\": \"active\"\n        },\n        \"checkout\": {\n            \"response\": {\n                \"payload\": {\n                    \"result\": {\n                        \"code\": \"000.200.100\",\n                        \"description\": \"successfully created checkout\"\n                    },\n                    \"buildNumber\": \"ea48532453d83a4956df89d1f21b50f2da6be9e2@2025-06-05 11:08:22 +0000\",\n                    \"timestamp\": \"2025-06-05 16:02:44+0000\",\n                    \"ndc\": \"276C807F2EE3304279C94110C689C457.uat01-vm-tx04\",\n                    \"id\": \"276C807F2EE3304279C94110C689C457.uat01-vm-tx04\",\n                    \"integrity\": \"sha384-VmRPPvzHtpApLG6hF8XvG2wvAQs34cf2DyPWcPaSRiRDt0gCz/0u9ygnVEgs1s8q\"\n                },\n                \"payment_brand\": \"unknown\",\n                \"result_code\": \"000.200.100\",\n                \"result_description\": \"successfully created checkout\",\n                \"result_type\": \"soft_declined\"\n            }\n        }\n    }\n}"},{"id":"e95813b9-06f9-4b45-bd93-6616e7f0127b","name":"New Payon Stripe Checkout","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards/new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"2c64fb87-1266-4151-82c8-bdb5f2b6b251"},{"key":"X-Runtime","value":"1.407733"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=114.66, instantiation.active_record;dur=54.97, transaction.active_record;dur=463.84, render_template.action_view;dur=0.75, process_action.action_controller;dur=1091.27"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"e7kw27t1r05pwnuwixha,12h73gdl7gwdz71fteyr,hmt068cdkcasch7w185c,16uhos9xb853gtpuwbzn,x8r2xm4x512rvbf0s7he,a8wuykyi3kbsxeuwib8x,5k1hfoccw4lzmdzk8hvh,vsjsizwmwybasqdrixxf,jerw2pnr6qgpobcq0m8e,cl3b1o9vn6mlzr0pwu6j,k69bwwrpmncvhc8ogb5z,pqmxqi85sz3xv9x2sc2i,j2h6ruvqdakkd83gzlzh,gl1icxgzvtnly4qlivzl,mobeal0qiti7nn18tmzt,x3moto9v48b8nqf3b3dh,rulj4q5z4fajc4j24l8o,vbbkin6i1kcfjy4bdxdo,fpojko8d3s5h006uzn0x,8wd2wih4qr3e1ywpyfrf"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"checkout\": {\n        \"gateway\": \"Stripe\",\n        \"successful\": true,\n        \"stripe_publishable_key\": \"pk_test_51OhRMZCr0V40aw24g9bXYCrn5IoMN3tf3papGZLXLcZOdrCjLisQmvRNTF6Nv6ySjDDAGXunYuNZi3Oc0Z4XCJFF00ZsGtifP8\",\n        \"order\": {\n            \"id\": 445,\n            \"status\": \"active\"\n        },\n        \"checkout\": {\n            \"response\": {\n                \"id\": \"pi_3RZATaAJNn36VBPh2aKJbdNP\",\n                \"object\": \"payment_intent\",\n                \"amount\": 35,\n                \"amount_capturable\": 0,\n                \"amount_details\": {\n                    \"tip\": {}\n                },\n                \"amount_received\": 0,\n                \"application\": \"ca_PWUMUON0G6D517Gf3FLkxhfxtUr0Vrku\",\n                \"application_fee_amount\": 0,\n                \"automatic_payment_methods\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"manual\",\n                \"client_secret\": \"pi_3RZATaAJNn36VBPh2aKJbdNP_secret_d3TKtzoRb7DOUemPARnLyKg1J\",\n                \"confirmation_method\": \"automatic\",\n                \"created\": 1749732206,\n                \"currency\": \"gbp\",\n                \"customer\": \"cus_Qv5DSdsoyyTiPX\",\n                \"description\": null,\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"latest_charge\": null,\n                \"livemode\": false,\n                \"metadata\": {\n                    \"account_id\": \"acct_1OolKvAJNn36VBPh\",\n                    \"app_fee\": \"0.0\",\n                    \"app_fee_percentage\": \"1.0\",\n                    \"initial_payment\": \"true\",\n                    \"manual_payment\": \"true\",\n                    \"merchant_customer_id\": \"sdsdf\",\n                    \"merchant_invoice_id\": \"03E1140B41\",\n                    \"order_id\": \"445\",\n                    \"profile_id\": \"10\",\n                    \"profile_payment_method\": \"ECOM\"\n                },\n                \"next_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": null,\n                \"payment_method_configuration_details\": null,\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"mandate_options\": null,\n                        \"network\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"processing\": null,\n                \"receipt_email\": null,\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": null,\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"requires_payment_method\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            }\n        }\n    }\n}"}],"_postman_id":"364f98e6-4679-4857-954e-e42f0b511409"},{"name":"Notify Card Checkout Response","id":"8c531be2-3427-4674-9c7d-c89b1dca8e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"checkout\":{\n  \"id\": \"E304C4A099DEB29FFAA9060FB4EC2424.uat01-vm-tx02\",\n  \"resourcePath\": \"/v1/checkouts/E304C4A099DEB29FFAA9060FB4EC2424.uat01-vm-tx02/payment\"\n}\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/card/notify_checkout_response","description":"<h3 id=\"get-customer-cards\">Get Customer Cards</h3>\n<hr />\n<p>This endpoint retrieves the list of cards associated with a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]<br />  Example Response Body:[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","card","notify_checkout_response"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c531be2-3427-4674-9c7d-c89b1dca8e7f"},{"name":"Disable Card","id":"117146db-f77c-4324-881f-f2026a2a3ef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/card/{{card_id}}/disable_card","description":"<h3 id=\"get-customer-cards\">Get Customer Cards</h3>\n<hr />\n<p>This endpoint retrieves the list of cards associated with a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]<br />  Example Response Body:[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","card","{{card_id}}","disable_card"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"117146db-f77c-4324-881f-f2026a2a3ef3"},{"name":"Replace Card","id":"5069c9aa-c0d4-4961-9325-a36d933bbb15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/card/{{card_id}}/replace","description":"<h3 id=\"get-customer-cards\">Get Customer Cards</h3>\n<hr />\n<p>This endpoint retrieves the list of cards associated with a specific order in the customer portal.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/cards</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]<br />  Example Response Body:[ { \"id\": 0, \"last_four\": \"\", \"brand\": \"\", \"default\": true, \"active\": true, \"customer_id\": 0, \"registered\": \"\", \"expires_at\": \"\" }]</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","card","{{card_id}}","replace"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"5069c9aa-c0d4-4961-9325-a36d933bbb15"}],"id":"34643127-6b0a-4c3f-99d2-aab4b49d7130","_postman_id":"34643127-6b0a-4c3f-99d2-aab4b49d7130","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Order Checkout","item":[{"name":"Create","id":"7e22c6ac-5fb9-40eb-8a15-3e94a9f0f668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/order_checkout","description":"<h3 id=\"create-order-checkout\">Create Order Checkout</h3>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","order_checkout"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"2c540267-934f-4e29-a706-a689482dccaa","name":"Stripe Example","originalRequest":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/order_checkout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"13c344e9-12d1-4b29-81ba-38a93089be58"},{"key":"X-Runtime","value":"0.567504"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=13.59, instantiation.active_record;dur=0.96, transaction.active_record;dur=7.44, render_template.action_view;dur=0.21, process_action.action_controller;dur=511.95"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"7cq01nqv5tc89ox6mhqq,lxsyu4cobvmx0m7a656c,k0beywaa4mhxgw6pfl7d,4zfoeglqtskfhqv2u3nq,5littrs5jtc4aybua2uo,5wrrac6devzil9p5c7ll,hlxaio76t6t4ymz4zj67,ga2spxmrb02pnes89msu,ieawrwdwtck06pjcnsg1,skb8q10joo9o6ge62vl2,strxg9ilsokg8mjwts1v,6ijl0uauqzjm8wjzc8bd,r1wq8gypj0wel2ipj4hn,kk5dwssee18hdrrmd7w5,v6mci71sx1v7crpg43gz,eh0uea25e5q8420llptx,l95vfmajlicczr1iychf,ks8yzo0qpsvj66qxc7yd,vc8wlfs6rn4sd0w5d2fa,lh8tdll9uox8beifyfg4"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"checkout\": {\n        \"gateway\": \"Stripe\",\n        \"successful\": true,\n        \"stripe_publishable_key\": \"pk_test_51OhRMZCr0V40aw24g9bXYCrn5IoMN3tf3papGZLXLcZOdrCjLisQmvRNTF6Nv6ySjDDAGXunYuNZi3Oc0Z4XCJFF00ZsGtifP8\",\n        \"order\": {\n            \"id\": 448,\n            \"status\": \"pending\",\n            \"initial_amount\": \"84.26\",\n            \"currency\": \"GBP\"\n        },\n        \"checkout\": {\n            \"response\": {\n                \"id\": \"pi_3RVtpwAJNn36VBPh3p4suzSO\",\n                \"object\": \"payment_intent\",\n                \"amount\": 8426,\n                \"amount_capturable\": 0,\n                \"amount_details\": {\n                    \"tip\": {}\n                },\n                \"amount_received\": 0,\n                \"application\": \"ca_PWUMUON0G6D517Gf3FLkxhfxtUr0Vrku\",\n                \"application_fee_amount\": 84,\n                \"automatic_payment_methods\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"client_secret\": \"pi_3RVtpwAJNn36VBPh3p4suzSO_secret_viIJ2wpr0qKMR26SEk1iBB0Qz\",\n                \"confirmation_method\": \"automatic\",\n                \"created\": 1748953260,\n                \"currency\": \"gbp\",\n                \"customer\": \"cus_Qv5DSdsoyyTiPX\",\n                \"description\": null,\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"latest_charge\": null,\n                \"livemode\": false,\n                \"metadata\": {\n                    \"account_id\": \"acct_1OolKvAJNn36VBPh\",\n                    \"app_fee\": \"0.8426\",\n                    \"app_fee_percentage\": \"1.0\",\n                    \"initial_payment\": \"true\",\n                    \"manual_payment\": \"true\",\n                    \"merchant_customer_id\": \"sdsdf\",\n                    \"merchant_invoice_id\": \"990D4C6AE8\",\n                    \"order_id\": \"448\",\n                    \"profile_id\": \"10\",\n                    \"profile_payment_method\": \"ECOM\"\n                },\n                \"next_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": null,\n                \"payment_method_configuration_details\": null,\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"mandate_options\": null,\n                        \"network\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"processing\": null,\n                \"receipt_email\": null,\n                \"review\": null,\n                \"setup_future_usage\": null,\n                \"shipping\": null,\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"requires_payment_method\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            }\n        }\n    }\n}"},{"id":"5bb8ff25-403e-4e8a-bf23-16ac393178d6","name":"Payon Example","originalRequest":{"method":"POST","header":[],"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/order_checkout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-bullet-footer-text","value":"[\"user: eugeniu  AVOID eager loading detected    OrderProduct =\\u003e [:product]\\n  Remove from your query: .includes([:product])\",\"user: eugeniu  AVOID eager loading detected    Product =\\u003e [:product_unit]\\n  Remove from your query: .includes([:product_unit])\"]"},{"key":"X-bullet-console-text","value":"[\"user: eugeniu\\nAVOID eager loading detected\\n  OrderProduct =\\u003e [:product]\\n  Remove from your query: .includes([:product])\\nCall stack\\n  /Users/eugeniu/wdir/zing/z_terminal/app/controllers/api/v1/customer_portal/order_checkouts_controller.rb:161:in `setup_default_params'\\n  /Users/eugeniu/wdir/zing/z_terminal/app/controllers/api/v1/customer_portal/order_checkouts_controller.rb:7:in `create'\\n\\n\",\"user: eugeniu\\nAVOID eager loading detected\\n  Product =\\u003e [:product_unit]\\n  Remove from your query: .includes([:product_unit])\\nCall stack\\n  /Users/eugeniu/wdir/zing/z_terminal/app/controllers/api/v1/customer_portal/order_checkouts_controller.rb:153:in `setup_default_params'\\n  /Users/eugeniu/wdir/zing/z_terminal/app/controllers/api/v1/customer_portal/order_checkouts_controller.rb:7:in `create'\\n\\n\"]"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"378cfe71-dbde-4fca-a8ff-74f3683cc049"},{"key":"X-Runtime","value":"0.258828"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=12.31, instantiation.active_record;dur=0.99, transaction.active_record;dur=5.92, render_template.action_view;dur=5.56, process_action.action_controller;dur=203.27"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"qg0tjdfs1yv7u8c2493h,cvrio3so8suavlujdn0r,kaopwj5pc5df283ogts1,dn3bqqb4j5su65zviwif,q338g2sppyam5u7c0c55,hdnlvum4yrhavsellhv3,ykaek26lohyfzahr1gk5,tchkfznley7qyolkokzn,t78egwtjlryxtys0m8je,4yj33v8st5mug1amekdd,kcpkk56eka2s0pxf0oql"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Accept, Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"checkout\": {\n        \"gateway\": \"Pay.on\",\n        \"successful\": true,\n        \"order\": {\n            \"id\": 657,\n            \"status\": \"draft\",\n            \"initial_amount\": \"237.0\",\n            \"currency\": \"EUR\"\n        },\n        \"payon_config\": {\n            \"payon_supported_brands\": \"VISA MASTER AMEX APPLEPAY GOOGLEPAY\",\n            \"google_pay\": {\n                \"gateway_merchant_id\": \"8ac7a4c775d9e9fa0175dc2d49a00d8b\",\n                \"merchant_id\": \"test\"\n            },\n            \"apple_pay\": {\n                \"merchant_identifier\": \"8ac7a4c775d9e9fa0175dc2d49a00d8b\",\n                \"merchant_name\": \"Company Name\"\n            }\n        },\n        \"checkout\": {\n            \"response\": {\n                \"payload\": {\n                    \"result\": {\n                        \"code\": \"000.200.100\",\n                        \"description\": \"successfully created checkout\"\n                    },\n                    \"buildNumber\": \"ab5389e10ff07753ef7d4fb9803b3426348d2fda@2025-10-17 00:42:42 +0000\",\n                    \"timestamp\": \"2025-10-20 14:20:34+0000\",\n                    \"ndc\": \"3EF6339029333C52C5FFA2B616E49663.uat01-vm-tx02\",\n                    \"id\": \"3EF6339029333C52C5FFA2B616E49663.uat01-vm-tx02\",\n                    \"integrity\": \"sha384-M6Y92hCEKpSDeYJ8vEtKkPRNkmthh6oPUSbDkkhIAoySydfbt2kNYZ07ZlQvKyl6\"\n                },\n                \"payment_brand\": \"unknown\",\n                \"result_code\": \"000.200.100\",\n                \"result_description\": \"successfully created checkout\",\n                \"result_type\": \"soft_declined\"\n            }\n        }\n    }\n}"}],"_postman_id":"7e22c6ac-5fb9-40eb-8a15-3e94a9f0f668"},{"name":"Notify Checkout Response","id":"cd9d8808-355f-47a1-aa31-6923a5429e2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"checkout\": {\n        \"id\": \"pi_3RWDKeAJNn36VBPh34cfXrmj\",\n        \"payment_intent_client_secret\": \"pi_3RWDKeAJNn36VBPh34cfXrmj_secret_mU62kfVTfheCxBKFHRHVm3NAA\",\n        \"redirect_status\": \"succeeded\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/notify_checkout_response","description":"<p>Notify Order Checkout Response</p>\n<p>After submitting the checkout, the user is redirected to the same URL or to the specified checkout URL with parameters added to the URL.</p>\n<p>These parameters must be collected and sent within the checkout parameter to this endpoint to notify the checkout response.</p>\n<p>Check examples for payon and stripe.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v1","customer_portal","order","{{order_id}}","{{token}}","notify_checkout_response"],"host":["API_BASE_URL"],"query":[{"disabled":true,"key":"checkout[payment_intent]","value":"pi_3RWDKeAJNn36VBPh34cfXrmj"},{"disabled":true,"key":"checkout[payment_intent_client_secret]","value":"pi_3RWDKeAJNn36VBPh34cfXrmj_secret_mU62kfVTfheCxBKFHRHVm3NAA"},{"disabled":true,"key":"checkout[redirect_status]","value":"succeeded"}],"variable":[]}},"response":[{"id":"e00168d9-6edb-4d6e-81d6-52cb6a28672d","name":"Stripe Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"checkout\":{\n        \"payment_intent\": \"pi_3RWDKeAJNn36VBPh34cfXrmj\",\n        \"payment_intent_client_secret\": \"pi_3RWDKeAJNn36VBPh34cfXrmj_secret_mU62kfVTfheCxBKFHRHVm3NAA\",\n        \"redirect_status\": \"succeeded\"\n        }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v1/customer_portal/order/{{order_id}}/{{token}}/notify_checkout_response"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"65560501-b18b-488f-9ccf-1853084e4791"},{"key":"X-Runtime","value":"1.013435"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=66.84, instantiation.active_record;dur=23.68, enqueue.active_job;dur=0.67, render_template.action_view;dur=0.52, process_action.action_controller;dur=942.40"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"66ilpaghit080ugp94jb,hlxaio76t6t4ymz4zj67,ieawrwdwtck06pjcnsg1,eh0uea25e5q8420llptx,sb9yyy68n2fhra3je8jz,ylhb8fxcx4tj5k82mlr9,386wdwd55pcxd45pifnu,7vaxvjit071qio1ahe30,c129v8ktssggezmz3z2i,rmmh0rpgr5yue31ptlvc"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"successful\": true,\n    \"payment_id\": 1096,\n    \"order_id\": 448,\n    \"gateway_payment_id\": \"pi_3RWDKeAJNn36VBPh34cfXrmj\",\n    \"redirect_url\": null,\n    \"failed_redirect_url\": null\n}"}],"_postman_id":"cd9d8808-355f-47a1-aa31-6923a5429e2b"}],"id":"1530c8b1-bdb2-439d-a06f-8382d2b1e424","_postman_id":"1530c8b1-bdb2-439d-a06f-8382d2b1e424","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}}],"id":"8f060e7a-67fe-4b68-82a2-9718f3da2d2d","_postman_id":"8f060e7a-67fe-4b68-82a2-9718f3da2d2d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"V2","item":[{"name":"User","item":[{"name":"Login","id":"8899d785-14aa-4ec3-9f6f-d7c735105bdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"user\": {\"email\": \"newuser@example.com\", \"password\": \"newsecurepassword\"}}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","login"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"a857d650-0397-4e7d-9a10-b05a487d04c4","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"user\": {\"email\": \"newuser@example.com\", \"password\": \"newsecurepassword\"}}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI4ZGZhMDBhYy03ZTJiLTRlMWYtYmFhOC0xNzg0ZTUyZTQ4NGEiLCJzdWIiOiI0NiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1Mjc0NDYyNSwiZXhwIjoxNzUyNzQ2NDI1fQ.HYANYn564rNyqqczLa2SqDGDmZu0xWbU00apJ28eIGk"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=t5GmO8ThW1BElId6wjwnU9DZglcE2IAqpwuchoKA67fBCujvtkq92UnR16NSkPE1yzUaO7KLbcxR2O%2FYghab%2FonfQAdPDkrxkJRwNr4fr5o8K5CKLSupP2bkfhU3I7uOi0wBn27WKoVDBImjesChY9hWVDnCdNeZjG17EmjYlHETz4NpXg%2FECqvi0nDHG1JO8bL3%2BryHU9bLmXGVV05UoVJ2eTzepyne%2BB4bEIOdQToBwMfjNiptTAJ0MZ2qzEAUCdpphaHHz%2FJj5GkG%2FgL1OofqsYSUv%2F310O98--L9g3QFK5gIqPEYsz--4TZ7WdTDKNKd81Y5j3s9Cg%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"87afb069-8282-48a4-aae9-466c7ad5f108"},{"key":"X-Runtime","value":"0.935846"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=33.99, instantiation.active_record;dur=0.08, transaction.active_record;dur=4.02, cache_delete.active_support;dur=0.75, render.active_model_serializers;dur=0.07, process_action.action_controller;dur=880.41"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"3jc0xuwlo7n08gb8ttsd,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i,2s8od78x8yympgbiy9gi,vyrtb66l7biwpz3a762a,fqp7m3td7k56efatqgsy,w59hncfrnobp8f7q24d1,mmdgv28s9ilcstvee2f4,5ymvstt4fbeb0csbbope,tbqtu2ft3gl1byqhcjcn,2o10vbp05l43bm2quwsq"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI4ZGZhMDBhYy03ZTJiLTRlMWYtYmFhOC0xNzg0ZTUyZTQ4NGEiLCJzdWIiOiI0NiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1Mjc0NDYyNSwiZXhwIjoxNzUyNzQ2NDI1fQ.HYANYn564rNyqqczLa2SqDGDmZu0xWbU00apJ28eIGk\",\n    \"user\": {\n        \"id\": 46,\n        \"email\": \"newuser@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"role\": \"restricted_user\",\n        \"updated_at\": \"2025-07-17T09:30:25.405Z\",\n        \"profile_ids\": []\n    }\n}"},{"id":"91d385e2-697b-4c6f-930d-3ec2e5a5d73b","name":"Disabled user response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"user\": {\"email\": \"eugeniu@zing.gg\", \"password\": \"ZingTest1\"}}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Set-Cookie","value":"_z_terminal_session=I7mHuQ7eqNbbNqHtjxFfNEpDEJc7axqYLHHldyGML9GH5Z3vIleA%2FuwedVyRBmlsXX1gth2AA8GHFIOeZNitELizkYxJSUpCY0xQCbs5FcvFatdPP0dStWQtmyQ%2FpHcTT022LTCkQjMqTd0dqcxw2W3t1GxJ88VUpGwDbRC54Q%2FBCSpXgI2jbY6Bhw%3D%3D--V%2B3WWmCFcoeI6TI2--Wilg0S6YbI6RxGyi0hs5aw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"802b39ab-e865-4745-8b42-bc247789069b"},{"key":"X-Runtime","value":"0.512360"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=10.68, instantiation.active_record;dur=3.94, transaction.active_record;dur=3.89, cache_delete.active_support;dur=0.91, process_action.action_controller;dur=290.15"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Your account is not activated yet.\"\n}"}],"_postman_id":"8899d785-14aa-4ec3-9f6f-d7c735105bdc"},{"name":"Signup","id":"aed7be62-34af-4ce3-bc7e-cbbdd75f9d22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n      \"email\": \"newuser@example.com\",\n      \"password\": \"password123\",\n      \"password_confirmation\": \"password123\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/signup","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","signup"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"abf38645-7761-4d2b-9b6a-b32effc5ac31","name":"Signup","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n      \"email\": \"newuser@bill.pro\",\n      \"password\": \"password123\",\n      \"password_confirmation\": \"password123\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=%2FEhDBWSqEMSBZmQEuKIAyJtapnGUAtKhF01IIxEwpCcobPN%2FRy1hERUiff87vLVLliXRlQSNiDX53KxgLMAHuOV09lZ3Vm8rsEN3Hffa0FhYbxSOBCaSyLy68LBovVHuX3PrGIyGl7cY29FYVRTyUsKhfsZubKJKr8EtxEqk9vWiVZ5czV5ElWvKXhUFeW4f8yjGg0RIP9fGs2uIgXcgWmJ0V3nwVlUHkvz93e9vaF%2BElAQYpph1uuYkNTg%2F2X%2FblMGzSXRdpNB1xXvDfbkiX3BTZ87PwaGY9x1O--O%2BMyj3k6j6YCXkT1--DmcTxyptvfo39cFlHotJOw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"35a804fa-0e88-48ab-abb0-abed00e11036"},{"key":"X-Runtime","value":"0.903310"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.03, sql.active_record;dur=70.28, instantiation.active_record;dur=4.68, transaction.active_record;dur=59.70, cache_delete.active_support;dur=2.97, render_template.action_view;dur=3.99, render_layout.action_view;dur=5.29, process.action_mailer;dur=53.41, deliver.action_mailer;dur=31.97, render.active_model_serializers;dur=0.14, process_action.action_controller;dur=603.29"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"jgrrzrkljhvjzaftlr28,62g6uvmo9dga1pqowa0,w0aaxvsgkjj992obpb6d,sf40709oqlsuzt9xl0t1,zc1iapyzn7ugseht5jni,hykjgmkbvvwnkw68oump,u8iy37yxdpbedt2p1ico,o0ooqbax3q1zt6x376z7,e8pokzhlhvxbjupeyfpz,2orut5tdz4s0aoa5b0f7,n67e4m7nugvhkfos1ozi,n7hn3d169yzl90jnfwt8,x6zwoql4gnutn6zkqohd,y3cyftgy27v36u2le5g3,t25onn6w3ii23ysdfdq1,z2nt4j7q4tosofif04aj,3lms32s7h514p22ac1xe,o7799cuwb5b648f2384v"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI3YzgxNmJlNS0wNjRhLTQ1ODYtYjE3Mi05NGJlMjUzODlhZTIiLCJzdWIiOiI0NyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MjgzMDkzNywiZXhwIjoxNzUyODMyNzM3fQ.9fGolqrk8DGm5GYOmsb11AU7qONX_pf5Cbxe-FotwWI\",\n    \"user\": {\n        \"id\": 47,\n        \"email\": \"newuser@bill.pro\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"role\": \"restricted_user\",\n        \"updated_at\": \"2025-07-18T09:28:57.015Z\",\n        \"profile_ids\": []\n    },\n    \"message\": \"Please confirm your email address to fully activate your account.\"\n}"}],"_postman_id":"aed7be62-34af-4ce3-bc7e-cbbdd75f9d22"},{"name":"Logout","id":"a1896b19-8088-4688-804b-a7c45b2b88c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","logout"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"19af54ce-571e-4b0e-9993-61a3ae66fca9","name":"Logout response","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/logout"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=LjAyQ%2Frfkirnp3D142XD2PYmbK92%2BuulViDJa4R20Y5SUZpHFnBzESfMWpBje9OXz5rUMo7IeGcvvQsEzm7BZNyZEQ2AdEjiLJ6A6CbYYgT5sVUH3WLxVrvgo%2FLYOusQr76N%2BdUWLEIlj2H0mIXj7WvzzD18Xf0fOqjOx0wJkBF6YpsjEnfJAL5Bpg%3D%3D--L0yMUeyMUXhnuVQq--wZFywSkS2gY%2BQDGq4%2FvXqw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"3e8f5eb9-cdad-4f47-8a30-0be70a67bd9f"},{"key":"X-Runtime","value":"0.375910"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=29.02, instantiation.active_record;dur=3.83, transaction.active_record;dur=8.15, cache_delete.active_support;dur=1.04, process_action.action_controller;dur=51.06"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"no-cache"},{"key":"X-MiniProfiler-Ids","value":"331pg9wenjmnbbt2nuro,t1q8wbze9lz2n14gjmdv,8zzmvbkbkhqdd844otf9,r9zqyvna42ktelxfkkg7,osltl3436ygtnn31yenj,3hezimhy3lu3baj9h4fx,5i297mmhhgirj06itjpr"},{"key":"vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a1896b19-8088-4688-804b-a7c45b2b88c1"},{"name":"Revoke App Token","id":"ca2c76ca-27c2-4836-a793-08e675e98dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/token/revoke","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","token","revoke"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"8fca7566-c169-4264-8b66-171bc401c472","name":"App Token Revoke","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/token/revoke"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=Ql%2Fdq4yRn5UihPAA9TlfQ6HhlP%2BmGnDcCFRXdzfo8%2B8mkU6IY1ZSeAyitIbURi8xtSkE%2BASA2CUTCtB6Lx%2BB5vY9VBaL6N%2FpsyF5SLZhQCOwW4qq73NqIuAmRnG%2BgizIl%2FBeU7pdn3C2uuGcIzyfPBivGvYcW7vmihkxJinyJsd1Kf%2Fs%2FRG0Me%2BHiNE4Ps4EJpcxocxbYPdnAL8TpoTF1nZVEJfyVJT9Zy6osriK6h%2F4T8Sbg7hUXKgWASGEH%2B82cIspQuDGRXCNrQ6V0cYYRW7UkXL%2BiyxyfZv3--KXJHxLQYcd0Pdxft--UTSACrKETKYrjAfAUfEvVA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"9334f0d3-caec-4cc8-8c22-138d30e4861a"},{"key":"X-Runtime","value":"0.087366"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=25.01, instantiation.active_record;dur=0.09, transaction.active_record;dur=10.13, cache_delete.active_support;dur=0.87, render.active_model_serializers;dur=0.02, process_action.action_controller;dur=39.44"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"vtfm3r9ulwzeumconur6,t1q8wbze9lz2n14gjmdv,8zzmvbkbkhqdd844otf9,r9zqyvna42ktelxfkkg7,osltl3436ygtnn31yenj,3hezimhy3lu3baj9h4fx,5i297mmhhgirj06itjpr,331pg9wenjmnbbt2nuro,r2qo7uhbnuktvwwzksju,jwq776obhh326wi50tui,3uzt5fpp62d8nw8l6ic2,9sy2u10xc6nn98sgbvj2"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_token\": \"xp4RNykhDPSrRXNyPeoe25r298qSqq5jVR2SxDkhbdcwv3TqkdXNoiXRqEamos6H\"\n}"}],"_postman_id":"ca2c76ca-27c2-4836-a793-08e675e98dc0"},{"name":"Confirm Email","id":"cba107b9-8d44-4980-ad4d-955fa84b13bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"API_BASE_URL/api/v2/confirm?confirmation_token={{confirmation_token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","confirm"],"host":["API_BASE_URL"],"query":[{"key":"confirmation_token","value":"{{confirmation_token}}"}],"variable":[]}},"response":[{"id":"9b7e950a-74df-4e7b-93a1-b815510290f3","name":"Email Confirmaition Response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n      \"email\": \"newuser@example.com\",\n      \"password\": \"password123\",\n      \"password_confirmation\": \"password123\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\"\n    }\n  }"},"url":{"raw":"API_BASE_URL/api/v2/confirm?confirmation_token={{confirmation_token}}","host":["API_BASE_URL"],"path":["api","v2","confirm"],"query":[{"key":"confirmation_token","value":"{{confirmation_token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"edfe8e55-57c9-4e95-a784-956a7cf6ed7c"},{"key":"X-Runtime","value":"0.073056"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=7.11, instantiation.active_record;dur=0.16, transaction.active_record;dur=5.75, cache_delete.active_support;dur=0.83, render.active_model_serializers;dur=0.03, process_action.action_controller;dur=16.16"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"9az8mdkd0sfhetpeeqk1,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email confirmed successfully.\"\n}"}],"_postman_id":"cba107b9-8d44-4980-ad4d-955fa84b13bf"},{"name":"Resend Confirmation Token","id":"c7e5a2fd-b0a0-4ae7-8540-43285f05cef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/confirm/resend","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","confirm","resend"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"c2e77b13-934a-473a-bb85-016448033c14","name":"Confirmation Resend Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/confirm/resend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"951bf64e-b13e-47ff-85f8-bd1258e91c11"},{"key":"X-Runtime","value":"0.291676"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=8.69, instantiation.active_record;dur=7.81, transaction.active_record;dur=1.97, cache_delete.active_support;dur=1.10, render_template.action_view;dur=0.78, render_layout.action_view;dur=1.56, process.action_mailer;dur=4.72, deliver.action_mailer;dur=10.50, render.active_model_serializers;dur=0.03, process_action.action_controller;dur=40.47"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"t1uifnyosmu4jvmbgtqe,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Confirmation instructions resent.\"\n}"}],"_postman_id":"c7e5a2fd-b0a0-4ae7-8540-43285f05cef7"},{"name":"Resend Unlock","id":"354e5c5e-ca57-4596-bc3c-4b7054d95d78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}\n","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/unlock/resend","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","unlock","resend"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"fbe23595-17fd-4c21-ba99-0583076f6a05","name":"Resend Unlock","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}\n","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/unlock/resend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"eac2f0bd-7d62-4375-80b6-48f565236b43"},{"key":"X-Runtime","value":"0.177801"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.06, sql.active_record;dur=27.21, instantiation.active_record;dur=0.12, transaction.active_record;dur=11.79, cache_delete.active_support;dur=0.87, render_template.action_view;dur=1.05, render_layout.action_view;dur=1.40, process.action_mailer;dur=4.20, deliver.action_mailer;dur=9.73, render.active_model_serializers;dur=0.04, process_action.action_controller;dur=110.15"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"kyuqdmto91o71u8g214i,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unlock instructions resent.\"\n}"}],"_postman_id":"354e5c5e-ca57-4596-bc3c-4b7054d95d78"},{"name":"Unlock Account","id":"c37bb2a7-dfff-45c5-a292-5dd717908af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"API_BASE_URL/api/v2/unlock?unlock_token={{unlock_token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","unlock"],"host":["API_BASE_URL"],"query":[{"key":"unlock_token","value":"{{unlock_token}}"}],"variable":[]}},"response":[{"id":"c1fa098d-35aa-4565-906e-6a613f0b3dbe","name":"Unlock Account","originalRequest":{"method":"GET","header":[],"url":{"raw":"API_BASE_URL/api/v2/unlock?unlock_token={{unlock_token}}","host":["API_BASE_URL"],"path":["api","v2","unlock"],"query":[{"key":"unlock_token","value":"{{unlock_token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"3dc1e263-f527-4121-acdc-ec3046f25b5d"},{"key":"X-Runtime","value":"0.075424"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.10, sql.active_record;dur=4.49, instantiation.active_record;dur=0.10, transaction.active_record;dur=3.83, cache_delete.active_support;dur=0.96, render.active_model_serializers;dur=0.03, process_action.action_controller;dur=10.37"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"2s8od78x8yympgbiy9gi,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account unlocked successfully.\"\n}"}],"_postman_id":"c37bb2a7-dfff-45c5-a292-5dd717908af2"},{"name":"Send Password Reset Instructions","id":"759c5619-ccab-41b8-83f6-fb7c135a631c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/password/forgot","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","password","forgot"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"fef572c5-af8b-4eef-9e47-2e96251fd6b7","name":"Send Password Reset Instructions","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"newuser@example.com\"}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/password/forgot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"f2e7feb0-ee3c-4531-ba38-ce76bdcdf449"},{"key":"X-Runtime","value":"0.183661"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=12.79, instantiation.active_record;dur=4.54, transaction.active_record;dur=11.32, cache_delete.active_support;dur=0.86, render_template.action_view;dur=0.67, render_layout.action_view;dur=1.23, process.action_mailer;dur=4.37, deliver.action_mailer;dur=10.55, render.active_model_serializers;dur=0.07, process_action.action_controller;dur=101.68"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"tbqtu2ft3gl1byqhcjcn,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i,2s8od78x8yympgbiy9gi,vyrtb66l7biwpz3a762a,fqp7m3td7k56efatqgsy,w59hncfrnobp8f7q24d1,mmdgv28s9ilcstvee2f4,5ymvstt4fbeb0csbbope"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Reset instructions sent to your email\"\n}"}],"_postman_id":"759c5619-ccab-41b8-83f6-fb7c135a631c"},{"name":"Password Reset","id":"4b31c540-9935-4dcc-bff3-538a4a910a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reset_password_token\": \"9E5FesgdXsUMkZ7uqvJU\",\n    \"password\": \"newsecurepassword\",\n    \"password_confirmation\": \"newsecurepassword\"\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/password/reset","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","password","reset"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"512a5180-a9de-4f60-a5c1-97fe9d13e8db","name":"Password reset response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reset_password_token\": \"9E5FesgdXsUMkZ7uqvJU\",\n    \"password\": \"newsecurepassword\",\n    \"password_confirmation\": \"newsecurepassword\"\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/password/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"X-Request-Id","value":"64e5b1bd-7c2a-48f5-8a2e-cc84493bc052"},{"key":"X-Runtime","value":"0.438659"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=32.97, instantiation.active_record;dur=8.60, transaction.active_record;dur=8.80, cache_delete.active_support;dur=0.89, render.active_model_serializers;dur=0.02, process_action.action_controller;dur=378.38"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"2o10vbp05l43bm2quwsq,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i,2s8od78x8yympgbiy9gi,vyrtb66l7biwpz3a762a,fqp7m3td7k56efatqgsy,w59hncfrnobp8f7q24d1,mmdgv28s9ilcstvee2f4,5ymvstt4fbeb0csbbope,tbqtu2ft3gl1byqhcjcn"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password has been reset successfully\"\n}"}],"_postman_id":"4b31c540-9935-4dcc-bff3-538a4a910a9a"},{"name":"User","id":"3cc60a7e-e10f-4d95-a8d1-30483a354d9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","me"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"d65b9616-f124-4d51-b845-e17ba20f09c9","name":"Me ( User Details )","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=zRCc%2BghU0a07UV1tkRwwJpVHzepIgVCen5ksN65Kn7FsUNsusLp8O8WYdRBy4mRaGraqR9pkuNyLH5FOlQ6HcZYu2LSPfcwmqVpFDQ5Q%2Bj9UN1LPDUerBEvLpKaea7A9foHq5bNuszIHvqOZGbe4BhLr2bKwGSHARYppWtczszLizgauXCaziyA3NMg9%2FgW9PVMGwj11sWR0OyokgJh9Ea1dzqNjxbael%2FpEjy5jKZpRy4cFMomxWR%2Fh%2FMTHu87fhLXBfOaSEJAbh9tDLd7XpCkEBA%2BI2JSlgSxG--vQTk06t2%2FW2v6lAA--6aM9vzhDmJaA1%2F1d9cqOaQ%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"dc3fa274-5c90-49a5-bcd7-097bc860c6a4"},{"key":"X-Runtime","value":"0.695042"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=32.31, instantiation.active_record;dur=3.89, render.active_model_serializers;dur=0.10, process_action.action_controller;dur=445.06"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"5tyret7c9qhxapw1r16q,s30357ncf348hcmgb2pm,3jc0xuwlo7n08gb8ttsd,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i,2s8od78x8yympgbiy9gi,vyrtb66l7biwpz3a762a,fqp7m3td7k56efatqgsy,w59hncfrnobp8f7q24d1,mmdgv28s9ilcstvee2f4,5ymvstt4fbeb0csbbope"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 46,\n    \"email\": \"newuser@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"role\": \"restricted_user\",\n    \"updated_at\": \"2025-07-17T09:30:25.405Z\",\n    \"profile_ids\": []\n}"}],"_postman_id":"3cc60a7e-e10f-4d95-a8d1-30483a354d9c"},{"name":"Update User","id":"0d6ede11-38fd-499d-8d9a-f839e9715093","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","me"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"c559426a-5210-4438-97d3-517050e10b69","name":"Me ( User ) Copy","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=JIKXuHQ1KP%2BEprZmxZXmci7pQNv8papIO7oSKsUJT%2FlkOryJMdwQTfO3QAVoJV2D%2BNploHA73aycwrkZKU%2BHhT0c4afwifjYXAglvOfBO4vg1dDrciLpY%2B%2Fe7x%2BfUcVTTPDc9%2B6%2FtlsaB%2BuBkfo6VSiq6k%2BciWr9Zgsc2g90L6XNV1XBP%2FAthXsTPdo17WzNgqf%2Bft2ky0vnVHiNH69smvZZtXymEkKrNCj4aKFimHE3wiT%2BXOTLOFB2iBwKWiKPWnQcozBVhcKArseZZBIxmsq%2Bt1citBWrpkgn--DQQT2R78k4UrmGm%2B--274Lyj6GLbjFT0XDmsCanQ%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"e9e68de2-200a-4c2e-9589-ce21b862b03a"},{"key":"X-Runtime","value":"0.089082"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=11.41, instantiation.active_record;dur=5.05, transaction.active_record;dur=2.13, cache_delete.active_support;dur=1.60, render.active_model_serializers;dur=0.03, process_action.action_controller;dur=24.93"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"3glj39npggik3i3a3t9,5tyret7c9qhxapw1r16q,s30357ncf348hcmgb2pm,3jc0xuwlo7n08gb8ttsd,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id,cqzpaw4l8gfamcptu5vd,ietrx8orx9u9ak87r3yw,t1uifnyosmu4jvmbgtqe,lm1ith60wuvy7n5x8l4e,kyuqdmto91o71u8g214i,2s8od78x8yympgbiy9gi,vyrtb66l7biwpz3a762a,fqp7m3td7k56efatqgsy,w59hncfrnobp8f7q24d1,mmdgv28s9ilcstvee2f4"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User updated successfully\"\n}"}],"_postman_id":"0d6ede11-38fd-499d-8d9a-f839e9715093"}],"id":"66622377-792b-407c-8b76-6253c1111205","_postman_id":"66622377-792b-407c-8b76-6253c1111205","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Tax","item":[{"name":"Taxes","id":"91441970-315b-43fe-a422-8bdcddf7560c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"e34855bc-1c97-4764-852c-d3905558d82a","name":"Taxes","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=9Ck6jl7P9DxHzbosPMeLvDKcFlHH2mG54wcUXG3lBBEkmpphrHlxkDTexuMgOQpNBKcyNaHy530yFJ2CrgLJeEaxGQCSZNjxjNE9DoBuJ6rf9K4HYMy92lCp6Z1CxxpIZU45GAObwHLuXhTjlNY1RBJAYahfOAvEYPurGFO891NV1ge%2BiNq2%2BJ8U3MHg%2B6UiQ6IMiEdZlcW6DUbjeweutgKMKM341ORTgjOalc9zeEn0Z2z8b3imnYfduMa7b5lvYOjCHTWYNzINAx5U3PPtDJsODfGyewG1V4WP--QINSAFVAzjsEeA3a--pdk6mDKwVju1kHL3%2BJqTyA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"82556f3f-9a79-49d1-87eb-4d9127d9d497"},{"key":"X-Runtime","value":"0.321864"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.10, sql.active_record;dur=23.84, instantiation.active_record;dur=12.10, render.active_model_serializers;dur=0.12, process_action.action_controller;dur=80.29"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"1t40y0b7ouencngoilyx,jnv67bmxgxunsd0l392x,jezpvze0i4ngwlt6vdfn,arb8zz5q1oqox4qpn8hs,n6dxgwxgurd5c23d71lr,kovteliwjkzy7kgqd52k,en62lww17exinqoyj2gi,w77pctrtu0czgf1qnq10,zbun5f76uh8op0nynn14,qqbejdhawyq69d77ay0h,3glj39npggik3i3a3t9,5tyret7c9qhxapw1r16q,s30357ncf348hcmgb2pm,3jc0xuwlo7n08gb8ttsd,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"taxes\": [\n        {\n            \"id\": 4,\n            \"active\": true,\n            \"created_at\": \"2024-08-04T18:48:16.769Z\",\n            \"description\": \"\",\n            \"name\": \"Tax\",\n            \"percentage\": \"25.0\",\n            \"updated_at\": \"2024-08-04T18:48:16.769Z\"\n        }\n    ],\n    \"pagination\": {\n        \"total_count\": 1,\n        \"total_pages\": 1,\n        \"current_page\": 1,\n        \"items_per_page\": 20,\n        \"next_page\": null,\n        \"prev_page\": null\n    }\n}"}],"_postman_id":"91441970-315b-43fe-a422-8bdcddf7560c"},{"name":"Create Tax","id":"8a17fc52-9ae9-47ac-8d04-335d81b587eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA 21%\",\n      \"description\": \"Impuesto estándar\",\n      \"percentage\": 21,\n      \"active\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"c14a1aa8-52c5-460a-b44c-d7ac99cbfa71","name":"Create Tax","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA 21%\",\n      \"description\": \"Impuesto estándar\",\n      \"percentage\": 21,\n      \"active\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=JIQLB8QpU9TrV0w70cdA%2F%2B1GJliBuaXp8yG48zbdDISeQUKN6tCcxMH0oHK0cEETmYhJyymTK%2B128yqlauNt0OBuQ7cfVPMHrStyGkRM4z60GveRpLcg8IxUr8tHP4YZIreZsZLzPQyijzm%2FSo6Zb6TNmYm835SycEGfCY5p5SJknkcXXcYVHor5XNaG4qVfQ0XckKI5Kg83EqQFHXs%2FF7OxRyLU4wIO%2FkHHepKQS%2FqrU53Vbzdkqh23DV0qVzJCMyS7%2BeiSc1UQuaP5VzEj1tQFJkSeUfGzJBBa--UXIUM3Zh6%2FWUvD%2Bf--wS6fTTM76Ff4XELNp%2FfZDQ%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"eafb5947-7e5a-4639-853a-2a1e82b183ef"},{"key":"X-Runtime","value":"0.071128"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=7.52, instantiation.active_record;dur=0.17, transaction.active_record;dur=4.21, process_action.action_controller;dur=12.74"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"n01x3nptlcv9dkpl53dr,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA 21%\",\n    \"percentage\": \"21.0\",\n    \"updated_at\": \"2025-07-17 16:21:04 UTC\"\n}"}],"_postman_id":"8a17fc52-9ae9-47ac-8d04-335d81b587eb"},{"name":"Update Tax","id":"2100f34d-2c51-4954-9603-e18046dd7473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA reducido.\",\n      \"percentage\": 10\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"27d6a853-3207-434d-a023-b068fdd056a1","name":"Update Tax","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA reducido.\",\n      \"percentage\": 10\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=1T8so8t73KHMRP2SVhN%2BUcqfeGMzdyCRKcVnVyZCZvGFDia7Dceys1813rIvQiZxxy4An77aiQcQfaKh3JHml5ot%2Fj%2B03wKIdH9koxiTvqi%2Bvx0lviNkDhwj9Mk6H6fJHNq5KBjrk2i29EpbU5OHm8hhM%2F96Ui%2Fu9Bf35t%2B9N0%2BVt%2BpGEH6WcV%2Fa%2BiRirsX1OwNLBG2hBZr2lCVdhKuF670e1EHd%2FsFoXx3%2BDuDoerjlrLZ9MTmRLWMh3ktObWueIj8YANL83RxCPcfuKtdvQZKqnfQJvP7CPAIb--bmlzwKWSHBb6K7ws--tgxu2esSJbUHjPT9v8Y4OA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"2ffd1802-611e-48dd-a577-dd405c8ede60"},{"key":"X-Runtime","value":"0.071206"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.03, sql.active_record;dur=5.96, instantiation.active_record;dur=0.22, transaction.active_record;dur=2.43, process_action.action_controller;dur=10.49"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"bwft106wn32dyg5de0pl,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA reducido.\",\n    \"percentage\": \"10.0\",\n    \"updated_at\": \"2025-07-17 16:23:53 UTC\"\n}"}],"_postman_id":"2100f34d-2c51-4954-9603-e18046dd7473"},{"name":"Get Tax","id":"88a0ec18-1e37-440f-986e-bab49dee4508","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"ff761d90-aebe-4974-a8a7-61363392de8a","name":"Get Tax","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=tPoy56XkujLkkFo8Q1%2FiUzFSlHWsj86QyMvZ8EIHY1gsT%2F47fR%2BgEFt42oPiC%2FnExLWeeimj7%2F4frdA7pZyUlDqNTqT8Y0MG3VNPvxJtbu2DExCXH8cgDuS81f8mCvgFrONBWRo%2FowQeZlXQmcBrisOZulIJeKpQoJR6l3CShTtOTZS7FGCNd6AWrTaI5XcOOT69YaUL5jGenzgufR6fdd%2FSBS2a4Tw8Tj8XriaW2v2qjUhWRZEPtEFhgVldqssaoZZrTiLQy2jvTrdni5Nh823tno2HodWDvD0o--k5PM%2BkGGd6wLeY1C--Y7gqy6Sbl%2B%2F7qSxGPx39Nw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"f3f362a5-4d2e-46bb-983e-417ded9247f3"},{"key":"X-Runtime","value":"0.062710"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=3.34, instantiation.active_record;dur=0.23, process_action.action_controller;dur=7.70"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"brvcs8a33b2mgm1zxfcn,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b,bwft106wn32dyg5de0pl"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA reducido.\",\n    \"percentage\": \"10.0\",\n    \"updated_at\": \"2025-07-17 16:23:53 UTC\"\n}"}],"_postman_id":"88a0ec18-1e37-440f-986e-bab49dee4508"},{"name":"Delete Tax","id":"f26f06be-127f-4df7-977d-4569effc5536","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"d688005d-ac71-49b9-bd51-a3da51ca7d61","name":"Delete Tax","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=Cm5fZ4i17dw3CaEXdH6OUnUBOilW0IuoIkXqgLqtAgzJMooR8RXh4BgwTsej6z%2BN7kNisFuW2YBPelYOLNqnbFgWKTgaBXNtMLSoMi7E1PFmF1WQ72DPxN1HxRsbHzJ0KEosRYNPQCpVNvWJ3mnJz0eI3gePW3oK5xsYP8QSDMM6kEaoBbXaN8HiSUvAuT51C3pjANVZMgU%2BdScGTn5WidZNge%2FECWUnaF5miNlLrL4qtHe8eavES6Qtu3WCiJm2z3CWIDIRcWOx%2F1vfMVYhl2WPHkpOc38PAVR1--imY7C1%2F6IT7R2str--De8ixmo2HfHeyGYe7b42zA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"dc6ae3b1-9fca-400c-879c-c91a4f431c60"},{"key":"X-Runtime","value":"0.075738"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=15.46, instantiation.active_record;dur=0.28, transaction.active_record;dur=11.09, process_action.action_controller;dur=20.82"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"no-cache"},{"key":"X-MiniProfiler-Ids","value":"jkn6ukxcgt27nc7d6o3f,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b,bwft106wn32dyg5de0pl,brvcs8a33b2mgm1zxfcn"},{"key":"vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f26f06be-127f-4df7-977d-4569effc5536"}],"id":"fe819e17-b4ba-4ada-866e-a558b66529ac","_postman_id":"fe819e17-b4ba-4ada-866e-a558b66529ac","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Fee","item":[{"name":"Taxes","id":"081391d4-fa51-4ad9-a730-9086ef52a16f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"5275a894-82fe-48f7-8430-3ae06f5ef2ee","name":"Taxes","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=9Ck6jl7P9DxHzbosPMeLvDKcFlHH2mG54wcUXG3lBBEkmpphrHlxkDTexuMgOQpNBKcyNaHy530yFJ2CrgLJeEaxGQCSZNjxjNE9DoBuJ6rf9K4HYMy92lCp6Z1CxxpIZU45GAObwHLuXhTjlNY1RBJAYahfOAvEYPurGFO891NV1ge%2BiNq2%2BJ8U3MHg%2B6UiQ6IMiEdZlcW6DUbjeweutgKMKM341ORTgjOalc9zeEn0Z2z8b3imnYfduMa7b5lvYOjCHTWYNzINAx5U3PPtDJsODfGyewG1V4WP--QINSAFVAzjsEeA3a--pdk6mDKwVju1kHL3%2BJqTyA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"82556f3f-9a79-49d1-87eb-4d9127d9d497"},{"key":"X-Runtime","value":"0.321864"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.10, sql.active_record;dur=23.84, instantiation.active_record;dur=12.10, render.active_model_serializers;dur=0.12, process_action.action_controller;dur=80.29"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"1t40y0b7ouencngoilyx,jnv67bmxgxunsd0l392x,jezpvze0i4ngwlt6vdfn,arb8zz5q1oqox4qpn8hs,n6dxgwxgurd5c23d71lr,kovteliwjkzy7kgqd52k,en62lww17exinqoyj2gi,w77pctrtu0czgf1qnq10,zbun5f76uh8op0nynn14,qqbejdhawyq69d77ay0h,3glj39npggik3i3a3t9,5tyret7c9qhxapw1r16q,s30357ncf348hcmgb2pm,3jc0xuwlo7n08gb8ttsd,r619j02kdb8e0ey3jx0k,wiafwb72gkixpo23dmaq,opmid4gyel8wehhakcay,k3g2qgeab7f4s37agwzc,9az8mdkd0sfhetpeeqk1,b8qum0lebqc9xeisz7id"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"taxes\": [\n        {\n            \"id\": 4,\n            \"active\": true,\n            \"created_at\": \"2024-08-04T18:48:16.769Z\",\n            \"description\": \"\",\n            \"name\": \"Tax\",\n            \"percentage\": \"25.0\",\n            \"updated_at\": \"2024-08-04T18:48:16.769Z\"\n        }\n    ],\n    \"pagination\": {\n        \"total_count\": 1,\n        \"total_pages\": 1,\n        \"current_page\": 1,\n        \"items_per_page\": 20,\n        \"next_page\": null,\n        \"prev_page\": null\n    }\n}"}],"_postman_id":"081391d4-fa51-4ad9-a730-9086ef52a16f"},{"name":"Create Tax","id":"49e60977-653c-49d7-8c40-086fd3a7b749","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA 21%\",\n      \"description\": \"Impuesto estándar\",\n      \"percentage\": 21,\n      \"active\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"82ffdf56-1c51-4f2a-9eb3-a74324f757e3","name":"Create Tax","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA 21%\",\n      \"description\": \"Impuesto estándar\",\n      \"percentage\": 21,\n      \"active\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=JIQLB8QpU9TrV0w70cdA%2F%2B1GJliBuaXp8yG48zbdDISeQUKN6tCcxMH0oHK0cEETmYhJyymTK%2B128yqlauNt0OBuQ7cfVPMHrStyGkRM4z60GveRpLcg8IxUr8tHP4YZIreZsZLzPQyijzm%2FSo6Zb6TNmYm835SycEGfCY5p5SJknkcXXcYVHor5XNaG4qVfQ0XckKI5Kg83EqQFHXs%2FF7OxRyLU4wIO%2FkHHepKQS%2FqrU53Vbzdkqh23DV0qVzJCMyS7%2BeiSc1UQuaP5VzEj1tQFJkSeUfGzJBBa--UXIUM3Zh6%2FWUvD%2Bf--wS6fTTM76Ff4XELNp%2FfZDQ%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"eafb5947-7e5a-4639-853a-2a1e82b183ef"},{"key":"X-Runtime","value":"0.071128"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=7.52, instantiation.active_record;dur=0.17, transaction.active_record;dur=4.21, process_action.action_controller;dur=12.74"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"n01x3nptlcv9dkpl53dr,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA 21%\",\n    \"percentage\": \"21.0\",\n    \"updated_at\": \"2025-07-17 16:21:04 UTC\"\n}"}],"_postman_id":"49e60977-653c-49d7-8c40-086fd3a7b749"},{"name":"Update Tax","id":"6ffe4963-bca5-44bb-9487-c025380e4d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA reducido.\",\n      \"percentage\": 10\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"aaa94b9e-a27b-4762-ac7f-52fc727803cf","name":"Update Tax","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_tax\": {\n      \"name\": \"IVA reducido.\",\n      \"percentage\": 10\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=1T8so8t73KHMRP2SVhN%2BUcqfeGMzdyCRKcVnVyZCZvGFDia7Dceys1813rIvQiZxxy4An77aiQcQfaKh3JHml5ot%2Fj%2B03wKIdH9koxiTvqi%2Bvx0lviNkDhwj9Mk6H6fJHNq5KBjrk2i29EpbU5OHm8hhM%2F96Ui%2Fu9Bf35t%2B9N0%2BVt%2BpGEH6WcV%2Fa%2BiRirsX1OwNLBG2hBZr2lCVdhKuF670e1EHd%2FsFoXx3%2BDuDoerjlrLZ9MTmRLWMh3ktObWueIj8YANL83RxCPcfuKtdvQZKqnfQJvP7CPAIb--bmlzwKWSHBb6K7ws--tgxu2esSJbUHjPT9v8Y4OA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"2ffd1802-611e-48dd-a577-dd405c8ede60"},{"key":"X-Runtime","value":"0.071206"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.03, sql.active_record;dur=5.96, instantiation.active_record;dur=0.22, transaction.active_record;dur=2.43, process_action.action_controller;dur=10.49"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"bwft106wn32dyg5de0pl,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA reducido.\",\n    \"percentage\": \"10.0\",\n    \"updated_at\": \"2025-07-17 16:23:53 UTC\"\n}"}],"_postman_id":"6ffe4963-bca5-44bb-9487-c025380e4d66"},{"name":"Get Tax","id":"ff5e01e1-a4b1-4435-ad25-7eb41b070408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"ea3bb059-608e-436b-8e5e-eab421d00dd5","name":"Get Tax","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=tPoy56XkujLkkFo8Q1%2FiUzFSlHWsj86QyMvZ8EIHY1gsT%2F47fR%2BgEFt42oPiC%2FnExLWeeimj7%2F4frdA7pZyUlDqNTqT8Y0MG3VNPvxJtbu2DExCXH8cgDuS81f8mCvgFrONBWRo%2FowQeZlXQmcBrisOZulIJeKpQoJR6l3CShTtOTZS7FGCNd6AWrTaI5XcOOT69YaUL5jGenzgufR6fdd%2FSBS2a4Tw8Tj8XriaW2v2qjUhWRZEPtEFhgVldqssaoZZrTiLQy2jvTrdni5Nh823tno2HodWDvD0o--k5PM%2BkGGd6wLeY1C--Y7gqy6Sbl%2B%2F7qSxGPx39Nw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"f3f362a5-4d2e-46bb-983e-417ded9247f3"},{"key":"X-Runtime","value":"0.062710"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=3.34, instantiation.active_record;dur=0.23, process_action.action_controller;dur=7.70"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"brvcs8a33b2mgm1zxfcn,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b,bwft106wn32dyg5de0pl"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"active\": true,\n    \"created_at\": \"2025-07-17 16:21:04 UTC\",\n    \"description\": \"Impuesto estándar\",\n    \"name\": \"IVA reducido.\",\n    \"percentage\": \"10.0\",\n    \"updated_at\": \"2025-07-17 16:23:53 UTC\"\n}"}],"_postman_id":"ff5e01e1-a4b1-4435-ad25-7eb41b070408"},{"name":"Delete Tax","id":"86694436-e9ce-48ac-b86b-0b4f5816c226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_taxes","{{tax_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"4b636750-04f8-4235-9a3d-ec5614b20d02","name":"Delete Tax","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_taxes/{{tax_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=Cm5fZ4i17dw3CaEXdH6OUnUBOilW0IuoIkXqgLqtAgzJMooR8RXh4BgwTsej6z%2BN7kNisFuW2YBPelYOLNqnbFgWKTgaBXNtMLSoMi7E1PFmF1WQ72DPxN1HxRsbHzJ0KEosRYNPQCpVNvWJ3mnJz0eI3gePW3oK5xsYP8QSDMM6kEaoBbXaN8HiSUvAuT51C3pjANVZMgU%2BdScGTn5WidZNge%2FECWUnaF5miNlLrL4qtHe8eavES6Qtu3WCiJm2z3CWIDIRcWOx%2F1vfMVYhl2WPHkpOc38PAVR1--imY7C1%2F6IT7R2str--De8ixmo2HfHeyGYe7b42zA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"dc6ae3b1-9fca-400c-879c-c91a4f431c60"},{"key":"X-Runtime","value":"0.075738"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=15.46, instantiation.active_record;dur=0.28, transaction.active_record;dur=11.09, process_action.action_controller;dur=20.82"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"no-cache"},{"key":"X-MiniProfiler-Ids","value":"jkn6ukxcgt27nc7d6o3f,6um5zsgnm2fnh5htb8dk,yeud4pgyo8sccr31tzht,2g912x5ykadwm368qwo5,9qy0so2898wtbx6321de,um1s4en90msl4k8oezsc,9gtk8jxswfkqya4ov8jq,9vcyvp5yrzfea7gjwbai,zqcrx51hxcnn74eq61ug,k5lm9ge24dai1nbpxms1,667zf9bnjkg217gzewse,o6cnkgmexrkpqvtuvbt3,h78wqdnp1rixgw0u0bgs,n01x3nptlcv9dkpl53dr,cw6vdi3mknvt0x5hwinm,mk9sx0hqyroudausdxdn,m4cjq6q15jr3d653s43b,bwft106wn32dyg5de0pl,brvcs8a33b2mgm1zxfcn"},{"key":"vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"86694436-e9ce-48ac-b86b-0b4f5816c226"}],"id":"e3929af3-c81d-4d19-8f2b-2479e75b3a95","_postman_id":"e3929af3-c81d-4d19-8f2b-2479e75b3a95","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}},{"name":"Groups","item":[{"name":"Groups","id":"9abcf7fd-55a1-4255-9ba6-3d6dda37d4c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"e4062e3c-960e-410e-84aa-9ade52907e8a","name":"List groups","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=VKxu3e1JVHwM3%2BNWZEFzO0TjCxJv9zEzQVMVgFgUd66rBa%2F%2F7nbifeY8f3OgZt8%2BfDRueZpuy47noi0VEH3mAgCumLGpf8VrGAeSxlWoleu0pxhPru4lueLHxCK5%2FZAJbyZsfMbYXFpukAATmO%2F2p3iL56%2BS5FmxSTkGMzHufQ5vD0OKjC1oyEZm%2BxZ8gpdXB7hmfCouG9bUpN%2F0nBPi4oEADYuI6XWUfOAL%2Bl3bxMdEG42ciu8y4p2yABC5hu2MJPkeIvR9Q%2BD6k3AwlXqtmihjr9Q6ZeQJZVwE--FjN30RU66SMfHMwx--quxsOEWNBcWOTIynkfiNcQ%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"c9f1d2e2-e886-4021-85f4-9dfb88f96530"},{"key":"X-Runtime","value":"0.059592"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=3.33, instantiation.active_record;dur=0.22, render.active_model_serializers;dur=0.06, process_action.action_controller;dur=8.09"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"o0ooqbax3q1zt6x376z7,62g6uvmo9dga1pqowa0,w0aaxvsgkjj992obpb6d,sf40709oqlsuzt9xl0t1,zc1iapyzn7ugseht5jni,hykjgmkbvvwnkw68oump,u8iy37yxdpbedt2p1ico"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"product_groups\": [\n        {\n            \"id\": 54,\n            \"created_at\": \"2024-09-25T15:25:13.385Z\",\n            \"description\": null,\n            \"name\": \"asda\",\n            \"products_count\": 0,\n            \"updated_at\": \"2024-09-25T15:25:13.385Z\"\n        }\n    ],\n    \"pagination\": {\n        \"total_count\": 1,\n        \"total_pages\": 1,\n        \"current_page\": 1,\n        \"items_per_page\": 20,\n        \"next_page\": null,\n        \"prev_page\": null\n    }\n}"}],"_postman_id":"9abcf7fd-55a1-4255-9ba6-3d6dda37d4c9"},{"name":"Show Group","id":"1c2bd280-db30-470c-b255-1ea47ea49b40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"f288413d-f4f0-4612-aa1f-742107695be4","name":"Show Group","originalRequest":{"method":"GET","header":[],"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups/{{group_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=4imvg05jJj60E05rDO2jRoMmxq6xNJSLOR4cGPtoY1tlaBkEWGRsOpGjwnBeH%2BOlWEf8vdtVHp9t2sVuNoilU8Ltx6v%2B%2BNUQeHLrrkJX7SM4DcZTMv%2FlQO%2BO%2FIa8oTkzhiqWozTCi17nOHYRLk5plCy2DqLIB3pxlVZgDm5ElOVd5SwNZVJT0GqoPhsxWyAp1%2BOLF2yy3CYPGShNV%2F2DckqYew%2BZ%2FCK2kAz4YUKLuX2Y%2Bzo0pbzTzIxvNdJhEOI%2FR%2BcZMbgfRNsXEZgT4jerNiIU9Jxnh8zTCB66--MPdIkHM3ah2PMvRn--U%2B5bFB6cMlV15Qhz0PhnrA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"c23ca97f-604a-444c-9d8d-f4921bc1f8dc"},{"key":"X-Runtime","value":"0.337284"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=22.52, instantiation.active_record;dur=10.65, process_action.action_controller;dur=80.29"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"u8iy37yxdpbedt2p1ico,62g6uvmo9dga1pqowa0,w0aaxvsgkjj992obpb6d,sf40709oqlsuzt9xl0t1,zc1iapyzn7ugseht5jni,hykjgmkbvvwnkw68oump"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 54,\n    \"created_at\": \"2024-09-25 15:25:13 UTC\",\n    \"description\": null,\n    \"name\": \"asda\",\n    \"products_count\": 0,\n    \"updated_at\": \"2024-09-25 15:25:13 UTC\"\n}"}],"_postman_id":"1c2bd280-db30-470c-b255-1ea47ea49b40"},{"name":"Create Group","id":"a8615097-cb05-43e9-b1ab-f8b08b53e227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_group\": {\n      \"name\": \"Accessories\",\n      \"description\": \"Extra add-ons and bundles\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_groups"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"6318d71d-d56c-4ee5-96db-891e5e2ec8b5","name":"Create Group Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_group\": {\n      \"name\": \"Accessories\",\n      \"description\": \"Extra add-ons and bundles\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=GIA1QYpR4nVqZ0n2ZimmXua4djcs6geKBOSbZoAlKM%2B0Df90PwDeCTTZSdO3lLWhvYOyp5J44VU0dkx3NzA1qGv%2BwmrqPXg4wVBMgojhId9decUKpaEuvASEdMgd6QcHaxYReN9rEIBg6BWCKJRhlP09NZ%2FSdYH97bT7MZm5iyzxn7Thpy9l9gDYFj2iKYHCfGrqtn%2Fqv24hwA4lOQ%2FG90IRP1GL4S78mqlH2sNl%2FQTWuM0vAXo8i%2BSSFjlnKmeAHZGEYj6QI2XLwxubK9lW0OeA7YpyDCP1l8Z3--MwswJW5fd3SLKjxn--LgFcmWMZfxG%2B81P4iDY0Ng%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"c632a7fa-01e1-4434-a8a2-6858801fdae5"},{"key":"X-Runtime","value":"0.064604"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=8.46, instantiation.active_record;dur=0.11, transaction.active_record;dur=5.54, process_action.action_controller;dur=12.84"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"n67e4m7nugvhkfos1ozi,62g6uvmo9dga1pqowa0,w0aaxvsgkjj992obpb6d,sf40709oqlsuzt9xl0t1,zc1iapyzn7ugseht5jni,hykjgmkbvvwnkw68oump,u8iy37yxdpbedt2p1ico,o0ooqbax3q1zt6x376z7,e8pokzhlhvxbjupeyfpz,2orut5tdz4s0aoa5b0f7"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 55,\n    \"created_at\": \"2025-07-17 16:55:23 UTC\",\n    \"description\": \"Extra add-ons and bundles\",\n    \"name\": \"Accessories\",\n    \"products_count\": 0,\n    \"updated_at\": \"2025-07-17 16:55:23 UTC\"\n}"}],"_postman_id":"a8615097-cb05-43e9-b1ab-f8b08b53e227"},{"name":"Update Group","id":"ff7576d9-f652-4ceb-8b10-de6cd385f299","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_group\": {\n      \"name\": \"Updated Accessories\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups/{{group_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_groups","{{group_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"3d659667-26d0-4e8b-89af-ff3ec210925f","name":"Update Group Response","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_group\": {\n      \"name\": \"Updated Accessories\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups/{{group_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-store, must-revalidate, private, max-age=0"},{"key":"Set-Cookie","value":"_z_terminal_session=c34F8zpvOS0DfBgkzZXK9vhFJP8UP7RS4rSyQAvo57R80bqFycVdwpBugMymcV13%2B8hZJQ7b8e%2BMbohHY9m61pSUdXgaGfeEr5zlJuczttlA5gQ23K%2Fv5xJnHJeL8ovjmc70vz1ceNzTEX8P1y6DzbPvMq4%2FMkmHRl%2Fe%2F4JQEwJ9CCRhXDzqmyeRsnclZKMq1RVeIDe1x3w5pqEmNiZatPsNC7P%2BT9WB%2BCQw%2Bfc5AjKRsmC4bLBm6Mcnq1pV4xL2cg8eCy7Wf3jPbXlaQj3S4bi9VAlGGW7TzHZe--0O%2FVJaVv%2FBLOzpav--5lAp5HERo1YjGaMSwlIfMA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ee04b749-25ef-4dff-ac08-d4c992931e22"},{"key":"X-Runtime","value":"0.075756"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=9.41, instantiation.active_record;dur=0.24, transaction.active_record;dur=4.19, process_action.action_controller;dur=14.18"},{"key":"X-MiniProfiler-Original-Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-MiniProfiler-Ids","value":"n7hn3d169yzl90jnfwt8,62g6uvmo9dga1pqowa0,w0aaxvsgkjj992obpb6d,sf40709oqlsuzt9xl0t1,zc1iapyzn7ugseht5jni,hykjgmkbvvwnkw68oump,u8iy37yxdpbedt2p1ico,o0ooqbax3q1zt6x376z7,e8pokzhlhvxbjupeyfpz,2orut5tdz4s0aoa5b0f7,n67e4m7nugvhkfos1ozi"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 54,\n    \"created_at\": \"2024-09-25 15:25:13 UTC\",\n    \"description\": null,\n    \"name\": \"Updated Accessories\",\n    \"products_count\": 0,\n    \"updated_at\": \"2025-07-17 16:57:08 UTC\"\n}"}],"_postman_id":"ff7576d9-f652-4ceb-8b10-de6cd385f299"},{"name":"Delete Group","id":"fc894883-8d06-4a0a-8453-f1c1093e4045","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups/{{group_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}},"urlObject":{"path":["api","v2","profiles","{{profile_id}}","product_groups","{{group_id}}"],"host":["API_BASE_URL"],"query":[],"variable":[]}},"response":[{"id":"8ebcfc4d-6a2d-4bca-8706-e654b30f3fd4","name":"Error on delete Example","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{jwt_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"API_BASE_URL/api/v2/profiles/{{profile_id}}/product_groups/{{group_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Set-Cookie","value":"_z_terminal_session=vKw7H7NW8a67SH4ozeCRnUSn1lY1Ozf29LQ2BZLDlqQ%2BSc29KC9%2Fnmeb%2BBT5NCcckknEwqlD5Jm8SH0DVPwMGjfPTfKmexOfZVs5R7Jy2k7yc3loaQJHNXtU8dteZW6E50o5mjR04nJgT2d7aHiAbNNdtwnNHXTys%2FLDXRtV%2FpLgRwqMxiarS3lYzRI1vuPTOMZTp7aOEWkmdO4OQwoRb9lBl5vCyj5yjk%2FHziHErYjVNGLziYdZyIk%2B4LpJluWFQagqmH7oVG4iJD4NcpG1h%2Bstg4Uj1Fw1UPzR--QbxlhcfUDkS3eeMf--J%2F0IJrWvgS3c2nddPKZv6Q%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"29e229e0-fb8d-4b66-8710-3b24615820a8"},{"key":"X-Runtime","value":"0.335408"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=36.29, instantiation.active_record;dur=9.71, transaction.active_record;dur=4.10, render.active_model_serializers;dur=0.05, process_action.action_controller;dur=81.68"},{"key":"vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This group is attached to existing products and cannot be deleted.\"\n}"}],"_postman_id":"fc894883-8d06-4a0a-8453-f1c1093e4045"}],"id":"880031d2-c66b-416b-8107-b75df97c00dc","_postman_id":"880031d2-c66b-416b-8107-b75df97c00dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}}],"id":"74463c81-7b92-4fcb-b904-63d58c0f61a6","_postman_id":"74463c81-7b92-4fcb-b904-63d58c0f61a6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4df711b1-21bd-447c-abba-fd18e0c426ae","id":"4df711b1-21bd-447c-abba-fd18e0c426ae","name":"bill.pro","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"3a9cddd9-d6c0-4060-aa65-65568243dd57","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2cfb7908-366a-4531-9ef0-de3226b69dc6","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"API_BASE_URL"},{"key":"auth_token","value":"AUTH_TOKEN"}]}