{"info":{"_postman_id":"043789a5-d6e1-42bf-83ab-c7fdbca6a5ac","name":"Pabbly API Documentation","description":"<html><head></head><body><p>We provide the API which follows all the <code>HTTP</code> request and based on the <code>REST</code> theory. These API allows you to perform all the actions in your account just by requesting the call. These calls can be fired using any API development platform like Postman.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<p>API calls are limited to provide a better quality of service by reducing unnecessary calls. Pabbly has limits on total requests/calls as 10000 API requests/calls per day.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10023720","collectionId":"043789a5-d6e1-42bf-83ab-c7fdbca6a5ac","publishedId":"SzKWvdPE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-26T07:31:49.000Z"},"item":[{"name":"Pabbly Email Marketing","item":[{"name":"Subscribers List","item":[{"name":"Get Subscribers List","id":"a73a6566-aab0-44a4-8388-9584030da5ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"https://emails.pabbly.com/api/subscribers-list","description":"<p>Get all subscribers list id's and names from your Pabbly Email Marketing account.</p>\n","urlObject":{"protocol":"https","path":["api","subscribers-list"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6d8e5ae6-969d-49c8-ab49-200a3496e9a1","name":"Get Subscribers List","originalRequest":{"method":"GET","header":[],"url":"https://emails.pabbly.com/api/subscribers-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 04:57:49 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"subscribers_list\": [\n        {\n            \"list_id\": \"IjgxNDY2OCI_3D\",\n            \"list_name\": \"List Name 1\"\n        },\n        {\n            \"list_id\": \"IjgyOTE2NiI_3D\",\n            \"list_name\": \"List Name 2\"\n        },\n        {\n            \"list_id\": \"IjgxMDU3MSI_3D\",\n            \"list_name\": \"List Name 3\"\n        },\n        {\n            \"list_id\": \"IjgxMTE4OSI_3D\",\n            \"list_name\": \"List Name 4\"\n        },\n        \n        ...\n        \n    ]\n}"}],"_postman_id":"a73a6566-aab0-44a4-8388-9584030da5ce"},{"name":"Create Subscribers List","id":"6a155add-b3ac-4550-838b-0d840a4ebbdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"list_name\":\"My List Name\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/subscribers-list/create","description":"<p>Create a subscriber list with a suitable name in your Pabbly Email Marketing account.</p>\n<p><em><strong>Body Params</strong></em> <code>JSON</code> object consisting of the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list_name</code></td>\n<td>A suitable name for the subscribers list</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","subscribers-list","create"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"872a7784-6e42-47a0-a953-c56ad05927d2","name":"Create Subscribers List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"list_name\":\"My List Name\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/subscribers-list/create"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 29 Feb 2020 08:06:34 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"Set-Cookie","value":"mg_sess=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22a1bc1848f3a9c59ecb8beea01b3217cb%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22103.82.99.56%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.22.0%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1582963594%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D98fd3e6e0af0aa336e2e4eaceb1392d6; expires=Sat, 29-Feb-2020 12:06:34 GMT; Max-Age=14400; path=/"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"\t\n{\"status\":\"success\",\"list_id\":\"Ijg1MDk1MCI_3D\"}"}],"_postman_id":"6a155add-b3ac-4550-838b-0d840a4ebbdd"}],"id":"318159a9-7159-4a27-8cc4-e1c1d840ee1e","event":[{"listen":"prerequest","script":{"id":"f79e5329-4ac1-4904-bf84-5a9243e459c8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"600645e3-3b74-48e1-9577-59c93097e95f","type":"text/javascript","exec":[""]}}],"_postman_id":"318159a9-7159-4a27-8cc4-e1c1d840ee1e","description":""},{"name":"Personalization Tags","item":[{"name":"Get Personalization Tags","id":"f0d42696-4c56-446d-9e80-60090e001932","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://emails.pabbly.com/api/personalization-tags","description":"<p>Get the list of personalization tags from your Pabbly Email Marketing account.</p>\n","urlObject":{"protocol":"https","path":["api","personalization-tags"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"69ed4048-6495-40a5-980b-f9fa17496e1b","name":"Get Personalization Tags","originalRequest":{"method":"GET","header":[],"url":"https://emails.pabbly.com/api/personalization-tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 05:05:08 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"personalization_tags\": [\n        {\n            \"tag_name\": \"My Custom Data\",\n            \"tag_value\": \"my_custom_data\"\n        },\n        {\n            \"tag_name\": \"My New Custom Data\",\n            \"tag_value\": \"my_new_custom_data\"\n        },\n        {\n            \"tag_name\": \"testing\",\n            \"tag_value\": \"testing\"\n        },\n        {\n            \"tag_name\": \"Email\",\n            \"tag_value\": \"email\"\n        },\n        {\n            \"tag_name\": \"Name\",\n            \"tag_value\": \"name\"\n        },\n        {\n            \"tag_name\": \"Mobile\",\n            \"tag_value\": \"mobile\"\n        },\n        {\n            \"tag_name\": \"City\",\n            \"tag_value\": \"city\"\n        },\n        {\n            \"tag_name\": \"Country\",\n            \"tag_value\": \"country\"\n        },\n        {\n            \"tag_name\": \"Website\",\n            \"tag_value\": \"website\"\n        },\n        {\n            \"tag_name\": \"Facebook\",\n            \"tag_value\": \"facebook\"\n        },\n        {\n            \"tag_name\": \"Age\",\n            \"tag_value\": \"age\"\n        }\n    ]\n}"}],"_postman_id":"f0d42696-4c56-446d-9e80-60090e001932"}],"id":"79341b82-4839-4b1e-b4ff-63b4ab7ff261","event":[{"listen":"prerequest","script":{"id":"8758e1e1-9367-4a57-a8ed-a00365ad0d45","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b141425-49c2-480a-9c06-11ed0807b933","type":"text/javascript","exec":[""]}}],"_postman_id":"79341b82-4839-4b1e-b4ff-63b4ab7ff261","description":""},{"name":"Subscribers","item":[{"name":"Import Single Subscriber","id":"3ac34afb-812a-473e-a444-0078badef2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"import\": \"single\",\n    \"list_id\": \"Ijg1MDM2OCI_3D\",\n    \"email\": \"ronie.1@test.com\",\n    \"name\": \"Ronie\",\n    \"city\": \"New York\",\n    \"date\": \"2020-02-21 00:51:25\"\n}"},"url":"https://emails.pabbly.com/api/subscribers","description":"<p>This <code>POST</code> request will add Email(s) to the existing Subscriber List of your Pabbly Email Marketing account.</p>\n<p><em><strong>Body Params</strong></em> <code>JSON</code> object consisting of the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>import</code></td>\n<td>single for importing single subscriber</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>List Id of from your PEM account</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Email of the subscriber to import</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Full Name of the subscriber or you can pass First Name and Last Name if personalization tags created in your PEM account</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>You can pass your own personalization tags that you have created in your PEM account in the <code>\"key\":\"value\"</code> pair (all the keys must be in lowercase) inside the Body for importing further details of a subscriber.</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    ...\n    \"city\":\"New York\",\n    \"country\":\"USA\",\n    ...\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","subscribers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"7f852d63-49cf-4869-895a-761e1d8dd0de","name":"Import Single Subscriber to a List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"import\": \"single\",\n    \"list_id\": \"Ijg1MDM2OCI_3D\",\n    \"email\": \"ronie@test.com\",\n    \"name\": \"Ronie\",\n    \"city\": \"New York\",\n    \"date\": \"2020-02-21 00:51:25\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/subscribers"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 22 Feb 2020 08:12:39 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"\t\n{\"status\":\"success\",\"message\":\"List Updated Successfully, Total Emails In List : 10\"}"}],"_postman_id":"3ac34afb-812a-473e-a444-0078badef2c2"},{"name":"Import Subscribers in Bulk","id":"094ea1d8-5084-410f-a7b6-c7bee344d1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"import\": \"bulk\",\n    \"list_id\": \"Ijg1MDM2OCI_3D\",\n    \"subscribers_data\": {\n        \"johndoe+2@gmail.com\": {\n            \"name\": \"John Doe\",\n            \"email\": \"johndoe+2@gmail.com\",\n            \"city\": \"New York\",\n            \"date\": \"2020-02-26 00:51:25\"\n        },\n        \"josephine+2@gmail.com\": {\n            \"name\": \"Josephine Patt\",\n            \"email\": \"Josephine+2@gmail.com\",\n            \"city\": \"Los Angeles\",\n            \"date\": \"2020-02-26 00:51:45\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/subscribers","description":"<p>This <code>POST</code> request will add Email(s) to the existing Subscriber List of your Pabbly Email Marketing account.</p>\n<p><em><strong>Body Params</strong></em> <code>JSON</code> object consisting of the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>import</code></td>\n<td>single for importing single subscriber</td>\n</tr>\n<tr>\n<td><code>list_id</code></td>\n<td>List Id of from your PEM account</td>\n</tr>\n<tr>\n<td><code>subscribers_data</code></td>\n<td><code>JSON</code> object of subscriber details like name, email, city etc.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>You can pass your personalization tags that you have created in your PEM account in the <code>subscribers_data</code> in the <code>\"key\":\"value\"</code> pair (all the keys must be in lowercase) for importing further details of a subscriber.</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"subscribers_data\":{\n    \"johndoe@gmail.com\":{\n        ...\n        \"city\":\"New York\",\n        \"country\":\"USA\",\n        ...\n    }\n    ...\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","subscribers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"59d30778-462a-4877-9ee1-056d128da2d8","name":"Import Subscribers in Bulk to a List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"import\": \"bulk\",\n    \"list_id\": \"Ijg1MDM2OCI_3D\",\n    \"subscribers_data\": {\n        \"danny@gmail.com\": {\n            \"name\": \"Danny\",\n            \"email\": \"danny@gmail.com\",\n            \"city\": \"New York\",\n            \"date\": \"2020-02-21 00:51:25\"\n        },\n        \"joseph@gmail.com\": {\n            \"name\": \"Joseph\",\n            \"email\": \"joseph@gmail.com\",\n            \"city\": \"Los Angeles\",\n            \"date\": \"2020-02-21 00:51:45\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/subscribers"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 22 Feb 2020 08:19:23 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"\t\n{\"status\":\"success\",\"message\":\"List Updated Successfully, Total Emails In List : 12\"}"}],"_postman_id":"094ea1d8-5084-410f-a7b6-c7bee344d1d4"},{"name":"Get Subscriber","id":"3a5fdac1-0684-480a-a21f-03c7d9ada725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/get-subscriber?list_id=Ijk2MTA4NiI_3D&email=praveen@example.com","urlObject":{"protocol":"https","path":["api","get-subscriber"],"host":["emails","pabbly","com"],"query":[{"key":"list_id","value":"Ijk2MTA4NiI_3D"},{"key":"email","value":"praveen@example.com"}],"variable":[]}},"response":[{"id":"d1565bc0-f68d-46e0-ba4e-4fa909434a27","name":"Get Subscriber","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/get-subscriber"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscriber data\",\n    \"data\": {\n        \"email\": \"praveen@example.com\",\n        \"name\": \"\",\n        \"mobile\": \"\",\n        \"age\": \"\",\n        \"google\": \"\",\n        \"city\": \"\",\n        \"country\": \"\",\n        \"website\": \"\",\n        \"facebook\": \"\",\n        \"date\": \"2023-02-11 06:39:38\",\n        \"custom_field_1\": \"{custom_field_1}\",\n        \"custom_field_2\": \"{custom_field_2}\"\n    }\n}"}],"_postman_id":"3a5fdac1-0684-480a-a21f-03c7d9ada725"},{"name":"Update Subscriber","id":"22aab06e-15c4-43ef-afbc-c9a84ba3be11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"list_id\": \"Ijk2MTA4NiI_3D\",\r\n    \"email\": \"praveen@example.com\",\r\n    \"name\": \"\",\r\n    \"mobile\": \"\",\r\n    \"age\": \"\",\r\n    \"google\": \"\",\r\n    \"city\": \"\",\r\n    \"country\": \"\",\r\n    \"website\": \"\",\r\n    \"facebook\": \"\",\r\n    \"custom_field_1\": \"{custom_field_1}\",\r\n    \"custom_field_2\": \"{custom_field_2}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/update-subscriber","urlObject":{"protocol":"https","path":["api","update-subscriber"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"72087cc4-afe4-4a54-af0b-b46525ec960f","name":"Update Subscriber","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"list_id\": \"Ijk2MTA4NiI_3D\",\r\n    \"email\": \"praveen@example.com\",\r\n    \"name\": \"\",\r\n    \"mobile\": \"\",\r\n    \"age\": \"\",\r\n    \"google\": \"\",\r\n    \"city\": \"\",\r\n    \"country\": \"\",\r\n    \"website\": \"\",\r\n    \"facebook\": \"\",\r\n    \"custom_field_1\": \"{custom_field_1}\",\r\n    \"custom_field_2\": \"{custom_field_2}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/update-subscriber"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Subscriber Updated\"\r\n}"}],"_postman_id":"22aab06e-15c4-43ef-afbc-c9a84ba3be11"}],"id":"d175c1e3-bac4-4497-b640-c9a637609b10","event":[{"listen":"prerequest","script":{"id":"8020b4d6-b0b3-4c6e-a836-0ca4e207cfff","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d2a5ed8b-1f6e-4ee8-be3e-c4c2e6b50ef5","type":"text/javascript","exec":[""]}}],"_postman_id":"d175c1e3-bac4-4497-b640-c9a637609b10","description":""},{"name":"Delivery Servers","item":[{"name":"Get Delivery Servers","id":"489ad4da-c5a2-486e-959e-dd3f4402826c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://emails.pabbly.com/api/delivery-servers","description":"<p>Get all the Delivery Servers from your Pabbly Email Marketing account.</p>\n","urlObject":{"protocol":"https","path":["api","delivery-servers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"64915ce2-a628-4153-a53d-ccccd923bae4","name":"Get Delivery Servers","originalRequest":{"method":"GET","header":[],"url":"https://emails.pabbly.com/api/delivery-servers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 04:53:19 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"Set-Cookie","value":"mg_sess=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%225d92e3f552ae018dddbd6038aed13663%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22103.82.99.56%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.22.0%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1582001599%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D02a0d72eb61d38ce836c6bb2d7475bfd; expires=Tue, 18-Feb-2020 08:53:19 GMT; Max-Age=14400; path=/"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"delivery_servers\": [\n        {\n            \"delivery_server_id\": \"ses\",\n            \"delivery_server_name\": \"Amazon SES\",\n            \"emails\": [\n                \"enquiry@woofresh.com\",\n                \"noreply@woofresh.com\"\n            ]\n        },\n        {\n            \"delivery_server_id\": \"IjEwMjgzIg_3D_3D\",\n            \"delivery_server_name\": \"Delivery Server 3\",\n            \"emails\": [\n                \"enquiry@inkthemes.com\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"489ad4da-c5a2-486e-959e-dd3f4402826c"}],"id":"0eaaeea5-f73a-4d4b-898e-a8da3ddc703e","event":[{"listen":"prerequest","script":{"id":"c2a6d0a9-f076-482f-bb98-775889a1aa7e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1e28cb10-1067-49bb-aea4-43b0f0be9d4f","type":"text/javascript","exec":[""]}}],"_postman_id":"0eaaeea5-f73a-4d4b-898e-a8da3ddc703e","description":""},{"name":"Email Templates","item":[{"name":"Get Email Templates","id":"e7138bf1-25c0-424d-ace6-b9d4222b8dff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://emails.pabbly.com/api/email-templates ","description":"<p>Get the list of all the Email Templates from your Pabbly Email Marketing account.</p>\n","urlObject":{"protocol":"https","path":["api","email-templates "],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ffc04bda-8d2c-4f0e-8755-88f43833f080","name":"Get Email Templates","originalRequest":{"method":"GET","header":[],"url":"https://emails.pabbly.com/api/email-templates "},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 05:07:57 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"email_templates\": [\n        {\n            \"template_id\": \"IjEzNzY0OSI_3D\",\n            \"build_type\": \"custom\",\n            \"template_subject\": \" 😄 Subject one custom type\"\n        },\n        {\n            \"template_id\": \"IjEzNTQ3NCI_3D\",\n            \"build_type\": \"builder\",\n            \"template_subject\": \"Subject two 😄 for builder type\"\n        },\n        {\n            \"template_id\": \"IjEzNTQ3MiI_3D\",\n            \"build_type\": \"plain\",\n            \"template_subject\": \"Subject three for plain type\"\n        },\n    \t\n    \t...\n    \t\n    ]\n}"}],"_postman_id":"e7138bf1-25c0-424d-ace6-b9d4222b8dff"},{"name":"Create Email Template","id":"fd5515e0-6b56-4b16-84a4-c215a5776d74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subject\": \"Black Friday Email Template\",\n    \"html_body\": \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n<head>\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width\\\" />\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n<meta name=\\\"robots\\\" content=\\\"noindex, nofollow\\\" />\\n<title>Preview</title><!--fgmgMediaReplacePlaceholder-->\\n</head><body align=\\\"center\\\" style=\\\"-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; background: #e0e0e0; height: 100%; line-height: 1.7; width: inherit\\\" bgcolor=\\\"#e0e0e0\\\"><style type=\\\"text/css\\\">\\nbody * {\\nmargin: 0; padding: 0; font-family: Georgia, Helvetica, Arial, sans-serif; box-sizing: border-box; mso-line-height-rule: exactly;\\n}\\nbody strong {\\nfont-family: inherit !important;\\n}\\nimg {\\nmax-width: 100%; display: block;\\n}\\nbody {\\n-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: inherit; height: 100%; line-height: 1.7;\\n}\\nbody {\\nbackground-color: #01191d;\\n}\\n.ExternalClass {\\nwidth: 100%;\\n}\\nbody p {\\nmargin: 16px 0;\\n}\\nbody .footer p {\\nmargin: 0 !important;\\n}\\nbody {\\nbackground-color: #e0e0e0;\\n}\\n</style><table align=\\\"center\\\" class=\\\"body-wrap\\\" style=\\\"background: #e0e0e0 url() repeat center; box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0; width: 100%; word-break: break-word\\\" bgcolor=\\\"#e0e0e0\\\" background=\\\"url()\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td align=\\\"center\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0; vertical-align: top\\\" valign=\\\"top\\\"><table style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"container\\\" width=\\\"600\\\" style=\\\"box-sizing: border-box; clear: both !important; display: block !important; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; max-width: 600px !important; mso-line-height-rule: exactly; padding: 0; vertical-align: top\\\" valign=\\\"top\\\"><div class=\\\"content\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; max-width: 600px; mso-line-height-rule: exactly; padding: 0\\\"><table class=\\\"main\\\" width=\\\"100%\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"background: #FFFFFF; box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 35px 0 0; mso-line-height-rule: exactly; padding: 0\\\" bgcolor=\\\"#FFFFFF\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0; text-align: center; vertical-align: top\\\" align=\\\"center\\\" valign=\\\"top\\\"><div align=\\\"center\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=o7Claq1&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\"><img width=\\\"600\\\" src=\\\"https://mailget.s3.amazonaws.com/upload_files/1568631476-150478515-Pabbly_Email_Marketing_Header_Image.png\\\" alt=\\\"\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; max-width: 100%; mso-line-height-rule: exactly; padding: 0\\\" /></a></div></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-wrap\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0 20px 20px; vertical-align: top\\\" valign=\\\"top\\\"><table width=\\\"100%\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Hey {firstname}</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Thanks for registering up with Pabbly Email Verification.</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">We verify emails at a slow speed to guarantee the most accurate email verification results. </span>False positives, Catch-all addresses, unknown addresses are all reduced in the slow email verification.</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">With Pabbly, you can verify emails in just 3 simple steps -</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">1. <a id=\\\"bGeaLK2\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=bGeaLK2&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Login to the Pabbly account</a>.</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">2. Upload your email list, and</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">3. Click on the \\\"Start Verification\\\" button and that\\\"s it. The verification process will start and you will receive an email notification once the verification process is completed.</p></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" align=\\\"center\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tbody style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"btn-primary-td\\\" style=\\\"background: #22b276; border-radius: 5px; box-sizing: border-box; color: #FFFFFF; cursor: pointer; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 10px 35px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" bgcolor=\\\"#22b276\\\" valign=\\\"top\\\"><a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=GRrMzp3&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" class=\\\"btn-primary btn-inline\\\" style=\\\"background: #22b276; border-radius: 5px; box-sizing: border-box; color: #FFFFFF; cursor: pointer; display: inline-block; font-family: Georgia, serif; font-weight: bold; line-height: 2; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center; text-decoration: none\\\">Start Verification Now</a></td></tr></tbody></table></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">If you have any questions, </span>simply reply back to this email or <a id=\\\"woL17h4\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=woL17h4&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">get in touch with us here.</a></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Cheers!!</span></p></td></tr></table></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter mailer-info\\\" style=\\\"background: #F5F5F5; border-top-color: #DBDADA; border-top-style: solid; border-top-width: 1px; box-sizing: border-box; color: #575454; font-family: Georgia, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.7; margin: 0 auto; mso-line-height-rule: exactly; padding: 15px 20px 20px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" bgcolor=\\\"#F5F5F5\\\" valign=\\\"top\\\">\\n <h2 class=\\\"wysiwyg-text-align-center\\\" style=\\\"box-sizing: border-box; color: rgb(46, 46, 46); font-family: Georgia, serif; font-size: 18px; font-weight: bold; line-height: 1.7; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center !important\\\" align=\\\"center\\\">\\n <span style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Pabbly Team</span>\\n</h2>\\n<div class=\\\"wysiwyg-text-align-center\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 1.7; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center !important\\\" align=\\\"center\\\">\\n<span style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">E3/49, 3rd Floor, Arera Colony, Bhopal, MP, 462016, India</span>\\n</div>\\n</td></tr> </table> <div class=\\\"footer ta-center dark\\\" style=\\\"box-sizing: border-box; clear: both; color: #999; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 20px 0; width: 100%\\\"><table width=\\\"100%\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter footer-td\\\" style=\\\"box-sizing: border-box; color: #ffffff; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0 20px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" valign=\\\"top\\\"><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">This email was sent to {email} | <a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=unsubscribe_track&temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" class=\\\"unsubscribelink\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\">Unsubscribe</a> | <a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=browser_link&temp_id=IjEzNTUwNiI_3D\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" target=\\\"_blank\\\" class=\\\"unsubscribelink\\\">View in Browser</a></p><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">You are receiving this email because you have signed up on our website or subscribed to our email list.</p><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><img src=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=open_track&temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" width=\\\"1\\\" height=\\\"1\\\" border=\\\"0\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; max-width: 100%; mso-line-height-rule: exactly; opacity: 0; padding: 0\\\" alt=\\\"\\\" /></p></td></tr></table></div></div></td></tr></table></td></tr></table></body></html>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/email-templates/create","description":"<p>Create an Email Templates in your Pabbly Email Marketing account.</p>\n<p><em><strong>Body Params</strong></em> <code>JSON</code> object consisting of the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>subject</code></td>\n<td>A suitable subject for the template</td>\n</tr>\n<tr>\n<td><code>html_body</code></td>\n<td>An <code>HTML</code> as a string with backslashes in front of predefined characters</td>\n</tr>\n</tbody>\n</table>\n</div><p>You can make use of the onlinestringtools.com and use their escape string tool to convert the <code>HTML</code> as string with backslashes.</p>\n","urlObject":{"protocol":"https","path":["api","email-templates","create"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ac346f4e-3803-4ac8-a4ae-99481ab5c7fa","name":"Create Email Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subject\": \"Black Friday Email Template\",\n    \"html_body\": \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\" xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n<head>\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width\\\" />\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n<meta name=\\\"robots\\\" content=\\\"noindex, nofollow\\\" />\\n<title>Preview</title><!--fgmgMediaReplacePlaceholder-->\\n</head><body align=\\\"center\\\" style=\\\"-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; background: #e0e0e0; height: 100%; line-height: 1.7; width: inherit\\\" bgcolor=\\\"#e0e0e0\\\"><style type=\\\"text/css\\\">\\nbody * {\\nmargin: 0; padding: 0; font-family: Georgia, Helvetica, Arial, sans-serif; box-sizing: border-box; mso-line-height-rule: exactly;\\n}\\nbody strong {\\nfont-family: inherit !important;\\n}\\nimg {\\nmax-width: 100%; display: block;\\n}\\nbody {\\n-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: inherit; height: 100%; line-height: 1.7;\\n}\\nbody {\\nbackground-color: #01191d;\\n}\\n.ExternalClass {\\nwidth: 100%;\\n}\\nbody p {\\nmargin: 16px 0;\\n}\\nbody .footer p {\\nmargin: 0 !important;\\n}\\nbody {\\nbackground-color: #e0e0e0;\\n}\\n</style><table align=\\\"center\\\" class=\\\"body-wrap\\\" style=\\\"background: #e0e0e0 url() repeat center; box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0; width: 100%; word-break: break-word\\\" bgcolor=\\\"#e0e0e0\\\" background=\\\"url()\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td align=\\\"center\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0; vertical-align: top\\\" valign=\\\"top\\\"><table style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"container\\\" width=\\\"600\\\" style=\\\"box-sizing: border-box; clear: both !important; display: block !important; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; max-width: 600px !important; mso-line-height-rule: exactly; padding: 0; vertical-align: top\\\" valign=\\\"top\\\"><div class=\\\"content\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; max-width: 600px; mso-line-height-rule: exactly; padding: 0\\\"><table class=\\\"main\\\" width=\\\"100%\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"background: #FFFFFF; box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 35px 0 0; mso-line-height-rule: exactly; padding: 0\\\" bgcolor=\\\"#FFFFFF\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0; text-align: center; vertical-align: top\\\" align=\\\"center\\\" valign=\\\"top\\\"><div align=\\\"center\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=o7Claq1&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\"><img width=\\\"600\\\" src=\\\"https://mailget.s3.amazonaws.com/upload_files/1568631476-150478515-Pabbly_Email_Marketing_Header_Image.png\\\" alt=\\\"\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; max-width: 100%; mso-line-height-rule: exactly; padding: 0\\\" /></a></div></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-wrap\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0 20px 20px; vertical-align: top\\\" valign=\\\"top\\\"><table width=\\\"100%\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Hey {firstname}</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Thanks for registering up with Pabbly Email Verification.</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">We verify emails at a slow speed to guarantee the most accurate email verification results. </span>False positives, Catch-all addresses, unknown addresses are all reduced in the slow email verification.</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">With Pabbly, you can verify emails in just 3 simple steps -</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">1. <a id=\\\"bGeaLK2\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=bGeaLK2&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Login to the Pabbly account</a>.</span></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">2. Upload your email list, and</p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\">3. Click on the \\\"Start Verification\\\" button and that\\\"s it. The verification process will start and you will receive an email notification once the verification process is completed.</p></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" align=\\\"center\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tbody style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"btn-primary-td\\\" style=\\\"background: #22b276; border-radius: 5px; box-sizing: border-box; color: #FFFFFF; cursor: pointer; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 10px 35px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" bgcolor=\\\"#22b276\\\" valign=\\\"top\\\"><a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=GRrMzp3&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" class=\\\"btn-primary btn-inline\\\" style=\\\"background: #22b276; border-radius: 5px; box-sizing: border-box; color: #FFFFFF; cursor: pointer; display: inline-block; font-family: Georgia, serif; font-weight: bold; line-height: 2; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center; text-decoration: none\\\">Start Verification Now</a></td></tr></tbody></table></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"content-block\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; line-height: 170%; margin: 0 auto; mso-line-height-rule: exactly; padding: 20px 0; vertical-align: top\\\" valign=\\\"top\\\"><p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">If you have any questions, </span>simply reply back to this email or <a id=\\\"woL17h4\\\" style=\\\"box-sizing: border-box; color: #15c; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=link_click&link_id=woL17h4&amp;temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">get in touch with us here.</a></p>\\n<p style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 16px; font-weight: normal; line-height: 170%; margin: 16px 0 0; mso-line-height-rule: exactly; padding: 0\\\"><span style=\\\"box-sizing: border-box; font-family: Georgia, serif; font-weight: 400; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Cheers!!</span></p></td></tr></table></td></tr><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter mailer-info\\\" style=\\\"background: #F5F5F5; border-top-color: #DBDADA; border-top-style: solid; border-top-width: 1px; box-sizing: border-box; color: #575454; font-family: Georgia, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.7; margin: 0 auto; mso-line-height-rule: exactly; padding: 15px 20px 20px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" bgcolor=\\\"#F5F5F5\\\" valign=\\\"top\\\">\\n <h2 class=\\\"wysiwyg-text-align-center\\\" style=\\\"box-sizing: border-box; color: rgb(46, 46, 46); font-family: Georgia, serif; font-size: 18px; font-weight: bold; line-height: 1.7; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center !important\\\" align=\\\"center\\\">\\n <span style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">Pabbly Team</span>\\n</h2>\\n<div class=\\\"wysiwyg-text-align-center\\\" style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 1.7; margin: 0; mso-line-height-rule: exactly; padding: 0; text-align: center !important\\\" align=\\\"center\\\">\\n<span style=\\\"box-sizing: border-box; color: #2e2e2e; font-family: Georgia, serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">E3/49, 3rd Floor, Arera Colony, Bhopal, MP, 462016, India</span>\\n</div>\\n</td></tr> </table> <div class=\\\"footer ta-center dark\\\" style=\\\"box-sizing: border-box; clear: both; color: #999; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 20px 0; width: 100%\\\"><table width=\\\"100%\\\" style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><tr style=\\\"box-sizing: border-box; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><td class=\\\"aligncenter footer-td\\\" style=\\\"box-sizing: border-box; color: #ffffff; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0 auto; mso-line-height-rule: exactly; padding: 0 20px; text-align: center; vertical-align: top\\\" align=\\\"center\\\" valign=\\\"top\\\"><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">This email was sent to {email} | <a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=unsubscribe_track&temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" class=\\\"unsubscribelink\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\">Unsubscribe</a> | <a href=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=browser_link&temp_id=IjEzNTUwNiI_3D\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; margin: 0; mso-line-height-rule: exactly; padding: 0; text-decoration: underline\\\" target=\\\"_blank\\\" class=\\\"unsubscribelink\\\">View in Browser</a></p><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\">You are receiving this email because you have signed up on our website or subscribed to our email list.</p><p class=\\\"unsubscribe\\\" style=\\\"box-sizing: border-box; color: #111111; font-family: Georgia, serif; font-size: 12px; font-weight: normal; line-height: 170%; margin: 0; mso-line-height-rule: exactly; padding: 0\\\"><img src=\\\"https://levhqnhv02.execute-api.us-west-2.amazonaws.com/track?curr_track_type=open_track&temp_id=IjEzNTUwNiI_3D&amp;email_id=mailget_email_id_replace&amp;s_id=mailget_s_id_replace&amp;server=replace_smtp_server&amp;type=replace_drip_type\\\" width=\\\"1\\\" height=\\\"1\\\" border=\\\"0\\\" style=\\\"box-sizing: border-box; display: block; font-family: Georgia, Helvetica, Arial, sans-serif; margin: 0; max-width: 100%; mso-line-height-rule: exactly; opacity: 0; padding: 0\\\" alt=\\\"\\\" /></p></td></tr></table></div></div></td></tr></table></td></tr></table></body></html>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/email-templates/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 05:15:29 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"template_id\": \"IjEzNzc4MiI_3D\"\n}"}],"_postman_id":"fd5515e0-6b56-4b16-84a4-c215a5776d74"}],"id":"075f7f9a-8c99-4b38-bc36-f59d8562f236","_postman_id":"075f7f9a-8c99-4b38-bc36-f59d8562f236","description":""},{"name":"Send Email","item":[{"name":"Send Emails","id":"0ab77c25-f4ea-4871-8ad6-f83f257349d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_name\": \"John Doe\",\n    \"from_email\": \"john@gmail.com\",\n    \"delivery_server_id\": \"IjEwNjA4Ig_3D_3D\",\n    \"list_ids\": \"Ijg1MDcyNSI_3D, Ijg1MDgyNSI_3D, Ijg1MDguNSI_3D\",\n    \"subject\": \"Check out our Black Friday Deal.\",\n    \"exclude_list_ids\": \"Ijg1MDgyNSI_3D, Ijg1MDtyNSI_3D\",\n    \"individual_emails\": \"\",\n    \"template_id\": \"IjEzODc0MSI_3D\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/send-emails","description":"<p>This request will allow you to send emails from your Pabbly Email Marketing account.</p>\n<p><em><strong>Body Params</strong></em> <code>JSON</code> object consisting of the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Required</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>from_name</code></td>\n<td>True</td>\n<td>From Name for the email</td>\n</tr>\n<tr>\n<td><code>from_email</code></td>\n<td>True</td>\n<td>From Email for the email</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>True</td>\n<td>Specify a subject for the eamil</td>\n</tr>\n<tr>\n<td><code>delivery_server_id</code></td>\n<td>True</td>\n<td>Through which Delivery Server from your PEM account you want to send emails</td>\n</tr>\n<tr>\n<td><code>template_id</code></td>\n<td>True</td>\n<td>Desired email template from your PEM account</td>\n</tr>\n<tr>\n<td><code>list_ids</code></td>\n<td>True</td>\n<td>Send emails to subscribers of your desired PEM list, use comma separated values for sending to subscribers of multiple lists</td>\n</tr>\n<tr>\n<td><code>exclude_list_ids</code></td>\n<td>True</td>\n<td>Exclude your PEM list, use comma separated values for excluding multiple lists</td>\n</tr>\n<tr>\n<td><code>individual_emails</code></td>\n<td>True</td>\n<td>You can send emails to specific subscriber, use comma separated values for sending email to multiple subscribers</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","send-emails"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"bf02c263-b1e4-4fec-b1af-b1b61c4a705b","name":"Send Emails","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_name\": \"John Doe\",\n    \"from_email\": \"john@gmail.com\",\n    \"delivery_server_id\": \"IjEwNjA4Ig_3D_3D\",\n    \"list_ids\": \"Ijg1MDcyNSI_3D, Ijg1MDgyNSI_3D, Ijg1MDguNSI_3D\",\n    \"subject\": \"Check out our Black Friday Deal.\",\n    \"exclude_list_ids\": \"Ijg1MDgyNSI_3D, Ijg1MDtyNSI_3D\",\n    \"individual_emails\": \"\",\n    \"template_id\": \"IjEzODc0MSI_3D\"\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/send-emails"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Feb 2020 05:22:33 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.0.10"},{"key":"P3P","value":"CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; "},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"response\": \"Mail Send\"\n}"}],"_postman_id":"0ab77c25-f4ea-4871-8ad6-f83f257349d2"}],"id":"a9d6927c-77d7-4364-9cec-75be41ce31e8","_postman_id":"a9d6927c-77d7-4364-9cec-75be41ce31e8","description":""}],"id":"9ae3d42f-f783-4464-b41e-78a5ea86d091","description":"<p>Following are the API request examples related to a Pabbly Email Marketing account.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the following API requests uses <code>Bearer Token</code> as authorization channel.</p>\n<p>You can get the <strong>Bearer Token</strong> from your Pabbly Email Marketing account under <code>Integrations</code> &gt; <code>Developer API</code> as shown in the below screenshot and is use it as your <code>Bearer Token</code></p>\n<p><img src=\"https://www.pabbly.com/wp-content/uploads/2020/02/BearerToken.png\" alt=\"Bearer Token\" /></p>\n","event":[{"listen":"prerequest","script":{"id":"27ca1b20-ec66-4a5d-bc56-b4757664252b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"759de7b1-11ac-4fdb-b545-9db5669c6c1a","type":"text/javascript","exec":[""]}}],"_postman_id":"9ae3d42f-f783-4464-b41e-78a5ea86d091"},{"name":"Pabbly Subscription Billing","item":[{"name":"Customers","item":[{"name":"Get Single Customer via Customer ID","id":"4ac6de74-d5dc-4ea6-89eb-b00fd52a05b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/customer/{customer_id}","description":"<p>This API is fired with GET request.</p>\n<p>You will need to fill the customer Id in the link and fire it.</p>\n<p>In response you will get all the details in customer like name, email, created date and so on.</p>\n","urlObject":{"protocol":"https","path":["api","v1","customer","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"dc375ed7-9b70-4a29-a389-f92ad1b85409","name":"Get Single Customer via Customer ID","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/customer/{customer_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 09 Jan 2020 06:39:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"647"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"287-c3wwJHHGsKYRhKmhanMJ4HtYBh0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Customer data\",\n    \"data\": {\n        \"company_name\": \"Omni Source\",\n        \"website\": \"anstudios.com\",\n        \"phone\": \"406-775-3868\",\n        \"billing_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"shipping_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"createdAt\": \"2020-01-09T06:25:25.498Z\",\n        \"updatedAt\": \"2020-01-09T06:25:25.498Z\",\n        \"id\": \"5e16c7556d73c34665ade042\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email_id\": \"johndoe@teleworm.us\"\n    }\n}"}],"_postman_id":"4ac6de74-d5dc-4ea6-89eb-b00fd52a05b8"},{"name":"Get Single Customer via Customer Email","id":"898d4498-51ed-43aa-8f10-ee73addfa255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/customer/?email={email}","description":"<p>This API is fired with GET request.</p>\n<p>You will need to fill the customer email in the link and fire it.</p>\n<p>In response you will get all the details in customer like name, email, created date and so on.</p>\n","urlObject":{"protocol":"https","path":["api","v1","customer",""],"host":["payments","pabbly","com"],"query":[{"key":"email","value":"{email}"}],"variable":[]}},"response":[{"id":"e7f4898d-df2c-4117-8bb4-d3e05acc4e06","name":"Get Single Customer via Customer Email","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/customer/?email={email}","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","customer",""],"query":[{"key":"email","value":"{email}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 09 Jan 2020 06:39:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"647"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"287-c3wwJHHGsKYRhKmhanMJ4HtYBh0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Customer data\",\n    \"data\": {\n        \"first_name\": \"john\",\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\",\n        \"company_name\": \"\",\n        \"createdAt\": \"2018-04-14T09:48:48.356Z\",\n        \"updatedAt\": \"2018-04-21T07:36:04.171Z\",\n        \"billing_address\": {\n            \"attention\": \"\",\n            \"street1\": \"\",\n            \"street2\": \"\",\n            \"city\": \"\",\n            \"state\": \"\",\n            \"zip_code\": \"\",\n            \"country\": \"IN\"\n        },\n        \"shipping_address\": {\n            \"attention\": \"\",\n            \"street1\": \"\",\n            \"street2\": \"\",\n            \"city\": \"\",\n            \"state\": \"\",\n            \"zip_code\": \"\",\n            \"country\": \"IN\"\n        },\n        \"website\": \"\",\n        \"phone\": \"\",\n        \"id\": \"5ad1ce8039fde06e87ea3668\"\n    }\n}\n\n"}],"_postman_id":"898d4498-51ed-43aa-8f10-ee73addfa255"},{"name":"Get Customer Purchase Information","id":"7eceef52-adfc-48a1-9a3f-8c1971f5e024","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/customer/purchase-info/{customer_id}","description":"<p>This API is used to retrieve all the purchase details of that customer like total amount, total refund, total revenue and so on by the customer id</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency_code</td>\n<td>Required</td>\n<td>Eg: USD, INR</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","customer","purchase-info","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"40ca2f98-3c21-402a-9d29-4054024856b0","name":"Get Customer Purchase Information","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/customer/purchase-info/{customer_id}?currency_code=USD","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","customer","purchase-info","{customer_id}"],"query":[{"key":"currency_code","value":"USD","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 09 Jan 2020 06:39:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"647"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"287-c3wwJHHGsKYRhKmhanMJ4HtYBh0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Purchase info\",\n    \"data\": {\n        \"puchase_info\": {\n            \"total_amount\": 100,\n            \"total_revenue\": 100,\n            \"refund_amount\": 0,\n            \"unused_credit\": {\n                \"remaining_amount\": 0,\n                \"subscription_count\": 0\n            },\n            \"receivables_amount\": 0,\n            \"mrrTotalAmt\": 0,\n            \"applied_tax\": [],\n            \"applied_tax_total\": {\n                \"tax_amount\": 0,\n                \"sale_count\": 0,\n                \"tax_count\": 0\n            }\n        },\n        \"subscription_info\": {\n            \"cancelled_count\": 0,\n            \"cancelled_amount\": 0,\n            \"onetime_count\": 1,\n            \"onetime_amount\": 100,\n            \"reccuring_count\": 0,\n            \"reccuring_amount\": 0,\n            \"pending_count\": 0,\n            \"pending_amount\": 0,\n            \"live_count\": 1,\n            \"live_amount\": 100,\n            \"total_count\": 1,\n            \"total_amount\": 100,\n            \"failed_count\": 0,\n            \"failed_amount\": 0,\n            \"total_addon_amount\": 0,\n            \"total_addon_count\": 0,\n            \"onetime_addon_amount\": 0,\n            \"onetime_addon_count\": 0,\n            \"recurring_addon_amount\": 0,\n            \"recurring_addon_count\": 0,\n            \"expired_count\": 0,\n            \"expired_amount\": 0,\n            \"nonrenewing_count\": 0,\n            \"nonrenewing_amount\": 0\n        },\n        \"transaction_info\": {\n            \"all_transactions_amount\": 100,\n            \"all_transactions_count\": 1,\n            \"successful_transactions_amount\": 100,\n            \"successful_transactions_count\": 1,\n            \"missed_invoice_amount\": 0,\n            \"missed_invoice_count\": 0\n        },\n        \"affiliate_info\": {\n            \"affiliate_commission\": 0,\n            \"net_profit_via_affiliate\": 0,\n            \"sales_count\": 0,\n            \"refund_amount\": 0,\n            \"refund_count\": 0\n        },\n        \"customer_info\": {\n            \"id\": \"5f58c0815ee80365c77e29e2\",\n            \"first_name\": \"Jhon\",\n            \"last_name\": \"Doe\",\n            \"user_name\": \"jhondoe@inboxkitten.com\",\n            \"email_id\": \"jhondoe@inboxkitten.com\",\n            \"company_name\": \"\",\n            \"website\": \"\",\n            \"phone\": \"\",\n            \"tax_id\": \"\",\n            \"copy_billing_address\": false,\n            \"portal_language\": \"\",\n            \"currency\": \"\",\n            \"createdAt\": \"2020-09-09T11:46:09.882Z\",\n            \"updatedAt\": \"2020-09-09T11:46:09.882Z\",\n            \"portal_status\": false,\n            \"is_affiliate\": false,\n            \"shipping_address\": {},\n            \"billing_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            }\n        },\n        \"card_info\": [\n            {\n                \"id\": \"5f58c0825ee80365c77e29e6\",\n                \"customer_id\": \"5f58c0815ee80365c77e29e2\",\n                \"type\": \"credit_card\",\n                \"createdAt\": \"2020-09-09T11:46:10.114Z\",\n                \"brand\": \"visa\",\n                \"country\": \"\",\n                \"exp_month\": 1,\n                \"exp_year\": 2029,\n                \"last4\": \"1111\",\n                \"gateway_name\": \"Test Gateway\"\n            }\n        ]\n    }\n}\n\n"}],"_postman_id":"7eceef52-adfc-48a1-9a3f-8c1971f5e024"},{"name":"List All Customers","id":"4a13736a-509e-4347-b5e6-988fbae8e194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/customers","description":"<p>This API is used to retrieve a list of all the available customers.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>optional, integer, default=50, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","customers"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"71958c2f-2c07-4712-b721-f2fd41b6ee23","name":"List All Customers","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/customers?limit=2&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","customers"],"query":[{"key":"limit","value":"2"},{"key":"page","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Customers data\",\r\n    \"data\": [\r\n        {\r\n            \"billing_address\": {\r\n                \"street1\": \"Klarna-Straße 1/2/3\",\r\n                \"city\": \"Hausmannstätten\",\r\n                \"state\": \"\",\r\n                \"state_code\": \"\",\r\n                \"zip_code\": \"8071\",\r\n                \"country\": \"\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"street1\": \"\",\r\n                \"city\": \"\",\r\n                \"state\": \"\",\r\n                \"state_code\": \"\",\r\n                \"zip_code\": \"\",\r\n                \"country\": \"\"\r\n            },\r\n            \"createdAt\": \"2023-04-06T05:40:30.862Z\",\r\n            \"updatedAt\": \"2023-04-06T05:40:30.862Z\",\r\n            \"id\": \"642e5b4ee4a22805885ce822\",\r\n            \"first_name\": \"Pabbly\",\r\n            \"last_name\": \"Test\",\r\n            \"email_id\": \"user-at@example.com\"\r\n        },\r\n        {\r\n            \"billing_address\": {\r\n                \"street1\": \"\",\r\n                \"city\": \"\",\r\n                \"state\": \"\",\r\n                \"state_code\": \"\",\r\n                \"zip_code\": \"\",\r\n                \"country\": \"\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"street1\": \"\",\r\n                \"city\": \"\",\r\n                \"state\": \"\",\r\n                \"state_code\": \"\",\r\n                \"zip_code\": \"\",\r\n                \"country\": \"\"\r\n            },\r\n            \"createdAt\": \"2023-04-06T05:35:07.149Z\",\r\n            \"updatedAt\": \"2023-04-06T05:35:07.149Z\",\r\n            \"id\": \"642e5a0b1b452e1a18fe4fec\",\r\n            \"first_name\": \"Pabbly\",\r\n            \"last_name\": \"Test\",\r\n            \"email_id\": \"pabbly@inboxkitten.com\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"4a13736a-509e-4347-b5e6-988fbae8e194"},{"name":"Update Customer Detail","id":"5642ea4b-3e4f-4305-9031-ca7d4f563131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Lance\",\r\n    \"last_name\": \"Crews\",\r\n    \"company_name\": \"Omni Source\",\r\n    \"website\": \"anstudios.com\",\r\n    \"phone\": \"406-775-3868\",\r\n    \"enable_portal\": \"yes\",\r\n    \"enable_affiliate\": \"yes\",\r\n    \"billing_address\": {\r\n        \"attention\": \"Mr. Lance Crews\",\r\n        \"street1\": \"936 Tibbs Avenue\",\r\n        \"street2\": \"Jenna Lane\",\r\n        \"city\": \"Ekalaka\",\r\n        \"state\": \"MT\",\r\n        \"zip_code\": \"59324\",\r\n        \"country\": \"US\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"attention\": \"Mr. Lance Crews\",\r\n        \"street1\": \"936 Tibbs Avenue\",\r\n        \"street2\": \"Jenna Lane\",\r\n        \"city\": \"Ekalaka\",\r\n        \"state\": \"MT\",\r\n        \"zip_code\": \"59324\",\r\n        \"country\": \"US\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/customer/:customer_id","description":"<p>This is a PUT request API in which you will add the customer Id in Request URL.</p>\n<p>In response you will get the new details of the customer on same customer Id. That means the customer Id will remain the same but the details will be changed.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>Optional</td>\n<td>Update the First Name of your customer.</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>Optional</td>\n<td>Update the Last Name of your customer.</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>Optional</td>\n<td>Update the Customer’s company name.</td>\n</tr>\n<tr>\n<td>website</td>\n<td>Optional</td>\n<td>Update the Customer’s website name.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Optional</td>\n<td>Update the Customer’s phone number.</td>\n</tr>\n<tr>\n<td>billing_address</td>\n<td>Optional</td>\n<td>Update the billing address of the custoemr.</td>\n</tr>\n<tr>\n<td>shipping_address</td>\n<td>Optional</td>\n<td>Update the shipping address of the customer.</td>\n</tr>\n<tr>\n<td>enable_portal</td>\n<td>Optional</td>\n<td>Value will be <strong>yes/no</strong></td>\n</tr>\n<tr>\n<td>enable_affiliate</td>\n<td>Optional</td>\n<td>Value will be <strong>yes/no</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","customer",":customer_id"],"host":["payments","pabbly","com"],"query":[],"variable":[{"type":"any","value":"622b1eccef109b712df5e547","key":"customer_id"}]}},"response":[{"id":"18f90be8-d18c-4fb8-814b-604475c5e1a5","name":"Update Customer Detail","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Lance\",\r\n    \"last_name\": \"Crews\",\r\n    \"company_name\": \"Omni Source\",\r\n    \"website\": \"anstudios.com\",\r\n    \"phone\": \"406-775-3868\",\r\n    \"enable_portal\": \"yes\",\r\n    \"enable_affiliate\": \"yes\",\r\n    \"billing_address\": {\r\n        \"attention\": \"Mr. Lance Crews\",\r\n        \"street1\": \"936 Tibbs Avenue\",\r\n        \"street2\": \"Jenna Lane\",\r\n        \"city\": \"Ekalaka\",\r\n        \"state\": \"MT\",\r\n        \"zip_code\": \"59324\",\r\n        \"country\": \"US\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"attention\": \"Mr. Lance Crews\",\r\n        \"street1\": \"936 Tibbs Avenue\",\r\n        \"street2\": \"Jenna Lane\",\r\n        \"city\": \"Ekalaka\",\r\n        \"state\": \"MT\",\r\n        \"zip_code\": \"59324\",\r\n        \"country\": \"US\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/customer/5e5e3031f7992542b0b55113"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:39:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"763"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"2fb-gIXQjB2K9KJx4jLuy44N1/ra+Iw\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Customer profile updated\",\n    \"data\": {\n        \"company_name\": \"Omni Source\",\n        \"is_affiliate\": true,\n        \"phone\": \"406-775-3868\",\n        \"billing_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"state_code\": \"MP\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"shipping_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"state_code\": \"\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"portal_status\": true,\n        \"createdAt\": \"2022-03-11T10:05:00.387Z\",\n        \"updatedAt\": \"2022-03-11T10:05:00.387Z\",\n        \"id\": \"622b1eccef109b712df5e547\",\n        \"first_name\": \"Lance\",\n        \"last_name\": \"Crews\",\n        \"email_id\": \"katielee@gmail.com\"\n    }\n}"}],"_postman_id":"5642ea4b-3e4f-4305-9031-ca7d4f563131"},{"name":"Create Customer With Subscription","id":"fa365f13-a67c-4973-8967-0e4db2c2a109","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"john\",\r\n    \"last_name\": \"smith\",\r\n    \"email\": \"jhonsmith@xxxxx.com\",\r\n    \"card_number\": \"4111111111111111\",\r\n    \"month\": \"11\",\r\n    \"year\": \"2020\",\r\n    \"cvv\": \"423\",\r\n    \"gateway_type\": \"test\",\r\n    \"gateway_id\": \"5ae0243aec4b151d26bbfe90\",\r\n    \"street\": \"arera colony\",\r\n    \"city\": \"Bhopal\",\r\n    \"state\": \"MP\",\r\n    \"zip_code\": \"462016\",\r\n    \"country\": \"IN\",\r\n    \"plan_id\": \"5e3bf8b8db85462760295d2f\",\r\n    \"coupon_code\": \"PER\",\r\n    \"redirect_to\": \"https://www.pabbly.com/\",\r\n    \"plan_amount\": \"10\",\r\n    \"quantity\": \"8\",\r\n    \"is_affiliate\": true,\r\n    \"tax_id\": \"taxid\",\r\n    \"addons\": {\r\n        \"5e3aac363c92e44b424b6dfc\": {\r\n            \"checked\": true,\r\n            \"quantity\": 1\r\n        },\r\n        \"5e3aac9424b63d4b28410d4e\": {\r\n            \"checked\": false,\r\n            \"quantity\": 1\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription","description":"<p>The post request API which is fired to create a new customer with a subscription.</p>\n<p>In response you will get a unique customer Id and Subscription Id.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required/Optional</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Basic Details</td>\n<td>Required (Card details are required only for Stripe and Test gateway)</td>\n<td>First name, Last_name, and Email address of the customer.</td>\n</tr>\n<tr>\n<td>Card Details</td>\n<td>Required, Only If the card detail for this customer is missing. Required only for <strong>Stripe</strong> and <strong>Test gateway</strong></td>\n<td>Card Number, Expiry, and CVV of the customers' CC.</td>\n</tr>\n<tr>\n<td>gateway_type</td>\n<td>Required</td>\n<td>It can be one of paypal, stripe, test, custom, connect, offline or free. Note: For Razorpay &amp; Authorize gateway gateway_type will be \"custom\" and for other gateways which are not listed here for them gateway_type will be \"connect\" ex: Paddle, Adyen &amp; Instamojo.</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>Required only if gateway_type is custom or want to process payment with the specific gateway</td>\n<td>Unique Id of the payment gateway from which the payment is processed.</td>\n</tr>\n<tr>\n<td>Billing Address</td>\n<td>Optional</td>\n<td>Add the address details in respective fields.</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Required</td>\n<td>Unique Id of the plan which you will assign to this customer.</td>\n</tr>\n<tr>\n<td>redirect_to</td>\n<td>Optional</td>\n<td>The customer will be redirected to this link after successful payment.</td>\n</tr>\n<tr>\n<td>plan_amount</td>\n<td>Required, Only if the plan type is <strong>Donation/Pay Your Own Price</strong>.</td>\n<td>Enter only the plan amount without adding the currency symbol. Example: 10, 25, 78, 198 etc.</td>\n</tr>\n<tr>\n<td>is_affiliate</td>\n<td>Optional</td>\n<td>To create this customer as a Affiliate, It can be boolean value true or false</td>\n</tr>\n<tr>\n<td>tax_id</td>\n<td>Optional</td>\n<td>To record a Tax Id of a customer.</td>\n</tr>\n<tr>\n<td>addons</td>\n<td>Optional</td>\n<td>Addons.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Optional</td>\n<td>Quantity of the plan.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"67865b4c-e885-4201-9372-f03c2ba53483","name":"Create Customer With Subscription","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"first_name\": \"john\",\r\n  \"last_name\" : \"smith\",\r\n  \"email\": \"jhonsmith@xxxxx.com\",\r\n  \"card_number\": \"4111111111111111\",\r\n  \"month\": \"11\",\r\n  \"year\": \"2020\",\r\n  \"cvv\" : \"423\",\r\n  \"gateway_type\":\"test\",\r\n  \"gateway_id\":\"5ae0243aec4b151d26bbfe90\",\r\n  \"street\": \"arera colony\",\r\n  \"city\":\"Bhopal\",\r\n  \"state\":\"MP\",\r\n  \"zip_code\":\"462016\",\r\n  \"country\":\"india\",\r\n  \"plan_id\": \"5e3bf8b8db85462760295d2f\",\r\n  \"coupon_code\":\"PER\",\r\n  \"redirect_to\": \"https://www.pabbly.com/\",\r\n  \"plan_amount\":\"10\",\r\n  \"quantity\":\"9\",\r\n  \"is_affiliate\": true,\r\n  \"tax_id\": \"taxid\",\r\n   \"addons\": {\r\n        \"5e3aac363c92e44b424b6dfc\": {\r\n            \"checked\": true,\r\n            \"quantity\": 1\r\n        },\r\n        \"5e3aac9424b63d4b28410d4e\": {\r\n            \"checked\": false,\r\n            \"quantity\": 1\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:02:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"f09-n4VmUIzFpEMzQ8/t2QyZlBzQNJE\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscription created successfully\",\n    \"data\": {\n        \"user\": {\n            \"currency\": \"INR\",\n            \"verified\": \"0\",\n            \"createdAt\": \"2020-12-09T10:41:08.853Z\",\n            \"updatedAt\": \"2022-08-22T12:22:49.056Z\",\n            \"id\": \"5fd0a9c41cc97d04a15e2a00\",\n            \"first_name\": \"Carlos\",\n            \"last_name\": \"Pereira\",\n            \"email\": \"sweety.wasnik+inr@gmail.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"Avanca\",\n            \"state\": \"Porto\",\n            \"country\": \"Portugal\",\n            \"zip_code\": \"3860-078\",\n            \"phone\": \"918794265\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"Asia/Barnaul\",\n            \"date_format\": \"MMM DD, YYYY hh:mm A\",\n            \"currency_symbol\": \"₹\"\n        },\n        \"customer\": {\n            \"is_affiliate\": true,\n            \"billing_address\": {\n                \"street1\": \"arera colony\",\n                \"city\": \"Bhopal\",\n                \"state\": \"MP\",\n                \"state_code\": \"\",\n                \"zip_code\": \"462016\",\n                \"country\": \"india\"\n            },\n            \"shipping_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            },\n            \"referral_id\": \"0cd73276bd154feb3156207d3ec7\",\n            \"createdAt\": \"2022-11-08T12:55:21.053Z\",\n            \"updatedAt\": \"2022-11-09T10:30:57.574Z\",\n            \"id\": \"636a51b918e49912836939af\",\n            \"first_name\": \"Steve\",\n            \"last_name\": \"Rono\",\n            \"email_id\": \"ronoh@inboxkitten.com\"\n        },\n        \"product\": {\n            \"status\": \"active\",\n            \"createdAt\": \"2022-11-08T11:28:47.602Z\",\n            \"updatedAt\": \"2022-11-08T11:28:47.602Z\",\n            \"id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"product_name\": \"Cab Booking\"\n        },\n        \"plan\": {\n            \"plan_type\": \"flat_fee\",\n            \"plan_active\": \"true\",\n            \"failed_payment_gateway\": \"\",\n            \"failed_payment_gateway_array\": [],\n            \"funnel\": [],\n            \"setup_fee_type\": \"\",\n            \"trial_type\": \"day\",\n            \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n            \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n            \"id\": \"636a463a18e4991283693807\",\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"plan_name\": \"Uber Base Fare\",\n            \"plan_code\": \"uber-base-fare\",\n            \"price\": 40,\n            \"billing_period\": \"\",\n            \"billing_period_num\": \"\",\n            \"billing_cycle\": \"onetime\",\n            \"billing_cycle_num\": \"\",\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p><br></p>\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_type\": \"flat_fee\",\n                \"plan_active\": \"true\",\n                \"failed_payment_gateway\": \"\",\n                \"failed_payment_gateway_array\": [],\n                \"funnel\": [],\n                \"setup_fee_type\": \"\",\n                \"trial_type\": \"day\",\n                \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n                \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n                \"id\": \"636a463a18e4991283693807\",\n                \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                \"plan_name\": \"Uber Base Fare\",\n                \"plan_code\": \"uber-base-fare\",\n                \"price\": 40,\n                \"billing_period\": \"\",\n                \"billing_period_num\": \"\",\n                \"billing_cycle\": \"onetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p><br></p>\"\n            },\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"₹\",\n            \"payment_method\": \"offline\",\n            \"taxable\": true,\n            \"tax_apply\": {\n                \"country\": \"india\",\n                \"tax_id\": \"\",\n                \"exempt_tax\": []\n            },\n            \"gateway_type\": \"offline\",\n            \"payment_terms\": \"net0\",\n            \"custom_fields\": [],\n            \"requested_ip\": \"2402:e280:3e2d:3a7:51b2:2c63:86b5:16b5\",\n            \"createdAt\": \"2022-11-09T10:30:57.583Z\",\n            \"updatedAt\": \"2022-11-09T10:30:57.609Z\",\n            \"id\": \"636b81610963064bb69bb45d\",\n            \"customer_id\": \"636a51b918e49912836939af\",\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"plan_id\": \"636a463a18e4991283693807\",\n            \"amount\": 40,\n            \"email_id\": \"ronoh@inboxkitten.com\",\n            \"status\": \"pending\",\n            \"quantity\": 1,\n            \"starts_at\": \"2022-11-09T10:30:57.575Z\",\n            \"activation_date\": \"\",\n            \"expiry_date\": \"2122-11-09T10:30:57.575Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"\",\n            \"canceled_date\": null\n        },\n        \"invoice\": {\n            \"quantity\": 1,\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"₹\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 40,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 40,\n                \"credit_applied\": []\n            },\n            \"tax_apply\": {\n                \"country\": \"india\",\n                \"tax_id\": \"\",\n                \"exempt_tax\": [],\n                \"total_amount\": 40,\n                \"total_amount_before_tax\": 40,\n                \"total_tax\": 0\n            },\n            \"createdAt\": \"2022-11-09T10:30:57.598Z\",\n            \"updatedAt\": \"2022-11-09T10:30:57.612Z\",\n            \"id\": \"636b81610963064bb69bb45e\",\n            \"customer_id\": \"636a51b918e49912836939af\",\n            \"subscription_id\": \"636b81610963064bb69bb45d\",\n            \"status\": \"sent\",\n            \"invoice_id\": \"INV-15\",\n            \"payment_term\": \"net0\",\n            \"amount\": 40,\n            \"due_amount\": 40,\n            \"due_date\": \"2022-11-09T10:30:57.575Z\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"funnel\": [],\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n                    \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n                    \"id\": \"636a463a18e4991283693807\",\n                    \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                    \"plan_name\": \"Uber Base Fare\",\n                    \"plan_code\": \"uber-base-fare\",\n                    \"price\": 40,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_symbol\": \"₹\",\n                \"payment_method\": \"offline\",\n                \"taxable\": true,\n                \"tax_apply\": {\n                    \"country\": \"india\",\n                    \"tax_id\": \"\",\n                    \"exempt_tax\": []\n                },\n                \"gateway_type\": \"offline\",\n                \"payment_terms\": \"net0\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"2402:e280:3e2d:3a7:51b2:2c63:86b5:16b5\",\n                \"createdAt\": \"2022-11-09T10:30:57.583Z\",\n                \"updatedAt\": \"2022-11-09T10:30:57.609Z\",\n                \"id\": \"636b81610963064bb69bb45d\",\n                \"customer_id\": \"636a51b918e49912836939af\",\n                \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                \"plan_id\": \"636a463a18e4991283693807\",\n                \"amount\": 40,\n                \"email_id\": \"ronoh@inboxkitten.com\",\n                \"status\": \"pending\",\n                \"quantity\": 1,\n                \"starts_at\": \"2022-11-09T10:30:57.575Z\",\n                \"activation_date\": \"\",\n                \"expiry_date\": \"2122-11-09T10:30:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"\",\n                \"canceled_date\": null\n            },\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/5fd0a9c43979a81ddafa0aa3/?cinvoice_id=a7d9a7c1dcd91c6ba1d1593b18340e87:f9f5472b555b61bc572e5c9eda2582c09424263a311defc9a30bc8e8e13ba66496c036f720f8bc29e3037af1d182bacf2d7f3eb9fa7515a7ef9e33f0ffaf59f1cb57bf8dc6ff503bb729e3c69edd644a\"\n        }\n    }\n}"}],"_postman_id":"fa365f13-a67c-4973-8967-0e4db2c2a109"},{"name":"Delete Customer","id":"edc684f5-8b07-4bf2-934f-28bcc81f7fdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/customers/{customer_id}","description":"<p>This API can be used to delete the customer.</p>\n<p>The API will be fired with DELETE request along with the customer Id in the API link.</p>\n<p>In response you will get the successful message of delete Customer.</p>\n","urlObject":{"protocol":"https","path":["api","v1","customers","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e00bd2fe-84d7-43aa-921c-5163c5e20da8","name":"Delete Customer","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/customers/{customer_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 12 Feb 2021 11:26:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"608"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613129205"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"260-p2qriaBBNXmFoUvlTiEo6LEx/Us\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Customer data deleted\"\n    \n}"}],"_postman_id":"edc684f5-8b07-4bf2-934f-28bcc81f7fdb"},{"name":"Create Customer","event":[{"listen":"test","script":{"id":"7494de40-e59f-4f8f-99f1-e28d59702f4d","exec":[""],"type":"text/javascript"}}],"id":"cde44e73-4f9d-44bc-be76-358c3a1633d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\" : \"John\", \r\n    \"last_name\" : \"Doe\", \r\n    \"email_id\" : \"johndoe@teleworm.us\",\r\n\t\"company_name\": \"Omni Source\",\r\n\t\"website\": \"anstudios.com\",\r\n\t\"phone\": \"406-775-3868\",\r\n    \"billing_address\" : {\r\n    \t\"attention\" : \"Mr. Lance Crews\", \r\n        \"street1\" : \"936 Tibbs Avenue\", \r\n        \"street2\" : \"Jenna Lane\",\r\n        \"city\" : \"Ekalaka\", \r\n        \"state\" : \"MT\", \r\n        \"zip_code\" : \"59324\", \r\n        \"country\" : \"US\"\r\n     \r\n    },\r\n    \"shipping_address\" : {\r\n       \"attention\" : \"Mr. Lance Crews\", \r\n        \"street1\" : \"936 Tibbs Avenue\", \r\n        \"street2\" : \"Jenna Lane\",\r\n        \"city\" : \"Ekalaka\", \r\n        \"state\" : \"MT\", \r\n        \"zip_code\" : \"59324\", \r\n        \"country\" : \"US\"\r\n    },\r\n    \"is_affiliate\": true\r\n}"},"url":"https://payments.pabbly.com/api/v1/customer","description":"<p>Fire the link with POST request and fill the following details in from data.</p>\n<p>If the response status is success then a unique customer Id will be generated for that customer.</p>\n<h2 id=\"attributes-\">Attributes :</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>Required</td>\n<td>First Name of your customer</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>Required</td>\n<td>Last Name of your customer.</td>\n</tr>\n<tr>\n<td>email_id</td>\n<td>Required</td>\n<td>Email address of your customer.</td>\n</tr>\n<tr>\n<td>Basic Details</td>\n<td>Optional</td>\n<td>Company name, Website, Phone number, Billing address, Shipping address are the optional fields</td>\n</tr>\n<tr>\n<td>is_affiliate</td>\n<td>Optional</td>\n<td>To create this customer as a Affiliate, It can be boolean value true or false</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","customer"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"08532d32-0362-4a29-8844-e7c1901e68c2","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\" : \"John\", \r\n    \"last_name\" : \"Doe\", \r\n    \"email_id\" : \"johndoe@teleworm.us\",\r\n\t\"company_name\": \"Omni Source\",\r\n\t\"website\": \"anstudios.com\",\r\n\t\"phone\": \"406-775-3868\",\r\n    \"billing_address\" : {\r\n    \t\"attention\" : \"Mr. Lance Crews\", \r\n        \"street1\" : \"936 Tibbs Avenue\", \r\n        \"street2\" : \"Jenna Lane\",\r\n        \"city\" : \"Ekalaka\", \r\n        \"state\" : \"MT\", \r\n        \"zip_code\" : \"59324\", \r\n        \"country\" : \"US\"\r\n     \r\n    },\r\n    \"shipping_address\" : {\r\n       \"attention\" : \"Mr. Lance Crews\", \r\n        \"street1\" : \"936 Tibbs Avenue\", \r\n        \"street2\" : \"Jenna Lane\",\r\n        \"city\" : \"Ekalaka\", \r\n        \"state\" : \"MT\", \r\n        \"zip_code\" : \"59324\", \r\n        \"country\" : \"US\"\r\n    },\r\n    \"is_affiliate\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 09 Jan 2020 06:25:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"650"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"28a-kMHc/eLrqqntaBGm8Gk9Ye2rW4U\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Customer Created\",\n    \"data\": {\n        \"company_name\": \"Omni Source\",\n        \"website\": \"anstudios.com\",\n        \"phone\": \"406-775-3868\",\n        \"billing_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"shipping_address\": {\n            \"attention\": \"Mr. Lance Crews\",\n            \"street1\": \"936 Tibbs Avenue\",\n            \"street2\": \"Jenna Lane\",\n            \"city\": \"Ekalaka\",\n            \"state\": \"MT\",\n            \"zip_code\": \"59324\",\n            \"country\": \"US\"\n        },\n        \"createdAt\": \"2020-01-09T06:25:25.498Z\",\n        \"updatedAt\": \"2020-01-09T06:25:25.498Z\",\n        \"id\": \"5e16c7556d73c34665ade042\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email_id\": \"johndoe@teleworm.us\"\n    }\n}"}],"_postman_id":"cde44e73-4f9d-44bc-be76-358c3a1633d7"}],"id":"bc6cd0d6-76be-4f46-8165-88a37dcc90df","description":"<p>All Customers related Pabbly Subscription API's will come here.</p>\n","_postman_id":"bc6cd0d6-76be-4f46-8165-88a37dcc90df"},{"name":"Subscriptions","item":[{"name":"Create Subscription For Existing Customer","event":[{"listen":"prerequest","script":{"id":"fdc2ecdc-c274-4287-bab9-3818552c4bb6","exec":[""],"type":"text/javascript"}}],"id":"6143db10-efd1-42f9-91da-0ced427e871f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"plan_id\": \"5e3bf8b8db85462760295d2f\",\r\n    \"quantity\": 1,\r\n    \"addons\": {\r\n        \"5e3aac363c92e44b424b6dfc\": {\r\n            \"checked\": true,\r\n            \"quantity\": 1\r\n        },\r\n        \"5e3aac9424b63d4b28410d4e\": {\r\n            \"checked\": false,\r\n            \"quantity\": 1\r\n        }\r\n    },\r\n    \"gateway_type\": \"test\",\r\n    \"card_number\": \"4111111111111111\",\r\n    \"month\": \"11\",\r\n    \"year\": \"2020\",\r\n    \"cvv\": \"423\",\r\n    \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\r\n    \"redirect_to\": \"https://www.pabbly.com/\",\r\n    \"tax_id\": \"taxid\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/subscription/{customer_id}","description":"<p>The POST request API. In which you will add the customer Id in the link.</p>\n<p>In response you will get the details of the subscribed plan and a subscription Id.</p>\n<h2 id=\"atrributes\">Atrributes:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>plan_id</td>\n<td>Required</td>\n<td>Unique Id of the plan which you will assign to this customer.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Optional</td>\n<td>Quantity of the plan.</td>\n</tr>\n<tr>\n<td>gateway_type</td>\n<td>Required</td>\n<td>It can be one of paypal, stripe, test, custom, connect, offline or free. Note: For Razorpay &amp; Authorize gateway gateway_type will be \"custom\" and for other gateways which are not listed here for them gateway_type will be \"connect\" ex: Paddle, Adyen &amp; Instamojo.</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>Required</td>\n<td>When there are multiple payment gateways of same kind. Then add the gateway id from which you want to process the payment</td>\n</tr>\n<tr>\n<td>Card Details</td>\n<td>Required, Only If the card detail for this customer is missing. Required only for <strong>Stripe</strong> and <strong>Test gateway</strong></td>\n<td>Card Number, Expiry, and CVV of the customers' CC.</td>\n</tr>\n<tr>\n<td>method_id</td>\n<td>Optional</td>\n<td>Payment method id if you want to charge payment from an existing or specific card.</td>\n</tr>\n<tr>\n<td>redirect_to</td>\n<td>Optional</td>\n<td>The customer will be redirected to this link after successful payment.</td>\n</tr>\n<tr>\n<td>coupon_code</td>\n<td>Optional</td>\n<td>This coupon code will be added to this subscription.</td>\n</tr>\n<tr>\n<td>plan_amount</td>\n<td>Required, Only if the plan type is <strong>Donation/Pay Your Own Price.</strong></td>\n<td>Enter only the plan amount without adding the currency symbol. Example: 10, 25, 78, 198 etc.</td>\n</tr>\n<tr>\n<td>tax_id</td>\n<td>Optional</td>\n<td><br />To record a Tax Id of a customer.</td>\n</tr>\n<tr>\n<td>addons</td>\n<td>Optional</td>\n<td>Addons.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"35f34c4d-e699-45ba-92ae-ecd275aecce6","name":"Create Subscription For Existing Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"plan_id\": \"5e3bf8b8db85462760295d2f\",\r\n    \"quantity\": 1,\r\n    \"addons\": {\r\n        \"5e3aac363c92e44b424b6dfc\": {\r\n            \"checked\": true,\r\n            \"quantity\": 1\r\n        },\r\n        \"5e3aac9424b63d4b28410d4e\": {\r\n            \"checked\": false,\r\n            \"quantity\": 1\r\n        }\r\n    },\r\n    \"gateway_type\": \"test\",\r\n    \"card_number\": \"4111111111111111\",\r\n    \"month\": \"11\",\r\n    \"year\": \"2020\",\r\n    \"cvv\": \"423\",\r\n    \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\r\n    \"redirect_to\": \"https://www.pabbly.com/\",\r\n    \"tax_id\": \"taxid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/5e5e2bca815f5442a4208dfe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:10:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"1059-qXtJh77Tv3mUjTXDl3JrCpSbb7s\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Your payment is successful.\",\n    \"data\": {\n        \"user\": {\n            \"currency\": \"INR\",\n            \"verified\": \"0\",\n            \"createdAt\": \"2020-12-09T10:41:08.853Z\",\n            \"updatedAt\": \"2022-08-22T12:22:49.056Z\",\n            \"id\": \"5fd0a9c41cc97d04a15e2a00\",\n            \"first_name\": \"Carlos\",\n            \"last_name\": \"Pereira\",\n            \"email\": \"sweety.wasnik+inr@gmail.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"Avanca\",\n            \"state\": \"Porto\",\n            \"country\": \"Portugal\",\n            \"zip_code\": \"3860-078\",\n            \"phone\": \"918794265\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"Asia/Barnaul\",\n            \"date_format\": \"MMM DD, YYYY hh:mm A\",\n            \"currency_symbol\": \"₹\"\n        },\n        \"customer\": {\n            \"is_affiliate\": true,\n            \"billing_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            },\n            \"shipping_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            },\n            \"referral_id\": \"5c7f7690b96a98eb64392147e4ee\",\n            \"tax_id\": \"taxid\",\n            \"createdAt\": \"2022-11-09T10:06:35.691Z\",\n            \"updatedAt\": \"2022-11-09T10:55:20.577Z\",\n            \"id\": \"636b7bab56e1a04bce59979d\",\n            \"first_name\": \"exactly\",\n            \"last_name\": \"quietly\",\n            \"email_id\": \"excellent-village-19@inboxkitten.com\"\n        },\n        \"product\": {\n            \"status\": \"active\",\n            \"createdAt\": \"2022-11-08T11:28:47.602Z\",\n            \"updatedAt\": \"2022-11-08T11:28:47.602Z\",\n            \"id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"product_name\": \"Cab Booking\"\n        },\n        \"plan\": {\n            \"plan_type\": \"flat_fee\",\n            \"plan_active\": \"true\",\n            \"failed_payment_gateway\": \"\",\n            \"failed_payment_gateway_array\": [],\n            \"funnel\": [],\n            \"setup_fee_type\": \"\",\n            \"trial_type\": \"day\",\n            \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n            \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n            \"id\": \"636a463a18e4991283693807\",\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"plan_name\": \"Uber Base Fare\",\n            \"plan_code\": \"uber-base-fare\",\n            \"price\": 40,\n            \"billing_period\": \"\",\n            \"billing_period_num\": \"\",\n            \"billing_cycle\": \"onetime\",\n            \"billing_cycle_num\": \"\",\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p><br></p>\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_type\": \"flat_fee\",\n                \"plan_active\": \"true\",\n                \"failed_payment_gateway\": \"\",\n                \"failed_payment_gateway_array\": [],\n                \"funnel\": [],\n                \"setup_fee_type\": \"\",\n                \"trial_type\": \"day\",\n                \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n                \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n                \"id\": \"636a463a18e4991283693807\",\n                \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                \"plan_name\": \"Uber Base Fare\",\n                \"plan_code\": \"uber-base-fare\",\n                \"price\": 40,\n                \"billing_period\": \"\",\n                \"billing_period_num\": \"\",\n                \"billing_cycle\": \"onetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p><br></p>\"\n            },\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"₹\",\n            \"addons\": [\n                {\n                    \"id\": \"636b3e3918e49912836955be\",\n                    \"name\": \"1 Per Min\",\n                    \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                    \"code\": \"1-per-min\",\n                    \"price\": 1,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"selected_plans\",\n                    \"plans_array\": [\n                        \"636a463a18e4991283693807\"\n                    ],\n                    \"category_array\": [\n                        \"uncategory\"\n                    ],\n                    \"adjusted_amount\": 1\n                }\n            ],\n            \"payment_method\": \"636b87180963064bb69bb51f\",\n            \"taxable\": true,\n            \"tax_apply\": {\n                \"country\": \"\",\n                \"tax_id\": \"taxid\",\n                \"exempt_tax\": [],\n                \"total_amount\": 41,\n                \"total_tax\": 0,\n                \"total_amount_before_tax\": 41\n            },\n            \"gateway_type\": \"test\",\n            \"payment_terms\": \"net0\",\n            \"gateway_id\": \"5fd0a9e53979a81ddafa0ab1\",\n            \"gateway_name\": \"Test Gateway\",\n            \"custom_fields\": [],\n            \"requested_ip\": \"2402:e280:3e2d:3a7:51b2:2c63:86b5:16b5\",\n            \"createdAt\": \"2022-11-09T10:55:20.589Z\",\n            \"updatedAt\": \"2022-11-09T10:55:21.134Z\",\n            \"id\": \"636b87180963064bb69bb51c\",\n            \"customer_id\": \"636b7bab56e1a04bce59979d\",\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"plan_id\": \"636a463a18e4991283693807\",\n            \"amount\": 40,\n            \"email_id\": \"excellent-village-19@inboxkitten.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2022-11-09T10:55:20.202Z\",\n            \"activation_date\": \"2022-11-09T10:55:21.212Z\",\n            \"expiry_date\": \"2122-11-09T10:55:20.202Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"2022-11-09T10:55:21.212Z\",\n            \"canceled_date\": null\n        },\n        \"invoice\": {\n            \"quantity\": 1,\n            \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"₹\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 41,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 41,\n                \"credit_applied\": []\n            },\n            \"tax_apply\": {\n                \"country\": \"\",\n                \"tax_id\": \"taxid\",\n                \"exempt_tax\": [],\n                \"total_amount\": 41,\n                \"total_tax\": 0,\n                \"total_amount_before_tax\": 41\n            },\n            \"createdAt\": \"2022-11-09T10:55:20.602Z\",\n            \"updatedAt\": \"2022-11-09T10:55:20.607Z\",\n            \"id\": \"636b87180963064bb69bb51d\",\n            \"customer_id\": \"636b7bab56e1a04bce59979d\",\n            \"subscription_id\": \"636b87180963064bb69bb51c\",\n            \"status\": \"paid\",\n            \"invoice_id\": \"INV-17\",\n            \"payment_term\": \"net0\",\n            \"amount\": 41,\n            \"due_amount\": 0,\n            \"due_date\": \"2022-11-09T10:55:20.202Z\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"funnel\": [],\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2022-11-08T12:06:18.219Z\",\n                    \"updatedAt\": \"2022-11-09T05:42:52.486Z\",\n                    \"id\": \"636a463a18e4991283693807\",\n                    \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                    \"plan_name\": \"Uber Base Fare\",\n                    \"plan_code\": \"uber-base-fare\",\n                    \"price\": 40,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_symbol\": \"₹\",\n                \"addons\": [\n                    {\n                        \"id\": \"636b3e3918e49912836955be\",\n                        \"name\": \"1 Per Min\",\n                        \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                        \"code\": \"1-per-min\",\n                        \"price\": 1,\n                        \"quantity\": 1,\n                        \"billing_cycle\": \"onetime\",\n                        \"billing_period\": \"\",\n                        \"associate_plans\": \"selected_plans\",\n                        \"plans_array\": [\n                            \"636a463a18e4991283693807\"\n                        ],\n                        \"category_array\": [\n                            \"uncategory\"\n                        ],\n                        \"adjusted_amount\": 1\n                    }\n                ],\n                \"payment_method\": \"636b87180963064bb69bb51f\",\n                \"taxable\": true,\n                \"tax_apply\": {\n                    \"country\": \"\",\n                    \"tax_id\": \"taxid\",\n                    \"exempt_tax\": [],\n                    \"total_amount\": 41,\n                    \"total_tax\": 0,\n                    \"total_amount_before_tax\": 41\n                },\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"net0\",\n                \"gateway_id\": \"5fd0a9e53979a81ddafa0ab1\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"2402:e280:3e2d:3a7:51b2:2c63:86b5:16b5\",\n                \"createdAt\": \"2022-11-09T10:55:20.589Z\",\n                \"updatedAt\": \"2022-11-09T10:55:21.134Z\",\n                \"id\": \"636b87180963064bb69bb51c\",\n                \"customer_id\": \"636b7bab56e1a04bce59979d\",\n                \"product_id\": \"636a3d6f6673cf11c7bc3ba2\",\n                \"plan_id\": \"636a463a18e4991283693807\",\n                \"amount\": 40,\n                \"email_id\": \"excellent-village-19@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2022-11-09T10:55:20.202Z\",\n                \"activation_date\": \"2022-11-09T10:55:21.212Z\",\n                \"expiry_date\": \"2122-11-09T10:55:20.202Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2022-11-09T10:55:21.212Z\",\n                \"canceled_date\": null\n            },\n            \"product\": {\n                \"status\": \"active\",\n                \"createdAt\": \"2022-11-08T11:28:47.602Z\",\n                \"updatedAt\": \"2022-11-08T11:28:47.602Z\",\n                \"id\": \"636a3d6f6673cf11c7bc3ba2\",\n                \"product_name\": \"Cab Booking\"\n            },\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/5fd0a9c43979a81ddafa0aa3/?cinvoice_id=3dfb9801d56103c5593b5355626725f9:06b303450cbc222ffe585ddbf4e700f8931be86cd3657bd2f44648229fea8fa23c9f0ba5578e3dee35266bd5e1e1e12881c385903a9660574712672eff9c458de77d44d5c61e6caabd4bb4f258d375fd\"\n        }\n    }\n}"}],"_postman_id":"6143db10-efd1-42f9-91da-0ced427e871f"},{"name":"Cancel Subscription For Existing Customer","id":"86de662e-d6ef-4a8b-a35f-a37c8b2f880e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"cancel_at_end\":\"true\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}/cancel","description":"<p>Post request API in which you will add the subscription Id in request URL</p>\n<p>In response the subscription of that customer will be canceled and the customer will not be billed further.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cancel_at_end</td>\n<td>Required</td>\n<td>True if you want cancel at the end of subscription or false if you want to cancel immediately.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","{subscription_id}","cancel"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9c9658ef-d121-459f-afe0-90acdc92d961","name":"Cancel Subscription For Existing Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"cancel_at_end\":\"true\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/5e5e2c62815f5442a4208e01/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:14:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"91"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"5b-lr10YOjkK0289VGol76DMJ/0FCk\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Your suscription would be cancelled at the end of the term\"\n}"}],"_postman_id":"86de662e-d6ef-4a8b-a35f-a37c8b2f880e"},{"name":"Get Single Subscription","id":"98302eb8-a3ff-4cd2-99ea-8c77fd27dbe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}","description":"<p>API to be fired with GET request. In the link you will just need to add the subscription Id.</p>\n<p>No form data is required in the API. You can just fire the link and get all the details of this subscription like – Billing dates, Product Id, plane name and plan code.</p>\n","urlObject":{"protocol":"https","path":["api","v1","subscription","{subscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"78ffa60f-6ada-4a26-8022-4e92ec175696","name":"Get Single Subscription","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:19:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"6a3-hq9FN2ZXyb3gt8KD3j2xHcG5eJs\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscription data\",\n    \"data\": {\n        \"plan\": {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n            \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n            \"id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"plan_name\": \"New recurring plan\",\n            \"plan_code\": \"new-recurring-plan\",\n            \"price\": 200,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p>zdf</p>\"\n        },\n        \"setup_fee\": 0,\n        \"payment_terms\": \"\",\n        \"currency_symbol\": \"$\",\n        \"addons\": [\n            {\n                \"id\": \"5e3aac363c92e44b424b6dfc\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"name\": \"Add on 1 one time\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"code\": \"add-on-1-one-time\",\n                \"price\": 100,\n                \"quantity\": 1,\n                \"billing_cycle\": \"onetime\",\n                \"billing_period\": \"\",\n                \"associate_plans\": \"all_plans\",\n                \"plans_array\": null,\n                \"category_array\": [\n                    \"5e3aac1924b63d4b28410d4d\"\n                ],\n                \"adjusted_amount\": 100\n            }\n        ],\n        \"payment_method\": \"5e5e2d18815f5442a4208e13\",\n        \"taxable\": true,\n        \"gateway_type\": \"test\",\n        \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n        \"custom_fields\": [],\n        \"cron_process\": \"done\",\n        \"createdAt\": \"2020-03-03T10:10:32.152Z\",\n        \"updatedAt\": \"2020-03-03T10:10:32.152Z\",\n        \"id\": \"5e5e2d18815f5442a4208e10\",\n        \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n        \"amount\": 200,\n        \"email_id\": \"ethridgertamara@gmail.com\",\n        \"status\": \"live\",\n        \"quantity\": 1,\n        \"starts_at\": \"2020-03-03T10:10:32.323Z\",\n        \"activation_date\": \"2020-03-03T10:10:32.323Z\",\n        \"expiry_date\": \"2120-03-03T10:10:32.323Z\",\n        \"trial_days\": 0,\n        \"trial_expiry_date\": \"\",\n        \"next_billing_date\": \"2020-04-03T10:10:32.323Z\",\n        \"last_billing_date\": \"2020-03-03T10:10:32.323Z\",\n        \"canceled_date\": null\n    }\n}"}],"_postman_id":"98302eb8-a3ff-4cd2-99ea-8c77fd27dbe7"},{"name":"List All Subscriptions By Customer Id","id":"cfd67f09-fea5-45ea-939e-7d10987806a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/subscriptions/{customer_id}","description":"<p>This API is used to retrieve a list of all the available subscriptions by customer id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=50, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>billing_cycle</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> onetime,lifetime,specific</td>\n</tr>\n<tr>\n<td>billing_period</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> w,m,y</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the plan. It is the api identifier for the plan.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> live,pending,cancelled,expired,dunning, trial, nonrenewing, unpaid, paused etc</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscriptions","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"c178ede6-238b-4955-a038-eb19e575b508","name":"List All Subscriptions By Customer Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/subscriptions/5e5e2bca815f5442a4208dfe?billing_period=y&plan_id[]=61e80483314d3e2b64659eed&plan_id[]=61e80483314d3e2b64659eedfsdf&product_id[]=61c05a330009ca3ce4636e51","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","subscriptions","5e5e2bca815f5442a4208dfe"],"query":[{"key":"billing_period","value":"y"},{"key":"plan_id[]","value":"61e80483314d3e2b64659eed"},{"key":"plan_id[]","value":"61e80483314d3e2b64659eedfsdf"},{"key":"product_id[]","value":"61c05a330009ca3ce4636e51"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:21:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"cbb-nb9RGtuMbEe68O62z/NNQzCljSw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscriptions data\",\n    \"data\": [\n        {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"addons\": [\n                {\n                    \"id\": \"5e3aac363c92e44b424b6dfc\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"name\": \"Add on 1 one time\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"code\": \"add-on-1-one-time\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"5e3aac1924b63d4b28410d4d\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"payment_method\": \"5e5e2d18815f5442a4208e13\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-03T10:10:32.152Z\",\n            \"updatedAt\": \"2020-03-03T10:10:32.152Z\",\n            \"id\": \"5e5e2d18815f5442a4208e10\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"ethridgertamara@gmail.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-03T10:10:32.323Z\",\n            \"activation_date\": \"2020-03-03T10:10:32.323Z\",\n            \"expiry_date\": \"2120-03-03T10:10:32.323Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"2020-04-03T10:10:32.323Z\",\n            \"last_billing_date\": \"2020-03-03T10:10:32.323Z\",\n            \"canceled_date\": null\n        },\n        {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"addons\": [\n                {\n                    \"id\": \"5e3aac363c92e44b424b6dfc\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"name\": \"Add on 1 one time\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"code\": \"add-on-1-one-time\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"5e3aac1924b63d4b28410d4d\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"payment_method\": \"test\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-03T10:07:30.453Z\",\n            \"updatedAt\": \"2020-03-03T10:14:22.586Z\",\n            \"id\": \"5e5e2c62815f5442a4208e01\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"ethridgertamara@gmail.com\",\n            \"status\": \"nonrenewing\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-03T10:07:30.303Z\",\n            \"activation_date\": \"\",\n            \"expiry_date\": \"2120-03-03T10:07:30.303Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"\",\n            \"canceled_date\": null\n        }\n    ]\n}"}],"_postman_id":"cfd67f09-fea5-45ea-939e-7d10987806a1"},{"name":"List All Subscriptions","id":"30d9b403-4bc2-49de-bdf8-b4147a55fb5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/subscriptions","description":"<p>This API is used to retrieve a list of all the available subscriptions.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=50, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>billing_cycle</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> onetime,lifetime,specific</td>\n</tr>\n<tr>\n<td>billing_period</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> w,m,y</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the plan. It is the api identifier for the plan.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> live,pending,cancelled,expired,dunning, trial, nonrenewing, unpaid, paused etc</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscriptions"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ac94ef17-38e4-4cb8-84f3-ec98879ec6d9","name":"List All Subscriptions","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/subscriptions?billing_cycle=onetime&billing_period=m&product_id=5e3a95143c92e44b424b6d47&plan_id=5e3bf8b8db85462760295d2f&status=live","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","subscriptions"],"query":[{"key":"billing_cycle","value":"onetime"},{"key":"billing_period","value":"m"},{"key":"product_id","value":"5e3a95143c92e44b424b6d47"},{"key":"plan_id","value":"5e3bf8b8db85462760295d2f"},{"key":"status","value":"live","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:21:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"cbb-nb9RGtuMbEe68O62z/NNQzCljSw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscriptions data\",\n    \"data\": [\n        {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"addons\": [\n                {\n                    \"id\": \"5e3aac363c92e44b424b6dfc\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"name\": \"Add on 1 one time\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"code\": \"add-on-1-one-time\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"5e3aac1924b63d4b28410d4d\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"payment_method\": \"5e5e2d18815f5442a4208e13\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-03T10:10:32.152Z\",\n            \"updatedAt\": \"2020-03-03T10:10:32.152Z\",\n            \"id\": \"5e5e2d18815f5442a4208e10\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"ethridgertamara@gmail.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-03T10:10:32.323Z\",\n            \"activation_date\": \"2020-03-03T10:10:32.323Z\",\n            \"expiry_date\": \"2120-03-03T10:10:32.323Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"2020-04-03T10:10:32.323Z\",\n            \"last_billing_date\": \"2020-03-03T10:10:32.323Z\",\n            \"canceled_date\": null\n        },\n        {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"addons\": [\n                {\n                    \"id\": \"5e3aac363c92e44b424b6dfc\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"name\": \"Add on 1 one time\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"code\": \"add-on-1-one-time\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"5e3aac1924b63d4b28410d4d\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"payment_method\": \"test\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-03T10:07:30.453Z\",\n            \"updatedAt\": \"2020-03-03T10:14:22.586Z\",\n            \"id\": \"5e5e2c62815f5442a4208e01\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"ethridgertamara@gmail.com\",\n            \"status\": \"nonrenewing\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-03T10:07:30.303Z\",\n            \"activation_date\": \"\",\n            \"expiry_date\": \"2120-03-03T10:07:30.303Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"\",\n            \"canceled_date\": null\n        }\n    ]\n}"}],"_postman_id":"30d9b403-4bc2-49de-bdf8-b4147a55fb5c"},{"name":"Get Scheduled Subscription","id":"b63826e4-4328-457b-b450-c5b7cb53d43d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/scheduledchanges/{suscription_id}","description":"<p>With this GET request API you can fetch the details of the scheduled subscription.</p>\n<p>You will need to add the subscription Id in the API link and fire it in GET request.</p>\n<p>In response you will get the details of old plan, new plans and the scheduled timings.</p>\n","urlObject":{"protocol":"https","path":["api","v1","scheduledchanges","{suscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"1c996659-7705-4b8f-b575-69dd9975cfbc","name":"Get Scheduled Subscription","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/scheduledchanges/{suscription_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:26:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"4f5-Gt+aPoKDTN5gLysVQhKZOGKKdu0\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Scheduled Subscription\",\n    \"data\": {\n        \"old_plan\": {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n            \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n            \"id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_name\": \"New recurring plan\",\n            \"plan_code\": \"new-recurring-plan\",\n            \"price\": 200,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p>zdf</p>\"\n        },\n        \"new_plan\": {\n            \"plan_active\": \"true\",\n            \"redirect_url\": null,\n            \"bump_offer\": {\n                \"plan_id\": null,\n                \"title_label\": null,\n                \"tag_line\": null,\n                \"description\": null\n            },\n            \"createdAt\": \"2020-02-05T11:29:23.580Z\",\n            \"updatedAt\": \"2020-02-05T11:29:23.580Z\",\n            \"id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_name\": \"Recurring yearly plan Edit\",\n            \"plan_code\": \"Copy-recurring-monthly-plan\",\n            \"price\": 1000,\n            \"billing_period\": \"y\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\"\n        },\n        \"quantity\": \"4\",\n        \"currency_symbol\": \"$\",\n        \"addons\": {},\n        \"coupon\": {\n            \"discount_amount\": 0\n        },\n        \"customer_id\": \"5e5e3031f7992542b0b55113\",\n        \"next_billing_date\": \"2020-04-03T10:24:26.262Z\",\n        \"scheduled_date\": \"2020-04-03T10:24:26.262Z\",\n        \"when_apply\": \"eot\"\n    }\n}"}],"_postman_id":"b63826e4-4328-457b-b450-c5b7cb53d43d"},{"name":"Upgrade Downgrade Subscription","id":"f38eb77a-8284-4847-b8c0-debbda138399","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\r\n   \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\r\n   \"payment_term\": \"net0\",\r\n   \"activated_at_val\": \"immediately\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}/upgrade-downgrade","description":"<p>This link will be fired with PUT request.</p>\n<p>You will need to add the existing subscription Id in the Request URL</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>plan_id</td>\n<td>Required</td>\n<td>Unique Id of the plan which you will assign to this customer.</td>\n</tr>\n<tr>\n<td>card_id</td>\n<td>Optional</td>\n<td>If you want to charge from different method, provide payment method id.</td>\n</tr>\n<tr>\n<td>payment_mode</td>\n<td>Required</td>\n<td>Possible value will be offline or credit_card</td>\n</tr>\n<tr>\n<td>coupon_code</td>\n<td>Optional</td>\n<td>This code will be used by the customer to avail discounts.</td>\n</tr>\n<tr>\n<td>payment_term</td>\n<td>Optional</td>\n<td>Possible values of payment_term are net0/net15/net30/net45/net60/neteom/neteonm. If this attribute is not used then net0 will be the default value.</td>\n</tr>\n<tr>\n<td>activated_at_val</td>\n<td>Optional</td>\n<td>Apply the changes immediately or at end of the term.  <br />  <br /><code>immediately -</code> If you want to apply the changes immediately.  <br />  <br /><code>eot (End of the term) -</code> If you want to apply the changes at the end of the term.</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Optional</td>\n<td>Add the amount of the plan</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Optional</td>\n<td>Add the quantity of the plan for which you want to subscribe to your customer.</td>\n</tr>\n<tr>\n<td>setup_fee</td>\n<td>Optional</td>\n<td>Add the setup fee amount of the plan for which you want to subscribe to your customer.</td>\n</tr>\n<tr>\n<td>addons</td>\n<td>Optional</td>\n<td>Add the addon IDs &amp; addon quantities</td>\n</tr>\n<tr>\n<td>update_reason</td>\n<td>Optional</td>\n<td>Add the subscription update reason that will be displayed in the single subscription page.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","{subscription_id}","upgrade-downgrade"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"192dea5c-2a25-499f-b24e-d5fcc15bef87","name":"Upgrade Downgrade Subscription","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{    \r\n    \"plan_id\": \"61811ba89764a44a4cae8986\",//Required\r\n    \"coupon_code\": \"ltd\",\r\n    \"quantity\": 2,\r\n    \"price\": \"150.00\",\r\n    \"setup_fee\": \"10\",\r\n    \"activated_at_val\": \"immediately\",//immediately | eot (End of the term)\r\n    \"payment_mode\": \"credit_card\",//offline | credit_card\r\n    \"card_id\": \"61b822c24b04d8658c0305a2\",//payment_method\r\n    \"payment_term\": \"net0\",\r\n    \"addons\": [\r\n        {\r\n            \"id\": \"6188d3e73a5dad46546547f8\",\r\n            \"quantity\": 2\r\n        },\r\n        {\r\n            \"id\": \"6188d46e3a5dad46546547fa\",\r\n            \"quantity\": 1\r\n        }\r\n    ],\r\n    \"update_reason\": \"test\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}/upgrade-downgrade"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:29:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"8bf-/vqoyT2+BcVGTnv9M70ycfe522g\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscription updated successfully\",\n    \"data\": {\n        \"user\": {\n            \"verified\": \"1\",\n            \"currency\": \"USD\",\n            \"createdAt\": \"2020-12-21T10:02:54.714Z\",\n            \"updatedAt\": \"2021-11-29T09:46:07.887Z\",\n            \"id\": \"5fe072ce5c9d8f083aae9e13\",\n            \"first_name\": \"Satish\",\n            \"last_name\": \"Thapa\",\n            \"email\": \"satishthapa00@gmail.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"\",\n            \"state\": \"\",\n            \"country\": \"\",\n            \"zip_code\": \"\",\n            \"phone\": \"5555555555\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"Asia/Kolkata\",\n            \"date_format\": \"YYYY/MM/DD hh:mm A\",\n            \"ip_address\": \"171.61.54.154\",\n            \"currency_symbol\": \"$\"\n        },\n        \"customer\": {\n            \"billing_address\": {\n                \"street1\": \"Street\",\n                \"city\": \"City\",\n                \"state\": \"Prickly Pear Cays\",\n                \"state_code\": \"13\",\n                \"zip_code\": \"1234\",\n                \"country\": \"AI\"\n            },\n            \"shipping_address\": {},\n            \"createdAt\": \"2021-12-14T11:20:29.539Z\",\n            \"updatedAt\": \"2021-12-14T11:20:29.539Z\",\n            \"id\": \"61b87dfd652e9b3eac440e64\",\n            \"first_name\": \"test\",\n            \"last_name\": \"ing\",\n            \"email_id\": \"leg-test-80@inboxkitten.com\",\n            \"credit\": null\n        },\n        \"product\": {\n            \"createdAt\": \"2021-11-02T11:04:19.021Z\",\n            \"updatedAt\": \"2021-11-02T11:04:19.021Z\",\n            \"id\": \"61811b339764a44a4cae8985\",\n            \"product_name\": \"test\",\n            \"description\": null,\n            \"redirect_url\": null\n        },\n        \"plan\": {\n            \"plan_active\": \"true\",\n            \"createdAt\": \"2021-11-02T11:06:16.212Z\",\n            \"updatedAt\": \"2021-12-13T11:45:48.240Z\",\n            \"id\": \"61811ba89764a44a4cae8986\",\n            \"product_id\": \"61811b339764a44a4cae8985\",\n            \"plan_name\": \"test\",\n            \"plan_code\": \"test\",\n            \"price\": 150,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": \"\",\n            \"trial_period\": 0,\n            \"setup_fee\": 10,\n            \"plan_description\": \"<p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2021/11/RM7tVNdIE9Vs-1636808533-dummy-image.jpg\\\"></p>\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"createdAt\": \"2021-11-02T11:06:16.212Z\",\n                \"updatedAt\": \"2021-12-13T11:45:48.240Z\",\n                \"id\": \"61811ba89764a44a4cae8986\",\n                \"product_id\": \"61811b339764a44a4cae8985\",\n                \"plan_name\": \"test\",\n                \"plan_code\": \"test\",\n                \"price\": 150,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 10,\n                \"plan_description\": \"<p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2021/11/RM7tVNdIE9Vs-1636808533-dummy-image.jpg\\\"></p>\"\n            },\n            \"setup_fee\": 10,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"payment_method\": \"61b87dff652e9b3eac440e68\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"61811b149764a44a4cae8984\",\n            \"custom_fields\": [],\n            \"addons\": [\n                {\n                    \"id\": \"6188d3e73a5dad46546547f8\",\n                    \"name\": \"test\",\n                    \"product_id\": \"61811b339764a44a4cae8985\",\n                    \"code\": \"test\",\n                    \"price\": 50,\n                    \"quantity\": 2,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"uncategory\"\n                    ],\n                    \"adjusted_amount\": 50\n                },\n                {\n                    \"id\": \"6188d46e3a5dad46546547fa\",\n                    \"name\": \"test1\",\n                    \"product_id\": \"61811b339764a44a4cae8985\",\n                    \"code\": \"test1\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_period\": \"m\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"uncategory\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"coupon\": {\n                \"status\": \"active\",\n                \"apply_to\": \"total_amount\",\n                \"createdAt\": \"2021-12-10T08:04:26.518Z\",\n                \"updatedAt\": \"2021-12-14T08:27:54.368Z\",\n                \"id\": \"61b30a0a004ed42d0c313916\",\n                \"product_id\": \"61811b339764a44a4cae8985\",\n                \"coupon_name\": \"ltd\",\n                \"coupon_code\": \"ltd\",\n                \"discount\": 10,\n                \"discount_type\": \"percent\",\n                \"redemption_type\": \"number_time\",\n                \"redemption_cycle\": 10,\n                \"associate_plans\": \"all_plans\",\n                \"plans_array\": null,\n                \"valid_upto\": \"2022-01-01\",\n                \"maximum_redemption\": 10000,\n                \"used_redemption\": 23\n            },\n            \"update_reason\": \"test\",\n            \"update_type\": \"upgrade\",\n            \"createdAt\": \"2021-12-14T11:20:29.570Z\",\n            \"updatedAt\": \"2021-12-14T11:20:46.724Z\",\n            \"id\": \"61b87dfd652e9b3eac440e65\",\n            \"customer_id\": \"61b87dfd652e9b3eac440e64\",\n            \"product_id\": \"61811b339764a44a4cae8985\",\n            \"plan_id\": \"61811ba89764a44a4cae8986\",\n            \"amount\": 150,\n            \"email_id\": \"leg-test-80@inboxkitten.com\",\n            \"status\": \"live\",\n            \"quantity\": 2,\n            \"starts_at\": \"2021-12-14T11:20:29.292Z\",\n            \"activation_date\": \"2021-12-14T11:20:32.323Z\",\n            \"expiry_date\": \"2121-12-14T11:20:29.292Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"2022-01-14T11:20:32.323Z\",\n            \"last_billing_date\": \"2021-12-14T11:20:32.323Z\",\n            \"canceled_date\": null\n        },\n        \"invoice\": {\n            \"quantity\": \"2\",\n            \"product_id\": \"61811b339764a44a4cae8985\",\n            \"setup_fee\": 20,\n            \"currency_symbol\": \"$\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"current_plan_name\": \"test\",\n                \"current_plan_price\": 100,\n                \"current_plan_quantity\": 1,\n                \"current_plan_total\": 100,\n                \"new_plan_price\": 150,\n                \"new_plan_name\": \"test\",\n                \"new_plan_total\": \"468.00\",\n                \"used_amount\": 0,\n                \"update_type\": \"upgrade\",\n                \"used_days\": 0,\n                \"remaining_days\": 30,\n                \"new_credits\": 100,\n                \"transaction_note\": \"Added During Upgrade\",\n                \"total_credit_amount\": 100,\n                \"charge_amount\": 368,\n                \"credit_applied\": [\n                    {\n                        \"id\": \"61b87e0b652e9b3eac440e6c\",\n                        \"amount\": 100,\n                        \"deducted_from\": 100,\n                        \"remaining_amount\": 0\n                    }\n                ]\n            },\n            \"tax_apply\": {\n                \"country\": \"AI\",\n                \"tax_id\": \"\",\n                \"exempt_tax\": [],\n                \"total_amount\": 468,\n                \"total_tax\": \"0.00\"\n            },\n            \"createdAt\": \"2021-12-14T11:20:43.502Z\",\n            \"updatedAt\": \"2021-12-14T11:20:46.731Z\",\n            \"id\": \"61b87e0b652e9b3eac440e6e\",\n            \"customer_id\": \"61b87dfd652e9b3eac440e64\",\n            \"subscription_id\": \"61b87dfd652e9b3eac440e65\",\n            \"status\": \"paid\",\n            \"invoice_id\": \"INV-299\",\n            \"payment_term\": \"\",\n            \"amount\": 468,\n            \"due_amount\": 0,\n            \"due_date\": \"2021-12-14T11:20:43.434Z\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_active\": \"true\",\n                    \"createdAt\": \"2021-11-02T11:06:16.212Z\",\n                    \"updatedAt\": \"2021-12-13T11:45:48.240Z\",\n                    \"id\": \"61811ba89764a44a4cae8986\",\n                    \"product_id\": \"61811b339764a44a4cae8985\",\n                    \"plan_name\": \"test\",\n                    \"plan_code\": \"test\",\n                    \"price\": 150,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 10,\n                    \"plan_description\": \"<p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2021/11/RM7tVNdIE9Vs-1636808533-dummy-image.jpg\\\"></p>\"\n                },\n                \"setup_fee\": 10,\n                \"payment_terms\": \"\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"61b87dff652e9b3eac440e68\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"gateway_id\": \"61811b149764a44a4cae8984\",\n                \"custom_fields\": [],\n                \"addons\": [\n                    {\n                        \"id\": \"6188d3e73a5dad46546547f8\",\n                        \"name\": \"test\",\n                        \"product_id\": \"61811b339764a44a4cae8985\",\n                        \"code\": \"test\",\n                        \"price\": 50,\n                        \"quantity\": 2,\n                        \"billing_cycle\": \"onetime\",\n                        \"billing_period\": \"\",\n                        \"associate_plans\": \"all_plans\",\n                        \"plans_array\": null,\n                        \"category_array\": [\n                            \"uncategory\"\n                        ],\n                        \"adjusted_amount\": 50\n                    },\n                    {\n                        \"id\": \"6188d46e3a5dad46546547fa\",\n                        \"name\": \"test1\",\n                        \"product_id\": \"61811b339764a44a4cae8985\",\n                        \"code\": \"test1\",\n                        \"price\": 100,\n                        \"quantity\": 1,\n                        \"billing_cycle\": \"lifetime\",\n                        \"billing_period\": \"m\",\n                        \"associate_plans\": \"all_plans\",\n                        \"plans_array\": null,\n                        \"category_array\": [\n                            \"uncategory\"\n                        ],\n                        \"adjusted_amount\": 100\n                    }\n                ],\n                \"coupon\": {\n                    \"status\": \"active\",\n                    \"apply_to\": \"total_amount\",\n                    \"createdAt\": \"2021-12-10T08:04:26.518Z\",\n                    \"updatedAt\": \"2021-12-14T08:27:54.368Z\",\n                    \"id\": \"61b30a0a004ed42d0c313916\",\n                    \"product_id\": \"61811b339764a44a4cae8985\",\n                    \"coupon_name\": \"ltd\",\n                    \"coupon_code\": \"ltd\",\n                    \"discount\": 10,\n                    \"discount_type\": \"percent\",\n                    \"redemption_type\": \"number_time\",\n                    \"redemption_cycle\": 10,\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"valid_upto\": \"2022-01-01\",\n                    \"maximum_redemption\": 10000,\n                    \"used_redemption\": 23\n                },\n                \"update_reason\": \"test\",\n                \"update_type\": \"upgrade\",\n                \"createdAt\": \"2021-12-14T11:20:29.570Z\",\n                \"updatedAt\": \"2021-12-14T11:20:46.724Z\",\n                \"id\": \"61b87dfd652e9b3eac440e65\",\n                \"customer_id\": \"61b87dfd652e9b3eac440e64\",\n                \"product_id\": \"61811b339764a44a4cae8985\",\n                \"plan_id\": \"61811ba89764a44a4cae8986\",\n                \"amount\": 150,\n                \"email_id\": \"leg-test-80@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 2,\n                \"starts_at\": \"2021-12-14T11:20:29.292Z\",\n                \"activation_date\": \"2021-12-14T11:20:32.323Z\",\n                \"expiry_date\": \"2121-12-14T11:20:29.292Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"2022-01-14T11:20:32.323Z\",\n                \"last_billing_date\": \"2021-12-14T11:20:32.323Z\",\n                \"canceled_date\": null\n            }\n        }\n    }\n}\n\n"}],"_postman_id":"f38eb77a-8284-4847-b8c0-debbda138399"},{"name":"Subscription Update Charges","id":"91017921-1880-4c11-ae56-e728dff46d44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"plan_id\": \"61811ba89764a44a4cae8986\",//Required\r\n    \"coupon_code\": \"ltd\",\r\n    \"setup_fee\": \"10\",\r\n    \"addons\": [\r\n        {\r\n            \"id\": \"6188d46e3a5dad46546547fa\",\r\n            \"quantity\": 2\r\n        }\r\n    ],\r\n    \"quantity\": 2,\r\n    \"price\": \"150.00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/:subscription_id/update_charges","description":"<p>This link will be fired with POST request.</p>\n<p>You will need to add the existing subscription Id in the Request URL</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>plan_id</td>\n<td>Required</td>\n<td>Unique Id of the plan which you will assign to this customer.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Optional</td>\n<td>Add the quantity of the plan for which you want to subscribe to your customer.</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Optional</td>\n<td>Add the price of the plan for which you want to subscribe to your customer.</td>\n</tr>\n<tr>\n<td>coupon_code</td>\n<td>Optional</td>\n<td>Unique coupon code of the plan which you will assign to this customer.</td>\n</tr>\n<tr>\n<td>setup_fee</td>\n<td>Optional</td>\n<td>Add the setup fee amount of the plan for which you want to subscribe to your customer.</td>\n</tr>\n<tr>\n<td>addons</td>\n<td>Optional</td>\n<td>Add the addon IDs &amp; addon quantities</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription",":subscription_id","update_charges"],"host":["payments","pabbly","com"],"query":[],"variable":[{"type":"any","value":null,"key":"subscription_id"}]}},"response":[{"id":"7403b9ca-b611-495a-805b-ca549649a98e","name":"Subscription Update Charges","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\r\n   \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\r\n   \"payment_term\": \"net0\",\r\n   \"activated_at_val\": \"immediately\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}/update_charges"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 10:29:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"8bf-/vqoyT2+BcVGTnv9M70ycfe522g\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Upgrade downgrade charges\",\n    \"data\": {\n        \"total_tax\": \"0.00\",\n        \"current_plan_name\": \"test\",\n        \"current_plan_price\": 100,\n        \"current_plan_quantity\": 1,\n        \"current_plan_total\": 100,\n        \"new_plan_price\": 150,\n        \"new_plan_name\": \"test\",\n        \"new_plan_quantity\": 2,\n        \"new_plan_total\": \"468.00\",\n        \"used_amount\": 0,\n        \"update_type\": \"upgrade\",\n        \"used_days\": 0,\n        \"remaining_days\": 30,\n        \"new_credits\": 100,\n        \"transaction_note\": \"Added During Upgrade\",\n        \"total_credit_amount\": 100,\n        \"charge_amount\": 368,\n        \"credit_applied\": []\n    }\n}"}],"_postman_id":"91017921-1880-4c11-ae56-e728dff46d44"},{"name":"Delete Subscription","id":"e601bb11-8b0f-4bf2-9bbf-83e3b24691af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/subscriptions/{subscription_id}","description":"<p>This API can be used to delete the subscription.</p>\n<p>The API will be fired with DELETE request along with the Subscription ID in the API link.</p>\n<p>In response you will get the successful message of delete subscription.</p>\n","urlObject":{"protocol":"https","path":["api","v1","subscriptions","{subscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"a8022ba3-874d-42d3-8015-cb41f0ca9409","name":"Delete Subscription","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/subscriptions/{subscription_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 12 Feb 2021 11:40:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613130026"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"4b7-BtMoiT6j5qBObw+TF7wjXz4TkTQ\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscription data deleted\"\n}"}],"_postman_id":"e601bb11-8b0f-4bf2-9bbf-83e3b24691af"},{"name":"Change Subscription Billing Date","id":"37492ea6-99bc-4b8e-81eb-8c7165a86eca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"next_billing_date\":\"2023-01-15\",\n    \"change_reason\":\"Updating billing date\"\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/change-billing/{subscription_id}","description":"<p>Changing the next billing date api allows you to manually set the next billing for a subscription. If the subscription is in the trial, it will also expand the trial to a specific date.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>next_billing_date</td>\n<td>Required</td>\n<td>The billing date which you want to update.</td>\n</tr>\n<tr>\n<td>change_reason</td>\n<td>Required</td>\n<td>Reason text for the update billing date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","change-billing","{subscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"a1767ee5-8801-4e7a-b28a-c57528afc44b","name":"Change Subscription Billing Date","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"next_billing_date\":\"2023-01-15\",\n    \"change_reason\":\"Updating billing date\"\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/change-billing/{subscription_id}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Subscription billing date is updated\"\n}"}],"_postman_id":"37492ea6-99bc-4b8e-81eb-8c7165a86eca"},{"name":"Update Subscription","id":"7f183e52-2085-4f9b-8abd-26ba39fe12d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"update_reason\": \"Updating custom fields\",\r\n    \"payment_mode\": \"credit_card\",\r\n    \"method_id\": \"641d8983995ac04330637994\",\r\n    \"custom_fields\": {\r\n        \"gst_number\": \"GST45788555\",\r\n        \"pan_number\": \"PAN785554\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/{subscription_id}/update","description":"<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>update_reason</td>\n<td>Optional</td>\n<td>Subscription update reason text.</td>\n</tr>\n<tr>\n<td>method_id</td>\n<td>Optional</td>\n<td>If you want to charge from different method, provide payment method id.</td>\n</tr>\n<tr>\n<td>payment_mode</td>\n<td>Optional</td>\n<td>Possible value will be offline or credit_card.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Optional</td>\n<td>Custom fields for the subscription.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","{subscription_id}","update"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f183e52-2085-4f9b-8abd-26ba39fe12d8"}],"id":"b34f16d0-b4de-494f-9476-874a4beebe40","description":"<p>All the subscriptions related API's will be available here</p>\n","_postman_id":"b34f16d0-b4de-494f-9476-874a4beebe40"},{"name":"Product","item":[{"name":"Create Product","id":"f06933f1-0a3f-4a49-94af-52a830cc6c28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"product_name\":\"My Product\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/product/create","description":"<p>Firing this API with proper data will create a Product in your Pabbly Subscriptions account.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_name</td>\n<td>Required</td>\n<td>Name the Product which you are going to sell through Pabbly Subscriptions.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","product","create"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"d5e1109a-883c-4d8a-82be-db4ea737c9ba","name":"Create Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"product_name\":\"My Product\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/product/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 06:24:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"322"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"142-pStcEbXeaZir/V1yRuQ6C0Ghlno\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Product Created\",\n    \"data\": {\n        \"createdAt\": \"2020-03-03T06:24:39.250Z\",\n        \"updatedAt\": \"2020-03-03T06:24:39.250Z\",\n        \"id\": \"5e5df827815f5442a4208cd7\",\n        \"product_name\": \"My Product\"\n    }\n}"}],"_postman_id":"f06933f1-0a3f-4a49-94af-52a830cc6c28"},{"name":"List All Product","id":"dc18495d-ac7c-489c-a590-dd7035d523c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products","description":"<p>This API is used to retrieve a list of all the available products.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","products"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b3d7045f-1595-475c-bf12-18e6bfddc83f","name":"List All Product","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/products?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","products"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 07:30:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"483-wvnF230EC52ABe2YfQnT5mRnCZI\""},{"key":"Content-Encoding","value":"gzip"},{"key":"set-cookie","value":"sails.sid=s%3AHztvNxt46IauSOB1tdtqKDv0yCWlqeHs.P0Aepwa6gpnThFI3n50lykMsIa5%2B3JEC62aUiB2ALzk; Path=/; Expires=Wed, 04 Mar 2020 07:30:47 GMT; HttpOnly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Product data\",\n    \"data\": [\n        {\n            \"createdAt\": \"2020-03-03T06:24:39.250Z\",\n            \"updatedAt\": \"2020-03-03T06:24:39.250Z\",\n            \"id\": \"5e5df827815f5442a4208cd7\",\n            \"product_name\": \"My Product\",\n            \"description\": \"Product Description\",\n            \"notification_email\": null,\n            \"redirect_url\": \"https://www.exampledomain.com\"\n        },\n        {\n            \"createdAt\": \"2020-02-19T08:10:36.009Z\",\n            \"updatedAt\": \"2020-02-19T08:10:36.009Z\",\n            \"id\": \"5e4ced7c548afb4ab1c76497\",\n            \"product_name\": \"Product 3\",\n            \"description\": \"Product Desc 3\",\n            \"notification_email\": null,\n            \"redirect_url\": null\n        },\n        {\n            \"createdAt\": \"2020-02-18T07:25:26.860Z\",\n            \"updatedAt\": \"2020-02-18T07:25:26.860Z\",\n            \"id\": \"5e4b9166f492d74aabef7b52\",\n            \"product_name\": \"Shopify Integration\",\n            \"description\": \"product description\",\n            \"notification_email\": null,\n            \"redirect_url\": \"\"\n        },\n        {\n            \"createdAt\": \"2020-02-07T07:37:34.495Z\",\n            \"updatedAt\": \"2020-02-07T07:37:34.495Z\",\n            \"id\": \"5e3d13bedb854627602966bf\",\n            \"product_name\": \"Product 2\",\n            \"description\": null,\n            \"notification_email\": null,\n            \"redirect_url\": null\n        },\n        {\n            \"createdAt\": \"2020-02-05T10:12:36.805Z\",\n            \"updatedAt\": \"2020-02-05T10:12:36.805Z\",\n            \"id\": \"5e3a95143c92e44b424b6d47\",\n            \"product_name\": \"Product 1\",\n            \"description\": null,\n            \"notification_email\": null,\n            \"redirect_url\": \"#\"\n        }\n    ]\n}"}],"_postman_id":"dc18495d-ac7c-489c-a590-dd7035d523c1"},{"name":"Get Single Product By Product ID","id":"cac7156f-c102-4cc0-a40f-95f890a6572e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/product/{product_id}","description":"<p>Fetch the details of a single product using the product ID.</p>\n","urlObject":{"protocol":"https","path":["api","v1","product","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"8e367ff1-614a-4edc-a46d-9f5a9db6f732","name":"Get Single Product By Product ID","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/product/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 07:30:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"483-wvnF230EC52ABe2YfQnT5mRnCZI\""},{"key":"Content-Encoding","value":"gzip"},{"key":"set-cookie","value":"sails.sid=s%3AHztvNxt46IauSOB1tdtqKDv0yCWlqeHs.P0Aepwa6gpnThFI3n50lykMsIa5%2B3JEC62aUiB2ALzk; Path=/; Expires=Wed, 04 Mar 2020 07:30:47 GMT; HttpOnly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Product details\",\n    \"data\": {\n        \"status\": \"active\",\n        \"createdAt\": \"2021-12-20T10:25:55.724Z\",\n        \"updatedAt\": \"2021-12-20T10:25:55.724Z\",\n        \"id\": \"61c05a330009ca3ce4636e51\",\n        \"product_name\": \"new pro\",\n        \"description\": null\n    }\n}"}],"_postman_id":"cac7156f-c102-4cc0-a40f-95f890a6572e"},{"name":"Update Product","id":"a422de7b-b4db-44f3-ae53-ef05414cbacb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"product_name\":\"Edit Product Name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/product/update/{product_id}","description":"<p>Firing this API with proper data will update a Product in your Pabbly Subscriptions account.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_name</td>\n<td>Required</td>\n<td>Update the product name.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","product","update","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"5be59d88-7b04-472a-87df-35986c452dbb","name":"Update Product","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"product_name\":\"Edit Product Name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/product/update/5e5df827815f5442a4208cd7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 07:39:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"333"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"14d-X5XTxJV2GSy8mFvufUAmtaFtX3U\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Product Updated\",\n    \"data\": {\n        \"createdAt\": \"2020-03-03T06:24:39.250Z\",\n        \"updatedAt\": \"2020-03-03T06:24:39.250Z\",\n        \"id\": \"5e5df827815f5442a4208cd7\",\n        \"product_name\": \"Edit Product Name\"\n    }\n}"}],"_postman_id":"a422de7b-b4db-44f3-ae53-ef05414cbacb"},{"name":"Delete Product","id":"3dadd4ac-321e-427d-b384-ef37c498df5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}","description":"<p>This API can be used to delete the product.</p>\n<p>The API will be fired with DELETE request along with the product ID in the API link.</p>\n<p>In response you will get the successful message of delete product.</p>\n","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9c73f66e-fbf8-48be-b001-7d0df03f361d","name":"Delete Product","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 12 Feb 2021 11:34:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"236"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613129670"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"ec-OnToj+76iA7JHyI86BZt2rMy+Rk\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Product deleted\",\n    \"data\": {\n        \"createdAt\": \"2021-02-11T10:05:58.957Z\",\n        \"updatedAt\": \"2021-02-11T10:05:58.957Z\",\n        \"id\": \"602501866343a259bc41cb19\",\n        \"product_name\": \"Test Product\",\n        \"description\": null,\n        \"redirect_url\": null\n    }\n}"}],"_postman_id":"3dadd4ac-321e-427d-b384-ef37c498df5c"}],"id":"282e97d8-33d6-47f3-9a76-589ed96441e3","_postman_id":"282e97d8-33d6-47f3-9a76-589ed96441e3","description":""},{"name":"Plans","item":[{"name":"Create Plan","id":"039094b9-417b-4f79-9f6e-baa9fcf95074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": \"5ea2d55617f6bf3123f0f95f\",\r\n    \"plan_name\": \"plan1\",\r\n    \"plan_code\": \"plan1\",\r\n    \"billing_cycle\": \"lifetime\",\r\n    \"setup_fee\": 2,\r\n    \"billing_cycle_num\": \"2\",\r\n    \"price\": 10,\r\n    \"billing_period\": \"m\",\r\n    \"billing_period_num\": \"1\",\r\n    \"plan_active\": \"true\",\r\n    \"plan_description\": \"\",\r\n    \"trial_period\": 2,\r\n    \"redirect_url\": \"https://www.pabbly.com/\",\r\n    \"currency_code\": \"USD\",\r\n    \"meta_data\": \r\n    {\r\n    \"value1\":\"{value_details}\", \r\n    \"value2\":\"{value_details}\", \r\n    \"value3\":\"{value_details}\"\r\n}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/plan/create","description":"<p>This is a POST request API used to create the selling plan for a product.</p>\n<p>In response you will get the plan Id, Created date and other important details.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Unique product Id in which you are creating this plan.</td>\n</tr>\n<tr>\n<td>plan_name</td>\n<td>Required</td>\n<td>Name of the plan.</td>\n</tr>\n<tr>\n<td>plan_code</td>\n<td>Required</td>\n<td>Plan Code can be same as plan name. This will be displayed at the end of the checkout page link.</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Required</td>\n<td>Add the plan amount. This is required or flat_fee/per_unit/ donation/variable</td>\n</tr>\n<tr>\n<td>currency_code</td>\n<td>Required</td>\n<td>In what currency do you want to sell</td>\n</tr>\n<tr>\n<td>billing_cycle  <br /><code>lifetime</code>-Is used for Recurring plan until cancel  <br /><code>specific</code>-Is used for Specified number of billing cycle</td>\n<td>Required</td>\n<td>It can be `specific/lifetime/onetime'</td>\n</tr>\n<tr>\n<td>billing_cycle_num</td>\n<td>Required</td>\n<td>Used only when the billing_cycle is ‘Specific’</td>\n</tr>\n<tr>\n<td>billing_period</td>\n<td>Required</td>\n<td>It can be  <br /><code>Monthy Billing</code> - 'm'  <br /><code>Yearly Billing</code> - 'y'  <br /><code>Weekly Billing</code> - 'w'</td>\n</tr>\n<tr>\n<td>billing_period_num</td>\n<td>Required</td>\n<td>It can be the number of month/weeks for the billing frequency.</td>\n</tr>\n<tr>\n<td>setup_fee</td>\n<td>Optional</td>\n<td>One time payment deducted at the time of purchase only.</td>\n</tr>\n<tr>\n<td>setup_fee_type  <br />  <br /><code>flat_fee</code> - 'If you want to add the FIXED setup fee'  <br /><code>per_unit</code> - 'If you want to add the Quantity-wise Setup fee'</td>\n<td>Required</td>\n<td>If setup fee amount is set flat_fee/per_unit</td>\n</tr>\n<tr>\n<td>plan_type</td>\n<td>Required</td>\n<td>flat_fee/per_unit/volume /tiered/stairstep/donation/variable</td>\n</tr>\n<tr>\n<td>tiers  <br /><code>starting_unit</code> - Used to add the starting unit of this plan  <br /><code>ending_unit</code>- Used to add the end unit of this plan  <br /><code>price</code> - Add the amount of this unit range</td>\n<td>Required</td>\n<td>If plan type is tiered/volume/stairtstep</td>\n</tr>\n<tr>\n<td>trial_amount</td>\n<td>Optional</td>\n<td>Enter the amount for for paid trial.</td>\n</tr>\n<tr>\n<td>trial_period</td>\n<td>Optional</td>\n<td>Assign trial days to your customers.</td>\n</tr>\n<tr>\n<td>trial_type</td>\n<td>Required</td>\n<td>If trial period is set day/month</td>\n</tr>\n<tr>\n<td>variable_increase_price</td>\n<td>Required</td>\n<td>If plan type is variable.</td>\n</tr>\n<tr>\n<td>variable_max_price_amount</td>\n<td>Required</td>\n<td>If plan type is variable.</td>\n</tr>\n<tr>\n<td>variable_type</td>\n<td>Required</td>\n<td>If plan type is variable sale/hour.</td>\n</tr>\n<tr>\n<td>variable_start_time</td>\n<td>Required</td>\n<td>If variable_type is hour.</td>\n</tr>\n<tr>\n<td>payment_gateway</td>\n<td>Optional</td>\n<td>Use selected/all for All or Selected Gateways</td>\n</tr>\n<tr>\n<td>gateways_array</td>\n<td>Optional</td>\n<td>Add the gateways in arrays, If If the payment gateway is Selected type.</td>\n</tr>\n<tr>\n<td>failed_payment_gateway</td>\n<td>Optional</td>\n<td>Use selected/all for All or Selected Gateways</td>\n</tr>\n<tr>\n<td>failed_payment_gateway_array</td>\n<td>Optional</td>\n<td>Add the gateways in arrays, If If the payment gateway is Selected type.</td>\n</tr>\n<tr>\n<td>plan_active</td>\n<td>Required</td>\n<td>It is active by default. You can deactivate it also.</td>\n</tr>\n<tr>\n<td>plan_description</td>\n<td>Optional</td>\n<td>Description of the plan.</td>\n</tr>\n<tr>\n<td>redirect_url</td>\n<td>Optional</td>\n<td>Customer will be redirected to this link after successful payment.</td>\n</tr>\n<tr>\n<td>payment_term</td>\n<td>Optional</td>\n<td>net0/net15/net30/net45/net60/month/nextmonth.</td>\n</tr>\n<tr>\n<td>specific_keep_live</td>\n<td>Optional</td>\n<td>live/expire</td>\n</tr>\n<tr>\n<td>meta_data</td>\n<td>Optional</td>\n<td>Pass additional information in plan and track it in subscription details of a customer.</td>\n</tr>\n<tr>\n<td>min_quantity</td>\n<td>Optional</td>\n<td>Minimum quantity to make the purchase.</td>\n</tr>\n<tr>\n<td>max_quantity</td>\n<td>Optional</td>\n<td>The maximum quantity allowed in one purchase. The customer can't exceed the maximum quantity limit.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plan","create"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"a78a91f2-e9ff-4299-9f3f-c224f5e0c6e4","name":"Create Plan","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": \"615c5494aa7246671999768d\",\n    \"plan_name\": \"Per Unit Plan\",\n    \"plan_code\": \"perunitplan\", //Unique plan code\n    \"price\": 10, //Required only if plan type is flat_fee | per_unit | donation | variable\n    \"currency_code\": \"USD\", //Required\n    \"billing_cycle\": \"lifetime\", //Required specific|lifetime|onetime\n    \"billing_cycle_num\": \"2\", //Required if billing cycle is specific\n    \"billing_period\": \"m\", //Required m|w|y\n    \"billing_period_num\": \"1\", //Required\n    \"setup_fee\": 2, //Optional\n    \"setup_fee_type\": \"per_unit\", //Required if setupfee amount is set flat_fee | per_unit\n    \"plan_type\": \"per_unit\", //Required flat_fee | per_unit | volume | tiered | stairstep | donation | variable\n    \"tiers\": [\n        {\n            \"starting_unit\": \"1\",\n            \"ending_unit\": \"10\",\n            \"price\": \"100\"\n        },\n        {\n            \"starting_unit\": \"11\",\n            \"price\": \"500\"\n        }\n    ], //Required if plan type is tiered/volume/stairtstep\n    \"trial_amount\": 10,Optional for paid trail\n   \"trial_period\": 1,\n    \"trial_type\": \"day\", // Required if trial period is set day|month\n    \"variable_increase_price\": 5, //Required if plan type is variable\n    \"variable_max_price_amount\": 100, //Required if plan type is variable\n    \"variable_period_num\": 1, //Required if plan type is variable\n    \"variable_type\": \"hour\", //Required if plan type is variable sale | hour\n    \"variable_start_time\": \"2021-10-06 21:15\", //Required if variable_type is hour\n    \"payment_gateway\": \"selected\",(selected|all) (optional),\n    \"gateways_array\": [\n        \"615c365d2688ae545d670709\",...\n    ],(optional),\n    \"failed_payment_gateway\": \"selected\",(selected|all) (optional),\n    \"failed_payment_gateway_array\": [\n        \"615c365d2688ae545d670709\"\n    ],(optional)\n   \"plan_active\": \"true\",\n    \"plan_description\": \"\",\n    \"redirect_url\": \"https://www.pabbly.com/\",\n    \"payment_term\": \"net15\", //net0|net15|net30|net45|net60|month|nextmonth\n    \"specific_keep_live\": \"live\", //live|expire\n    \"meta_data\": {\n        \"value1\": \"{value_details}\",\n        \"value2\": \"{value_details}\",\n        \"value3\": \"{value_details}\"\n    },\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/plan/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 09 May 2020 08:07:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"692"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"2b4-9NjXfaTh/A2CBOvALxKLax/5WRQ\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan Created\",\n    \"data\": {\n        \"plan_type\": \"per_unit\",\n        \"plan_active\": \"true\",\n        \"redirect_url\": \"https://www.pabbly.com/\",\n        \"currency_code\": \"INR\",\n        \"currency_symbol\": \"₹\",\n        \"payment_gateway\": \"selected\",\n        \"gateways_array\": [\n            \"615c365d2688ae545d670709\"\n        ],\n        \"tiers\": [\n            {\n                \"starting_unit\": \"1\",\n                \"ending_unit\": \"10\",\n                \"price\": \"100\"\n            },\n            {\n                \"starting_unit\": \"11\",\n                \"price\": \"500\"\n            }\n        ],\n        \"setup_fee_type\": \"per_unit\",\n        \"trial_type\": \"day\",\n        \"trial_amount\": 10,\n        \"createdAt\": \"2021-10-06T10:46:40.960Z\",\n        \"updatedAt\": \"2021-10-06T10:46:40.960Z\",\n        \"id\": \"615d7e9086d80a30fcf9b6fb\",\n        \"product_id\": \"615c5494aa7246671999768d\",\n        \"plan_name\": \"Per Unit Plan\",\n        \"plan_code\": \"perunitplan\",\n        \"price\": 10,\n        \"billing_period\": \"m\",\n        \"billing_period_num\": \"1\",\n        \"billing_cycle\": \"lifetime\",\n        \"billing_cycle_num\": \"2\",\n        \"trial_period\": 2,\n        \"setup_fee\": 2,\n        \"plan_description\": \"\",\n        \"checkout_page\": \"http://localhost:1337/subscribe/615d7e9086d80a30fcf9b6fb/perunitplan\"\n    }\n}"}],"_postman_id":"039094b9-417b-4f79-9f6e-baa9fcf95074"},{"name":"List All Plans","id":"f3e850a9-c16a-472e-a870-9ae954d81524","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/plans","description":"<p>This API is used to retrieve a list of all the available plans.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plans"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"fd66bfab-d336-4a42-978c-6498a9a7fb63","name":"List All Plans","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/plans?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","plans"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 11:02:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"1550-nG0acVNb4TAYfLv0pNy0a/DMYvE\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan data\",\n    \"data\": [\n        {\n            \"plan_active\": \"true\",\n            \"redirect_url\": \"https://www.pabbly.com/\",\n            \"bump_offer\": {},\n            \"currency_code\": \"USD\",\n            \"currency_symbol\": \"$\",\n            \"createdAt\": \"2020-03-03T11:01:35.212Z\",\n            \"updatedAt\": \"2020-03-03T11:01:35.212Z\",\n            \"id\": \"5e5e390ff7992542b0b5515d\",\n            \"product_id\": \"5e4b9166f492d74aabef7b52\",\n            \"plan_name\": \"plan1\",\n            \"plan_code\": \"plan1\",\n            \"price\": 10,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": \"2\",\n            \"trial_period\": 2,\n            \"setup_fee\": 2,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e5e390ff7992542b0b5515d/plan1\"\n        },\n        {\n            \"plan_active\": \"false\",\n            \"bump_offer\": {\n                \"plan_id\": null,\n                \"title_label\": null,\n                \"tag_line\": null,\n                \"description\": null\n            },\n            \"redirect_url\": null,\n            \"createdAt\": \"2020-02-07T07:37:57.868Z\",\n            \"updatedAt\": \"2020-02-07T07:37:57.868Z\",\n            \"id\": \"5e3d13d5db854627602966c0\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"Recurring montly plan\",\n            \"plan_code\": \"recurring-montly-plan\",\n            \"price\": 50,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e3d13d5db854627602966c0/recurring-montly-plan\"\n        },\n        {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n            \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n            \"id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_name\": \"New recurring plan\",\n            \"plan_code\": \"new-recurring-plan\",\n            \"price\": 200,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p>zdf</p>\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e3bf8b8db85462760295d2f/new-recurring-plan\"\n        },\n        ...\n    ]\n}"}],"_postman_id":"f3e850a9-c16a-472e-a870-9ae954d81524"},{"name":"Get single Plan by Plan ID","id":"8e78c6df-2503-41bd-84db-6921730d5e4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/plan/{plan_id}","description":"<p>This API is used to get a plan by Plan Id.</p>\n","urlObject":{"protocol":"https","path":["api","v1","plan","{plan_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"cbb3dc30-750f-4be1-ab87-571e2278c06d","name":"Get single Plan by Plan ID","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/plan/{plan_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 11:02:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"1550-nG0acVNb4TAYfLv0pNy0a/DMYvE\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan data\",\n    \"data\": {\n        \"plan_type\": \"flat_fee\",\n        \"plan_active\": \"true\",\n        \"trial_amount\": 0,\n        \"failed_payment_gateway\": \"\",\n        \"failed_payment_gateway_array\": [],\n        \"funnel\": [],\n        \"funnel_count\": \"\",\n        \"gateways_array\": [],\n        \"payment_gateway\": \"all\",\n        \"setup_fee_type\": \"\",\n        \"trial_type\": \"day\",\n        \"currency_code\": \"USD\",\n        \"currency_symbol\": \"$\",\n        \"specific_keep_live\": false,\n        \"createdAt\": \"2022-07-07T05:47:51.234Z\",\n        \"updatedAt\": \"2023-02-02T11:10:40.385Z\",\n        \"id\": \"62c673879f877d1e5e53b466\",\n        \"product_id\": \"62c6731c9f877d1e5e53b464\",\n        \"plan_name\": \"monthly plan\",\n        \"plan_code\": \"monthly-plan\",\n        \"price\": 400,\n        \"billing_period\": \"\",\n        \"billing_period_num\": \"\",\n        \"billing_cycle\": \"onetime\",\n        \"billing_cycle_num\": \"\",\n        \"trial_period\": 0,\n        \"setup_fee\": 0,\n        \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul>\"\n    }\n}"}],"_postman_id":"8e78c6df-2503-41bd-84db-6921730d5e4f"},{"name":"List All Plans By Product ID","id":"b171036f-4c16-4de2-8ab2-6b5e09078145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/plans/{product_id}","description":"<p>This API is used to retrieve a list of all the available plans by product id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plans","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"5b741f17-ead2-4cdc-859a-d71b2f653df5","name":"List All Plans By Product ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/plans/5e3d13bedb854627602966bf?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","plans","5e3d13bedb854627602966bf"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 11:47:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"6a3-ZkCZo8JVXHGMU33k1fVgG7aAY4s\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan data\",\n    \"data\": [\n        {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-03-03T11:45:52.240Z\",\n            \"updatedAt\": \"2020-03-03T11:45:52.240Z\",\n            \"id\": \"5e5e4370aeec8333ded366f8\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"paid Trial Plan\",\n            \"plan_code\": \"paid-trial-plan\",\n            \"price\": 50,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 10,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e5e4370aeec8333ded366f8/paid-trial-plan\"\n        },\n        {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-03-03T11:45:33.097Z\",\n            \"updatedAt\": \"2020-03-03T11:45:33.097Z\",\n            \"id\": \"5e5e435daeec8333ded366f7\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"Recurring Yearly Plan\",\n            \"plan_code\": \"recurring-yearly-plan\",\n            \"price\": 100,\n            \"billing_period\": \"y\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e5e435daeec8333ded366f7/recurring-yearly-plan\"\n        },\n        {\n            \"plan_active\": \"false\",\n            \"bump_offer\": {\n                \"plan_id\": null,\n                \"title_label\": null,\n                \"tag_line\": null,\n                \"description\": null\n            },\n            \"redirect_url\": null,\n            \"createdAt\": \"2020-02-07T07:37:57.868Z\",\n            \"updatedAt\": \"2020-02-07T07:37:57.868Z\",\n            \"id\": \"5e3d13d5db854627602966c0\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"Recurring montly plan\",\n            \"plan_code\": \"recurring-montly-plan\",\n            \"price\": 50,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e3d13d5db854627602966c0/recurring-montly-plan\"\n        }\n    ]\n}"}],"_postman_id":"b171036f-4c16-4de2-8ab2-6b5e09078145"},{"name":"Update Plan","id":"44a4f878-2940-4284-8bd5-3464d2848298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"plan_name\": \"Per Unit Plan\",\r\n    \"plan_code\": \"perunitplan\", //Unique plan code\r\n    \"product_id\": \"5ea2d55617f6bf3123f0f95f\",\r\n    \"price\": 10, //Required only if plan type is flat_fee | per_unit | donation | variable\r\n    \"billing_cycle\": \"lifetime\", //Optional specific|lifetime|onetime\r\n    \"billing_cycle_num\": \"2\", //Required if billing cycle is specific\r\n    \"billing_period\": \"m\", //Optional m|w|y\r\n    \"billing_period_num\": \"1\", //Optional\r\n    \"setup_fee\": 2, //Optional\r\n    \"setup_fee_type\": \"per_unit\", //Required if setupfee amount is set flat_fee | per_unit\r\n    \"plan_type\": \"per_unit\", //Optional flat_fee | per_unit | volume | tiered | stairstep | donation | variable\r\n    \"tiers\": [\r\n        {\r\n            \"starting_unit\": \"1\",\r\n            \"ending_unit\": \"10\",\r\n            \"price\": \"100\"\r\n        },\r\n        {\r\n            \"starting_unit\": \"11\",\r\n            \"price\": \"500\"\r\n        }\r\n    ], //Required if plan type is tiered/volume/stairtstep\r\n    \"trial_amount\": 10,\r\n    \"trial_period\": 1,\r\n    \"trial_type\": \"day\", // Required if trial period is set day|month\r\n    \"variable_increase_price\": 5, //Required if plan type is variable\r\n    \"variable_max_price_amount\": 100, //Required if plan type is variable\r\n    \"variable_period_num\": 1, //Required if plan type is variable\r\n    \"variable_type\": \"hour\", //Required if plan type is variable sale | hour\r\n    \"variable_start_time\": \"2021-10-06 21:15\", //Required if variable_type is hour\r\n    \"payment_gateway\": \"selected\",\r\n    \"gateways_array\": [\r\n        \"615c365d2688ae545d670709\",\r\n        \"615c365d2688ae545d670705\"\r\n    ],\r\n    \"failed_payment_gateway\": \"selected\",\r\n    \"failed_payment_gateway_array\": [\r\n        \"615c365d2688ae545d670709\"\r\n    ],\r\n    \"plan_active\": \"true\",\r\n    \"plan_description\": \"\",\r\n    \"redirect_url\": \"https://www.pabbly.com/\",\r\n    \"payment_term\": \"net15\", //Optional net0|net15|net30|net45|net60|month|nextmonth\r\n    \"specific_keep_live\": \"live\", //Optional live|expire\r\n    \"meta_data\": {\r\n        \"value1\": \"{value_details}\",\r\n        \"value2\": \"{value_details}\",\r\n        \"value3\": \"{value_details}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/plan/update/{plan_id}","description":"<p>A PUT request API can be used to update or edit the details of an existing plan.</p>\n<p>You will need to add the plan Id in Request the URL</p>\n<p>In response, you will get the new details of the plan on the same plan Id.</p>\n<h2 id=\"attribute\">Attribute</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>redirect_url</td>\n<td>Optional</td>\n<td>The customer will be redirected to this link after successful payment.</td>\n</tr>\n<tr>\n<td>currency_code</td>\n<td>Optional</td>\n<td>In what currency do you want to sell</td>\n</tr>\n<tr>\n<td>plan_name</td>\n<td>Required</td>\n<td>Update the plan name.</td>\n</tr>\n<tr>\n<td>plan_code</td>\n<td>Required</td>\n<td>Plan Code can be same as plan name. This will be displayed at the end of the checkout page link.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Unique product Id in which you are creating this plan.</td>\n</tr>\n<tr>\n<td>billing_cycle</td>\n<td>Optional</td>\n<td>specific</td>\n</tr>\n<tr>\n<td>setup_fee</td>\n<td>Optional</td>\n<td>Fees deducted at the time of first payment only.</td>\n</tr>\n<tr>\n<td>billing_cycle_num</td>\n<td>Required if the billing cycle is specific</td>\n<td>Update the billing timeline.</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Optional</td>\n<td>Update the price of the plan. Required only if plan type is flat_fee</td>\n</tr>\n<tr>\n<td>billing_period</td>\n<td>Optional</td>\n<td>Update the billing period.</td>\n</tr>\n<tr>\n<td>billing_period_num</td>\n<td>Optional</td>\n<td>Number of billing number of weeks, months, or year.</td>\n</tr>\n<tr>\n<td>plan_active</td>\n<td>Optional</td>\n<td>True for plan active and false for inactive</td>\n</tr>\n<tr>\n<td>plan_description</td>\n<td>Optional</td>\n<td>Update the plan description</td>\n</tr>\n<tr>\n<td>plan_type</td>\n<td>Optional</td>\n<td>flat_fee</td>\n</tr>\n<tr>\n<td>trial_amount</td>\n<td>Optional for paid trail</td>\n<td>trial_amount</td>\n</tr>\n<tr>\n<td>trial_period</td>\n<td>Optional</td>\n<td>Add the number of trials</td>\n</tr>\n<tr>\n<td>trial_type</td>\n<td>Optional</td>\n<td>Required if trial period is set day</td>\n</tr>\n<tr>\n<td>variable_increase_price</td>\n<td>Required if plan type is variable</td>\n<td>Add the amount to increase price by each time it goes up.</td>\n</tr>\n<tr>\n<td>variable_max_price_amount</td>\n<td>Required if plan type is variable</td>\n<td>Add the maximum price your product will sell for.</td>\n</tr>\n<tr>\n<td>variable_period_num</td>\n<td>Required if plan type is variable</td>\n<td>Add the amount, how often to increase the price.</td>\n</tr>\n<tr>\n<td>variable_type</td>\n<td>Required if plan type is variable sale</td>\n<td>hour</td>\n</tr>\n<tr>\n<td>variable_start_time</td>\n<td>Required if variable_type is hour</td>\n<td>Add the date and time that the timesale will start.</td>\n</tr>\n<tr>\n<td>payment_gateway</td>\n<td>Optional</td>\n<td>selected</td>\n</tr>\n<tr>\n<td>gateways_array</td>\n<td>Optional</td>\n<td>[\"615c365d2688ae545d670709\",...] Use this when you use payment gateway as \"Selected\"</td>\n</tr>\n<tr>\n<td>failed_payment_gateway</td>\n<td>Optional</td>\n<td>selected</td>\n</tr>\n<tr>\n<td>failed_payment_gateway_array</td>\n<td>Optional</td>\n<td>[\"615c365d2688ae545d670709\",...] Use this when you use payment gateway as \"Selected\"</td>\n</tr>\n<tr>\n<td>plan_active</td>\n<td>Optional</td>\n<td>true</td>\n</tr>\n<tr>\n<td>plan_description</td>\n<td>Optional</td>\n<td>Add the plan description here that you want to display on the checkout page.</td>\n</tr>\n<tr>\n<td>payment_term</td>\n<td>Optional</td>\n<td>net0</td>\n</tr>\n<tr>\n<td>specific_keep_live</td>\n<td>Optional</td>\n<td>live</td>\n</tr>\n<tr>\n<td>meta_data</td>\n<td>Optional</td>\n<td>{  <br />\"value1\": \"{value_details}\",  <br />\"value2\": \"{value_details}\",  <br />\"value3\": \"{value_details}\"  <br />}  <br />This will help you to pass the hidden custom field data on the checkout page.</td>\n</tr>\n<tr>\n<td>min_quantity</td>\n<td>Optional</td>\n<td>Minimum quantity to make the purchase.</td>\n</tr>\n<tr>\n<td>max_quantity</td>\n<td>Optional</td>\n<td>The maximum quantity allowed in one purchase. The customer can't exceed the maximum quantity limit.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plan","update","{plan_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"3e5650e8-ea3a-47f3-ac65-ce73a5fea589","name":"Update Plan","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"plan_name\": \"Per Unit Plan\",\r\n    \"plan_code\": \"perunitplan\", //Unique plan code\r\n    \"product_id\": \"5ea2d55617f6bf3123f0f95f\",\r\n    \"price\": 10, //Required only if plan type is flat_fee | per_unit | donation | variable\r\n    \"currency_code\": \"USD\", //Optional\r\n    \"billing_cycle\": \"lifetime\", //Optional specific|lifetime|onetime\r\n    \"billing_cycle_num\": \"2\", //Required if billing cycle is specific\r\n    \"billing_period\": \"m\", //Optional m|w|y\r\n    \"billing_period_num\": \"1\", //Optional\r\n    \"setup_fee\": 2, //Optional\r\n    \"setup_fee_type\": \"per_unit\", //Required if setupfee amount is set flat_fee | per_unit\r\n    \"plan_type\": \"per_unit\", //Optional flat_fee | per_unit | volume | tiered | stairstep | donation | variable\r\n    \"tiers\": [\r\n        {\r\n            \"starting_unit\": \"1\",\r\n            \"ending_unit\": \"10\",\r\n            \"price\": \"100\"\r\n        },\r\n        {\r\n            \"starting_unit\": \"11\",\r\n            \"price\": \"500\"\r\n        }\r\n    ], //Required if plan type is tiered/volume/stairtstep\r\n    \"trial_amount\": 10,\r\n    \"trial_period\": 1,\r\n    \"trial_type\": \"day\", // Required if trial period is set day|month\r\n    \"variable_increase_price\": 5, //Required if plan type is variable\r\n    \"variable_max_price_amount\": 100, //Required if plan type is variable\r\n    \"variable_period_num\": 1, //Required if plan type is variable\r\n    \"variable_type\": \"hour\", //Required if plan type is variable sale | hour\r\n    \"variable_start_time\": \"2021-10-06 21:15\", //Required if variable_type is hour\r\n    \"payment_gateway\": \"selected\",\r\n    \"gateways_array\": [\r\n        \"615c365d2688ae545d670709\",\r\n        \"615c365d2688ae545d670705\"\r\n    ],\r\n    \"failed_payment_gateway\": \"selected\",\r\n    \"failed_payment_gateway_array\": [\r\n        \"615c365d2688ae545d670709\"\r\n    ],\r\n    \"plan_active\": \"true\",\r\n    \"plan_description\": \"\",\r\n    \"redirect_url\": \"https://www.pabbly.com/\",\r\n    \"payment_term\": \"net15\", //Optional net0|net15|net30|net45|net60|month|nextmonth\r\n    \"Subscription_status_after_terms_end\": \"live\", //Optional live|expire\r\n    \"meta_data\": {\r\n        \"value1\": \"{value_details}\",\r\n        \"value2\": \"{value_details}\",\r\n        \"value3\": \"{value_details}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/plan/update/{plan_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 03 Mar 2020 11:52:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"604"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"25c-AdiCQa+gk2lxkyL0blkyodoxhx0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan Updated\",\n    \"data\": {\n        \"plan_type\": \"per_unit\",\n        \"plan_active\": \"true\",\n        \"redirect_url\": \"https://www.pabbly.com/\",\n        \"currency_code\": \"INR\",\n        \"currency_symbol\": \"₹\",\n        \"payment_gateway\": \"selected\",\n        \"gateways_array\": [\n            \"615c365d2688ae545d670709\"\n        ],\n        \"tiers\": [\n            {\n                \"starting_unit\": \"1\",\n                \"ending_unit\": \"10\",\n                \"price\": \"100\"\n            },\n            {\n                \"starting_unit\": \"11\",\n                \"price\": \"500\"\n            }\n        ],\n        \"setup_fee_type\": \"per_unit\",\n        \"trial_type\": \"day\",\n        \"trial_amount\": 10,\n        \"createdAt\": \"2021-10-06T10:46:40.960Z\",\n        \"updatedAt\": \"2021-10-06T10:46:40.960Z\",\n        \"id\": \"615d7e9086d80a30fcf9b6fb\",\n        \"product_id\": \"615c5494aa7246671999768d\",\n        \"plan_name\": \"Per Unit Plan\",\n        \"plan_code\": \"perunitplan\",\n        \"price\": 10,\n        \"billing_period\": \"m\",\n        \"billing_period_num\": \"1\",\n        \"billing_cycle\": \"lifetime\",\n        \"billing_cycle_num\": \"2\",\n        \"trial_period\": 2,\n        \"setup_fee\": 2,\n        \"plan_description\": \"\",\n        \"checkout_page\": \"http://localhost:1337/subscribe/615d7e9086d80a30fcf9b6fb/perunitplan\"\n    }}"}],"_postman_id":"44a4f878-2940-4284-8bd5-3464d2848298"},{"name":"Delete Plan","id":"e3e73cb2-80e3-42c6-bdcd-b1cb8a0483fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/plans/{plan_id}","description":"<p>This API can be used to delete the plan.</p>\n<p>The API will be fired with DELETE request along with the Plan ID in the API link.</p>\n<p>In response you will get the successful message of delete plan.</p>\n","urlObject":{"protocol":"https","path":["api","v1","plans","{plan_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"cfae8e92-c41b-4ac3-8590-23afc3e39e0f","name":"Delete Plan","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/plans/{plan_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 12 Feb 2021 11:46:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"441"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613130385"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"1b9-8X7H3SbOq3wzQMoVOEdluSwaoFM\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Plan deleted\",\n    \"data\": {\n        \"plan_active\": \"true\",\n        \"createdAt\": \"2021-02-12T11:45:58.849Z\",\n        \"updatedAt\": \"2021-02-12T11:45:58.849Z\",\n        \"id\": \"60266a765694207fb5495106\",\n        \"product_id\": \"5ff95380f863294e0d7df932\",\n        \"plan_name\": \"Monthly Plan\",\n        \"plan_code\": \"monthly-plan\",\n        \"price\": 10,\n        \"billing_period\": \"m\",\n        \"billing_period_num\": \"1\",\n        \"billing_cycle\": \"lifetime\",\n        \"billing_cycle_num\": null,\n        \"trial_period\": 0,\n        \"setup_fee\": 0,\n        \"plan_description\": \"\"\n    }\n}"}],"_postman_id":"e3e73cb2-80e3-42c6-bdcd-b1cb8a0483fc"}],"id":"6bd8f93c-f741-489a-bdb3-8820431f57f8","_postman_id":"6bd8f93c-f741-489a-bdb3-8820431f57f8","description":""},{"name":"Coupon","item":[{"name":"Create Coupon","id":"423ee687-4e13-45a1-8b55-4be1ea86a47c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupon_name\": \"Special Offer\",\r\n  \"coupon_code\" : \"SPL-OFF\",\r\n  \"discount\": 25,\r\n  \"discount_type\": \"flat\", //Required if, discount type is set as flat | percent\r\n  \"redemption_type\": \"forever\", //Required if, redemption type is set as number_time | onetime | forever\r\n  \"redemption_cycle\": 2,\r\n  \"associate_plans\": \"selected_plans\",\r\n  \"plans_array\": [\"62a354b2ffddb0508a05ed91\",\"62d69e07ad0fcc7f11214798\"],\r\n  \"valid_upto\": \"2030-10-02\",\r\n  \"apply_to\":\"total_amount\", //Required if, apply to is set as subscription_amount | addon_amount | total_amount\r\n  \"maximum_redemption\":10,\r\n  \"status\": \"active\",\r\n  \"apply_affiliate\": \"yes\",\r\n  \"affiliate_id\": \"5ff6984857b2331ca3011fbb\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/coupon/{product_id}","description":"<p>The POST request API, which is used to create a new coupon.</p>\n<p>product_id will be added in the Request URL.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Are</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>coupon_name</td>\n<td>Required</td>\n<td>Name of your coupon.</td>\n</tr>\n<tr>\n<td>coupon_code</td>\n<td>Required</td>\n<td>This code will be used by the customer to avail discounts.</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Required</td>\n<td>Discounted number either percent or flat.</td>\n</tr>\n<tr>\n<td>discount_type</td>\n<td>Required</td>\n<td>It can be -  <br /><code>percent</code> - Coupon will be applied as a percent on a subscription.  <br /><code>flat</code> - Coupon will be applied as flat on a subscription.</td>\n</tr>\n<tr>\n<td>redemption_type</td>\n<td>Required</td>\n<td>Choose how many times this coupon will be used.  <br /><code>onetime</code>– Will be applied for a single time on a subscription.  <br /><code>forever</code> – Forever type discount.  <br /><code>number_time</code> – For limited redemption type discount.</td>\n</tr>\n<tr>\n<td>redemption_cycle</td>\n<td>Optional</td>\n<td>Filled when the redemption type is number time.</td>\n</tr>\n<tr>\n<td>associate_plans</td>\n<td>Required</td>\n<td>It can be \"all_plans\" or \"selected_plans\". Specify this discount for All plans or specific plans.</td>\n</tr>\n<tr>\n<td>plans_array</td>\n<td>Optional</td>\n<td>If associated plans is ‘selected_plans’ then add the plan Id in array.</td>\n</tr>\n<tr>\n<td>valid_upto</td>\n<td>Required</td>\n<td>Select the future date in which the coupon can be applied.</td>\n</tr>\n<tr>\n<td>apply_to</td>\n<td>Required</td>\n<td>It can be  <br /><code>total_amount</code> - 'The coupon will be applied for total amount including plan, setup fee, addon amount etc.'  <br /><code>subscription_amount</code> - 'Apply coupon only to the subscription fee and not to the setup fee or other fees.'  <br /><code>addon_amount</code> - 'Apply coupon only to the addon fee and not to the subscription fee or other fees.'</td>\n</tr>\n<tr>\n<td>maximum_redemption</td>\n<td>Required</td>\n<td>How many times this coupon can be used.</td>\n</tr>\n<tr>\n<td>apply_affiliate</td>\n<td>Optional</td>\n<td>It can be \"yes\" or \"no\".</td>\n</tr>\n<tr>\n<td>affiliate_id</td>\n<td>Required Only if apply_affiliate is set to \"yes\".</td>\n<td>Affiliate ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","coupon","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"62eb3d08-5f15-42be-8d05-2a61307ce8d6","name":"Create Coupon","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"coupon_name\": \"Special Offer\",\r\n  \"coupon_code\" : \"SPL-OFF\",\r\n  \"discount\": 25,\r\n  \"discount_type\": \"flat\",//Required if, discount type is set as flat | percent\r\n  \"redemption_type\": \"forever\",//Required if, redemption type is set as number_time | onetime | forever\r\n  \"redemption_cycle\": 2,\r\n  \"associate_plans\": \"selected_plans\",\r\n  \"plans_array\": [\"5e3bf8b8db85462760295d2f\",\"5e3aa7133c92e44b424b6dec\"],\r\n  \"valid_upto\": \"2022-10-02\",\r\n  \"apply_to\":\"total_amount\",// Required if, apply to is set as subscription_amount | addon_amount | total_amount\r\n  \"maximum_redemption\":10,\r\n  \"status\": \"active\",\r\n  \"apply_affiliate\": \"yes\",\r\n  \"affiliate_id\": \"6336cc218d18fa175272e394\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/coupon/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:25:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"569"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"239-ZnfljCg2D7SpAj3PQk/EdXubCbk\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Coupon created\",\n    \"data\": {\n        \"status\": \"active\",\n        \"apply_to\": \"total_amount\",\n        \"createdAt\": \"2020-03-04T05:25:50.089Z\",\n        \"updatedAt\": \"2020-03-04T05:25:50.089Z\",\n        \"id\": \"5e5f3bde7c5aeb3675f41685\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"coupon_name\": \"Special Offer\",\n        \"coupon_code\": \"SPL-OFF\",\n        \"discount\": 25,\n        \"discount_type\": \"flat\",\n        \"redemption_type\": \"number_time\",\n        \"redemption_cycle\": 2,\n        \"associate_plans\": \"selected_plans\",\n        \"plans_array\": [\n            \"5e3bf8b8db85462760295d2f\",\n            \"5e3aa7133c92e44b424b6dec\"\n        ],\n        \"valid_upto\": \"2022-10-02\",\n        \"maximum_redemption\": 10,\n        \"used_redemption\": 0\n    }\n}"}],"_postman_id":"423ee687-4e13-45a1-8b55-4be1ea86a47c"},{"name":"List All Coupons By Product","id":"c5c5010c-104b-4c7c-bbad-7da44f37c787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/coupon/{product_id}","description":"<p>This API is used to retrieve a list of all the available coupons by product id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","coupon","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9bf5302b-4fd3-4700-98db-2c56e9e71635","name":"Get Coupon","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/coupon/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:36:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"5e8-UXj36lPk7rCRPpiZ75kbztWqelU\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Get Coupon\",\n    \"data\": [\n        {\n            \"status\": \"active\",\n            \"apply_to\": \"total_amount\",\n            \"createdAt\": \"2020-03-04T05:25:50.089Z\",\n            \"updatedAt\": \"2020-03-04T05:25:50.089Z\",\n            \"id\": \"5e5f3bde7c5aeb3675f41685\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"coupon_name\": \"Special Offer\",\n            \"coupon_code\": \"SPL-OFF\",\n            \"discount\": 25,\n            \"discount_type\": \"flat\",\n            \"redemption_type\": \"number_time\",\n            \"redemption_cycle\": 2,\n            \"associate_plans\": \"selected_plans\",\n            \"plans_array\": [\n                \"5e3bf8b8db85462760295d2f\",\n                \"5e3aa7133c92e44b424b6dec\"\n            ],\n            \"valid_upto\": \"2022-10-02\",\n            \"maximum_redemption\": 10,\n            \"used_redemption\": 0\n        },\n        {\n            \"status\": \"active\",\n            \"apply_to\": \"total_amount\",\n            \"createdAt\": \"2020-02-05T10:36:25.297Z\",\n            \"updatedAt\": \"2020-02-05T10:36:25.297Z\",\n            \"id\": \"5e3a9aa924b63d4b28410cc7\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"coupon_name\": \"Percentage Recurring\",\n            \"coupon_code\": \"PER\",\n            \"discount\": 10,\n            \"discount_type\": \"percent\",\n            \"redemption_type\": \"forever\",\n            \"redemption_cycle\": 0,\n            \"associate_plans\": \"all_plans\",\n            \"plans_array\": null,\n            \"valid_upto\": \"2020-03-11\",\n            \"maximum_redemption\": 5,\n            \"used_redemption\": 4\n        },\n        {\n            \"status\": \"active\",\n            \"apply_to\": \"total_amount\",\n            \"createdAt\": \"2020-02-05T10:29:15.945Z\",\n            \"updatedAt\": \"2020-02-05T10:29:15.945Z\",\n            \"id\": \"5e3a98fb3c92e44b424b6d77\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"coupon_name\": \"Flat Coupon onetime\",\n            \"coupon_code\": \"FLAT\",\n            \"discount\": 5,\n            \"discount_type\": \"flat\",\n            \"redemption_type\": \"onetime\",\n            \"redemption_cycle\": 0,\n            \"associate_plans\": \"selected_plans\",\n            \"plans_array\": [\n                \"5e3a95303c92e44b424b6d48\"\n            ],\n            \"valid_upto\": \"2020-02-05\",\n            \"maximum_redemption\": 5,\n            \"used_redemption\": 3\n        }\n    ]\n}"}],"_postman_id":"c5c5010c-104b-4c7c-bbad-7da44f37c787"},{"name":"Delete Coupon","id":"6662d924-a4b6-41ca-a391-de02b35ea31d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/coupons/{coupon_id}","description":"<p>This API can be used to delete the coupon.</p>\n<p>The API will be fired with DELETE request along with the Coupon ID in the API link.</p>\n<p>In response you will get the successful message of delete coupon.</p>\n","urlObject":{"protocol":"https","path":["api","v1","coupons","{coupon_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"3d43fbb4-f18a-4cae-9961-3aee4a76efc0","name":"Delete Coupon","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/coupons/{coupon_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 12 Feb 2021 11:52:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"538"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613130740"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"21a-kpchqT3S/x+abogAzBH2D/fMV88\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Coupon deleted\",\n    \"data\": {\n        \"status\": \"active\",\n        \"apply_to\": \"total_amount\",\n        \"createdAt\": \"2021-01-05T06:10:52.951Z\",\n        \"updatedAt\": \"2021-01-05T06:10:52.951Z\",\n        \"id\": \"5ff402ec551878090027aae3\",\n        \"product_id\": \"5ff401d4551878090027aad5\",\n        \"coupon_name\": \"25 return\",\n        \"coupon_code\": \"25return\",\n        \"discount\": 25,\n        \"discount_type\": \"percent\",\n        \"redemption_type\": \"onetime\",\n        \"redemption_cycle\": 0,\n        \"associate_plans\": \"selected_plans\",\n        \"plans_array\": [\n            \"5ff401f0551878090027aad6\"\n        ],\n        \"valid_upto\": \"2021-09-01\",\n        \"maximum_redemption\": 10,\n        \"used_redemption\": 0\n    }\n}"}],"_postman_id":"6662d924-a4b6-41ca-a391-de02b35ea31d"}],"id":"b5febe47-5e72-469a-a322-b7868b6cd3c9","_postman_id":"b5febe47-5e72-469a-a322-b7868b6cd3c9","description":""},{"name":"Invoice","item":[{"name":"Get Single Invoice","id":"41d4bb31-a125-4f1d-9bcd-fbe2bc95ff4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoice/{invoice_id}","description":"<p>This is a GET request API which is used to get the data of a single invoice.</p>\n<p>The Invoice Id is added in the link and fired without any formdata.</p>\n<p>In response You will get the customer Id user Id, email product Id, plan Id and all the data which is present in the invoice.</p>\n<p>Most important you get the status of the Invoice. If the status is paid then the payment is successful from the customer’s end.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invoice_id</td>\n<td>Required</td>\n<td>Here you can pass the Invoice ID (65dafe0d2323da3340d7812d) or the Invoice Number (INV-7444).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","invoice","{invoice_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"7b8e1817-b5ea-4787-a225-126b6e0d920b","name":"Get Single Invoice","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoice/6291f4fa9dcb4a60765ed4b7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 28 May 2022 12:13:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7126e8387d935af9-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"437-B6rGuI0T/VsbgBnuY3p+UQi7v8c\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1653740038"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=DxZBvG5c2crz7ynPv5MRzgDA7vR7ppiyDAscgZcP5IJa73ljsR5MS9QyEqQBEdipsOTyZC5MAiBQHCbXxWu39x10XYIRisADVrO8mTP0seibUc5sY%2F19cH6b6DYB%2BB8DoISnf4E%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Invoice data\",\n    \"data\": {\n        \"quantity\": 1,\n        \"product_id\": \"5ff696ec57b2331ca3011f96\",\n        \"setup_fee\": 0,\n        \"currency_symbol\": \"$\",\n        \"credit_note\": {\n            \"total_tax\": \"0.00\",\n            \"status\": \"success\",\n            \"new_plan_total\": 100,\n            \"total_credit_amount\": 0,\n            \"charge_amount\": 100,\n            \"credit_applied\": []\n        },\n        \"tax_apply\": {\n            \"country\": \"CA\",\n            \"tax_id\": \"\",\n            \"exempt_tax\": [],\n            \"total_amount\": 100,\n            \"total_tax\": \"0.00\"\n        },\n        \"cron_process\": \"done\",\n        \"retry\": false,\n        \"retry_count\": 0,\n        \"createdAt\": \"2022-05-28T09:51:52.525Z\",\n        \"updatedAt\": \"2022-05-28T09:51:52.525Z\",\n        \"id\": \"6291f4fa9dcb4a60765ed4b7\",\n        \"customer_id\": \"612a073743d3f446f5b75cb2\",\n        \"subscription_id\": \"612a073743d3f446f5b75cb4\",\n        \"status\": \"paid\",\n        \"invoice_id\": \"INV-3399\",\n        \"payment_term\": \"\",\n        \"amount\": 100,\n        \"due_amount\": 0,\n        \"due_date\": \"2022-05-28T09:51:52.525Z\",\n        \"plan_id\": [\n            \"60012f1553dc266105c2ca0c\"\n        ],\n        \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/606ab5d390d2342cb0d30971/?cinvoice_id=5c3d43b4b2d7f1965bc557049742b5d0:1bd3e4e1ad3a10f273958232e91c3d7284e3579145b4e04ff6549235f50be15dd042d4f2b7004740d7f37935326681a8142a2188499ae9bb6916b3ec01cf359aabc13cb99440037ad27c714ae38e02d5\"\n    }\n}"}],"_postman_id":"41d4bb31-a125-4f1d-9bcd-fbe2bc95ff4c"},{"name":"List All Transactions By Invoice Id","id":"a80c6515-92a8-44bd-8b25-8bcce09cce99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoices/transactions/{invoice_id}","description":"<p>This API is used to retrieve a list of all the available transactions by invoice id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","invoices","transactions","{invoice_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"c8b8b93e-64c5-477f-8f5c-024b7e084586","name":"List All Transactions By Invoice Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/invoices/transactions/625eb5ea381ff268cf3ab837?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","invoices","transactions","625eb5ea381ff268cf3ab837"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Apr 2022 06:06:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"702d9c04f89e823c-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"10df-/hn7oCOyNZv7fznQyy8cShSEP8k\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-exit","value":"success"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1651125961"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ItsMSWQB0DowbNervch1x8PVxxahnuXc9ddY51dmLYDmd05zPbAsTbURx6%2BlE%2FZiHFf90trsbYzVXUy9RGwwGixlU%2FdI2pdCGuKMND24qPSTnYGEqHS9%2Bk2XsRmKQh2eCc85gvc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": [\n        {\n            \"subscription_id\": \"625eb5ea381ff268cf3ab836\",\n            \"plan_id\": \"622839b7afb3423000003b03\",\n            \"product_id\": \"61a21b098c4b5732e5a3437d\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-2895\",\n            \"transaction\": {\n                \"id\": \"pi_3KqGtrSIZ63mHgAe0QCYmb84\",\n                \"object\": \"payment_intent\",\n                \"amount\": 11000,\n                \"amount_capturable\": 0,\n                \"amount_details\": {\n                    \"tip\": {\n                        \"amount\": null\n                    }\n                },\n                \"amount_received\": 11000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"automatic_payment_methods\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_3KqGtrSIZ63mHgAe0HNC6ycR\",\n                            \"object\": \"charge\",\n                            \"amount\": 11000,\n                            \"amount_captured\": 11000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_3KqGtrSIZ63mHgAe0In8mRik\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": null,\n                                    \"country\": \"IN\",\n                                    \"line1\": null,\n                                    \"line2\": null,\n                                    \"postal_code\": null,\n                                    \"state\": null\n                                },\n                                \"email\": null,\n                                \"name\": null,\n                                \"phone\": null\n                            },\n                            \"calculated_statement_descriptor\": \"MALSON\",\n                            \"captured\": true,\n                            \"created\": 1650374139,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_LXLbLfDt5JKjow\",\n                            \"description\": \"Charge for Pabbly -  - Testing - Test\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_balance_transaction\": null,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {\n                                \"subscription_id\": \"625eb5ea381ff268cf3ab836\",\n                                \"method_id\": \"625eb5ea381ff268cf3ab839\",\n                                \"invoice_id\": \"625eb5ea381ff268cf3ab837\"\n                            },\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 24,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_3KqGtrSIZ63mHgAe0QCYmb84\",\n                            \"payment_method\": \"pm_1KqGu6SIZ63mHgAeHmNwXXSN\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": null,\n                                        \"address_postal_code_check\": null,\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 12,\n                                    \"exp_year\": 2034,\n                                    \"fingerprint\": \"H88VFvnfEZrW9UY2\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"mandate\": null,\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": null,\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1JFCQkSIZ63mHgAe/ch_3KqGtrSIZ63mHgAe0HNC6ycR/rcpt_LXLbvhizIrczyudlzdoHmNJ4KvZsClB\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_3KqGtrSIZ63mHgAe0HNC6ycR/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"city\",\n                                    \"country\": \"AT\",\n                                    \"line1\": \"street\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"1234\",\n                                    \"state\": \"6\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"test ing\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_3KqGtrSIZ63mHgAe0QCYmb84\"\n                },\n                \"client_secret\": \"pi_3KqGtrSIZ63mHgAe0QCYmb84_secret_BkqmUjOCJ0darG9ZrTkigYXVY\",\n                \"confirmation_method\": \"automatic\",\n                \"created\": 1650374123,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_LXLbLfDt5JKjow\",\n                \"description\": \"Charge for Pabbly -  - Testing - Test\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {\n                    \"subscription_id\": \"625eb5ea381ff268cf3ab836\",\n                    \"method_id\": \"625eb5ea381ff268cf3ab839\",\n                    \"invoice_id\": \"625eb5ea381ff268cf3ab837\"\n                },\n                \"next_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"pm_1KqGu6SIZ63mHgAeHmNwXXSN\",\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\": {\n                    \"address\": {\n                        \"city\": \"city\",\n                        \"country\": \"AT\",\n                        \"line1\": \"street\",\n                        \"line2\": null,\n                        \"postal_code\": \"1234\",\n                        \"state\": \"6\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"test ing\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"createdAt\": \"2022-04-19T13:15:23.515Z\",\n            \"updatedAt\": \"2022-04-19T13:15:43.211Z\",\n            \"id\": \"625eb5eb381ff268cf3ab83a\",\n            \"customer_id\": \"625eb5ea381ff268cf3ab834\",\n            \"invoice_id\": \"625eb5ea381ff268cf3ab837\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"amount\": 110,\n            \"description\": \"Payment success\"\n        }\n    ]\n}"}],"_postman_id":"a80c6515-92a8-44bd-8b25-8bcce09cce99"},{"name":"List All Invoices By Customer Id","id":"89d50c1d-52e1-4479-b56b-0689b11ec867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoices/{customer_id}","description":"<p>This API is used to retrieve a list of all the available invoices by customer id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Optional</td>\n<td>Format: yyyy-mm-dd</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Optional</td>\n<td>Format: yyyy-mm-dd</td>\n</tr>\n<tr>\n<td>query_filter</td>\n<td>Optional</td>\n<td>Incase you want to add filter in api response.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Query filter value will be as below:</strong></p>\n<blockquote>\n<p>/?query_filter=subscription_id,eq,{subscription_id}|status,eq,{status}</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v1","invoices","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"26bd8917-cee9-4804-8cf3-3e029599fb3b","name":"List All Invoices By Customer Id","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoices/5e5f364c3b2518365c7923be"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:42:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"646-q/fxi8PcKWKzIX5eW7yBJt2e68A\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Invoice details\",\n    \"data\": [\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:18:51.029Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-03-02T13:18:02.022Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-877\",\n            \"createdAt\": \"2023-02-20T13:18:02.022Z\",\n            \"updatedAt\": \"2023-01-20T13:18:51.465Z\",\n            \"id\": \"63ca94b9ad508a2c18ffc9be\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=38dc8202bd1c250b60f8a3faf3dc7013:e58ffc61246c6c56538f4b699d5384890be0e480cf25f27bd4e869e95b957348874ad6e812e383a9ce63894f1bba03a6bf903919e5e9478acce39c1f9a2ff01dfd2018caa0eb50881eccaf09f10e5755\"\n        },\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:24:25.969Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-01-30T13:24:23.232Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-879\",\n            \"createdAt\": \"2023-01-20T13:24:24.809Z\",\n            \"updatedAt\": \"2023-01-20T13:24:26.370Z\",\n            \"id\": \"63ca9608918b160d84658c20\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=608a459d38772243daacc153b9a6a9ba:a59759d95f0689f131b59d6b95626c7368c65e6f3d2253067d64b88eedbec5a8f18d4185b2d0abf6a2bafec5d3373e88216edcc8f1ae99a7d0c1adc81b29c8503d21057bd933e29c8f6f3d0b084a18de\"\n        },\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:23:15.981Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-01-30T13:21:37.373Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-878\",\n            \"createdAt\": \"2023-01-20T13:21:38.043Z\",\n            \"updatedAt\": \"2023-01-20T13:23:16.427Z\",\n            \"id\": \"63ca957bad508a2c18ffc9c1\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=6a2d052d4912d53e68bd92073ef70532:cf5d733bf048e71362eee451bf5ea6625633b53a70685b2ce30a36bea3270a27cb307b493cf14633f337f8f771c4275355bc26d87873e3a98b7bdc73d445bd65927861b180e4c56c737f4a6be2ac960b\"\n        }\n    ]\n}"}],"_postman_id":"89d50c1d-52e1-4479-b56b-0689b11ec867"},{"name":"List All Invoices","id":"30ee5ad3-c165-4bb9-a60f-88eadff66acd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/invoices","description":"<p>This API is used to retrieve a list of all the available invoices.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Optional</td>\n<td>Format: yyyy-mm-dd</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Optional</td>\n<td>Format: yyyy-mm-dd</td>\n</tr>\n<tr>\n<td>query_filter</td>\n<td>Optional</td>\n<td>Incase you want to add filter in api response.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Query filter value will be as below:</strong></p>\n<blockquote>\n<p>/?query_filter=customer_id,eq,{customer_id}|subscription_id,eq,{subscription_id}|status,eq,{status}</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v1","invoices"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"1fabcbe6-1ba2-46a7-bae0-0e5787bd9e6c","name":"List All Invoices","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/invoices?start_date=yyyy-mm-dd&end_date=yyyy-mm-dd&page=1&per_page=15&query_filter=customer_id,eq,63b7d8df6d3278260497146e|subscription_id,eq,63b7d8df6d3278260497146e|status,eq,paid","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","invoices"],"query":[{"key":"start_date","value":"yyyy-mm-dd"},{"key":"end_date","value":"yyyy-mm-dd"},{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"query_filter","value":"customer_id,eq,63b7d8df6d3278260497146e|subscription_id,eq,63b7d8df6d3278260497146e|status,eq,paid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:42:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"646-q/fxi8PcKWKzIX5eW7yBJt2e68A\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Invoice details\",\n    \"data\": [\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:18:51.029Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-03-02T13:18:02.022Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-877\",\n            \"createdAt\": \"2023-02-20T13:18:02.022Z\",\n            \"updatedAt\": \"2023-01-20T13:18:51.465Z\",\n            \"id\": \"63ca94b9ad508a2c18ffc9be\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=38dc8202bd1c250b60f8a3faf3dc7013:e58ffc61246c6c56538f4b699d5384890be0e480cf25f27bd4e869e95b957348874ad6e812e383a9ce63894f1bba03a6bf903919e5e9478acce39c1f9a2ff01dfd2018caa0eb50881eccaf09f10e5755\"\n        },\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:24:25.969Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-01-30T13:24:23.232Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-879\",\n            \"createdAt\": \"2023-01-20T13:24:24.809Z\",\n            \"updatedAt\": \"2023-01-20T13:24:26.370Z\",\n            \"id\": \"63ca9608918b160d84658c20\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=608a459d38772243daacc153b9a6a9ba:a59759d95f0689f131b59d6b95626c7368c65e6f3d2253067d64b88eedbec5a8f18d4185b2d0abf6a2bafec5d3373e88216edcc8f1ae99a7d0c1adc81b29c8503d21057bd933e29c8f6f3d0b084a18de\"\n        },\n        {\n            \"customer_id\": \"63b7d8df6d3278260497146e\",\n            \"status\": \"sent\",\n            \"quantity\": 1,\n            \"due_amount\": 100,\n            \"payment_term\": \"custom\",\n            \"subscription_id\": \"63ca9485ad508a2c18ffc9b9\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"custom_payment_term\": 10,\n                    \"createdAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"updatedAt\": \"2023-01-20T13:17:37.801Z\",\n                    \"id\": \"63ca9471ad508a2c18ffc9b8\",\n                    \"product_id\": \"611e50190d18507650f6f695\",\n                    \"plan_name\": \"Custom Payment Term Recurring\",\n                    \"plan_code\": \"custom-payment-term-recurring\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca9489ad508a2c18ffc9bc\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"custom\",\n                \"gateway_id\": \"611e4ffd0d18507650f6f694\",\n                \"gateway_name\": \"Test Gateway\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"::1\",\n                \"createdAt\": \"2023-01-20T13:17:57.468Z\",\n                \"updatedAt\": \"2023-01-20T13:23:15.981Z\",\n                \"id\": \"63ca9485ad508a2c18ffc9b9\",\n                \"customer_id\": \"63b7d8df6d3278260497146e\",\n                \"product_id\": \"611e50190d18507650f6f695\",\n                \"plan_id\": \"63ca9471ad508a2c18ffc9b8\",\n                \"amount\": 100,\n                \"email_id\": \"test@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T13:17:57.575Z\",\n                \"activation_date\": \"2023-01-20T13:18:02.022Z\",\n                \"expiry_date\": \"2123-01-20T13:17:57.575Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T13:18:02.022Z\",\n                \"canceled_date\": null\n            },\n            \"product_id\": \"611e50190d18507650f6f695\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 100,\n                \"credit_applied\": []\n            },\n            \"due_date\": \"2023-01-30T13:21:37.373Z\",\n            \"amount\": 100,\n            \"invoice_id\": \"INV-878\",\n            \"createdAt\": \"2023-01-20T13:21:38.043Z\",\n            \"updatedAt\": \"2023-01-20T13:23:16.427Z\",\n            \"id\": \"63ca957bad508a2c18ffc9c1\",\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/611e4a4d0d18507650f6f691/?cinvoice_id=6a2d052d4912d53e68bd92073ef70532:cf5d733bf048e71362eee451bf5ea6625633b53a70685b2ce30a36bea3270a27cb307b493cf14633f337f8f771c4275355bc26d87873e3a98b7bdc73d445bd65927861b180e4c56c737f4a6be2ac960b\"\n        }\n    ]\n}"}],"_postman_id":"30ee5ad3-c165-4bb9-a60f-88eadff66acd"},{"name":"Record Payment Invoice","id":"115d662a-41b2-447a-a984-604bb5675e1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payment_mode\":\"cash\",\r\n\t\"payment_note\":\"The custmer has made a cash payout\", \r\n\t\"transaction\":\"Transaction data if any\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/invoice/recordpayment/{invoice_id}","description":"<p>POST request API. Used to record the payment of any customer.</p>\n<p>invoice_id will be added in the Request URL.</p>\n<p>In response you will get the ‘Success’ status and the status of invoice will be updated.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment_mode</td>\n<td>Required</td>\n<td>Name the source in which you have collected the payment like cash, bank transfer etc.</td>\n</tr>\n<tr>\n<td>payment_note</td>\n<td>Optional</td>\n<td>Add a note in for future reference.</td>\n</tr>\n<tr>\n<td>transaction</td>\n<td>Optional</td>\n<td>Add transaction details if any.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","invoice","recordpayment","{invoice_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"3123fa66-d396-4fa8-82b2-8aac765d64f6","name":"Record Payment Invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"payment_mode\":\"cash\",\r\n\t\"payment_note\":\"The custmer has made a cash payout\", \r\n\t\"transaction\":\"Transaction data if any\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/invoice/recordpayment/{invoice_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 05:49:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"e92-YShdx1jzpb/Nj+aYc5DYKkTSC58\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Your payment is successful.\",\n    \"data\": {\n        \"user\": {\n            \"currency\": \"USD\",\n            \"process\": \"done\",\n            \"lockout_count\": 0,\n            \"status\": \"active\",\n            \"createdAt\": \"2018-09-10T07:22:45.819Z\",\n            \"updatedAt\": \"2020-03-04T05:09:30.807Z\",\n            \"id\": \"5b961bc55dfff7797d9cd897\",\n            \"parent\": \"5a1cfb08e5866110121ebbf5\",\n            \"first_name\": \"Tamara\",\n            \"last_name\": \"Ethridge\",\n            \"email\": \"mayank.dhiman03@gmail.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"Southfield\",\n            \"state\": \"Michigan\",\n            \"country\": \"United States\",\n            \"zip_code\": \"48075\",\n            \"phone\": \"8105286395\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"Asia/Kolkata\",\n            \"date_format\": \"DD/MM/YYYY hh:mm A\",\n            \"ip_address\": \"::ffff:127.0.0.1\",\n            \"currency_symbol\": \"$\"\n        },\n        \"customer\": {\n            \"company_name\": \"\",\n            \"is_affiliate\": false,\n            \"website\": \"\",\n            \"phone\": \"9895651332\",\n            \"billing_address\": {\n                \"street1\": \"\",\n                \"street2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"US\"\n            },\n            \"shipping_address\": {\n                \"attention\": \"\",\n                \"street1\": \"\",\n                \"street2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"US\"\n            },\n            \"portal_status\": true,\n            \"copy_billing_address\": false,\n            \"createdAt\": \"2020-03-03T10:04:58.241Z\",\n            \"updatedAt\": \"2020-03-03T10:04:58.254Z\",\n            \"id\": \"5e5e2bca815f5442a4208dfe\",\n            \"first_name\": \"Tamara\",\n            \"last_name\": \"Ethridge\",\n            \"email_id\": \"ethridgertamara@gmail.com\"\n        },\n        \"product\": {\n            \"createdAt\": \"2020-02-05T10:12:36.805Z\",\n            \"updatedAt\": \"2020-02-05T10:12:36.805Z\",\n            \"id\": \"5e3a95143c92e44b424b6d47\",\n            \"product_name\": \"Product 1\",\n            \"description\": null,\n            \"notification_email\": null,\n            \"redirect_url\": \"#\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"addons\": [\n                {\n                    \"id\": \"5e3aac363c92e44b424b6dfc\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"name\": \"Add on 1 one time\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"code\": \"add-on-1-one-time\",\n                    \"price\": 100,\n                    \"quantity\": 1,\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_period\": \"\",\n                    \"associate_plans\": \"all_plans\",\n                    \"plans_array\": null,\n                    \"category_array\": [\n                        \"5e3aac1924b63d4b28410d4d\"\n                    ],\n                    \"adjusted_amount\": 100\n                }\n            ],\n            \"payment_method\": \"test\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-03T10:07:30.453Z\",\n            \"updatedAt\": \"2020-03-03T10:14:22.586Z\",\n            \"id\": \"5e5e2c62815f5442a4208e01\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"ethridgertamara@gmail.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-03T10:07:30.303Z\",\n            \"activation_date\": \"2020-03-04T05:49:04.044Z\",\n            \"expiry_date\": \"2120-03-03T10:07:30.303Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"2020-04-04T05:49:04.044Z\",\n            \"last_billing_date\": \"2020-03-04T05:49:04.044Z\",\n            \"canceled_date\": null\n        },\n        \"invoice\": {\n            \"invoice_id\": \"INV-50\",\n            \"quantity\": 1,\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 300,\n                \"credit_applied\": []\n            },\n            \"tax_apply\": \"not_exist\",\n            \"cron_process\": \"done\",\n            \"retry\": false,\n            \"retry_count\": 0,\n            \"createdAt\": \"2020-03-03T10:07:30.466Z\",\n            \"updatedAt\": \"2020-03-03T10:07:30.468Z\",\n            \"id\": \"5e5e2c62815f5442a4208e02\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"subscription_id\": \"5e5e2c62815f5442a4208e01\",\n            \"status\": \"paid\",\n            \"payment_term\": \"\",\n            \"amount\": 300,\n            \"due_amount\": 0,\n            \"due_date\": \"2020-03-03T10:07:30.303Z\",\n            \"plan_id\": [\n                \"5e3bf8b8db85462760295d2f\"\n            ]\n        }\n    }\n}"}],"_postman_id":"115d662a-41b2-447a-a984-604bb5675e1c"},{"name":"Record Failed Payment Invoice","id":"39077735-919c-48b0-aa66-ffb6663644d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"error_message\":\"Unable to process the purchase transaction\",\r\n\t\"transaction\":\"Transaction data if any\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/invoice/failedpayment/{invoice_id}","description":"<p>POST request API . can be used the record the transaction of Payment Invoice.</p>\n<p>You need to add invoice Id in the link.</p>\n<p>In response you will get the ‘Failed’ status and the status of invoice will be updated.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error_message</td>\n<td>Required</td>\n<td>Error message received by the payment processor on your server.</td>\n</tr>\n<tr>\n<td>transaction</td>\n<td>Optional</td>\n<td>Add transaction details if any.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","invoice","failedpayment","{invoice_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"60b45b03-42cd-40ae-b274-eb9ae9253ded","name":"Record Failed Payment Invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"error_message\":\"Unable to process the purchase transaction\",\r\n\t\"transaction\":\"Transaction data if any\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/invoice/failedpayment/5e5f454c3b2518365c7923f2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:07:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"9fc-LMmAF5Ni2lOauEuzU7tbOu2RlvM\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failed\",\n    \"message\": \"Your payment is failed.\",\n    \"data\": {\n        \"customer\": {\n            \"company_name\": \"Trip Band\",\n            \"phone\": \"654665487\",\n            \"website\": \"www.triptoes.com\",\n            \"billing_address\": {\n                \"street1\": \"103 Brice Town Road\",\n                \"city\": \"Michigan\",\n                \"state\": \"California\",\n                \"state_code\": \"CA\",\n                \"zip_code\": \"462003\",\n                \"country\": \"US\"\n            },\n            \"shipping_address\": {},\n            \"createdAt\": \"2020-03-04T06:06:04.541Z\",\n            \"updatedAt\": \"2020-03-04T06:06:04.541Z\",\n            \"id\": \"5e5f454c3b2518365c7923f0\",\n            \"first_name\": \"Stella\",\n            \"last_name\": \"Rocks\",\n            \"email_id\": \"rockersstella@gmail.com\"\n        },\n        \"product\": {\n            \"createdAt\": \"2020-02-05T10:12:36.805Z\",\n            \"updatedAt\": \"2020-02-05T10:12:36.805Z\",\n            \"id\": \"5e3a95143c92e44b424b6d47\",\n            \"product_name\": \"Product 1\",\n            \"description\": null,\n            \"notification_email\": null,\n            \"redirect_url\": \"#\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"bump_offer\": {},\n                \"createdAt\": \"2020-02-06T11:30:00.807Z\",\n                \"updatedAt\": \"2020-02-06T11:30:00.807Z\",\n                \"id\": \"5e3bf8b8db85462760295d2f\",\n                \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                \"plan_name\": \"New recurring plan\",\n                \"plan_code\": \"new-recurring-plan\",\n                \"price\": 200,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>zdf</p>\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"payment_method\": \"test\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"5e3a950824b63d4b28410c8d\",\n            \"custom_fields\": [],\n            \"cron_process\": \"done\",\n            \"createdAt\": \"2020-03-04T06:06:04.553Z\",\n            \"updatedAt\": \"2020-03-04T06:06:04.553Z\",\n            \"id\": \"5e5f454c3b2518365c7923f1\",\n            \"customer_id\": \"5e5f454c3b2518365c7923f0\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"amount\": 200,\n            \"email_id\": \"rockersstella@gmail.com\",\n            \"status\": \"dunning\",\n            \"quantity\": 1,\n            \"starts_at\": \"2020-03-04T06:06:04.044Z\",\n            \"activation_date\": \"\",\n            \"expiry_date\": \"2120-03-04T06:06:04.044Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"\",\n            \"canceled_date\": null\n        },\n        \"invoice\": {\n            \"invoice_id\": \"INV-56\",\n            \"quantity\": 1,\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 200,\n                \"credit_applied\": []\n            },\n            \"tax_apply\": \"not_exist\",\n            \"cron_process\": \"done\",\n            \"retry\": true,\n            \"retry_count\": 2,\n            \"createdAt\": \"2020-03-04T06:06:04.571Z\",\n            \"updatedAt\": \"2020-03-04T06:06:04.575Z\",\n            \"id\": \"5e5f454c3b2518365c7923f2\",\n            \"customer_id\": \"5e5f454c3b2518365c7923f0\",\n            \"subscription_id\": \"5e5f454c3b2518365c7923f1\",\n            \"status\": \"overdue\",\n            \"payment_term\": \"\",\n            \"amount\": 200,\n            \"due_amount\": 200,\n            \"due_date\": \"2020-03-04T06:06:04.044Z\",\n            \"plan_id\": [\n                \"5e3bf8b8db85462760295d2f\"\n            ]\n        }\n    }\n}"}],"_postman_id":"39077735-919c-48b0-aa66-ffb6663644d2"},{"name":"Delete Invoice","id":"6109fd39-577d-4a99-bbf2-d0d276e30656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/invoices/{invoice_id}","description":"<p>This API can be used to delete the invoice.</p>\n<p>The API will be fired with DELETE request along with the invoice Id in the API link.</p>\n<p>In response you will get the successful message of delete Invoice.</p>\n","urlObject":{"protocol":"https","path":["api","v1","invoices","{invoice_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"51b44221-db26-4f9d-a995-f7aa1e527d09","name":"Delete Invoice","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/invoices/{invoice_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 13 Feb 2021 12:28:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613219290"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"784-jroSiggxjH4x7ApdMyaTOTynHPI\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Invoice data deleted\"\n}"}],"_postman_id":"6109fd39-577d-4a99-bbf2-d0d276e30656"},{"name":"Create Metered Invoice","id":"bbd62eae-1f32-4e94-8284-7c4e005de6dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 200, //Invoice amount\r\n    \"invoice_date\":\"2023-01-22\" // Custom invoice date or due date (Optional)\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/invoices/create-metered/{subscription_id}","urlObject":{"protocol":"https","path":["api","v1","invoices","create-metered","{subscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"642b6b60-76b1-4974-bfe5-1111f8ab3d2f","name":"Create Metered Invoice","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://payments.pabbly.com/api/v1/invoices/create-metered/{subscription_id}?amount=100&invoice_date=2023-01-22","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","invoices","create-metered","{subscription_id}"],"query":[{"key":"amount","value":"100","description":"Invoice amount"},{"key":"invoice_date","value":"2023-01-22","description":"Invoice date or due date (Optional)"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Invoice is created successfully\",\n    \"data\": {\n        \"user\": {\n            \"verified\": \"1\",\n            \"currency\": \"INR\",\n            \"createdAt\": \"2018-01-02T10:34:49.381Z\",\n            \"updatedAt\": \"2023-01-20T11:13:01.822Z\",\n            \"id\": \"5a4b60497cfab6872a7feafb\",\n            \"first_name\": \"Krishna\",\n            \"last_name\": \"Thapa\",\n            \"email\": \"krishna.thapa@pabbly.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"Bhopal\",\n            \"state\": \"Madhya Pradesh\",\n            \"country\": \"Afghanistan\",\n            \"zip_code\": \"462016\",\n            \"phone\": \"8602575688\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"Asia/Calcutta\",\n            \"date_format\": \"YYYY/MM/DD hh:mm A\",\n            \"currency_symbol\": \"₹\"\n        },\n        \"customer\": {\n            \"billing_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            },\n            \"shipping_address\": {\n                \"street1\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"state_code\": \"\",\n                \"zip_code\": \"\",\n                \"country\": \"\"\n            },\n            \"portal_status\": true,\n            \"createdAt\": \"2023-01-20T11:24:19.800Z\",\n            \"updatedAt\": \"2023-01-20T11:24:19.881Z\",\n            \"id\": \"63ca79e3202e97777f1b8cd3\",\n            \"first_name\": \"Test\",\n            \"last_name\": \"Jun\",\n            \"email_id\": \"admin@pabbly.com\"\n        },\n        \"plan\": {\n            \"plan_type\": \"flat_fee\",\n            \"plan_active\": \"true\",\n            \"currency_code\": \"USD\",\n            \"currency_symbol\": \"$\",\n            \"is_metered\": true,\n            \"createdAt\": \"2023-01-20T11:23:58.451Z\",\n            \"updatedAt\": \"2023-01-20T11:23:58.451Z\",\n            \"id\": \"63ca79ce7df4717768e4fd40\",\n            \"product_id\": \"60926cdb76d902627cf101e0\",\n            \"plan_name\": \"Metered Plan\",\n            \"plan_code\": \"metered-plan\",\n            \"price\": \"200\",\n            \"billing_period\": \"\",\n            \"billing_period_num\": \"\",\n            \"billing_cycle\": \"onetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_type\": \"flat_fee\",\n                \"plan_active\": \"true\",\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"is_metered\": true,\n                \"createdAt\": \"2023-01-20T11:23:58.451Z\",\n                \"updatedAt\": \"2023-01-20T11:23:58.451Z\",\n                \"id\": \"63ca79ce7df4717768e4fd40\",\n                \"product_id\": \"60926cdb76d902627cf101e0\",\n                \"plan_name\": \"Metered Plan\",\n                \"plan_code\": \"metered-plan\",\n                \"price\": \"200\",\n                \"billing_period\": \"\",\n                \"billing_period_num\": \"\",\n                \"billing_cycle\": \"onetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n            },\n            \"setup_fee\": 0,\n            \"currency_code\": \"USD\",\n            \"currency_symbol\": \"$\",\n            \"payment_method\": \"63ca79e4202e97777f1b8cd7\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"payment_terms\": \"net0\",\n            \"gateway_id\": \"5abc734184b6887430870718\",\n            \"gateway_name\": \"Test\",\n            \"custom_fields\": [],\n            \"requested_ip\": \"2405:201:301d:c115:f9c0:d94b:b3a7:aaee\",\n            \"createdAt\": \"2023-01-20T11:24:19.810Z\",\n            \"updatedAt\": \"2023-01-20T11:26:38.554Z\",\n            \"id\": \"63ca79e3202e97777f1b8cd4\",\n            \"customer_id\": \"63ca79e3202e97777f1b8cd3\",\n            \"product_id\": \"60926cdb76d902627cf101e0\",\n            \"plan_id\": \"63ca79ce7df4717768e4fd40\",\n            \"amount\": 100,\n            \"email_id\": \"admin@pabbly.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2023-01-20T11:24:19.191Z\",\n            \"activation_date\": \"2023-01-20T11:24:20.202Z\",\n            \"expiry_date\": \"2123-01-20T11:24:19.191Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"\",\n            \"last_billing_date\": \"2023-01-20T11:24:20.202Z\",\n            \"canceled_date\": null,\n            \"customer\": {\n                \"billing_address\": {\n                    \"street1\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"state_code\": \"\",\n                    \"zip_code\": \"\",\n                    \"country\": \"\"\n                },\n                \"shipping_address\": {\n                    \"street1\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"state_code\": \"\",\n                    \"zip_code\": \"\",\n                    \"country\": \"\"\n                },\n                \"portal_status\": true,\n                \"createdAt\": \"2023-01-20T11:24:19.800Z\",\n                \"updatedAt\": \"2023-01-20T11:24:19.881Z\",\n                \"id\": \"63ca79e3202e97777f1b8cd3\",\n                \"first_name\": \"Test\",\n                \"last_name\": \"Jun\",\n                \"email_id\": \"admin@pabbly.com\"\n            },\n            \"product\": {}\n        },\n        \"invoice\": {\n            \"quantity\": 1,\n            \"product_id\": \"60926cdb76d902627cf101e0\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"currency_code\": \"USD\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 200,\n                \"total_credit_amount\": 0,\n                \"charge_amount\": 200,\n                \"credit_applied\": []\n            },\n            \"createdAt\": \"2023-01-22T00:00:00.000Z\",\n            \"updatedAt\": \"2023-01-20T11:26:38.558Z\",\n            \"id\": \"63ca7a6e202e97777f1b8ced\",\n            \"customer_id\": \"63ca79e3202e97777f1b8cd3\",\n            \"subscription_id\": \"63ca79e3202e97777f1b8cd4\",\n            \"status\": \"sent\",\n            \"invoice_id\": \"INV-1146\",\n            \"payment_term\": \"net0\",\n            \"amount\": 200,\n            \"due_amount\": 200,\n            \"due_date\": \"2023-01-22T00:00:00.000Z\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"currency_code\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"is_metered\": true,\n                    \"createdAt\": \"2023-01-20T11:23:58.451Z\",\n                    \"updatedAt\": \"2023-01-20T11:23:58.451Z\",\n                    \"id\": \"63ca79ce7df4717768e4fd40\",\n                    \"product_id\": \"60926cdb76d902627cf101e0\",\n                    \"plan_name\": \"Metered Plan\",\n                    \"plan_code\": \"metered-plan\",\n                    \"price\": \"200\",\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3psb.pabbly.com/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul><p><br></p>\"\n                },\n                \"setup_fee\": 0,\n                \"currency_code\": \"USD\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"63ca79e4202e97777f1b8cd7\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"payment_terms\": \"net0\",\n                \"gateway_id\": \"5abc734184b6887430870718\",\n                \"gateway_name\": \"Test\",\n                \"custom_fields\": [],\n                \"requested_ip\": \"2405:201:301d:c115:f9c0:d94b:b3a7:aaee\",\n                \"createdAt\": \"2023-01-20T11:24:19.810Z\",\n                \"updatedAt\": \"2023-01-20T11:26:38.554Z\",\n                \"id\": \"63ca79e3202e97777f1b8cd4\",\n                \"customer_id\": \"63ca79e3202e97777f1b8cd3\",\n                \"product_id\": \"60926cdb76d902627cf101e0\",\n                \"plan_id\": \"63ca79ce7df4717768e4fd40\",\n                \"amount\": 100,\n                \"email_id\": \"admin@pabbly.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2023-01-20T11:24:19.191Z\",\n                \"activation_date\": \"2023-01-20T11:24:20.202Z\",\n                \"expiry_date\": \"2123-01-20T11:24:19.191Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"\",\n                \"last_billing_date\": \"2023-01-20T11:24:20.202Z\",\n                \"canceled_date\": null\n            },\n            \"invoice_link\": \"https://payments.pabbly.com/secureinvoice/5a7ee69a36431f245eb2bc62/?cinvoice_id=1bed8647bc0c952921f82e8e973640a5:91df811946438db4a0c4371708765fb53a001f88aa025bd544a72455bf2168d37a538ea2cd45fd71345d3eada311a8c00a6ec63289182215520fef6c6320f7a1a2b62118e9bbc935e5d8abf8e0d65e27\"\n        }\n    }\n}"}],"_postman_id":"bbd62eae-1f32-4e94-8284-7c4e005de6dd"}],"id":"f7f965f1-d535-4523-812f-a2da4bb54143","_postman_id":"f7f965f1-d535-4523-812f-a2da4bb54143","description":""},{"name":"Payment Method","item":[{"name":"Create Payment Method","id":"120f63aa-80f5-44e1-86c4-7d38ac07ed0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"gateway_type\":\"stripe\",\r\n\t\"first_name\":\"Akash\",\r\n\t\"last_name\":\"Agrsh\",\r\n\t\"email\":\"akash@domain.com\",\r\n\t\"card_number\":\"4111111111111111\",\r\n\t\"month\":\"01\",\r\n\t\"year\":\"2029\",\r\n\t\"cvv\":\"864\",\r\n\t\"street\":\"\",\r\n\t\"city\":\"\",\r\n\t\"state\":\"\",\r\n\t\"zip_code\":\"\",\r\n\t\"country\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/paymentmethod/{customer_id}","description":"<p>POST request API. Can be used t add a new payment method for an existing customer.</p>\n<p>In response you will get the ‘success’ status and then you can bill this customer using the newly added payment method.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>gateway_type</td>\n<td>Required</td>\n<td>Can be stripe only.</td>\n</tr>\n<tr>\n<td>Basic Details</td>\n<td>Required</td>\n<td>Nedd to provide the first name, last name, and email address of the customer.</td>\n</tr>\n<tr>\n<td>Card Details</td>\n<td>Required</td>\n<td>Card Number, Expiry and CVV will be added in the respective fields. These details will be stored in the payment gateways only.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","paymentmethod","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b82bc293-4da3-4e8d-9963-20d5fcbc25c0","name":"Create Payment Method","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"gateway_type\":\"stripe\",\r\n\t\"first_name\":\"Akash\",\r\n\t\"last_name\":\"Agrsh\",\r\n\t\"email\":\"akash@domain.com\",\r\n\t\"card_number\":\"4111111111111111\",\r\n\t\"month\":\"01\",\r\n\t\"year\":\"2029\",\r\n\t\"cvv\":\"864\",\r\n\t\"street\":\"\",\r\n\t\"city\":\"\",\r\n\t\"state\":\"\",\r\n\t\"zip_code\":\"\",\r\n\t\"country\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/paymentmethod/{customer_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:13:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"b9-0BATwgdOL7NTaFhhxm/1HavINRE\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Payment method created successfully\",\n    \"data\": {\n        \"id\": \"5e5f46ff7c5aeb3675f41696\",\n        \"gateway\": {\n            \"id\": \"5e3a96413c92e44b424b6d51\",\n            \"name\": \"Stripe\",\n            \"type\": \"stripe\"\n        }\n    }\n}"}],"_postman_id":"120f63aa-80f5-44e1-86c4-7d38ac07ed0a"},{"name":"List All Payment Methods By Customer Id","id":"771ac2ca-ad84-4eb8-9fae-9a493d53a44c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/paymentmethods/{customer_id}","description":"<p>This API is used to retrieve a list of all the available payment methods by customer id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","paymentmethods","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"2b5882bd-9e44-4c5f-bae2-1735c769ed45","name":"List All Payment Methods By Customer Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/paymentmethods/5e5f454c3b2518365c7923f0?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","paymentmethods","5e5f454c3b2518365c7923f0"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:17:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"621"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"26d-3kuMA5UQTK6asI1LEBWpta9aw3c\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"PaymentMethod data\",\n    \"data\": [\n        {\n            \"createdAt\": \"2020-03-04T06:13:19.244Z\",\n            \"updatedAt\": \"2020-03-04T06:13:19.244Z\",\n            \"id\": \"5e5f46ff7c5aeb3675f41696\",\n            \"customer_id\": \"5e5f454c3b2518365c7923f0\",\n            \"type\": \"stripe\",\n            \"gateway\": {\n                \"id\": \"5e3a96413c92e44b424b6d51\",\n                \"name\": \"Stripe\",\n                \"type\": \"stripe\"\n            },\n            \"last_four_digits\": \"1111\",\n            \"expiry_month\": 1,\n            \"expiry_year\": 2029\n        },\n        {\n            \"createdAt\": \"2020-03-04T06:06:04.791Z\",\n            \"updatedAt\": \"2020-03-04T06:06:04.791Z\",\n            \"id\": \"5e5f454c3b2518365c7923f4\",\n            \"customer_id\": \"5e5f454c3b2518365c7923f0\",\n            \"type\": \"credit_card\",\n            \"gateway\": {\n                \"id\": \"5e3a950824b63d4b28410c8d\",\n                \"name\": \"Test Gateway\",\n                \"type\": \"test\"\n            }\n        }\n    ]\n}"}],"_postman_id":"771ac2ca-ad84-4eb8-9fae-9a493d53a44c"},{"name":"Update Payment Method For Existing Customer","id":"343b5646-ed9f-4a45-8032-727e49ea3503","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"card_number\": \"4111111111111111\",\r\n  \"month\": \"11\",\r\n  \"year\": \"2020\",\r\n  \"cvv\" : \"423\",\r\n  \"mid\":\"5e5f454c3b2518365c7923f4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/paymentmethod/{customer_id}","description":"<p>Can be fired to update the payment method for an existing customer.</p>\n<p>customer_id will be added in the Request URL.</p>\n<p>In response you will get a success message and the next recurring billing of this customer will be deducted from the newly added card.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Card Details</td>\n<td>Required</td>\n<td>Card Number, Expiry and CVV will be added in the respective fields. These details will be stored in the payment gateways only.</td>\n</tr>\n<tr>\n<td>mid</td>\n<td>Required</td>\n<td>You will need to fire List all payment method API to get the MID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","paymentmethod","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0b7fb259-2bf9-4d92-91ce-4e995d86172c","name":"Update Payment Method For Existing Customer","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"card_number\": \"4111111111111111\",\r\n  \"month\": \"11\",\r\n  \"year\": \"2020\",\r\n  \"cvv\" : \"423\",\r\n  \"mid\":\"5e5f454c3b2518365c7923f4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/paymentmethod/5e5f454c3b2518365c7923f0"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:47:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"37-FID9RRm1uLB89UNZFW/Y0R3jU9k\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Payment method updated\"\n}"}],"_postman_id":"343b5646-ed9f-4a45-8032-727e49ea3503"}],"id":"5582cbd0-06e3-460c-a010-30be7e4ecf9f","_postman_id":"5582cbd0-06e3-460c-a010-30be7e4ecf9f","description":""},{"name":"Checkout pages","item":[{"name":"Get Checkout Page By Product Id","id":"0fd2973c-00b0-484c-8624-854149f2eb4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/checkoutpage/{product_id}","description":"<p>The GET request API which can be used to get the links of all the checkout pages associated to a product.</p>\n<p>You will need to add the product Id in the API link and fire it.</p>\n<p>There is no form data in this call.</p>\n<p>In response you will get the plan name, plan code,plan Id and the checkout page link of the plan.</p>\n","urlObject":{"protocol":"https","path":["api","v1","checkoutpage","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6374b8d6-1cc5-424e-b792-202611317bcd","name":"Get Checkout Page By Product Id","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/checkoutpage/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:49:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"718-ubIVio3yi4rNuYBhTZ1Ozrhm3tA\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Checkout Page data\",\n    \"data\": [\n        {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {},\n            \"createdAt\": \"2020-03-03T11:45:52.240Z\",\n            \"updatedAt\": \"2020-03-03T11:45:52.240Z\",\n            \"id\": \"5e5e4370aeec8333ded366f8\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"paid Trial Plan\",\n            \"plan_code\": \"paid-trial-plan\",\n            \"price\": 50,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 10,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e5e4370aeec8333ded366f8/paid-trial-plan\"\n        },\n        {\n            \"plan_active\": \"true\",\n            \"bump_offer\": {\n                \"plan_id\": null,\n                \"title_label\": null,\n                \"tag_line\": null,\n                \"description\": null\n            },\n            \"currency_code\": \"INR\",\n            \"currency_symbol\": \"₹\",\n            \"redirect_url\": \"https://www.pabbly.com/\",\n            \"createdAt\": \"2020-03-03T11:45:33.097Z\",\n            \"updatedAt\": \"2020-03-03T11:45:33.097Z\",\n            \"id\": \"5e5e435daeec8333ded366f7\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"plan\",\n            \"plan_code\": \"planabc\",\n            \"price\": 10,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": \"2\",\n            \"trial_period\": 2,\n            \"setup_fee\": 2,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e5e435daeec8333ded366f7/planabc\"\n        },\n        {\n            \"plan_active\": \"false\",\n            \"bump_offer\": {\n                \"plan_id\": null,\n                \"title_label\": null,\n                \"tag_line\": null,\n                \"description\": null\n            },\n            \"redirect_url\": null,\n            \"createdAt\": \"2020-02-07T07:37:57.868Z\",\n            \"updatedAt\": \"2020-02-07T07:37:57.868Z\",\n            \"id\": \"5e3d13d5db854627602966c0\",\n            \"product_id\": \"5e3d13bedb854627602966bf\",\n            \"plan_name\": \"Recurring montly plan\",\n            \"plan_code\": \"recurring-montly-plan\",\n            \"price\": 50,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": null,\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\",\n            \"checkout_page\": \"http://payments.pabbly.com/subscribe/5e3d13d5db854627602966c0/recurring-montly-plan\"\n        }\n    ]\n}"}],"_postman_id":"0fd2973c-00b0-484c-8624-854149f2eb4a"},{"name":"Get Hosted Page Data","id":"94797e1a-5325-44eb-bdfb-597332a7a8c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://payments.pabbly.com/api/v1/hostedpage?hostedpage=c598157f6eb74e283d2d041a0315a391:923750cbd376689181d430eb5fbe608723974ab43d9423cac2db3099f41c50d1b91195884b70ad0d6b9b494d24500faf3fb2bb72e9c3460e8551d4c157bda95bca33feb2f8929424d97d530e92a652d3da619f3b8434999ec8edc44d1af68854c2cb7c12ff4ea70f765ab3aaeb18a440a5780f22a98f52fd36fc5793562a9d8fcd3b13e22eefce8addd261477b0a605de16ac1d35ec7531c8f6ad2747deae17d9d0cfecd0182df2f8db7e4b1a35a1c58c4240980ec1adb05aed067ec39d068d3","description":"<p>A very important API for the developers and majorly used in getting data from the hosted page.</p>\n<p>Get the data from the thank you page link. </p>\n<p>Example – <a href=\"https://www.inkthemes.com/\">https://www.inkthemes.com/</a><b>?hostedpage=8ebdaa43b300805b078e66c014ed8625%3A9f42ed7e8275debf7df823bdd1a6cd070b8c2df97c23ae6bcf3f2d469967cee6ab8e614867af1f57df39449308469cb74051b16b5<b></b></b></p>\n<p>Data in bold is the hosted page data</p>\n<p>In response you will get the “Success or Failed” and the respective message along with all the important details about the customer and the purchased subscription.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hostedpage</td>\n<td>Required</td>\n<td>Get the data from the thank you page link.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","hostedpage"],"host":["payments","pabbly","com"],"query":[{"key":"hostedpage","value":"c598157f6eb74e283d2d041a0315a391:923750cbd376689181d430eb5fbe608723974ab43d9423cac2db3099f41c50d1b91195884b70ad0d6b9b494d24500faf3fb2bb72e9c3460e8551d4c157bda95bca33feb2f8929424d97d530e92a652d3da619f3b8434999ec8edc44d1af68854c2cb7c12ff4ea70f765ab3aaeb18a440a5780f22a98f52fd36fc5793562a9d8fcd3b13e22eefce8addd261477b0a605de16ac1d35ec7531c8f6ad2747deae17d9d0cfecd0182df2f8db7e4b1a35a1c58c4240980ec1adb05aed067ec39d068d3"}],"variable":[]}},"response":[{"id":"cefa284d-f84b-4510-9d2a-c67078307d02","name":"Get Hosted Page Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://payments.pabbly.com/api/v1/hostedpage?hostedpage=c598157f6eb74e283d2d041a0315a391:923750cbd376689181d430eb5fbe608723974ab43d9423cac2db3099f41c50d1b91195884b70ad0d6b9b494d24500faf3fb2bb72e9c3460e8551d4c157bda95bca33feb2f8929424d97d530e92a652d3da619f3b8434999ec8edc44d1af68854c2cb7c12ff4ea70f765ab3aaeb18a440a5780f22a98f52fd36fc5793562a9d8fcd3b13e22eefce8addd261477b0a605de16ac1d35ec7531c8f6ad2747deae17d9d0cfecd0182df2f8db7e4b1a35a1c58c4240980ec1adb05aed067ec39d068d3","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","hostedpage"],"query":[{"key":"hostedpage","value":"c598157f6eb74e283d2d041a0315a391:923750cbd376689181d430eb5fbe608723974ab43d9423cac2db3099f41c50d1b91195884b70ad0d6b9b494d24500faf3fb2bb72e9c3460e8551d4c157bda95bca33feb2f8929424d97d530e92a652d3da619f3b8434999ec8edc44d1af68854c2cb7c12ff4ea70f765ab3aaeb18a440a5780f22a98f52fd36fc5793562a9d8fcd3b13e22eefce8addd261477b0a605de16ac1d35ec7531c8f6ad2747deae17d9d0cfecd0182df2f8db7e4b1a35a1c58c4240980ec1adb05aed067ec39d068d3","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 28 Apr 2021 10:26:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1619605586"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"1129-dRkuXyEccFHx8iboLF5G8vOcBCk\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Valid hosted page data\",\n    \"data\": {\n        \"user\": {\n            \"verified\": \"1\",\n            \"currency\": \"USD\",\n            \"createdAt\": \"2020-12-24T07:10:28.779Z\",\n            \"updatedAt\": \"2021-04-27T04:33:11.261Z\",\n            \"first_name\": \"Pankaj\",\n            \"last_name\": \"Singh\",\n            \"email\": \"ravi1795@gmail.com\",\n            \"address_line1\": \"\",\n            \"address_line2\": \"\",\n            \"city\": \"Bhopal\",\n            \"state\": \"Karnataka\",\n            \"country\": \"India\",\n            \"zip_code\": \"462022\",\n            \"phone\": \"09981812850\",\n            \"mobile\": \"\",\n            \"facebook_url\": \"\",\n            \"twitter_url\": \"\",\n            \"time_zone\": \"\",\n            \"date_format\": \"\",\n            \"ip_address\": \"157.34.78.94\",\n            \"currency_symbol\": \"$\"\n        },\n        \"customer\": {\n            \"billing_address\": {\n                \"street1\": \"Avinash Nagar Bhopal\",\n                \"city\": \"Bhopal\",\n                \"state\": \"Madhya Pradesh\",\n                \"state_code\": \"MP\",\n                \"zip_code\": \"462022\",\n                \"country\": \"BY\"\n            },\n            \"shipping_address\": {},\n            \"id\": \"602371d969573d214b87f231\",\n            \"is_affiliate\": true,\n            \"createdAt\": \"2021-02-10T05:40:41.092Z\",\n            \"updatedAt\": \"2021-04-28T10:20:58.094Z\",\n            \"first_name\": \"Ravi\",\n            \"last_name\": \"Yadav\",\n            \"email_id\": \"ravi1795@inboxkitten.com\",\n            \"credit\": null\n        },\n        \"product\": {\n            \"createdAt\": \"2021-01-14T12:33:33.771Z\",\n            \"updatedAt\": \"2021-01-14T12:33:33.771Z\",\n            \"id\": \"60003a1d9a0fb154a5e8ec22\",\n            \"product_name\": \"API TEST\",\n            \"description\": \"\",\n            \"redirect_url\": \"\"\n        },\n        \"subscription\": {\n            \"plan\": {\n                \"plan_active\": \"true\",\n                \"createdAt\": \"2021-03-03T06:45:40.091Z\",\n                \"updatedAt\": \"2021-04-27T05:18:42.238Z\",\n                \"id\": \"603f30941601ac5017c94d47\",\n                \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n                \"plan_name\": \"plan21\",\n                \"plan_code\": \"plan21\",\n                \"price\": 100,\n                \"billing_period\": \"m\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"\"\n            },\n            \"setup_fee\": 0,\n            \"payment_terms\": \"\",\n            \"currency_symbol\": \"$\",\n            \"payment_method\": \"6089370cb5ab0014e196ef0e\",\n            \"taxable\": true,\n            \"gateway_type\": \"test\",\n            \"gateway_id\": \"6082a9887478a02be738160c\",\n            \"createdAt\": \"2021-04-28T10:20:58.112Z\",\n            \"updatedAt\": \"2021-04-28T10:21:00.396Z\",\n            \"id\": \"6089370ab5ab0014e196ef0b\",\n            \"customer_id\": \"602371d969573d214b87f231\",\n            \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n            \"plan_id\": \"603f30941601ac5017c94d47\",\n            \"amount\": 100,\n            \"email_id\": \"ravi1795@inboxkitten.com\",\n            \"status\": \"live\",\n            \"quantity\": 1,\n            \"starts_at\": \"2021-04-28T10:20:58.585Z\",\n            \"activation_date\": \"2021-04-28T10:21:00.000Z\",\n            \"expiry_date\": \"2121-04-28T10:20:58.585Z\",\n            \"trial_days\": 0,\n            \"trial_expiry_date\": \"\",\n            \"next_billing_date\": \"2021-05-28T10:21:00.000Z\",\n            \"last_billing_date\": \"2021-04-28T10:21:00.000Z\",\n            \"canceled_date\": null\n        },\n        \"plan\": {\n            \"plan_active\": \"true\",\n            \"createdAt\": \"2021-03-03T06:45:40.091Z\",\n            \"updatedAt\": \"2021-04-27T05:18:42.238Z\",\n            \"id\": \"603f30941601ac5017c94d47\",\n            \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n            \"plan_name\": \"plan21\",\n            \"plan_code\": \"plan21\",\n            \"price\": 100,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": \"\",\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"\"\n        },\n        \"invoice\": {\n            \"quantity\": 1,\n            \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n            \"setup_fee\": 0,\n            \"currency_symbol\": \"$\",\n            \"credit_note\": {\n                \"total_tax\": \"0.00\",\n                \"status\": \"success\",\n                \"new_plan_total\": 100,\n                \"credit_applied\": []\n            },\n            \"tax_apply\": {\n                \"tax_id\": \"\",\n                \"exempt_tax\": [],\n                \"total_amount\": 100,\n                \"total_tax\": \"0.00\"\n            },\n            \"createdAt\": \"2021-04-28T10:20:58.134Z\",\n            \"updatedAt\": \"2021-04-28T10:21:00.404Z\",\n            \"id\": \"6089370ab5ab0014e196ef0c\",\n            \"customer_id\": \"602371d969573d214b87f231\",\n            \"subscription_id\": \"6089370ab5ab0014e196ef0b\",\n            \"status\": \"paid\",\n            \"invoice_id\": \"INV-729\",\n            \"payment_term\": \"\",\n            \"due_amount\": 0,\n            \"due_date\": \"2021-04-28T10:20:58.585Z\",\n            \"subscription\": {\n                \"plan\": {\n                    \"plan_active\": \"true\",\n                    \"createdAt\": \"2021-03-03T06:45:40.091Z\",\n                    \"updatedAt\": \"2021-04-27T05:18:42.238Z\",\n                    \"id\": \"603f30941601ac5017c94d47\",\n                    \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n                    \"plan_name\": \"plan21\",\n                    \"plan_code\": \"plan21\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                },\n                \"setup_fee\": 0,\n                \"payment_terms\": \"\",\n                \"currency_symbol\": \"$\",\n                \"payment_method\": \"6089370cb5ab0014e196ef0e\",\n                \"taxable\": true,\n                \"gateway_type\": \"test\",\n                \"gateway_id\": \"6082a9887478a02be738160c\",\n                \"createdAt\": \"2021-04-28T10:20:58.112Z\",\n                \"updatedAt\": \"2021-04-28T10:21:00.396Z\",\n                \"id\": \"6089370ab5ab0014e196ef0b\",\n                \"customer_id\": \"602371d969573d214b87f231\",\n                \"product_id\": \"60003a1d9a0fb154a5e8ec22\",\n                \"plan_id\": \"603f30941601ac5017c94d47\",\n                \"amount\": 100,\n                \"email_id\": \"ravi1795@inboxkitten.com\",\n                \"status\": \"live\",\n                \"quantity\": 1,\n                \"starts_at\": \"2021-04-28T10:20:58.585Z\",\n                \"activation_date\": \"2021-04-28T10:21:00.000Z\",\n                \"expiry_date\": \"2121-04-28T10:20:58.585Z\",\n                \"trial_days\": 0,\n                \"trial_expiry_date\": \"\",\n                \"next_billing_date\": \"2021-05-28T10:21:00.000Z\",\n                \"last_billing_date\": \"2021-04-28T10:21:00.000Z\",\n                \"canceled_date\": null\n            }\n        }\n    }\n}"}],"_postman_id":"94797e1a-5325-44eb-bdfb-597332a7a8c1"}],"id":"81e92d24-6cbf-4f36-b89c-4091085b5329","_postman_id":"81e92d24-6cbf-4f36-b89c-4091085b5329","description":""},{"name":"Payment/Transaction","item":[{"name":"List All Transactions By Customer Id","id":"ee9ef738-1a1c-4a3f-a036-8b22b9a3c48a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/transactions/{customer_id}","description":"<p>This API is used to retrieve a list of all the available transactions by customer id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=50, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the invoice. It is the api identifier for the invoice.</td>\n</tr>\n<tr>\n<td>subscription_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the subscription. It is the api identifier for the subscription.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the plan. It is the api identifier for the plan.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> success, failure, created, paid, inprogress etc</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> payment, refund etc</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","transactions","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"8b6c0d56-5810-4107-bf3b-a3b6ce5072aa","name":"List All Transactions By Customer Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/transactions/5e5f364c3b2518365c7923be?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","transactions","5e5f364c3b2518365c7923be"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 06:58:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"819-BQxt4i+0l0oBadeeu+NqvZXMfRM\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Transactions data\",\n    \"data\": [\n        {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-55\",\n            \"gateway_type\": \"test\",\n            \"createdAt\": \"2020-03-04T05:41:47.237Z\",\n            \"updatedAt\": \"2020-03-04T05:41:47.237Z\",\n            \"id\": \"5e5f3f9b3b2518365c7923e0\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f3f9b3b2518365c7923de\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Payment success\"\n        },\n        {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Invoice\",\n            \"status_formatted\": \"Paid\",\n            \"reference_id\": \"INV-55\",\n            \"createdAt\": \"2020-03-04T05:41:47.057Z\",\n            \"updatedAt\": \"2020-03-04T05:41:47.057Z\",\n            \"id\": \"5e5f3f9b3b2518365c7923df\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f3f9b3b2518365c7923de\",\n            \"type\": \"invoice\",\n            \"status\": \"paid\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Invoice paid\"\n        },\n        {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-54\",\n            \"gateway_type\": \"test\",\n            \"createdAt\": \"2020-03-04T05:02:04.851Z\",\n            \"updatedAt\": \"2020-03-04T05:02:04.851Z\",\n            \"id\": \"5e5f364c3b2518365c7923c5\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f364c3b2518365c7923c0\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Payment success\"\n        },\n        {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Invoice\",\n            \"status_formatted\": \"Paid\",\n            \"reference_id\": \"INV-54\",\n            \"createdAt\": \"2020-03-04T05:02:04.471Z\",\n            \"updatedAt\": \"2020-03-04T05:02:04.471Z\",\n            \"id\": \"5e5f364c3b2518365c7923c1\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f364c3b2518365c7923c0\",\n            \"type\": \"invoice\",\n            \"status\": \"paid\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Invoice paid\"\n        }\n    ]\n}"}],"_postman_id":"ee9ef738-1a1c-4a3f-a036-8b22b9a3c48a"},{"name":"List All Refund By Customer Id","id":"f6e74481-c273-4337-ac16-17ed5b233d61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/refund/{customer_id}","description":"<p>This API is used to retrieve a list of all the available refunds by customer id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=50, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the invoice. It is the api identifier for the invoice.</td>\n</tr>\n<tr>\n<td>subscription_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the subscription. It is the api identifier for the subscription.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the plan. It is the api identifier for the plan.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Optional</td>\n<td><strong>Supported value:</strong> success, failure, created, paid, inprogress etc</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","refund","{customer_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"22fc8ad7-e8cc-4b2e-b1af-e57a69b7f991","name":"List All Refund By Customer Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/refund/5e5f364c3b2518365c7923be?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","refund","5e5f364c3b2518365c7923be"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 07:01:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"619"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"26b-qeXA45cGfKrhVhxTGyLt2G15QRA\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Refund data\",\n    \"data\": [\n        {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Refund\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"5e5f364c3b2518365c7923c5\",\n            \"gateway_type\": \"test\",\n            \"createdAt\": \"2020-03-04T07:01:13.646Z\",\n            \"updatedAt\": \"2020-03-04T07:01:13.646Z\",\n            \"id\": \"5e5f52393b2518365c792435\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f364c3b2518365c7923c0\",\n            \"type\": \"refund\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 150,\n            \"description\": \"Partial refund as agreed with  the sales team.\"\n        }\n    ]\n}"}],"_postman_id":"f6e74481-c273-4337-ac16-17ed5b233d61"},{"name":"Delete Transaction","id":"7ac6cab1-4713-4c32-8932-4127afbd3b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/transaction/{transaction_id}","description":"<p>This API can be used to delete the transaction.</p>\n<p>The API will be fired with DELETE request along with the transaction ID in the API link.</p>\n<p>In response you will get the successful message of delete Transaction.</p>\n","urlObject":{"protocol":"https","path":["api","v1","transaction","{transaction_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9fe6aa0c-8e79-4cbe-b995-bd3546489396","name":"Delete Transaction","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/transaction/{transaction_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 13 Feb 2021 12:24:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613219055"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"241-3n7Kc0Y1+ojZQynW6gfLhYdtm/8\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Transaction data deleted\"\n}"}],"_postman_id":"7ac6cab1-4713-4c32-8932-4127afbd3b84"},{"name":"Payment Refund","id":"0b37e2f9-1dfb-4bc7-8de9-29f770e7a2a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"amount\":10,\r\n\t\"refund_type\":\"refund/refund_credit/record_refund\",\r\n\t\"description\":\"Initiate Payment\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/transaction/refund/{payment_id}","description":"<p>This API can be used to Refund the payments.</p>\n<p>The API will be fired with a POST request along with the transaction ID in the API link.</p>\n<p>In response, you will get the successful message of Payment Refunded.</p>\n","urlObject":{"protocol":"https","path":["api","v1","transaction","refund","{payment_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b5ed4e9f-a41b-4cc4-8aea-e728e0dfdc93","name":"Payment Refund","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"amount\":10,\r\n\t\"refund_type\":\"refund\",\r\n\t\"description\":\"Payment record\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/transaction/refund/{payment_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Jul 2021 08:27:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1625819230"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"32-RgqxXCV4Kyx8opBhclHkBSzU9RM\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Payment refunded,\"\n}"}],"_postman_id":"0b37e2f9-1dfb-4bc7-8de9-29f770e7a2a4"},{"name":"Record Refund","id":"7077d374-cd40-43da-ad83-0904dde1ecdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"amount\":90,\r\n\t\"refund_type\":\"record_refund\",\r\n\t\"description\":\"Payment record\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/transaction/refund/{payment_id}","description":"<p>This API can be used to Record the Refunds.</p>\n<p>The API will be fired with a POST request along with the transaction ID in the API link.</p>\n<p>In response, you will get the successful message of Payment Refunded.</p>\n","urlObject":{"protocol":"https","path":["api","v1","transaction","refund","{payment_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"da1db60f-73ab-4b94-ab38-f479055d098b","name":"Record Refund","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"amount\":90,\r\n\t\"refund_type\":\"record_refund\",\r\n\t\"description\":\"Payment record\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/transaction/refund/{payment_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Jul 2021 09:36:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1625823373"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"31-q+QjuBN2XS8BVvtmjIe4lKdS9H4\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Payment refunded\"\n}"}],"_postman_id":"7077d374-cd40-43da-ad83-0904dde1ecdc"}],"id":"9292d8a6-78d2-419e-a653-e1e3bb937f69","_postman_id":"9292d8a6-78d2-419e-a653-e1e3bb937f69","description":""},{"name":"Client Portal","item":[{"name":"Create Client Portal API Session","id":"4ce484dc-3bf7-4bac-9eac-5c89a51d64be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"customer_id\":\"5e5f50647c5aeb3675f416aa\",\r\n\t\"redirect_url\":\"https://www.pabbly.com/\" \r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/portal_sessions/","description":"<p>This API is used to create the portal session and generate get the signin link of the client portal.</p>\n<p>This link can be passed to the customer so that they can login directly into the account.</p>\n<p>A POST request API which is fired with the customer Id in the form data.</p>\n<p>In response you will get the access URL and the other details like create date, and token Id.   </p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customer_id</td>\n<td>Required</td>\n<td>Customer Id for which you want to generate the portal session.</td>\n</tr>\n<tr>\n<td>redirect_url</td>\n<td>Optional</td>\n<td>Enter the Url where you want to redirect your customer for sign-in</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","portal_sessions",""],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9410d769-c5a6-444a-8167-db72eb0259eb","name":"Create Client Portal API Session","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"customer_id\":\"5e5f50647c5aeb3675f416aa\",\r\n\t\"redirect_url\":\"https://www.pabbly.com/\" \r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/portal_sessions/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 07:19:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"523"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"20b-GbOjC77BKiFdGjNZsQ70Hrgwuvc\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Portal token created successfully\",\n    \"data\": {\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"createdAt\": \"2020-03-04T07:19:13.685Z\",\n        \"updatedAt\": \"2020-03-04T07:19:13.685Z\",\n        \"id\": \"5e5f56717c5aeb3675f416d1\",\n        \"token\": \"$2b$10$cWjR3h0yWV8a9IdetMa4fewxGicrO6rxr19hAKxkeSw.nIM137aIS\",\n        \"status\": \"created\",\n        \"customer_id\": \"5e5f50647c5aeb3675f416aa\",\n        \"access_url\": \"https://payments.pabbly.com/portal/access/test1234?tk=$2b$10$cWjR3h0yWV8a9IdetMa4fewxGicrO6rxr19hAKxkeSw.nIM137aIS\",\n        \"expires_at\": \"2020-03-05T07:19:13.131Z\"\n    }\n}"}],"_postman_id":"4ce484dc-3bf7-4bac-9eac-5c89a51d64be"}],"id":"087c23f3-279e-43d0-8408-8f5728717352","_postman_id":"087c23f3-279e-43d0-8408-8f5728717352","description":""},{"name":"Dashboard","item":[{"name":"Dashboard Stats","id":"754ecd31-59d3-4106-a4f4-47d820a317c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"product_id\":\"5e3a95143c92e44b424b6d47\",\r\n\"interval\":\"last_30_days\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v2/getdashboardstats","description":"<p>A POST request API by which you can get the stats of dashboard like total sales, total refund, recurring amount and so on.</p>\n<p>In response you can get all the stats which is shown on the dashboard of your Pabbly Subscriptions account.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Get the stats product wise or for all products.</td>\n</tr>\n<tr>\n<td>interval</td>\n<td>Required</td>\n<td>Fill the interval for States like last 30 days, this_week and so on.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","getdashboardstats"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"a736958e-e4aa-490f-94fd-b91be742face","name":"Dashboard Stats","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_id\":\"all\",\r\n    \"interval\":\"last_30_days\",/* last_7_days, today, yesterday, this_week, last_week, this_month, last_month, all_time, custom_range */\r\n    \"start_date\":\"2021-01-01\",//Required if interval is set to custom_range\r\n    \"end_date\":\"2021-09-11\"//Required if interval is set to custom_range\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v2/getdashboardstats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 07:25:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"160"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"a0-Q5kZ6WN09qa+eL8RR8bE4/tUNc0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Total stats\",\n    \"data\": {\n        \"total_customer_count\": 11,\n        \"total_paid_customer_count\": 9,\n        \"total_sales_amount\": 5013.52,\n        \"total_sales_count\": 35,\n        \"total_onetime_sales_count\": 0,\n        \"total_onetime_sales_amount\": 0,\n        \"total_recurring_sales_count\": 35,\n        \"total_recurring_sales_amount\": 5013.52,\n        \"total_refund_count\": 0,\n        \"total_refund_amount\": 0,\n        \"total_cancelled_subscription_count\": 0,\n        \"total_cancelled_subscription_amount\": 0,\n        \"mrr\": \"33590.75\",\n        \"total_net_revenue\": 4726.1,\n        \"total_affiliate_sales_amount\": 1999,\n        \"total_affiliate_commission_amount\": 239.9,\n        \"total_net_amount_via_affiliate\": 1759.1,\n        \"total_affiliate_count\": 2,\n        \"total_rebill_amount\": 25840.98,\n        \"total_rebill_subscription_count\": 188,\n        \"total_missed_invoice_amount\": 400,\n        \"total_missed_invoice_count\": 4,\n        \"arpu\": \"429.6454545\"\n    }\n}"}],"_postman_id":"754ecd31-59d3-4106-a4f4-47d820a317c1"}],"id":"5a712968-9aba-4060-aca5-e30e8f5ad76d","_postman_id":"5a712968-9aba-4060-aca5-e30e8f5ad76d","description":""},{"name":"Reports","item":[{"name":"Create Net-Revenue Status","id":"3b04f8ad-a6fc-41d7-bf45-2363fd3dd593","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"product_id\":\"5e3a95143c92e44b424b6d47\",\r\n\"interval\":\"last_30_days\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/revenuetransaction/","description":"<p>Another POST request API which can be fired with the same form data as the “Create dashboard stats”. That means you need to add product Id and the interval and fire the API.</p>\n<p>In response you will get the sales stats for this particular product. You can get the details of all the customer who has purchased the plans of this product.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Get the stats product wise or for all products.</td>\n</tr>\n<tr>\n<td>interval</td>\n<td>Required</td>\n<td>Fill the interval for States like last_30_days, this_week and so on.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","revenuetransaction",""],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0e1de95b-819e-4fc4-96ab-30e8f6b5f456","name":"Create Net-Revenue Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"product_id\":\"5b83a91d7e47a82380e45002\", //all\r\n\"interval\":\"last_30_days\", //this_week/previous_month\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/revenuetransaction/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 07:50:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"28c04-Wym9KMkWimqQbdHx3ELhpohVkzw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"set-cookie","value":"sails.sid=s%3Av2OGFyWtSFNvka8FcklZvCOZ8WNQeDDU.92%2BjdpL8KFC9%2FrMrZ2ahmrxy4k%2FFWphbwdjIcW63vRM; Path=/; Expires=Thu, 05 Mar 2020 07:50:12 GMT; HttpOnly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"amount\": 150,\n        \"created_at\": \"2020-03-04T07:01:13.646Z\",\n        \"type\": \"refund\",\n        \"status\": \"success\",\n        \"reference_id\": \"5e5f364c3b2518365c7923c5\",\n        \"first_name\": \"john\",\n        \"transaction\": {},\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\"\n    },\n    {\n        \"amount\": 180,\n        \"created_at\": \"2020-03-04T07:00:23.363Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-58\",\n        \"first_name\": \"john\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-58\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-03-04T07:00:23Z\",\n                \"updated_at\": \"2020-03-04T07:00:23Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"5YejjwoVPvsbMCEfEDFnFfIgZVR\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"54\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 18000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-03-04T07:00:23Z\",\n                    \"updated_at\": \"2020-03-04T07:00:23Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"john smith\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"UTYLUMOGMFfqrFQl7WbiUbV2uMD\",\n                    \"created_at\": \"2020-03-04T05:02:04Z\",\n                    \"updated_at\": \"2020-03-04T05:41:47Z\",\n                    \"email\": \"jhonsmith@xxxxx.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"john\",\n                    \"last_name\": \"smith\",\n                    \"month\": 11,\n                    \"year\": 2020,\n                    \"address1\": \"arera colony\",\n                    \"address2\": null,\n                    \"city\": \"Bhopal\",\n                    \"state\": \"MP\",\n                    \"zip\": \"462016\",\n                    \"country\": \"india\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"john smith\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-03-04T07:00:23.846Z\",\n            \"updatedAt\": \"2020-03-04T07:00:23.846Z\",\n            \"id\": \"5e5f52077c5aeb3675f416b4\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f52077c5aeb3675f416b2\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-03-04T06:53:24.053Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-57\",\n        \"first_name\": \"Roman\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5f50647c5aeb3675f416ab\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-57\",\n            \"transaction\": {\n                \"id\": \"pi_1GIr6fA3EhAEMdGLHoOVJ8kC\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GIr6fA3EhAEMdGLdczGcf9K\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GIr6fA3EhAEMdGLKJQ5IEUk\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Michigan\",\n                                    \"country\": \"US\",\n                                    \"line1\": \"Rookers Street\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"54218\",\n                                    \"state\": \"CA\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Roman Race\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1583304805,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GqYDMBRxRmXEjW\",\n                            \"description\": \"Charge for Tom and Jerry -  - Product 1 - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 8,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GIr6fA3EhAEMdGLHoOVJ8kC\",\n                            \"payment_method\": \"card_1GIr6eA3EhAEMdGLvjzuEBdy\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"rrcroman@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GIr6fA3EhAEMdGLdczGcf9K/rcpt_GqYDcj6NmWJTz05uskv6SIAP5uE04rK\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GIr6fA3EhAEMdGLdczGcf9K/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Michigan\",\n                                    \"country\": \"US\",\n                                    \"line1\": \"Rookers Street\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"54218\",\n                                    \"state\": \"CA\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Roman Race\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GIr6fA3EhAEMdGLHoOVJ8kC\"\n                },\n                \"client_secret\": \"pi_1GIr6fA3EhAEMdGLHoOVJ8kC_secret_HcrcPEvVVt1gPJEr6mAxqbot9\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1583304805,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GqYDMBRxRmXEjW\",\n                \"description\": \"Charge for Tom and Jerry -  - Product 1 - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GIr6eA3EhAEMdGLvjzuEBdy\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"rrcroman@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Michigan\",\n                        \"country\": \"US\",\n                        \"line1\": \"Rookers Street\",\n                        \"line2\": null,\n                        \"postal_code\": \"54218\",\n                        \"state\": \"CA\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Roman Race\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-03-04T06:53:26.053Z\",\n            \"updatedAt\": \"2020-03-04T06:53:26.053Z\",\n            \"id\": \"5e5f50667c5aeb3675f416b1\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5f50647c5aeb3675f416aa\",\n            \"invoice_id\": \"5e5f50647c5aeb3675f416ac\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Race\",\n        \"email_id\": \"rrcroman@gmail.com\"\n    },\n    {\n        \"amount\": 180,\n        \"created_at\": \"2020-03-04T05:41:47.057Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-55\",\n        \"first_name\": \"john\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-55\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-03-04T05:41:47Z\",\n                \"updated_at\": \"2020-03-04T05:41:47Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"M1xcXc2o5qjmLa8q5eLlygiE2tg\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"49\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 18000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-03-04T05:41:47Z\",\n                    \"updated_at\": \"2020-03-04T05:41:47Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"john smith\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"UTYLUMOGMFfqrFQl7WbiUbV2uMD\",\n                    \"created_at\": \"2020-03-04T05:02:04Z\",\n                    \"updated_at\": \"2020-03-04T05:02:04Z\",\n                    \"email\": \"jhonsmith@xxxxx.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"john\",\n                    \"last_name\": \"smith\",\n                    \"month\": 11,\n                    \"year\": 2020,\n                    \"address1\": \"arera colony\",\n                    \"address2\": null,\n                    \"city\": \"Bhopal\",\n                    \"state\": \"MP\",\n                    \"zip\": \"462016\",\n                    \"country\": \"india\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"john smith\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-03-04T05:41:47.237Z\",\n            \"updatedAt\": \"2020-03-04T05:41:47.237Z\",\n            \"id\": \"5e5f3f9b3b2518365c7923e0\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f3f9b3b2518365c7923de\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\"\n    },\n    {\n        \"amount\": 180,\n        \"created_at\": \"2020-03-04T05:02:04.471Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-54\",\n        \"first_name\": \"john\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5f364c3b2518365c7923bf\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-54\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-03-04T05:02:04Z\",\n                \"updated_at\": \"2020-03-04T05:02:04Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"66eOyr0TsOYRbOeKDtvE16yluf1\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"50\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 18000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-03-04T05:02:04Z\",\n                    \"updated_at\": \"2020-03-04T05:02:04Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"john smith\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"UTYLUMOGMFfqrFQl7WbiUbV2uMD\",\n                    \"created_at\": \"2020-03-04T05:02:04Z\",\n                    \"updated_at\": \"2020-03-04T05:02:04Z\",\n                    \"email\": \"jhonsmith@xxxxx.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"john\",\n                    \"last_name\": \"smith\",\n                    \"month\": 11,\n                    \"year\": 2020,\n                    \"address1\": \"arera colony\",\n                    \"address2\": null,\n                    \"city\": \"Bhopal\",\n                    \"state\": \"MP\",\n                    \"zip\": \"462016\",\n                    \"country\": \"india\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"john smith\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"XXX\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"refunded\": {\n                \"amount\": 150,\n                \"currency\": \"USD\"\n            },\n            \"createdAt\": \"2020-03-04T05:02:04.851Z\",\n            \"updatedAt\": \"2020-03-04T05:02:04.851Z\",\n            \"id\": \"5e5f364c3b2518365c7923c5\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5f364c3b2518365c7923be\",\n            \"invoice_id\": \"5e5f364c3b2518365c7923c0\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 180,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\"\n    },\n    {\n        \"amount\": 1000,\n        \"created_at\": \"2020-03-03T10:29:01.673Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-53\",\n        \"first_name\": \"Tamara\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5e2d18815f5442a4208e10\",\n            \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-53\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-03-03T10:29:01Z\",\n                \"updated_at\": \"2020-03-03T10:29:01Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"BeXkemlyJ1oT0u7072wGrXbkAUZ\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"68\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 80000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-03-03T10:29:01Z\",\n                    \"updated_at\": \"2020-03-03T10:29:01Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"Tamara Ethridge\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"aOCTWeItUQyVeNbpmSg9M7WcFR7\",\n                    \"created_at\": \"2020-03-03T10:10:32Z\",\n                    \"updated_at\": \"2020-03-03T10:10:32Z\",\n                    \"email\": \"ethridgertamara@gmail.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"Tamara\",\n                    \"last_name\": \"Ethridge\",\n                    \"month\": 11,\n                    \"year\": 2020,\n                    \"address1\": \"\",\n                    \"address2\": null,\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"zip\": \"\",\n                    \"country\": \"US\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"Tamara Ethridge\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-03-03T10:29:01.874Z\",\n            \"updatedAt\": \"2020-03-03T10:29:01.874Z\",\n            \"id\": \"5e5e316d815f5442a4208e32\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"invoice_id\": \"5e5e316d815f5442a4208e30\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 800,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Ethridge\",\n        \"email_id\": \"ethridgertamara@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-03-03T10:29:01.446Z\",\n        \"type\": \"credit\",\n        \"status\": \"close\",\n        \"reference_id\": \"CN-2\",\n        \"first_name\": \"Tamara\",\n        \"transaction\": {},\n        \"last_name\": \"Ethridge\",\n        \"email_id\": \"ethridgertamara@gmail.com\"\n    },\n    {\n        \"amount\": 300,\n        \"created_at\": \"2020-03-03T10:24:13.297Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-52\",\n        \"first_name\": \"Lance\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5e304d815f5442a4208e21\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_mode\": \"cash\",\n            \"reference_id\": \"INV-52\",\n            \"pcustomer_id\": \"\",\n            \"gateway_type\": \"offline\",\n            \"transaction\": null,\n            \"createdAt\": \"2020-03-03T10:24:26.799Z\",\n            \"updatedAt\": \"2020-03-03T10:24:26.799Z\",\n            \"id\": \"5e5e305af7992542b0b55116\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5e3031f7992542b0b55113\",\n            \"invoice_id\": \"5e5e304d815f5442a4208e22\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 300,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Crews\",\n        \"email_id\": \"katielee@gmail.com\"\n    },\n    {\n        \"amount\": 300,\n        \"created_at\": \"2020-03-03T10:10:32.170Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-51\",\n        \"first_name\": \"Tamara\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5e2d18815f5442a4208e10\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-51\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-03-03T10:10:32Z\",\n                \"updated_at\": \"2020-03-03T10:10:32Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"5MdXpJlrylFGHOtiDolaomK6N8H\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"63\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 30000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-03-03T10:10:32Z\",\n                    \"updated_at\": \"2020-03-03T10:10:32Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"Tamara Ethridge\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"aOCTWeItUQyVeNbpmSg9M7WcFR7\",\n                    \"created_at\": \"2020-03-03T10:10:32Z\",\n                    \"updated_at\": \"2020-03-03T10:10:32Z\",\n                    \"email\": \"ethridgertamara@gmail.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"Tamara\",\n                    \"last_name\": \"Ethridge\",\n                    \"month\": 11,\n                    \"year\": 2020,\n                    \"address1\": \"\",\n                    \"address2\": null,\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"zip\": \"\",\n                    \"country\": \"US\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"Tamara Ethridge\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"XXX\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-03-03T10:10:32.547Z\",\n            \"updatedAt\": \"2020-03-03T10:10:32.547Z\",\n            \"id\": \"5e5e2d18815f5442a4208e14\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"invoice_id\": \"5e5e2d18815f5442a4208e11\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 300,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Ethridge\",\n        \"email_id\": \"ethridgertamara@gmail.com\"\n    },\n    {\n        \"amount\": 300,\n        \"created_at\": \"2020-03-03T10:07:30.472Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-50\",\n        \"first_name\": \"Tamara\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5e2c62815f5442a4208e01\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_note\": \"The custmer has made a cash payout\",\n            \"payment_mode\": \"cash\",\n            \"reference_id\": \"INV-50\",\n            \"pcustomer_id\": \"\",\n            \"transaction\": \"Transaction data if any\",\n            \"gateway_type\": \"test\",\n            \"createdAt\": \"2020-03-04T05:49:04.716Z\",\n            \"updatedAt\": \"2020-03-04T05:49:04.716Z\",\n            \"id\": \"5e5f41503b2518365c7923e2\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5e2bca815f5442a4208dfe\",\n            \"invoice_id\": \"5e5e2c62815f5442a4208e02\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 300,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Ethridge\",\n        \"email_id\": \"ethridgertamara@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-28T12:03:58.125Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-49\",\n        \"first_name\": \"Maynk\",\n        \"transaction\": {\n            \"subscription_id\": \"5e5901ae9ad5817ee5346c05\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-49\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-02-28T12:03:58Z\",\n                \"updated_at\": \"2020-02-28T12:03:58Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"12qw1tlWpIizFsqtQFg87JJKCo5\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"44\",\n                \"gateway_latency_ms\": 0,\n                \"stored_credential_initiator\": null,\n                \"stored_credential_reason_type\": null,\n                \"warning\": null,\n                \"amount\": 20000,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-02-28T12:03:58Z\",\n                    \"updated_at\": \"2020-02-28T12:03:58Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"Maynk Dhiman\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"27fCMs3aGelwv1jSz3l8GfmHoii\",\n                    \"created_at\": \"2020-02-28T12:03:58Z\",\n                    \"updated_at\": \"2020-02-28T12:03:58Z\",\n                    \"email\": \"mayank.dhiman03+cptest@gmail.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"Maynk\",\n                    \"last_name\": \"Dhiman\",\n                    \"month\": 1,\n                    \"year\": 2029,\n                    \"address1\": \"\",\n                    \"address2\": null,\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"zip\": \"\",\n                    \"country\": \"\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"Maynk Dhiman\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"XXX\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-28T12:03:58.504Z\",\n            \"updatedAt\": \"2020-02-28T12:03:58.504Z\",\n            \"id\": \"5e5901ae9ad5817ee5346c0b\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e5901ae9ad5817ee5346c04\",\n            \"invoice_id\": \"5e5901ae9ad5817ee5346c06\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+cptest@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-20T06:45:23.642Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-48\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4e2b03b1f45f5a5b7ba0d1\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-48\",\n            \"transaction\": {\n                \"id\": \"pi_1GE8mmA3EhAEMdGLC53IXPVX\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GE8mnA3EhAEMdGLNEDy48ts\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GE8mnA3EhAEMdGLo86Jp0Ct\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582181125,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Glg9DqsgCrjVcl\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 29,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GE8mmA3EhAEMdGLC53IXPVX\",\n                            \"payment_method\": \"card_1GE8mmA3EhAEMdGL9eutXhck\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+zapier3@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GE8mnA3EhAEMdGLNEDy48ts/rcpt_Glg9N1VA5EWFFVcK3C4Ms6IsanHHvNc\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GE8mnA3EhAEMdGLNEDy48ts/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GE8mmA3EhAEMdGLC53IXPVX\"\n                },\n                \"client_secret\": \"pi_1GE8mmA3EhAEMdGLC53IXPVX_secret_GNezHcsVlUkPsrCxjAxxPuqBa\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582181124,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Glg9DqsgCrjVcl\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GE8mmA3EhAEMdGL9eutXhck\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+zapier3@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-20T06:45:25.895Z\",\n            \"updatedAt\": \"2020-02-20T06:45:25.895Z\",\n            \"id\": \"5e4e2b05b1f45f5a5b7ba0d7\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4e2b03b1f45f5a5b7ba0d0\",\n            \"invoice_id\": \"5e4e2b03b1f45f5a5b7ba0d2\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier3@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-20T06:40:19.815Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-47\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4e29d3b1f45f5a5b7ba0c5\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-47\",\n            \"transaction\": {\n                \"id\": \"pi_1GE8hsA3EhAEMdGLv9vhaHQg\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GE8htA3EhAEMdGLb93bPkcw\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GE8htA3EhAEMdGLlSJ2qtb7\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582180821,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Glg3foilBAt8jz\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 64,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GE8hsA3EhAEMdGLv9vhaHQg\",\n                            \"payment_method\": \"card_1GE8hsA3EhAEMdGLU7M0h5fn\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+zapier2@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GE8htA3EhAEMdGLb93bPkcw/rcpt_Glg40XDp8zZbdQ5Bq5UIOUdf9T1rcOI\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GE8htA3EhAEMdGLb93bPkcw/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GE8hsA3EhAEMdGLv9vhaHQg\"\n                },\n                \"client_secret\": \"pi_1GE8hsA3EhAEMdGLv9vhaHQg_secret_A8LcK0FtgRXK8veusM3fhe17l\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582180820,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Glg3foilBAt8jz\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GE8hsA3EhAEMdGLU7M0h5fn\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+zapier2@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-20T06:40:22.130Z\",\n            \"updatedAt\": \"2020-02-20T06:40:22.130Z\",\n            \"id\": \"5e4e29d6b1f45f5a5b7ba0cb\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4e29d3b1f45f5a5b7ba0c4\",\n            \"invoice_id\": \"5e4e29d3b1f45f5a5b7ba0c6\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier2@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-20T06:34:36.853Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-46\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4e287cb1f45f5a5b7ba0bd\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-46\",\n            \"transaction\": {\n                \"id\": \"pi_1GE8cLA3EhAEMdGL6DxWesOw\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GE8cMA3EhAEMdGL2WRFAXIv\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GE8cMA3EhAEMdGLVRhaOiNP\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582180478,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GlfyLldSueQLNy\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 12,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GE8cLA3EhAEMdGL6DxWesOw\",\n                            \"payment_method\": \"card_1GE8cLA3EhAEMdGLLjPvJ5g5\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+zapier@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GE8cMA3EhAEMdGL2WRFAXIv/rcpt_Glfy71tne5NWsHXuCz9U5CI6xRPQdOo\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GE8cMA3EhAEMdGL2WRFAXIv/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GE8cLA3EhAEMdGL6DxWesOw\"\n                },\n                \"client_secret\": \"pi_1GE8cLA3EhAEMdGL6DxWesOw_secret_eqxX8kYjOpifgzqKI017ggBgg\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582180477,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GlfyLldSueQLNy\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GE8cLA3EhAEMdGLLjPvJ5g5\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+zapier@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-20T06:34:39.103Z\",\n            \"updatedAt\": \"2020-02-20T06:34:39.103Z\",\n            \"id\": \"5e4e287fb1f45f5a5b7ba0c3\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4e287cb1f45f5a5b7ba0bc\",\n            \"invoice_id\": \"5e4e287cb1f45f5a5b7ba0be\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-20T06:20:25.607Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-45\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4e2529b1f45f5a5b7ba0b2\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-45\",\n            \"transaction\": {\n                \"id\": \"pi_1GE8OdA3EhAEMdGLbFZW0Qus\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GE8OdA3EhAEMdGLneNB8tbA\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GE8OdA3EhAEMdGLfRVnvSpK\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582179627,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GlfkgS9DHyQGD4\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 21,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GE8OdA3EhAEMdGLbFZW0Qus\",\n                            \"payment_method\": \"card_1GE8ObA3EhAEMdGLWOfhuxnH\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+shopifycustomer@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GE8OdA3EhAEMdGLneNB8tbA/rcpt_GlfkF2OgBydthBArrKAkfmYaOejbHVQ\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GE8OdA3EhAEMdGLneNB8tbA/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GE8OdA3EhAEMdGLbFZW0Qus\"\n                },\n                \"client_secret\": \"pi_1GE8OdA3EhAEMdGLbFZW0Qus_secret_K777u5rkbZaxdqBiHXAFsNg7O\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582179627,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GlfkgS9DHyQGD4\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GE8ObA3EhAEMdGLWOfhuxnH\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+shopifycustomer@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-20T06:20:28.390Z\",\n            \"updatedAt\": \"2020-02-20T06:20:28.390Z\",\n            \"id\": \"5e4e252cb1f45f5a5b7ba0b8\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4e2529b1f45f5a5b7ba0b1\",\n            \"invoice_id\": \"5e4e2529b1f45f5a5b7ba0b3\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+shopifycustomer@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-19T10:26:51.624Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-44\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4d0d6bf492d74aabef81fd\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-44\",\n            \"transaction\": {\n                \"id\": \"pi_1GDplYA3EhAEMdGLsPvmj2cF\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GDplYA3EhAEMdGLjlJdlOSu\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GDplZA3EhAEMdGLpeJsWdGs\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"bhopal\",\n                                    \"country\": \"AZ\",\n                                    \"line1\": \"janta 85\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"123456\",\n                                    \"state\": \"CAL\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhim\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582108012,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GlMUsPfcJiR232\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 38,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GDplYA3EhAEMdGLsPvmj2cF\",\n                            \"payment_method\": \"card_1GDplXA3EhAEMdGLE8WH6NJj\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+0987@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GDplYA3EhAEMdGLjlJdlOSu/rcpt_GlMUqZIbUn7Jcc8fKcMw9x0ljyEtUm6\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GDplYA3EhAEMdGLjlJdlOSu/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"bhopal\",\n                                    \"country\": \"AZ\",\n                                    \"line1\": \"janta 85\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"123456\",\n                                    \"state\": \"CAL\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhim\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GDplYA3EhAEMdGLsPvmj2cF\"\n                },\n                \"client_secret\": \"pi_1GDplYA3EhAEMdGLsPvmj2cF_secret_iUkBI3Rj87d8Aj4q8IYW251O0\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582108012,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GlMUsPfcJiR232\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GDplXA3EhAEMdGLE8WH6NJj\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+0987@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"bhopal\",\n                        \"country\": \"AZ\",\n                        \"line1\": \"janta 85\",\n                        \"line2\": null,\n                        \"postal_code\": \"123456\",\n                        \"state\": \"CAL\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhim\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-19T10:26:53.827Z\",\n            \"updatedAt\": \"2020-02-19T10:26:53.827Z\",\n            \"id\": \"5e4d0d6df492d74aabef8205\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4a3707998f6d797c1ec7d5\",\n            \"invoice_id\": \"5e4d0d6bf492d74aabef81fe\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhim\",\n        \"email_id\": \"mayank.dhiman03+0987@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-19T10:26:01.647Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-43\",\n        \"first_name\": \"test\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4d0d39f492d74aabef81ee\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-43\",\n            \"transaction\": {\n                \"id\": \"pi_1GDpkkA3EhAEMdGLtK6WGe4J\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GDpklA3EhAEMdGLh9DjtRYE\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GDpklA3EhAEMdGLSWCSSPXl\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"bhopal\",\n                                    \"country\": \"AZ\",\n                                    \"line1\": \"janta 85\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"123456\",\n                                    \"state\": \"CAL\"\n                                },\n                                \"email\": null,\n                                \"name\": \"test plan\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1582107963,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GlMTBNwddLOCha\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 58,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GDpkkA3EhAEMdGLtK6WGe4J\",\n                            \"payment_method\": \"card_1GDpkjA3EhAEMdGLgtFICVHE\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayanktidke+testplan@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GDpklA3EhAEMdGLh9DjtRYE/rcpt_GlMTmoRKVVZNrHui7JA41fie79kmPVy\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GDpklA3EhAEMdGLh9DjtRYE/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"bhopal\",\n                                    \"country\": \"AZ\",\n                                    \"line1\": \"janta 85\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"123456\",\n                                    \"state\": \"CAL\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"test plan\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GDpkkA3EhAEMdGLtK6WGe4J\"\n                },\n                \"client_secret\": \"pi_1GDpkkA3EhAEMdGLtK6WGe4J_secret_zpxYuGoOIYVZxl6FFzFY8Mtqt\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1582107962,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GlMTBNwddLOCha\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GDpkjA3EhAEMdGLgtFICVHE\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayanktidke+testplan@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"bhopal\",\n                        \"country\": \"AZ\",\n                        \"line1\": \"janta 85\",\n                        \"line2\": null,\n                        \"postal_code\": \"123456\",\n                        \"state\": \"CAL\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"test plan\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-19T10:26:03.836Z\",\n            \"updatedAt\": \"2020-02-19T10:26:03.836Z\",\n            \"id\": \"5e4d0d3bf492d74aabef81f8\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4d0d39f492d74aabef81ed\",\n            \"invoice_id\": \"5e4d0d39f492d74aabef81f3\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"plan\",\n        \"email_id\": \"mayanktidke+testplan@gmail.com\"\n    },\n    {\n        \"amount\": 10,\n        \"created_at\": \"2020-02-18T01:05:02.562Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-42\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e4a41c19288a77999754e41\",\n            \"plan_id\": \"5e3a9e2d24b63d4b28410cea\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-42\",\n            \"transaction\": {\n                \"id\": \"pi_1GDKWIA3EhAEMdGLcI3DhI7Y\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 1200,\n                \"amount_capturable\": 0,\n                \"amount_received\": 1200,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GDKWJA3EhAEMdGLeHb2nBUk\",\n                            \"object\": \"charge\",\n                            \"amount\": 1200,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GDKWJA3EhAEMdGLIj3cZDBr\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581987903,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GkZFKEcyZ7MbiQ\",\n                            \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 30,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GDKWIA3EhAEMdGLcI3DhI7Y\",\n                            \"payment_method\": \"card_1GD46YA3EhAEMdGLxj6eOQTc\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": null\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+email@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GDKWJA3EhAEMdGLeHb2nBUk/rcpt_GkqCNvx0jvXKXCbTaWMNuMhRn1UQvHI\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GDKWJA3EhAEMdGLeHb2nBUk/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GDKWIA3EhAEMdGLcI3DhI7Y\"\n                },\n                \"client_secret\": \"pi_1GDKWIA3EhAEMdGLcI3DhI7Y_secret_ovH2cuVv3CFzp8RumlgX4ETu3\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581987902,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GkZFKEcyZ7MbiQ\",\n                \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GD46YA3EhAEMdGLxj6eOQTc\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+email@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-18T01:05:03.953Z\",\n            \"updatedAt\": \"2020-02-18T01:05:03.953Z\",\n            \"id\": \"5e4b383f998f6d797c1ecc86\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e4a41c19288a77999754e40\",\n            \"invoice_id\": \"5e4b383e998f6d797c1ecc82\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 12,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+email@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-12T11:32:38.728Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-41\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e43e25665d1501c8b5dd6a4\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-41\",\n            \"transaction\": {\n                \"id\": \"I-WWXC3RSDEMG6\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - New recurring plan\",\n                \"start_date\": \"2020-03-12T07:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"240.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"240.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-WWXC3RSDEMG6\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-12T11:32:38.734Z\",\n            \"updatedAt\": \"2020-02-12T11:32:38.734Z\",\n            \"id\": \"5e43e25665d1501c8b5dd6a7\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e43e25665d1501c8b5dd6a3\",\n            \"invoice_id\": \"5e43e25665d1501c8b5dd6a5\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+qbt2@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-12T11:26:06.499Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-40\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e43e0ce65d1501c8b5dd684\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-40\",\n            \"transaction\": {\n                \"id\": \"pi_1GBJM3A3EhAEMdGLXXXpYJQF\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GBJM3A3EhAEMdGLEv8i6jjN\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GBJM4A3EhAEMdGLMrRT8Wyy\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581506767,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GikrMoyCWbwtD1\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 52,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GBJM3A3EhAEMdGLXXXpYJQF\",\n                            \"payment_method\": \"card_1GBJM2A3EhAEMdGLGevkvp3O\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+testwebhook@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GBJM3A3EhAEMdGLEv8i6jjN/rcpt_Gikrg0yy5C03yE28lGhyXZ45rUqx1DK\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GBJM3A3EhAEMdGLEv8i6jjN/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GBJM3A3EhAEMdGLXXXpYJQF\"\n                },\n                \"client_secret\": \"pi_1GBJM3A3EhAEMdGLXXXpYJQF_secret_JLoYvwNKqeVDG2FOzn336FulC\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581506767,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GikrMoyCWbwtD1\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GBJM2A3EhAEMdGLGevkvp3O\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+testwebhook@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-12T11:26:08.726Z\",\n            \"updatedAt\": \"2020-02-12T11:26:08.726Z\",\n            \"id\": \"5e43e0d065d1501c8b5dd68e\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e43e0ce65d1501c8b5dd683\",\n            \"invoice_id\": \"5e43e0ce65d1501c8b5dd685\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+testwebhook@gmail.com\"\n    },\n    {\n        \"amount\": 500,\n        \"created_at\": \"2020-02-11T11:34:40.013Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-39\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e42914fdeeee8178df9a9d5\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-39\",\n            \"transaction\": {\n                \"id\": \"I-EC60HRD1VNMS\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - Recurring monthly plan Edit\",\n                \"start_date\": \"2020-03-11T07:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"500.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"500.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-EC60HRD1VNMS\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-11T11:34:40.019Z\",\n            \"updatedAt\": \"2020-02-11T11:34:40.019Z\",\n            \"id\": \"5e429150deeee8178df9a9d8\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e42914fdeeee8178df9a9d4\",\n            \"invoice_id\": \"5e429150deeee8178df9a9d6\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 500,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+68@gmail.com\"\n    },\n    {\n        \"amount\": 2550,\n        \"created_at\": \"2020-02-11T11:33:53.808Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-38\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e429121deeee8178df9a9cb\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-38\",\n            \"transaction\": {\n                \"id\": \"pi_1GAx03A3EhAEMdGL4JEyV9EZ\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 255000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 255000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GAx03A3EhAEMdGLniLIY1eV\",\n                            \"object\": \"charge\",\n                            \"amount\": 255000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GAx03A3EhAEMdGLcACic32a\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": null,\n                                    \"country\": null,\n                                    \"line1\": null,\n                                    \"line2\": null,\n                                    \"postal_code\": null,\n                                    \"state\": null\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581420835,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GiNlSoAFEHYqXs\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 38,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GAx03A3EhAEMdGL4JEyV9EZ\",\n                            \"payment_method\": \"card_1GAx02A3EhAEMdGLgo6kPy8N\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": null,\n                                        \"address_postal_code_check\": null,\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 4,\n                                    \"exp_year\": 2023,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+67@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GAx03A3EhAEMdGLniLIY1eV/rcpt_GiNlKIG0S7tUSEls90AO5RYfdWU6io4\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GAx03A3EhAEMdGLniLIY1eV/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": null,\n                                    \"country\": null,\n                                    \"line1\": \"\",\n                                    \"line2\": null,\n                                    \"postal_code\": null,\n                                    \"state\": null\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GAx03A3EhAEMdGL4JEyV9EZ\"\n                },\n                \"client_secret\": \"pi_1GAx03A3EhAEMdGL4JEyV9EZ_secret_7q8FaYHeuZa621fGN2kOgBf9M\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581420835,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GiNlSoAFEHYqXs\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GAx02A3EhAEMdGLgo6kPy8N\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+67@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": null,\n                        \"country\": null,\n                        \"line1\": \"\",\n                        \"line2\": null,\n                        \"postal_code\": null,\n                        \"state\": null\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-11T11:33:56.010Z\",\n            \"updatedAt\": \"2020-02-11T11:33:56.010Z\",\n            \"id\": \"5e429124deeee8178df9a9cf\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e429121deeee8178df9a9ca\",\n            \"invoice_id\": \"5e429121deeee8178df9a9cc\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 2550,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+67@gmail.com\"\n    },\n    {\n        \"amount\": 100,\n        \"created_at\": \"2020-02-11T05:58:35.303Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-37\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e42428bdeeee8178df9a73c\",\n            \"plan_id\": \"5e3bb3d53c92e44b424b73f8\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-37\",\n            \"transaction\": {\n                \"id\": \"PAYID-LZBEFDA3NH808828K1899156\",\n                \"intent\": \"sale\",\n                \"state\": \"approved\",\n                \"cart\": \"8V864621WE7542435\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"VERIFIED\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        },\n                        \"country_code\": \"US\"\n                    }\n                },\n                \"transactions\": [\n                    {\n                        \"amount\": {\n                            \"total\": \"100.00\",\n                            \"currency\": \"USD\",\n                            \"details\": {\n                                \"subtotal\": \"100.00\",\n                                \"shipping\": \"0.00\",\n                                \"insurance\": \"0.00\",\n                                \"handling_fee\": \"0.00\",\n                                \"shipping_discount\": \"0.00\"\n                            }\n                        },\n                        \"payee\": {\n                            \"merchant_id\": \"R93YAVM9JWT3E\",\n                            \"email\": \"testmerchant@pabbly.com\"\n                        },\n                        \"description\": \"asdasdasd\",\n                        \"custom\": \"online\",\n                        \"invoice_number\": \"5e42428bdeeee8178df9a73d\",\n                        \"item_list\": {\n                            \"items\": [\n                                {\n                                    \"name\": \"Product 1 - asdasdasd\",\n                                    \"sku\": \"5e3bb3d53c92e44b424b73f8\",\n                                    \"price\": \"100.00\",\n                                    \"currency\": \"USD\",\n                                    \"tax\": \"0.00\",\n                                    \"quantity\": 1\n                                }\n                            ],\n                            \"shipping_address\": {\n                                \"recipient_name\": \"Buyer Pabbly\",\n                                \"line1\": \"1 Main St\",\n                                \"city\": \"San Jose\",\n                                \"state\": \"CA\",\n                                \"postal_code\": \"95131\",\n                                \"country_code\": \"US\"\n                            }\n                        },\n                        \"related_resources\": [\n                            {\n                                \"sale\": {\n                                    \"id\": \"31637017Y5143992F\",\n                                    \"state\": \"completed\",\n                                    \"amount\": {\n                                        \"total\": \"100.00\",\n                                        \"currency\": \"USD\",\n                                        \"details\": {\n                                            \"subtotal\": \"100.00\",\n                                            \"shipping\": \"0.00\",\n                                            \"insurance\": \"0.00\",\n                                            \"handling_fee\": \"0.00\",\n                                            \"shipping_discount\": \"0.00\"\n                                        }\n                                    },\n                                    \"payment_mode\": \"INSTANT_TRANSFER\",\n                                    \"protection_eligibility\": \"ELIGIBLE\",\n                                    \"protection_eligibility_type\": \"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE\",\n                                    \"transaction_fee\": {\n                                        \"value\": \"3.20\",\n                                        \"currency\": \"USD\"\n                                    },\n                                    \"parent_payment\": \"PAYID-LZBEFDA3NH808828K1899156\",\n                                    \"create_time\": \"2020-02-11T05:59:36Z\",\n                                    \"update_time\": \"2020-02-11T05:59:36Z\",\n                                    \"links\": [\n                                        {\n                                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/sale/31637017Y5143992F\",\n                                            \"rel\": \"self\",\n                                            \"method\": \"GET\"\n                                        },\n                                        {\n                                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/sale/31637017Y5143992F/refund\",\n                                            \"rel\": \"refund\",\n                                            \"method\": \"POST\"\n                                        },\n                                        {\n                                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LZBEFDA3NH808828K1899156\",\n                                            \"rel\": \"parent_payment\",\n                                            \"method\": \"GET\"\n                                        }\n                                    ]\n                                }\n                            }\n                        ]\n                    }\n                ],\n                \"create_time\": \"2020-02-11T05:58:35Z\",\n                \"update_time\": \"2020-02-11T05:59:36Z\",\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LZBEFDA3NH808828K1899156\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"httpStatusCode\": 200,\n                \"sale\": {\n                    \"id\": \"31637017Y5143992F\",\n                    \"state\": \"completed\",\n                    \"amount\": {\n                        \"total\": \"100.00\",\n                        \"currency\": \"USD\",\n                        \"details\": {\n                            \"subtotal\": \"100.00\",\n                            \"shipping\": \"0.00\",\n                            \"insurance\": \"0.00\",\n                            \"handling_fee\": \"0.00\",\n                            \"shipping_discount\": \"0.00\"\n                        }\n                    },\n                    \"payment_mode\": \"INSTANT_TRANSFER\",\n                    \"protection_eligibility\": \"ELIGIBLE\",\n                    \"protection_eligibility_type\": \"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE\",\n                    \"transaction_fee\": {\n                        \"value\": \"3.20\",\n                        \"currency\": \"USD\"\n                    },\n                    \"parent_payment\": \"PAYID-LZBEFDA3NH808828K1899156\",\n                    \"create_time\": \"2020-02-11T05:59:36Z\",\n                    \"update_time\": \"2020-02-11T05:59:36Z\",\n                    \"links\": [\n                        {\n                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/sale/31637017Y5143992F\",\n                            \"rel\": \"self\",\n                            \"method\": \"GET\"\n                        },\n                        {\n                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/sale/31637017Y5143992F/refund\",\n                            \"rel\": \"refund\",\n                            \"method\": \"POST\"\n                        },\n                        {\n                            \"href\": \"https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LZBEFDA3NH808828K1899156\",\n                            \"rel\": \"parent_payment\",\n                            \"method\": \"GET\"\n                        }\n                    ]\n                }\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-11T05:58:35.307Z\",\n            \"updatedAt\": \"2020-02-11T05:58:35.307Z\",\n            \"id\": \"5e42428bdeeee8178df9a73f\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e42428bdeeee8178df9a73b\",\n            \"invoice_id\": \"5e42428bdeeee8178df9a73d\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 100,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhinan@gmail.com\"\n    },\n    {\n        \"amount\": 1010,\n        \"created_at\": \"2020-02-11T05:57:39.347Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-36\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e424253deeee8178df9a736\",\n            \"plan_id\": \"5e3bb3d53c92e44b424b73f8\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-36\",\n            \"transaction\": {\n                \"id\": \"pi_1GArkeA3EhAEMdGLHA8woqdH\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 101000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 101000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1GArkeA3EhAEMdGLLgazi4G8\",\n                            \"object\": \"charge\",\n                            \"amount\": 101000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1GArkfA3EhAEMdGLK9JnslUx\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": null,\n                                    \"country\": null,\n                                    \"line1\": null,\n                                    \"line2\": null,\n                                    \"postal_code\": null,\n                                    \"state\": null\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581400660,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GiI59eQDy1ftos\",\n                            \"description\": \"Charge for Tom and Jerry -  - asdasdasd\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 31,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1GArkeA3EhAEMdGLHA8woqdH\",\n                            \"payment_method\": \"card_1GArkdA3EhAEMdGLaURpjVuq\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": null,\n                                        \"address_postal_code_check\": null,\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 2,\n                                    \"exp_year\": 2021,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1GArkeA3EhAEMdGLLgazi4G8/rcpt_GiILr6gTFWiP7AJDwD7kPojXXP1aZ7q\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1GArkeA3EhAEMdGLLgazi4G8/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": null,\n                                    \"country\": null,\n                                    \"line1\": \"\",\n                                    \"line2\": null,\n                                    \"postal_code\": null,\n                                    \"state\": null\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1GArkeA3EhAEMdGLHA8woqdH\"\n                },\n                \"client_secret\": \"pi_1GArkeA3EhAEMdGLHA8woqdH_secret_nQIpfpfiTpfCnv3juIPF33Kr5\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581400660,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GiI59eQDy1ftos\",\n                \"description\": \"Charge for Tom and Jerry -  - asdasdasd\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1GArkdA3EhAEMdGLaURpjVuq\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": null,\n                        \"country\": null,\n                        \"line1\": \"\",\n                        \"line2\": null,\n                        \"postal_code\": null,\n                        \"state\": null\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-11T05:57:41.696Z\",\n            \"updatedAt\": \"2020-02-11T05:57:41.696Z\",\n            \"id\": \"5e424255deeee8178df9a73a\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e423eb2deeee8178df9a714\",\n            \"invoice_id\": \"5e424253deeee8178df9a737\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 1010,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank@gmail.com\"\n    },\n    {\n        \"amount\": 500,\n        \"created_at\": \"2020-02-11T05:48:08.676Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-35\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e424018deeee8178df9a71c\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-35\",\n            \"transaction\": {\n                \"id\": \"I-L8N127FUEET3\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - Recurring monthly plan Edit\",\n                \"start_date\": \"2020-03-11T07:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"500.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"500.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-L8N127FUEET3\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-11T05:48:08.683Z\",\n            \"updatedAt\": \"2020-02-11T05:48:08.683Z\",\n            \"id\": \"5e424018deeee8178df9a71f\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e424018deeee8178df9a71b\",\n            \"invoice_id\": \"5e424018deeee8178df9a71d\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 500,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-07T07:58:07.543Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-31\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3d188fdb854627602966df\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-31\",\n            \"transaction\": {\n                \"id\": \"I-9PHD9FSA0PM9\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - New recurring plan\",\n                \"start_date\": \"2020-03-07T08:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"240.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"240.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-9PHD9FSA0PM9\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T07:58:07.549Z\",\n            \"updatedAt\": \"2020-02-07T07:58:07.549Z\",\n            \"id\": \"5e3d188fdb854627602966e2\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3d188fdb854627602966de\",\n            \"invoice_id\": \"5e3d188fdb854627602966e0\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+20@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-07T07:51:21.026Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-29\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3d16f8db854627602966ce\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-29\",\n            \"transaction\": {\n                \"id\": \"pi_1G9RcUA3EhAEMdGLQ4MESyxw\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 24000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 24000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G9RcUA3EhAEMdGLtENSMhZl\",\n                            \"object\": \"charge\",\n                            \"amount\": 24000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G9RcUA3EhAEMdGL76v9u3yV\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581061882,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Ggp67hkJGTxKb9\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 47,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G9RcUA3EhAEMdGLQ4MESyxw\",\n                            \"payment_method\": \"card_1G9RcTA3EhAEMdGLSk0xW0Wq\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+19@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G9RcUA3EhAEMdGLtENSMhZl/rcpt_GgpHptIscIYqZhyHdseinzbCASo6A8z\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G9RcUA3EhAEMdGLtENSMhZl/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G9RcUA3EhAEMdGLQ4MESyxw\"\n                },\n                \"client_secret\": \"pi_1G9RcUA3EhAEMdGLQ4MESyxw_secret_OPxFFJF1ukmrm6rnyXeGS1iP3\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581061882,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Ggp67hkJGTxKb9\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G9RcTA3EhAEMdGLSk0xW0Wq\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+19@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T07:51:23.403Z\",\n            \"updatedAt\": \"2020-02-07T07:51:23.403Z\",\n            \"id\": \"5e3d16fbdb854627602966d2\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3d1481db854627602966c8\",\n            \"invoice_id\": \"5e3d16f9db854627602966cf\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 240,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+19@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-07T07:08:02.918Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-24\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3d0cd2db8546276029665c\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-24\",\n            \"transaction\": {\n                \"id\": \"pi_1G9QwaA3EhAEMdGLuqNiBKp0\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G9QwaA3EhAEMdGLOBu8LwVw\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G9QwaA3EhAEMdGLDqPtwU0R\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581059284,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgoZEvK0pSxlGp\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 34,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G9QwaA3EhAEMdGLuqNiBKp0\",\n                            \"payment_method\": \"card_1G9QwZA3EhAEMdGLDmKauK48\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+17@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G9QwaA3EhAEMdGLOBu8LwVw/rcpt_GgoZgJkm07fkxUW6uiu8EWaBhdWeuvY\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G9QwaA3EhAEMdGLOBu8LwVw/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G9QwaA3EhAEMdGLuqNiBKp0\"\n                },\n                \"client_secret\": \"pi_1G9QwaA3EhAEMdGLuqNiBKp0_secret_KG6wyOYzcneAW0lL4fxnYEFW9\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581059284,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgoZEvK0pSxlGp\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G9QwZA3EhAEMdGLDmKauK48\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+17@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T07:08:05.002Z\",\n            \"updatedAt\": \"2020-02-07T07:08:05.002Z\",\n            \"id\": \"5e3d0cd5db85462760296663\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3d0cd2db8546276029665b\",\n            \"invoice_id\": \"5e3d0cd2db8546276029665d\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+17@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-07T07:07:01.358Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-23\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3d0c95db85462760296655\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-23\",\n            \"transaction\": {\n                \"id\": \"pi_1G9QvaA3EhAEMdGL2kkSswVx\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G9QvaA3EhAEMdGLmocKIyAt\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G9QvaA3EhAEMdGL89eHFQYF\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581059222,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 10,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G9QvaA3EhAEMdGL2kkSswVx\",\n                            \"payment_method\": \"card_1G9QvZA3EhAEMdGLUmxxPshE\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"mastercard\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2030,\n                                    \"fingerprint\": \"V3BR5nhqX7d4G9TS\",\n                                    \"funding\": \"prepaid\",\n                                    \"installments\": null,\n                                    \"last4\": \"5100\",\n                                    \"network\": \"mastercard\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G9QvaA3EhAEMdGLmocKIyAt/rcpt_GgoYgjMpjyzpJ51Lv2rz6XWQgN64lfq\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G9QvaA3EhAEMdGLmocKIyAt/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G9QvaA3EhAEMdGL2kkSswVx\"\n                },\n                \"client_secret\": \"pi_1G9QvaA3EhAEMdGL2kkSswVx_secret_HVbH9z7SqpwWgb7tz9Ch66SP3\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581059222,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G9QvZA3EhAEMdGLUmxxPshE\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T07:07:03.427Z\",\n            \"updatedAt\": \"2020-02-07T07:07:03.427Z\",\n            \"id\": \"5e3d0c97db8546276029665a\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bfbc1db85462760295d55\",\n            \"invoice_id\": \"5e3d0c95db85462760296656\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\"\n    },\n    {\n        \"amount\": 1500,\n        \"created_at\": \"2020-02-07T06:56:07.527Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-22\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bfbc1db85462760295d56\",\n            \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-22\",\n            \"transaction\": {\n                \"id\": \"pi_1G9Ql1A3EhAEMdGLPYUKOFSG\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 150000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 150000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G9Ql1A3EhAEMdGL5DdZ9yKP\",\n                            \"object\": \"charge\",\n                            \"amount\": 150000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G9Ql2A3EhAEMdGL5522DuX2\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581058567,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 10,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G9Ql1A3EhAEMdGLPYUKOFSG\",\n                            \"payment_method\": \"card_1G9QSDA3EhAEMdGLW3gzRoiv\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": null\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 2,\n                                    \"exp_year\": 2031,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G9Ql1A3EhAEMdGL5DdZ9yKP/rcpt_GgoNVfDMilPWRbWh8VyUaRKCbUeRFrv\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G9Ql1A3EhAEMdGL5DdZ9yKP/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G9Ql1A3EhAEMdGLPYUKOFSG\"\n                },\n                \"client_secret\": \"pi_1G9Ql1A3EhAEMdGLPYUKOFSG_secret_f6InyXyACxSXwdBAg5TgRBnrS\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581058567,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G9QSDA3EhAEMdGLW3gzRoiv\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T06:56:10.260Z\",\n            \"updatedAt\": \"2020-02-07T06:56:10.260Z\",\n            \"id\": \"5e3d0a0adb85462760296650\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bfbc1db85462760295d55\",\n            \"invoice_id\": \"5e3d0a07db8546276029664e\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 1500,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\"\n    },\n    {\n        \"amount\": 1500,\n        \"created_at\": \"2020-02-07T06:05:36.721Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-21\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bfbc1db85462760295d56\",\n            \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-21\",\n            \"transaction\": {\n                \"id\": \"pi_1G9Q2NA3EhAEMdGLrPEfYefl\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 119833,\n                \"amount_capturable\": 0,\n                \"amount_received\": 119833,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G9Q2NA3EhAEMdGLJL48LtMY\",\n                            \"object\": \"charge\",\n                            \"amount\": 119833,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G9Q2NA3EhAEMdGLIMOTeP87\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1581055799,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                            \"description\": \"Charge for mayank.dhiman03@gmail.com -  - Recurring yearly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 32,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G9Q2NA3EhAEMdGLrPEfYefl\",\n                            \"payment_method\": \"card_1G98l3A3EhAEMdGLgNSsEGpC\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": null\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G9Q2NA3EhAEMdGLJL48LtMY/rcpt_Ggndlv7FKNitmWKug14dUSDdX8NiPfV\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G9Q2NA3EhAEMdGLJL48LtMY/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G9Q2NA3EhAEMdGLrPEfYefl\"\n                },\n                \"client_secret\": \"pi_1G9Q2NA3EhAEMdGLrPEfYefl_secret_CSYw2ShU0oN1awE2qDBnOhC5u\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1581055799,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                \"description\": \"Charge for mayank.dhiman03@gmail.com -  - Recurring yearly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98l3A3EhAEMdGLgNSsEGpC\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-07T06:10:00.607Z\",\n            \"updatedAt\": \"2020-02-07T06:10:00.607Z\",\n            \"id\": \"5e3cff38db85462760296611\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bfbc1db85462760295d55\",\n            \"invoice_id\": \"5e3cfe30db8546276029660e\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 1198.33,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\"\n    },\n    {\n        \"amount\": 301.67,\n        \"created_at\": \"2020-02-07T06:05:36.540Z\",\n        \"type\": \"credit\",\n        \"status\": \"close\",\n        \"reference_id\": \"CN-1\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {},\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\"\n    },\n    {\n        \"amount\": 401.67,\n        \"created_at\": \"2020-02-06T11:44:08.617Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-20\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bfbc1db85462760295d56\",\n            \"plan_id\": \"5e3a9e2d24b63d4b28410cea\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-20\",\n            \"transaction\": {\n                \"id\": \"pi_1G98mCA3EhAEMdGLls2r6p4j\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 40167,\n                \"amount_capturable\": 0,\n                \"amount_received\": 40167,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98mCA3EhAEMdGLdElm4K6Q\",\n                            \"object\": \"charge\",\n                            \"amount\": 40167,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98mDA3EhAEMdGLoy8riIH3\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580989448,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                            \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 3,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98mCA3EhAEMdGLls2r6p4j\",\n                            \"payment_method\": \"card_1G98l3A3EhAEMdGLgNSsEGpC\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98mCA3EhAEMdGLdElm4K6Q/rcpt_GgVnwsVUyUrXLX1AtOHEdfTjC9DcAJw\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98mCA3EhAEMdGLdElm4K6Q/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98mCA3EhAEMdGLls2r6p4j\"\n                },\n                \"client_secret\": \"pi_1G98mCA3EhAEMdGLls2r6p4j_secret_gGXSfBbkrj5lWJnKi1DGxE32M\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580989448,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVmyqNBeJUIiO\",\n                \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98l3A3EhAEMdGLgNSsEGpC\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:44:09.617Z\",\n            \"updatedAt\": \"2020-02-06T11:44:09.617Z\",\n            \"id\": \"5e3bfc09db85462760295d5a\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bfbc1db85462760295d55\",\n            \"invoice_id\": \"5e3bfc08db85462760295d58\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 401.67,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\"\n    },\n    {\n        \"amount\": 229.17,\n        \"created_at\": \"2020-02-06T11:34:25.189Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-19\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bf8d9db85462760295d33\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-19\",\n            \"transaction\": {\n                \"id\": \"pi_1G98cnA3EhAEMdGLdU5BYjPm\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 22917,\n                \"amount_capturable\": 0,\n                \"amount_received\": 22917,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98cnA3EhAEMdGLBJqJKoHt\",\n                            \"object\": \"charge\",\n                            \"amount\": 22917,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98cnA3EhAEMdGLJjRBtdf6\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580988865,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVaZsXIhOqkNq\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 16,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98cnA3EhAEMdGLdU5BYjPm\",\n                            \"payment_method\": \"card_1G98Z3A3EhAEMdGLOEuK4YW2\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+16@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98cnA3EhAEMdGLBJqJKoHt/rcpt_GgVe4CONoy5fsmhoiU2kHB41w3J3bx9\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98cnA3EhAEMdGLBJqJKoHt/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98cnA3EhAEMdGLdU5BYjPm\"\n                },\n                \"client_secret\": \"pi_1G98cnA3EhAEMdGLdU5BYjPm_secret_YtpdL95YOA8ImPOv2tRuOP91o\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580988865,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVaZsXIhOqkNq\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98Z3A3EhAEMdGLOEuK4YW2\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+16@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:34:26.514Z\",\n            \"updatedAt\": \"2020-02-06T11:34:26.514Z\",\n            \"id\": \"5e3bf9c2db85462760295d3e\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bf8d9db85462760295d32\",\n            \"invoice_id\": \"5e3bf9c1db85462760295d3c\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 229.17,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+16@gmail.com\"\n    },\n    {\n        \"amount\": 239.17,\n        \"created_at\": \"2020-02-06T11:30:33.441Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-18\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bf8d9db85462760295d33\",\n            \"plan_id\": \"5e3bf8b8db85462760295d2f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-18\",\n            \"transaction\": {\n                \"id\": \"pi_1G98Z4A3EhAEMdGLRr2VajsY\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 23917,\n                \"amount_capturable\": 0,\n                \"amount_received\": 23917,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98Z4A3EhAEMdGLAXiXxBhL\",\n                            \"object\": \"charge\",\n                            \"amount\": 23917,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98Z5A3EhAEMdGLcrVMRYK8\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580988634,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVaZsXIhOqkNq\",\n                            \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 23,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98Z4A3EhAEMdGLRr2VajsY\",\n                            \"payment_method\": \"card_1G98Z3A3EhAEMdGLOEuK4YW2\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+16@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98Z4A3EhAEMdGLAXiXxBhL/rcpt_GgVap2VTK5Wim6042q8Okq1xHoXPh7C\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98Z4A3EhAEMdGLAXiXxBhL/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98Z4A3EhAEMdGLRr2VajsY\"\n                },\n                \"client_secret\": \"pi_1G98Z4A3EhAEMdGLRr2VajsY_secret_5zhaGh0hHEuaYdUbnoPGJzdPV\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580988634,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVaZsXIhOqkNq\",\n                \"description\": \"Charge for Tom and Jerry -  - New recurring plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98Z3A3EhAEMdGLOEuK4YW2\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+16@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:30:35.748Z\",\n            \"updatedAt\": \"2020-02-06T11:30:35.748Z\",\n            \"id\": \"5e3bf8dbdb85462760295d37\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bf8d9db85462760295d32\",\n            \"invoice_id\": \"5e3bf8d9db85462760295d34\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 239.17,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+16@gmail.com\"\n    },\n    {\n        \"amount\": 1000,\n        \"created_at\": \"2020-02-06T11:25:07.273Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-17\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bf75ddb85462760295d21\",\n            \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-17\",\n            \"transaction\": {\n                \"id\": \"pi_1G98TnA3EhAEMdGLRmY3ay0b\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 100000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 100000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98TnA3EhAEMdGLX3rx4VVw\",\n                            \"object\": \"charge\",\n                            \"amount\": 100000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98TnA3EhAEMdGLEie2NCIe\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580988307,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVTPe9mqXYdxM\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 3,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98TnA3EhAEMdGLRmY3ay0b\",\n                            \"payment_method\": \"card_1G98SvA3EhAEMdGLAG34539G\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+15@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98TnA3EhAEMdGLX3rx4VVw/rcpt_GgVUh89PitdaFjiNkEBRJhkYpFTozO9\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98TnA3EhAEMdGLX3rx4VVw/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98TnA3EhAEMdGLRmY3ay0b\"\n                },\n                \"client_secret\": \"pi_1G98TnA3EhAEMdGLRmY3ay0b_secret_6c1JwW2hmFy5isbidLdM50uLh\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580988307,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVTPe9mqXYdxM\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98SvA3EhAEMdGLAG34539G\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+15@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:25:08.214Z\",\n            \"updatedAt\": \"2020-02-06T11:25:08.214Z\",\n            \"id\": \"5e3bf794db85462760295d2b\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bf75ddb85462760295d20\",\n            \"invoice_id\": \"5e3bf793db85462760295d29\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 1000,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+15@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-06T11:24:13.116Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-16\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bf75ddb85462760295d21\",\n            \"plan_id\": \"5e3aa7133c92e44b424b6dec\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-16\",\n            \"transaction\": {\n                \"id\": \"pi_1G98SwA3EhAEMdGLDr0Ark3g\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 5000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 5000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98SwA3EhAEMdGLPqy2F4oJ\",\n                            \"object\": \"charge\",\n                            \"amount\": 5000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98SwA3EhAEMdGLJ1vpBUvp\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580988254,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgVTPe9mqXYdxM\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 34,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98SwA3EhAEMdGLDr0Ark3g\",\n                            \"payment_method\": \"card_1G98SvA3EhAEMdGLAG34539G\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+15@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98SwA3EhAEMdGLPqy2F4oJ/rcpt_GgVTp6s3C5HmqWkXp3uGKb7ZmVhtdPX\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98SwA3EhAEMdGLPqy2F4oJ/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98SwA3EhAEMdGLDr0Ark3g\"\n                },\n                \"client_secret\": \"pi_1G98SwA3EhAEMdGLDr0Ark3g_secret_8k34AqlW6YbPAVW2Z1D6pEzVb\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580988254,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgVTPe9mqXYdxM\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring yearly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G98SvA3EhAEMdGLAG34539G\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+15@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:24:15.501Z\",\n            \"updatedAt\": \"2020-02-06T11:24:15.501Z\",\n            \"id\": \"5e3bf75fdb85462760295d28\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bf75ddb85462760295d20\",\n            \"invoice_id\": \"5e3bf75ddb85462760295d22\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+15@gmail.com\"\n    },\n    {\n        \"amount\": 2000,\n        \"created_at\": \"2020-02-06T11:13:10.501Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-15\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3be870db85462760295c85\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-15\",\n            \"transaction\": {\n                \"id\": \"pi_1G98IEA3EhAEMdGLDxjJfHuv\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 200000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 200000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G98IEA3EhAEMdGL2WZqYBlm\",\n                            \"object\": \"charge\",\n                            \"amount\": 200000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G98IFA3EhAEMdGLdMgfQIVg\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580987590,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgUSBpNeBgBk9U\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 26,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G98IEA3EhAEMdGLDxjJfHuv\",\n                            \"payment_method\": \"card_1G97TIA3EhAEMdGLRCQVZPAc\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"mastercard\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": null\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2030,\n                                    \"fingerprint\": \"V3BR5nhqX7d4G9TS\",\n                                    \"funding\": \"prepaid\",\n                                    \"installments\": null,\n                                    \"last4\": \"5100\",\n                                    \"network\": \"mastercard\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+9@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G98IEA3EhAEMdGL2WZqYBlm/rcpt_GgVIrglqfrBG1ttrh5mgmpqjnkEIvRF\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G98IEA3EhAEMdGL2WZqYBlm/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G98IEA3EhAEMdGLDxjJfHuv\"\n                },\n                \"client_secret\": \"pi_1G98IEA3EhAEMdGLDxjJfHuv_secret_G6mZ1kELJ3znWoRXaUxrwwZQv\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580987590,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgUSBpNeBgBk9U\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G97TIA3EhAEMdGLRCQVZPAc\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+9@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:13:11.865Z\",\n            \"updatedAt\": \"2020-02-06T11:13:11.865Z\",\n            \"id\": \"5e3bf4c7db85462760295d15\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3be870db85462760295c84\",\n            \"invoice_id\": \"5e3bf4c6db85462760295d13\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 2000,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+9@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-06T11:00:03.498Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-13\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bf1b3db85462760295cef\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-13\",\n            \"transaction\": {\n                \"id\": \"I-HPLNL9RJS5U9\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - Recurring monthly plan Edit\",\n                \"start_date\": \"2020-03-06T08:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"50.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"50.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-HPLNL9RJS5U9\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T11:00:03.509Z\",\n            \"updatedAt\": \"2020-02-06T11:00:03.509Z\",\n            \"id\": \"5e3bf1b3db85462760295cf2\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bf1b3db85462760295cee\",\n            \"invoice_id\": \"5e3bf1b3db85462760295cf0\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+13@gmail.com\"\n    },\n    {\n        \"amount\": 171,\n        \"created_at\": \"2020-02-06T10:34:59.813Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-11\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3bebd3db85462760295c9e\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-11\",\n            \"transaction\": {\n                \"on_test_gateway\": true,\n                \"created_at\": \"2020-02-06T10:35:00Z\",\n                \"updated_at\": \"2020-02-06T10:35:00Z\",\n                \"succeeded\": true,\n                \"state\": \"succeeded\",\n                \"token\": \"50oIcnFitpSYHjD55eZLLA3LpYH\",\n                \"transaction_type\": \"Purchase\",\n                \"order_id\": null,\n                \"ip\": null,\n                \"description\": null,\n                \"email\": null,\n                \"merchant_name_descriptor\": null,\n                \"merchant_location_descriptor\": null,\n                \"gateway_specific_fields\": null,\n                \"gateway_specific_response_fields\": {},\n                \"gateway_transaction_id\": \"52\",\n                \"gateway_latency_ms\": 0,\n                \"warning\": null,\n                \"amount\": 17100,\n                \"currency_code\": \"USD\",\n                \"retain_on_success\": true,\n                \"payment_method_added\": false,\n                \"dynamically_routed\": false,\n                \"message_key\": \"messages.transaction_succeeded\",\n                \"message\": \"Succeeded!\",\n                \"gateway_token\": \"3HAdq6p2Pi9W7UXDkIl880HqLHA\",\n                \"gateway_type\": \"test\",\n                \"response\": {\n                    \"success\": true,\n                    \"message\": \"Successful purchase\",\n                    \"avs_code\": null,\n                    \"avs_message\": null,\n                    \"cvv_code\": null,\n                    \"cvv_message\": null,\n                    \"pending\": false,\n                    \"result_unknown\": false,\n                    \"error_code\": null,\n                    \"error_detail\": null,\n                    \"cancelled\": false,\n                    \"fraud_review\": null,\n                    \"created_at\": \"2020-02-06T10:35:00Z\",\n                    \"updated_at\": \"2020-02-06T10:35:00Z\"\n                },\n                \"shipping_address\": {\n                    \"name\": \"Mayank Dhiman\",\n                    \"address1\": null,\n                    \"address2\": null,\n                    \"city\": null,\n                    \"state\": null,\n                    \"zip\": null,\n                    \"country\": null,\n                    \"phone_number\": null\n                },\n                \"api_urls\": [\n                    {\n                        \"referencing_transaction\": []\n                    }\n                ],\n                \"attempt_3dsecure\": false,\n                \"payment_method\": {\n                    \"token\": \"2uRLuQm95SUZkHog0KrPmGdJoi7\",\n                    \"created_at\": \"2020-02-06T10:34:59Z\",\n                    \"updated_at\": \"2020-02-06T10:34:59Z\",\n                    \"email\": \"mayank.dhiman03+11@gmail.com\",\n                    \"data\": null,\n                    \"storage_state\": \"retained\",\n                    \"test\": true,\n                    \"metadata\": null,\n                    \"callback_url\": null,\n                    \"last_four_digits\": \"1111\",\n                    \"first_six_digits\": \"411111\",\n                    \"card_type\": \"visa\",\n                    \"first_name\": \"Mayank\",\n                    \"last_name\": \"Dhiman\",\n                    \"month\": 1,\n                    \"year\": 2029,\n                    \"address1\": \"Bhad Bhada Road\",\n                    \"address2\": null,\n                    \"city\": \"Bhoapl\",\n                    \"state\": \"Madhya Pradesh\",\n                    \"zip\": \"462003\",\n                    \"country\": \"IN\",\n                    \"phone_number\": null,\n                    \"company\": null,\n                    \"full_name\": \"Mayank Dhiman\",\n                    \"eligible_for_card_updater\": true,\n                    \"shipping_address1\": null,\n                    \"shipping_address2\": null,\n                    \"shipping_city\": null,\n                    \"shipping_state\": null,\n                    \"shipping_zip\": null,\n                    \"shipping_country\": null,\n                    \"shipping_phone_number\": null,\n                    \"payment_method_type\": \"credit_card\",\n                    \"errors\": [],\n                    \"fingerprint\": \"e3cef43464fc832f6e04f187df25af497994\",\n                    \"verification_value\": \"XXX\",\n                    \"number\": \"XXXX-XXXX-XXXX-1111\"\n                }\n            },\n            \"gateway_type\": \"test\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T10:35:00.388Z\",\n            \"updatedAt\": \"2020-02-06T10:35:00.388Z\",\n            \"id\": \"5e3bebd4db85462760295ca2\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3bebd3db85462760295c9d\",\n            \"invoice_id\": \"5e3bebd3db85462760295c9f\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 171,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+11@gmail.com\"\n    },\n    {\n        \"amount\": 200,\n        \"created_at\": \"2020-02-06T10:20:32.335Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-10\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3be870db85462760295c85\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-10\",\n            \"transaction\": {\n                \"id\": \"pi_1G97TJA3EhAEMdGL3tbZODUu\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 20000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 20000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G97TJA3EhAEMdGLnLBqzKR4\",\n                            \"object\": \"charge\",\n                            \"amount\": 20000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G97TJA3EhAEMdGLuqq67L8z\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580984433,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_GgUSBpNeBgBk9U\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 50,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G97TJA3EhAEMdGL3tbZODUu\",\n                            \"payment_method\": \"card_1G97TIA3EhAEMdGLRCQVZPAc\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"mastercard\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2030,\n                                    \"fingerprint\": \"V3BR5nhqX7d4G9TS\",\n                                    \"funding\": \"prepaid\",\n                                    \"installments\": null,\n                                    \"last4\": \"5100\",\n                                    \"network\": \"mastercard\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+9@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G97TJA3EhAEMdGLnLBqzKR4/rcpt_GgUS43ebDiENlz521Z034C27O4qkhtc\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G97TJA3EhAEMdGLnLBqzKR4/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G97TJA3EhAEMdGL3tbZODUu\"\n                },\n                \"client_secret\": \"pi_1G97TJA3EhAEMdGL3tbZODUu_secret_kUH1zHT7tpq7Pq9RknwawzF6S\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580984433,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_GgUSBpNeBgBk9U\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G97TIA3EhAEMdGLRCQVZPAc\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+9@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-06T10:20:34.411Z\",\n            \"updatedAt\": \"2020-02-06T10:20:34.411Z\",\n            \"id\": \"5e3be872db85462760295c89\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3be870db85462760295c84\",\n            \"invoice_id\": \"5e3be870db85462760295c86\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 200,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+9@gmail.com\"\n    },\n    {\n        \"amount\": 185.25,\n        \"created_at\": \"2020-02-05T12:04:41.156Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-9\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3aaf5924b63d4b28410d5c\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-9\",\n            \"transaction\": {\n                \"id\": \"pi_1G8mcYA3EhAEMdGLdeaZ8vmC\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 18525,\n                \"amount_capturable\": 0,\n                \"amount_received\": 18525,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8mcYA3EhAEMdGLuRNNtn5m\",\n                            \"object\": \"charge\",\n                            \"amount\": 18525,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8mcYA3EhAEMdGLfaSjFWBX\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580904282,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg8uoDYWTzbk5z\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 58,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8mcYA3EhAEMdGLdeaZ8vmC\",\n                            \"payment_method\": \"card_1G8mcXA3EhAEMdGL8z43KlK0\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 8,\n                                    \"exp_year\": 2022,\n                                    \"fingerprint\": \"G32UKpyIuCOjRxpb\",\n                                    \"funding\": \"credit\",\n                                    \"installments\": null,\n                                    \"last4\": \"4242\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+8@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8mcYA3EhAEMdGLuRNNtn5m/rcpt_Gg8uV4De8Tv5yoHxknnKwPMay4B0HYg\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8mcYA3EhAEMdGLuRNNtn5m/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8mcYA3EhAEMdGLdeaZ8vmC\"\n                },\n                \"client_secret\": \"pi_1G8mcYA3EhAEMdGLdeaZ8vmC_secret_YshMo5SBHxZIzlS722UvOYNs6\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580904282,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg8uoDYWTzbk5z\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8mcXA3EhAEMdGL8z43KlK0\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+8@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T12:04:43.110Z\",\n            \"updatedAt\": \"2020-02-05T12:04:43.110Z\",\n            \"id\": \"5e3aaf5b24b63d4b28410d60\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3aaf5924b63d4b28410d5b\",\n            \"invoice_id\": \"5e3aaf5924b63d4b28410d5d\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 185.25,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+8@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-05T11:23:19.334Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-8\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3aa5a73c92e44b424b6dd9\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-8\",\n            \"transaction\": {\n                \"id\": \"pi_1G8lyWA3EhAEMdGLeFPBMvsq\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 5000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 5000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8lyWA3EhAEMdGLrBBlf9q2\",\n                            \"object\": \"charge\",\n                            \"amount\": 5000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8lyWA3EhAEMdGLcBKQoApc\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580901800,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg7uLhjFy7uTxr\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 1,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8lyWA3EhAEMdGLeFPBMvsq\",\n                            \"payment_method\": \"card_1G8lyVA3EhAEMdGLjjvh0IB5\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"mastercard\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2030,\n                                    \"fingerprint\": \"V3BR5nhqX7d4G9TS\",\n                                    \"funding\": \"prepaid\",\n                                    \"installments\": null,\n                                    \"last4\": \"5100\",\n                                    \"network\": \"mastercard\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+6@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8lyWA3EhAEMdGLrBBlf9q2/rcpt_Gg8FLU9mokuBQMxlkpHMGlmPtND5cn5\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8lyWA3EhAEMdGLrBBlf9q2/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8lyWA3EhAEMdGLeFPBMvsq\"\n                },\n                \"client_secret\": \"pi_1G8lyWA3EhAEMdGLeFPBMvsq_secret_PGZYODM5aoqNds1gFuQobM3Kg\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580901800,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg7uLhjFy7uTxr\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan Edit\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8lyVA3EhAEMdGLjjvh0IB5\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+6@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T11:23:21.340Z\",\n            \"updatedAt\": \"2020-02-05T11:23:21.340Z\",\n            \"id\": \"5e3aa5a93c92e44b424b6ddd\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3aa0f024b63d4b28410cef\",\n            \"invoice_id\": \"5e3aa5a73c92e44b424b6dda\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+6@gmail.com\"\n    },\n    {\n        \"amount\": 10,\n        \"created_at\": \"2020-02-05T11:03:43.926Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-7\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3aa0f024b63d4b28410cf0\",\n            \"plan_id\": \"5e3a9e2d24b63d4b28410cea\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-7\",\n            \"transaction\": {\n                \"id\": \"pi_1G8lfYA3EhAEMdGL3js6Io42\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 1000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 1000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8lfYA3EhAEMdGLiAno5oAO\",\n                            \"object\": \"charge\",\n                            \"amount\": 1000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8lfYA3EhAEMdGLOSfXYMqI\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580900624,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg7uLhjFy7uTxr\",\n                            \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 20,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8lfYA3EhAEMdGL3js6Io42\",\n                            \"payment_method\": \"card_1G8lf2A3EhAEMdGLTxr4oSx7\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+6@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8lfYA3EhAEMdGLiAno5oAO/rcpt_Gg7vvfHgTzoUDm6oDd6pxvAXaMvqgID\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8lfYA3EhAEMdGLiAno5oAO/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8lfYA3EhAEMdGL3js6Io42\"\n                },\n                \"client_secret\": \"pi_1G8lfYA3EhAEMdGL3js6Io42_secret_mEJ8fiq8JsMhMYOAAUn25gBCR\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580900624,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg7uLhjFy7uTxr\",\n                \"description\": \"Charge for Tom and Jerry -  - Paid Trial\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8lf2A3EhAEMdGLTxr4oSx7\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+6@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T11:03:45.182Z\",\n            \"updatedAt\": \"2020-02-05T11:03:45.182Z\",\n            \"id\": \"5e3aa1113c92e44b424b6db6\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3aa0f024b63d4b28410cef\",\n            \"invoice_id\": \"5e3aa10f3c92e44b424b6db4\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 10,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+6@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-05T10:48:37.329Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-6\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3a994f24b63d4b28410cc2\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-6\",\n            \"transaction\": {\n                \"id\": \"pi_1G8lQvA3EhAEMdGLyJOBl1CA\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 5000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 5000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8lQvA3EhAEMdGL497Gg0Ra\",\n                            \"object\": \"charge\",\n                            \"amount\": 5000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8lQvA3EhAEMdGLsWS4sXyJ\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580899717,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg7OS4d6iozzJq\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 25,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8lQvA3EhAEMdGLyJOBl1CA\",\n                            \"payment_method\": \"card_1G8l9XA3EhAEMdGLUPtRNm6W\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": null\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+3@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8lQvA3EhAEMdGL497Gg0Ra/rcpt_Gg7gyzvQtpr7vs4HdNFRFbJLV7P4Lx9\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8lQvA3EhAEMdGL497Gg0Ra/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8lQvA3EhAEMdGLyJOBl1CA\"\n                },\n                \"client_secret\": \"pi_1G8lQvA3EhAEMdGLyJOBl1CA_secret_0foLKhWnQ59w2wAjJUzznYDI1\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580899717,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg7OS4d6iozzJq\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8l9XA3EhAEMdGLUPtRNm6W\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+3@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T10:48:38.305Z\",\n            \"updatedAt\": \"2020-02-05T10:48:38.305Z\",\n            \"id\": \"5e3a9d8624b63d4b28410ce5\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3a99363c92e44b424b6d78\",\n            \"invoice_id\": \"5e3a9d8524b63d4b28410ce3\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+3@gmail.com\"\n    },\n    {\n        \"amount\": 45,\n        \"created_at\": \"2020-02-05T10:37:09.879Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-5\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3a9ad524b63d4b28410cc9\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-5\",\n            \"transaction\": {\n                \"id\": \"I-B1CHFHH2EAPG\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - Recurring monthly plan\",\n                \"start_date\": \"2020-03-05T08:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"45.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"45.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-B1CHFHH2EAPG\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T10:37:09.902Z\",\n            \"updatedAt\": \"2020-02-05T10:37:09.902Z\",\n            \"id\": \"5e3a9ad524b63d4b28410ccc\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3a9ad524b63d4b28410cc8\",\n            \"invoice_id\": \"5e3a9ad524b63d4b28410cca\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 45,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+4@gmail.com\"\n    },\n    {\n        \"amount\": 45,\n        \"created_at\": \"2020-02-05T10:30:39.228Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-4\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3a994f24b63d4b28410cc2\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-4\",\n            \"transaction\": {\n                \"id\": \"pi_1G8l9YA3EhAEMdGLVWClFEba\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 4500,\n                \"amount_capturable\": 0,\n                \"amount_received\": 4500,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8l9YA3EhAEMdGL6f86OJZr\",\n                            \"object\": \"charge\",\n                            \"amount\": 4500,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8l9ZA3EhAEMdGLRu21gEVq\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580898640,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg7OS4d6iozzJq\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 57,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8l9YA3EhAEMdGLVWClFEba\",\n                            \"payment_method\": \"card_1G8l9XA3EhAEMdGLUPtRNm6W\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"visa\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2029,\n                                    \"fingerprint\": \"WHnZhC5SuUMNwyYS\",\n                                    \"funding\": \"unknown\",\n                                    \"installments\": null,\n                                    \"last4\": \"1111\",\n                                    \"network\": \"visa\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+3@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8l9YA3EhAEMdGL6f86OJZr/rcpt_Gg7Oda04RgkJym1kmSJyhOo8W2fjfo0\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8l9YA3EhAEMdGL6f86OJZr/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8l9YA3EhAEMdGLVWClFEba\"\n                },\n                \"client_secret\": \"pi_1G8l9YA3EhAEMdGLVWClFEba_secret_yQEEm3mT0UI4JSrvZuiQUOgQF\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580898640,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg7OS4d6iozzJq\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8l9XA3EhAEMdGLUPtRNm6W\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+3@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T10:30:41.819Z\",\n            \"updatedAt\": \"2020-02-05T10:30:41.819Z\",\n            \"id\": \"5e3a995124b63d4b28410cc6\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3a99363c92e44b424b6d78\",\n            \"invoice_id\": \"5e3a994f24b63d4b28410cc3\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 45,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+3@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-05T10:27:21.615Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-2\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3a988924b63d4b28410cb6\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"reference_id\": \"INV-2\",\n            \"transaction\": {\n                \"id\": \"pi_1G8l6MA3EhAEMdGLLUAVwclP\",\n                \"object\": \"payment_intent\",\n                \"allowed_source_types\": [\n                    \"card\"\n                ],\n                \"amount\": 5000,\n                \"amount_capturable\": 0,\n                \"amount_received\": 5000,\n                \"application\": null,\n                \"application_fee_amount\": null,\n                \"canceled_at\": null,\n                \"cancellation_reason\": null,\n                \"capture_method\": \"automatic\",\n                \"charges\": {\n                    \"object\": \"list\",\n                    \"data\": [\n                        {\n                            \"id\": \"ch_1G8l6NA3EhAEMdGLdau9L8hJ\",\n                            \"object\": \"charge\",\n                            \"amount\": 5000,\n                            \"amount_refunded\": 0,\n                            \"application\": null,\n                            \"application_fee\": null,\n                            \"application_fee_amount\": null,\n                            \"balance_transaction\": \"txn_1G8l6NA3EhAEMdGLUcTN298a\",\n                            \"billing_details\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"email\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null\n                            },\n                            \"captured\": true,\n                            \"created\": 1580898443,\n                            \"currency\": \"usd\",\n                            \"customer\": \"cus_Gg7LqfommZ0M7D\",\n                            \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                            \"destination\": null,\n                            \"dispute\": null,\n                            \"disputed\": false,\n                            \"failure_code\": null,\n                            \"failure_message\": null,\n                            \"fraud_details\": {},\n                            \"invoice\": null,\n                            \"livemode\": false,\n                            \"metadata\": {},\n                            \"on_behalf_of\": null,\n                            \"order\": null,\n                            \"outcome\": {\n                                \"network_status\": \"approved_by_network\",\n                                \"reason\": null,\n                                \"risk_level\": \"normal\",\n                                \"risk_score\": 30,\n                                \"seller_message\": \"Payment complete.\",\n                                \"type\": \"authorized\"\n                            },\n                            \"paid\": true,\n                            \"payment_intent\": \"pi_1G8l6MA3EhAEMdGLLUAVwclP\",\n                            \"payment_method\": \"card_1G8l6LA3EhAEMdGLmkQpFCVj\",\n                            \"payment_method_details\": {\n                                \"card\": {\n                                    \"brand\": \"mastercard\",\n                                    \"checks\": {\n                                        \"address_line1_check\": \"pass\",\n                                        \"address_postal_code_check\": \"pass\",\n                                        \"cvc_check\": \"pass\"\n                                    },\n                                    \"country\": \"US\",\n                                    \"exp_month\": 1,\n                                    \"exp_year\": 2030,\n                                    \"fingerprint\": \"V3BR5nhqX7d4G9TS\",\n                                    \"funding\": \"prepaid\",\n                                    \"installments\": null,\n                                    \"last4\": \"5100\",\n                                    \"network\": \"mastercard\",\n                                    \"three_d_secure\": null,\n                                    \"wallet\": null\n                                },\n                                \"type\": \"card\"\n                            },\n                            \"receipt_email\": \"mayank.dhiman03+2@gmail.com\",\n                            \"receipt_number\": null,\n                            \"receipt_url\": \"https://pay.stripe.com/receipts/acct_1DXMCOA3EhAEMdGL/ch_1G8l6NA3EhAEMdGLdau9L8hJ/rcpt_Gg7LsZWntHWRRKqtTC3eTCJsa3iseuu\",\n                            \"refunded\": false,\n                            \"refunds\": {\n                                \"object\": \"list\",\n                                \"data\": [],\n                                \"has_more\": false,\n                                \"total_count\": 0,\n                                \"url\": \"/v1/charges/ch_1G8l6NA3EhAEMdGLdau9L8hJ/refunds\"\n                            },\n                            \"review\": null,\n                            \"shipping\": {\n                                \"address\": {\n                                    \"city\": \"Bhoapl\",\n                                    \"country\": \"IN\",\n                                    \"line1\": \"Bhad Bhada Road\",\n                                    \"line2\": null,\n                                    \"postal_code\": \"462003\",\n                                    \"state\": \"MP\"\n                                },\n                                \"carrier\": null,\n                                \"name\": \"Mayank Dhiman\",\n                                \"phone\": null,\n                                \"tracking_number\": null\n                            },\n                            \"source\": null,\n                            \"source_transfer\": null,\n                            \"statement_descriptor\": null,\n                            \"statement_descriptor_suffix\": null,\n                            \"status\": \"succeeded\",\n                            \"transfer_data\": null,\n                            \"transfer_group\": null\n                        }\n                    ],\n                    \"has_more\": false,\n                    \"total_count\": 1,\n                    \"url\": \"/v1/charges?payment_intent=pi_1G8l6MA3EhAEMdGLLUAVwclP\"\n                },\n                \"client_secret\": \"pi_1G8l6MA3EhAEMdGLLUAVwclP_secret_uP6k5loi1nQhQqqovc2HGApx6\",\n                \"confirmation_method\": \"manual\",\n                \"created\": 1580898442,\n                \"currency\": \"usd\",\n                \"customer\": \"cus_Gg7LqfommZ0M7D\",\n                \"description\": \"Charge for Tom and Jerry -  - Recurring monthly plan\",\n                \"invoice\": null,\n                \"last_payment_error\": null,\n                \"livemode\": false,\n                \"metadata\": {},\n                \"next_action\": null,\n                \"next_source_action\": null,\n                \"on_behalf_of\": null,\n                \"payment_method\": \"card_1G8l6LA3EhAEMdGLmkQpFCVj\",\n                \"payment_method_options\": {\n                    \"card\": {\n                        \"installments\": null,\n                        \"request_three_d_secure\": \"automatic\"\n                    }\n                },\n                \"payment_method_types\": [\n                    \"card\"\n                ],\n                \"receipt_email\": \"mayank.dhiman03+2@gmail.com\",\n                \"review\": null,\n                \"setup_future_usage\": \"off_session\",\n                \"shipping\": {\n                    \"address\": {\n                        \"city\": \"Bhoapl\",\n                        \"country\": \"IN\",\n                        \"line1\": \"Bhad Bhada Road\",\n                        \"line2\": null,\n                        \"postal_code\": \"462003\",\n                        \"state\": \"MP\"\n                    },\n                    \"carrier\": null,\n                    \"name\": \"Mayank Dhiman\",\n                    \"phone\": null,\n                    \"tracking_number\": null\n                },\n                \"source\": null,\n                \"statement_descriptor\": null,\n                \"statement_descriptor_suffix\": null,\n                \"status\": \"succeeded\",\n                \"transfer_data\": null,\n                \"transfer_group\": null\n            },\n            \"gateway_type\": \"stripe\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T10:27:23.671Z\",\n            \"updatedAt\": \"2020-02-05T10:27:23.671Z\",\n            \"id\": \"5e3a988b24b63d4b28410cba\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3a988924b63d4b28410cb5\",\n            \"invoice_id\": \"5e3a988924b63d4b28410cb7\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+2@gmail.com\"\n    },\n    {\n        \"amount\": 50,\n        \"created_at\": \"2020-02-05T10:18:40.312Z\",\n        \"type\": \"invoice\",\n        \"status\": \"paid\",\n        \"reference_id\": \"INV-1\",\n        \"first_name\": \"Mayank\",\n        \"transaction\": {\n            \"subscription_id\": \"5e3a96803c92e44b424b6d54\",\n            \"plan_id\": \"5e3a95303c92e44b424b6d48\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"type_formated\": \"Payment\",\n            \"status_formatted\": \"Success\",\n            \"payment_type\": \"initial\",\n            \"reference_id\": \"INV-1\",\n            \"transaction\": {\n                \"id\": \"I-ETC1TUFH1WN4\",\n                \"state\": \"Pending\",\n                \"description\": \"Product 1 - Recurring monthly plan\",\n                \"start_date\": \"2020-03-05T08:00:00Z\",\n                \"payer\": {\n                    \"payment_method\": \"paypal\",\n                    \"status\": \"verified\",\n                    \"payer_info\": {\n                        \"email\": \"testbuyer@pabbly.com\",\n                        \"first_name\": \"Buyer\",\n                        \"last_name\": \"Pabbly\",\n                        \"payer_id\": \"HPK3K6WFW2XZA\",\n                        \"shipping_address\": {\n                            \"recipient_name\": \"Buyer Pabbly\",\n                            \"line1\": \"1 Main St\",\n                            \"city\": \"San Jose\",\n                            \"state\": \"CA\",\n                            \"postal_code\": \"95131\",\n                            \"country_code\": \"US\"\n                        }\n                    }\n                },\n                \"shipping_address\": {\n                    \"recipient_name\": \"Buyer Pabbly\",\n                    \"line1\": \"1 Main St\",\n                    \"city\": \"San Jose\",\n                    \"state\": \"CA\",\n                    \"postal_code\": \"95131\",\n                    \"country_code\": \"US\"\n                },\n                \"plan\": {\n                    \"payment_definitions\": [\n                        {\n                            \"type\": \"REGULAR\",\n                            \"frequency\": \"Month\",\n                            \"amount\": {\n                                \"value\": \"50.00\"\n                            },\n                            \"cycles\": \"0\",\n                            \"charge_models\": [\n                                {\n                                    \"type\": \"TAX\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                },\n                                {\n                                    \"type\": \"SHIPPING\",\n                                    \"amount\": {\n                                        \"value\": \"0.00\"\n                                    }\n                                }\n                            ],\n                            \"frequency_interval\": \"1\"\n                        }\n                    ],\n                    \"merchant_preferences\": {\n                        \"setup_fee\": {\n                            \"value\": \"50.00\"\n                        },\n                        \"max_fail_attempts\": \"3\",\n                        \"auto_bill_amount\": \"YES\"\n                    },\n                    \"currency_code\": \"USD\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-ETC1TUFH1WN4\",\n                        \"rel\": \"self\",\n                        \"method\": \"GET\"\n                    }\n                ],\n                \"agreement_details\": {\n                    \"outstanding_balance\": {\n                        \"value\": \"0.00\"\n                    },\n                    \"cycles_remaining\": \"0\",\n                    \"cycles_completed\": \"0\",\n                    \"final_payment_date\": \"1970-01-01T00:00:00Z\",\n                    \"failed_payment_count\": \"0\"\n                },\n                \"httpStatusCode\": 200\n            },\n            \"gateway_type\": \"paypal\",\n            \"pcustomer_id\": \"\",\n            \"createdAt\": \"2020-02-05T10:18:40.321Z\",\n            \"updatedAt\": \"2020-02-05T10:18:40.321Z\",\n            \"id\": \"5e3a96803c92e44b424b6d57\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"customer_id\": \"5e3a96803c92e44b424b6d53\",\n            \"invoice_id\": \"5e3a96803c92e44b424b6d55\",\n            \"type\": \"payment\",\n            \"status\": \"success\",\n            \"reference_number\": \"\",\n            \"amount\": 50,\n            \"description\": \"Payment success\"\n        },\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+1@gmail.com\"\n    }\n]"}],"_postman_id":"3b04f8ad-a6fc-41d7-bf45-2363fd3dd593"},{"name":"Create Monthly Recurring Revenue Status","id":"193ca50e-a971-4436-86af-c091651cc31f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"product_id\":\"5e3a95143c92e44b424b6d47\",\r\n\"interval\":\"last_30_days\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/mrrsubscription/","description":"<p>A POST request API in which you will add the Product Id and the days interval in the form data.</p>\n<p>In response you will get the details of all the customer whose recurring billing is going to occur in the selected interval.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Get the stats product wise or for all products.</td>\n</tr>\n<tr>\n<td>interval</td>\n<td>Required</td>\n<td>Fill the interval for States like last_30_days, this_week and so on.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","mrrsubscription",""],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"4d88775a-fc94-4cf3-9ae8-74fa05b5f7af","name":"Create Monthly Recurring Revenue Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"product_id\":\"5b83a91d7e47a82380e45002\", //all\r\n\"interval\":\"last_30_days\", //this_week/previous_month\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/mrrsubscription/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 07:52:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"130c-iZYbwGbTGrwCkOGRnErVs3fSQ1M\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"created_at\": \"2020-03-04T06:53:24.022Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Roman\",\n        \"last_name\": \"Race\",\n        \"email_id\": \"rrcroman@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-03-04T05:02:04.447Z\",\n        \"status\": \"live\",\n        \"first_name\": \"john\",\n        \"last_name\": \"smith\",\n        \"email_id\": \"jhonsmith@xxxxx.com\",\n        \"total_amount\": 180\n    },\n    {\n        \"created_at\": \"2020-03-03T10:24:13.258Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Lance\",\n        \"last_name\": \"Crews\",\n        \"email_id\": \"katielee@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-03-03T10:07:30.453Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Tamara\",\n        \"last_name\": \"Ethridge\",\n        \"email_id\": \"ethridgertamara@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-28T12:03:58.104Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Maynk\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+cptest@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-20T06:45:23.622Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier3@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-20T06:40:19.797Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier2@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-20T06:34:36.832Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+zapier@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-20T06:20:25.584Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+shopifycustomer@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-19T10:26:51.598Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhim\",\n        \"email_id\": \"mayank.dhiman03+0987@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-19T10:26:01.621Z\",\n        \"status\": \"live\",\n        \"first_name\": \"test\",\n        \"last_name\": \"plan\",\n        \"email_id\": \"mayanktidke+testplan@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-17T07:33:21.819Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+email@gmail.com\",\n        \"total_amount\": 10\n    },\n    {\n        \"created_at\": \"2020-02-12T11:32:38.709Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+qbt2@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-12T11:26:06.476Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+testwebhook@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-11T11:34:39.976Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+68@gmail.com\",\n        \"total_amount\": 500\n    },\n    {\n        \"created_at\": \"2020-02-11T11:33:53.762Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+67@gmail.com\",\n        \"total_amount\": 2250\n    },\n    {\n        \"created_at\": \"2020-02-11T05:48:08.657Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman@gmail.com\",\n        \"total_amount\": 500\n    },\n    {\n        \"created_at\": \"2020-02-07T07:58:07.526Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+20@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-07T07:51:20.990Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+19@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-07T07:08:02.891Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+17@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-07T07:07:01.335Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-06T11:30:33.425Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+16@gmail.com\",\n        \"total_amount\": 229.17000000000002\n    },\n    {\n        \"created_at\": \"2020-02-06T11:00:03.477Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+13@gmail.com\",\n        \"total_amount\": 50\n    },\n    {\n        \"created_at\": \"2020-02-06T10:34:59.788Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+11@gmail.com\",\n        \"total_amount\": 131\n    },\n    {\n        \"created_at\": \"2020-02-06T10:20:32.316Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+9@gmail.com\",\n        \"total_amount\": 200\n    },\n    {\n        \"created_at\": \"2020-02-05T12:04:41.129Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+8@gmail.com\",\n        \"total_amount\": 175.26999999999998\n    },\n    {\n        \"created_at\": \"2020-02-05T11:23:19.316Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+6@gmail.com\",\n        \"total_amount\": 50\n    },\n    {\n        \"created_at\": \"2020-02-05T10:37:09.776Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+4@gmail.com\",\n        \"total_amount\": 45\n    },\n    {\n        \"created_at\": \"2020-02-05T10:27:21.597Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+2@gmail.com\",\n        \"total_amount\": 50\n    },\n    {\n        \"created_at\": \"2020-02-05T10:18:40.292Z\",\n        \"status\": \"live\",\n        \"first_name\": \"Mayank\",\n        \"last_name\": \"Dhiman\",\n        \"email_id\": \"mayank.dhiman03+1@gmail.com\",\n        \"total_amount\": 50\n    }\n]"}],"_postman_id":"193ca50e-a971-4436-86af-c091651cc31f"}],"id":"6e95bb38-6a7a-40c1-b888-9b555eda7a56","_postman_id":"6e95bb38-6a7a-40c1-b888-9b555eda7a56","description":""},{"name":"Custom Field","item":[{"name":"Get Custom Fields","id":"c704c30a-3170-4351-a281-a5eb6ec42b9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"http://payments.pabbly.com/api/v1/customfields/{plan_id}","description":"<p>This API is used to retrieve a list of all the available custom fields by plan id.</p>\n","urlObject":{"protocol":"http","path":["api","v1","customfields","{plan_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"2a79d6d3-4833-4996-ab58-9881751367f3","name":"Get Custom Fields","originalRequest":{"method":"GET","header":[],"url":"http://payments.pabbly.com/api/v1/customfields/{plan_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 08:01:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"158-9SsmDnpDzOO3uruGDZZSZ2EB9oA\""},{"key":"set-cookie","value":"sails.sid=s%3Av2OGFyWtSFNvka8FcklZvCOZ8WNQeDDU.92%2BjdpL8KFC9%2FrMrZ2ahmrxy4k%2FFWphbwdjIcW63vRM; Path=/; Expires=Thu, 05 Mar 2020 08:01:54 GMT; HttpOnly"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"custom_fields\",\n    \"data\": [\n        {\n            \"type\": \"text\",\n            \"label\": \"Organization Number\",\n            \"name\": \"organization_number\",\n            \"required\": false\n        },\n        {\n            \"type\": \"number\",\n            \"label\": \"Employee Unique Code \",\n            \"name\": \"employee_unique_code_\",\n            \"required\": true\n        },\n        {\n            \"type\": \"file\",\n            \"label\": \"Upload Your Salary Slip\",\n            \"name\": \"upload_your_salary_slip\",\n            \"required\": false\n        }\n    ]\n}"}],"_postman_id":"c704c30a-3170-4351-a281-a5eb6ec42b9d"},{"name":"Update Custom Fields to Subscription","id":"b5cbe517-9e6b-4ad9-900b-a42f5af94b47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"custom_fields\": {\r\n        \"gst_number\": \"GST45788555\",\r\n        \"pan_number\": \"PAN785554\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/custom-fields/{subscription_id}","description":"<p>This API can be used to add custom fields in a particular subscription.</p>\n<p>It will be fired with PUT request.</p>\n<p>subscription_id will be added in Request URL.</p>\n<p>In response you will get Success status and the plan checkout page will be updated with the custom fields.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom_fields</td>\n<td>Required</td>\n<td>Phone number and additional_magazines in the form data are custom fields. You can add fields according to your needs.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","custom-fields","{subscription_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"59bc5ec2-4c52-40b6-ba55-cb5be4ad784d","name":"Update Custom Fields With Subscription","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"custom_fields\": {\r\n        \"gst_number\": \"GST45788555\",\r\n        \"pan_number\": \"PAN785554\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/subscription/custom-fields/{subscription_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 08:13:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"9cc-+kkgwUccfkSyMr1alfp0iyerbKI\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Custom fields updated successfully\",\n    \"data\": {\n        \"plan\": {\n            \"plan_type\": \"per_unit\",\n            \"plan_active\": \"true\",\n            \"meta_data\": {\n                \"tasks\": \"50000\",\n                \"workflows\": \"1000\"\n            },\n            \"failed_payment_gateway_array\": [],\n            \"failed_payment_gateway\": \"all\",\n            \"setup_fee_type\": \"\",\n            \"trial_type\": \"day\",\n            \"funnel\": [],\n            \"currency_code\": \"USD\",\n            \"currency_symbol\": \"$\",\n            \"custom_payment_term\": 0,\n            \"is_metered\": false,\n            \"createdAt\": \"2022-06-10T14:26:58.876Z\",\n            \"updatedAt\": \"2023-09-12T11:29:11.002Z\",\n            \"id\": \"62a354b2ffddb0508a05ed91\",\n            \"product_id\": \"61a21b098c4b5732e5a3437d\",\n            \"plan_name\": \"Test Plan\",\n            \"plan_code\": \"updated_plan\",\n            \"price\": 100,\n            \"billing_period\": \"m\",\n            \"billing_period_num\": \"1\",\n            \"billing_cycle\": \"lifetime\",\n            \"billing_cycle_num\": \"\",\n            \"trial_period\": 0,\n            \"setup_fee\": 0,\n            \"plan_description\": \"Dummy plan\"\n        },\n        \"setup_fee\": 0,\n        \"currency_code\": \"USD\",\n        \"currency_symbol\": \"$\",\n        \"payment_method\": \"6516ac0ff42a304a1b2e0175\",\n        \"taxable\": true,\n        \"gateway_type\": \"test\",\n        \"payment_terms\": \"net0\",\n        \"gateway_id\": \"608bb918996ba815ec7ac5b5\",\n        \"gateway_name\": \"Testing Gateway\",\n        \"custom_fields\": [\n            {\n                \"name\": \"gst_number\",\n                \"type\": \"text\",\n                \"label\": \"GST Number\",\n                \"value\": \"GST45788555\"\n            },\n            {\n                \"name\": \"pan_number\",\n                \"type\": \"text\",\n                \"label\": \"PAN Number\",\n                \"value\": \"PAN785554\"\n            }\n        ],\n        \"requested_ip\": \"2401:4900:1ca2:31d7:1516:941f:ec58:e755\",\n        \"createdAt\": \"2023-09-29T10:50:54.747Z\",\n        \"updatedAt\": \"2023-09-29T12:12:00.054Z\",\n        \"id\": \"6516ac0ef42a304a1b2e0172\",\n        \"customer_id\": \"6516ac0ef42a304a1b2e0170\",\n        \"product_id\": \"61a21b098c4b5732e5a3437d\",\n        \"plan_id\": \"62a354b2ffddb0508a05ed91\",\n        \"amount\": 100,\n        \"email_id\": \"notice-characteristic-46@inboxkitten.com\",\n        \"status\": \"live\",\n        \"quantity\": 1,\n        \"starts_at\": \"2023-09-29T10:50:54.545Z\",\n        \"activation_date\": \"2023-09-29T10:50:55.555Z\",\n        \"expiry_date\": \"2123-09-29T10:50:54.545Z\",\n        \"trial_days\": 0,\n        \"trial_expiry_date\": \"\",\n        \"next_billing_date\": \"2023-10-29T10:50:55.555Z\",\n        \"last_billing_date\": \"2023-09-29T10:50:55.555Z\",\n        \"canceled_date\": null\n    }\n}"}],"_postman_id":"b5cbe517-9e6b-4ad9-900b-a42f5af94b47"}],"id":"816cd1c1-e2c3-4268-ac47-456808e1b49c","_postman_id":"816cd1c1-e2c3-4268-ac47-456808e1b49c","description":""},{"name":"Add-on","item":[{"name":"Create Addon","id":"225afde3-a358-48ec-a8c7-33da68a98ae6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n  \"billing_period\": \"m\",\r\n  \"billing_cycle\": \"lifetime\",\r\n  \"status\": \"true\",\r\n  \"associate_plans\": \"all_plans\",\r\n  \"billing_period_num\": 1,\r\n  \"category_array\": [\"5e3aac233c92e44b424b6dfb\"],\r\n  \"code\": \"extra-5gb-data\",\r\n  \"name\": \"Extra 5GB Data\",\r\n  \"price\": 10,\r\n  \"plans_array\": [\"\"],  \r\n  \"description\": \"By adding this addon, you'll get extra 5GB data\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addon/{product_id}","description":"<p>This API can be used to add Add-ons in a plan.</p>\n<p>This request will be fired with POST request and you will add the plan ID in the API link.</p>\n<p>In form data you will need to add the billing cycle and details about the add-on and fire the API.</p>\n<p>In response you will get the details of the added add-on along with the add-on Id.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>billing_period</td>\n<td>Required</td>\n<td><code>Monthly Addon</code> - \"m\"  <br /><code>Yearly Addon</code> - \"y\"  <br /><code>Weekly Addon</code> - \"w\"</td>\n</tr>\n<tr>\n<td>billing_cycle</td>\n<td>Required</td>\n<td><code>lifetime</code> - for recurring add-on  <br /><code>onetime</code> - for one time add-on</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Required</td>\n<td><code>true</code> - for active</td>\n</tr>\n<tr>\n<td>associate_plans</td>\n<td>Required</td>\n<td>Possible values can be selected_plans / all_plans.</td>\n</tr>\n<tr>\n<td>billing_period_num</td>\n<td>Required</td>\n<td>Billing frequency of the add-on</td>\n</tr>\n<tr>\n<td>category_array</td>\n<td>Optional</td>\n<td>This add-on will be shown on all the added categories</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Required</td>\n<td>Unqiue code of your add-on, Not shown on the checkout page</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Required</td>\n<td>Name of your add-on</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Required</td>\n<td>Price of your add-on</td>\n</tr>\n<tr>\n<td>plans_array</td>\n<td>Optional</td>\n<td>If associate plan is true then add the plan Id's here</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Optional</td>\n<td>For merchat purpose ony, not shwon on the checkout pages</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>Id of the Product this add-on is associated with</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addon","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"06f1e413-26f3-4468-81d7-c230898ddc10","name":"Create Addon","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n  \"billing_period\": \"m\",\r\n  \"billing_cycle\": \"lifetime\",\r\n  \"status\": \"true\",\r\n  \"associate_plans\": \"selected_plans\",\r\n  \"billing_period_num\": 1,\r\n  \"category_array\": [\"5cfdef689ca9a5206ccfcd75\"],\r\n  \"code\": \"extra-5gb-data\",\r\n  \"name\": \"Extra 5GB Data\",\r\n  \"price\": 10,\r\n  \"plans_array\": [\"5d03504ad58b3256507e08bd\",\"5cfa546a22f7d918a4dca2f6\"],  \r\n  \"description\": \"By adding this addon, you'll get extra 5GB data\",\r\n  \"product_id\": \"5cefbd220114341f14ebebee\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addon/{product_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 08:31:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"529"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"211-Gi0N16ErAblH8FgAtrqr7oB1V00\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon Created Successfully\",\n    \"data\": {\n        \"billing_period\": \"m\",\n        \"category_array\": [\n            \"5e3aac233c92e44b424b6dfb\"\n        ],\n        \"createdAt\": \"2020-03-04T08:31:40.457Z\",\n        \"updatedAt\": \"2020-03-04T08:31:40.457Z\",\n        \"id\": \"5e5f676c3b2518365c79247a\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"name\": \"Extra 5GB Data\",\n        \"code\": \"extra-5gb-data\",\n        \"price\": 10,\n        \"billing_cycle\": \"lifetime\",\n        \"status\": true,\n        \"associate_plans\": \"all\",\n        \"plans_array\": [\n            \"\"\n        ],\n        \"description\": \"By adding this addon, you'll get extra 5GB data\"\n    }\n}"}],"_postman_id":"225afde3-a358-48ec-a8c7-33da68a98ae6"},{"name":"Get Single Addon","id":"5059cd08-702f-4e6c-8022-cd2ef3e0bfd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addon/5e3aac363c92e44b424b6dfc","description":"<p>This API can be used to get the details of a single add-on.</p>\n<p>The request is fired on GET along with the add-on id in the API link.</p>\n<p>In response you will get all the details related to that particular add-on.</p>\n","urlObject":{"protocol":"https","path":["api","v1","addon","5e3aac363c92e44b424b6dfc"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"5757ebed-e570-4e93-9144-2d3567682eb8","name":"List Single Addon","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addon/{addon_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:00:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"477"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"1dd-6mvhqZhKniiX+b8IhiiIXC89VsI\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon data\",\n    \"data\": {\n        \"billing_period\": \"\",\n        \"category_array\": [\n            \"5e3aac1924b63d4b28410d4d\"\n        ],\n        \"createdAt\": \"2020-02-05T11:51:18.185Z\",\n        \"updatedAt\": \"2020-02-05T11:51:18.185Z\",\n        \"id\": \"5e3aac363c92e44b424b6dfc\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"name\": \"Add on 1 one time\",\n        \"code\": \"add-on-1-one-time\",\n        \"price\": 100,\n        \"billing_cycle\": \"onetime\",\n        \"status\": true,\n        \"associate_plans\": \"all_plans\",\n        \"plans_array\": null,\n        \"description\": \"\"\n    }\n}"}],"_postman_id":"5059cd08-702f-4e6c-8022-cd2ef3e0bfd2"},{"name":"List All Addons","id":"03ea0f12-3f1b-4f56-b95d-a0aa46fd04e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addons/{product_id}","description":"<p>This API is used to retrieve a list of all the available addons by product id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addons","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ba6d5b87-8075-4c1d-b22b-59e672f29881","name":"List All Addons","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/addons/5e3a95143c92e44b424b6d47?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","addons","5e3a95143c92e44b424b6d47"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:03:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"c3b-wJVhwIRnuxT9Hc56MStNxrqsGOk\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addons data\",\n    \"data\": [\n        {\n            \"billing_period\": \"m\",\n            \"category_array\": [\n                \"5e3aac233c92e44b424b6dfb\"\n            ],\n            \"createdAt\": \"2020-03-04T08:31:40.457Z\",\n            \"updatedAt\": \"2020-03-04T08:31:40.457Z\",\n            \"id\": \"5e5f676c3b2518365c79247a\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"name\": \"Extra 5GB Data\",\n            \"code\": \"extra-5gb-data\",\n            \"price\": 10,\n            \"billing_cycle\": \"lifetime\",\n            \"status\": true,\n            \"associate_plans\": \"all\",\n            \"plans_array\": [\n                \"\"\n            ],\n            \"description\": \"By adding this addon, you'll get extra 5GB data\",\n            \"category_list\": [\n                {\n                    \"category_code\": \"category 2\",\n                    \"createdAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"updatedAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"id\": \"5e3aac233c92e44b424b6dfb\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"category_name\": \"Category 2\"\n                }\n            ]\n        },\n        {\n            \"billing_period\": \"y\",\n            \"category_array\": [\n                \"5e3aac233c92e44b424b6dfb\"\n            ],\n            \"createdAt\": \"2020-02-05T11:53:17.843Z\",\n            \"updatedAt\": \"2020-02-05T11:53:17.843Z\",\n            \"id\": \"5e3aacad24b63d4b28410d4f\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"name\": \"Add-on 3 yearly\",\n            \"code\": \"add-on-3-yearly\",\n            \"price\": 500,\n            \"billing_cycle\": \"lifetime\",\n            \"status\": false,\n            \"associate_plans\": \"all_plans\",\n            \"plans_array\": null,\n            \"description\": \"\",\n            \"category_list\": [\n                {\n                    \"category_code\": \"category 2\",\n                    \"createdAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"updatedAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"id\": \"5e3aac233c92e44b424b6dfb\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"category_name\": \"Category 2\"\n                }\n            ]\n        },\n        {\n            \"billing_period\": \"m\",\n            \"category_array\": [\n                \"5e3aac233c92e44b424b6dfb\",\n                \"5e3aac1924b63d4b28410d4d\"\n            ],\n            \"createdAt\": \"2020-02-05T11:52:52.617Z\",\n            \"updatedAt\": \"2020-02-05T11:52:52.617Z\",\n            \"id\": \"5e3aac9424b63d4b28410d4e\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"name\": \"Add-on 2 monthly\",\n            \"code\": \"add-on-2-monthly\",\n            \"price\": 250,\n            \"billing_cycle\": \"lifetime\",\n            \"status\": false,\n            \"associate_plans\": \"all_plans\",\n            \"plans_array\": null,\n            \"description\": \"\",\n            \"category_list\": [\n                {\n                    \"category_code\": \"category 1\",\n                    \"createdAt\": \"2020-02-05T11:50:49.393Z\",\n                    \"updatedAt\": \"2020-02-05T11:50:49.393Z\",\n                    \"id\": \"5e3aac1924b63d4b28410d4d\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"category_name\": \"Category 1\"\n                },\n                {\n                    \"category_code\": \"category 2\",\n                    \"createdAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"updatedAt\": \"2020-02-05T11:50:59.269Z\",\n                    \"id\": \"5e3aac233c92e44b424b6dfb\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"category_name\": \"Category 2\"\n                }\n            ]\n        },\n        {\n            \"billing_period\": \"\",\n            \"category_array\": [\n                \"5e3aac1924b63d4b28410d4d\"\n            ],\n            \"createdAt\": \"2020-02-05T11:51:18.185Z\",\n            \"updatedAt\": \"2020-02-05T11:51:18.185Z\",\n            \"id\": \"5e3aac363c92e44b424b6dfc\",\n            \"product_id\": \"5e3a95143c92e44b424b6d47\",\n            \"user_id\": \"5b961bc55dfff7797d9cd897\",\n            \"name\": \"Add on 1 one time\",\n            \"code\": \"add-on-1-one-time\",\n            \"price\": 100,\n            \"billing_cycle\": \"onetime\",\n            \"status\": true,\n            \"associate_plans\": \"all_plans\",\n            \"plans_array\": null,\n            \"description\": \"\",\n            \"category_list\": [\n                {\n                    \"category_code\": \"category 1\",\n                    \"createdAt\": \"2020-02-05T11:50:49.393Z\",\n                    \"updatedAt\": \"2020-02-05T11:50:49.393Z\",\n                    \"id\": \"5e3aac1924b63d4b28410d4d\",\n                    \"product_id\": \"5e3a95143c92e44b424b6d47\",\n                    \"user_id\": \"5b961bc55dfff7797d9cd897\",\n                    \"category_name\": \"Category 1\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"03ea0f12-3f1b-4f56-b95d-a0aa46fd04e0"},{"name":"Update Addon","id":"720877c8-8638-4e36-a73e-ad4f5e6816ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n  \"name\": \"Updated Name\",\r\n  \"code\": \"updated-code\",\r\n  \"price\": 20,\r\n  \"category_array\": [ \"5e3aac233c92e44b424b6dfb\", \"5e3aac1924b63d4b28410d4d\" ],\r\n  \"status\": true,\r\n  \"associate_plans\": \"all_plans\",\r\n  \"billing_cycle\": \"lifetime\",\r\n  \"billing_period\": \"m\",\r\n  \"billing_period_num\": 1,\r\n  \"description\": \"\",\r\n  \"plans_array\": null,\r\n  \"product_id\": \"5e3a95143c92e44b424b6d47\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addon/{addon_id}","description":"<p>This API can be used to update the details of an existing add-on.</p>\n<p>The API will be fired with PUT request along with the add-on Id in the API link.</p>\n<p>In the form data you will add all the new details for the add-on and fire it.</p>\n<p>In response you will get the update details of the existing add-on on the same add-on Id. </p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Optional</td>\n<td>Updated name of the add-on.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Optional</td>\n<td>Updated code of the add-on.</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Optional</td>\n<td>Updated price of the add-on.</td>\n</tr>\n<tr>\n<td>category_array</td>\n<td>Optional</td>\n<td>Updated category of the add-on.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Optional</td>\n<td>Updated status of the Add-on</td>\n</tr>\n<tr>\n<td>associate_plans</td>\n<td>Optional</td>\n<td>Updated plans of the add-on</td>\n</tr>\n<tr>\n<td>billing_cycle</td>\n<td>Optional</td>\n<td>Updated billing cycle</td>\n</tr>\n<tr>\n<td>billing_period</td>\n<td>Optional</td>\n<td>Update billing frequency</td>\n</tr>\n<tr>\n<td>billing_period_num</td>\n<td>Optional</td>\n<td>Update billing frequency</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Optional</td>\n<td>Updated decription of the add-on</td>\n</tr>\n<tr>\n<td>plans_array</td>\n<td>Optional</td>\n<td>New plan array</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Product id with which the add-on is associated</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addon","{addon_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"9df1a3e3-042f-4273-83cb-c6f826bb89de","name":"Update Addon","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n  \"name\": \"Updated Name\",\r\n  \"code\": \"updated-code\",\r\n  \"price\": 20,\r\n  \"category_array\": [ \"5e3aac233c92e44b424b6dfb\", \"5e3aac1924b63d4b28410d4d\" ],\r\n  \"status\": true,\r\n  \"associate_plans\": \"all_plans\",\r\n  \"billing_cycle\": \"lifetime\",\r\n  \"billing_period\": \"m\",\r\n  \"billing_period_num\": 1,\r\n  \"description\": \"\",\r\n  \"plans_array\": null,\r\n  \"product_id\": \"5e3a95143c92e44b424b6d47\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addon/{addon_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:13:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"512"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"200-yS69zDcWa2o7+/0TMoI7Ts1dgdk\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon Updated Successfully\",\n    \"data\": {\n        \"billing_period\": \"m\",\n        \"category_array\": [\n            \"5e3aac233c92e44b424b6dfb\",\n            \"5e3aac1924b63d4b28410d4d\"\n        ],\n        \"createdAt\": \"2020-02-05T11:51:18.185Z\",\n        \"updatedAt\": \"2020-02-05T11:51:18.185Z\",\n        \"id\": \"5e3aac363c92e44b424b6dfc\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"name\": \"Updated Name\",\n        \"code\": \"updated-code\",\n        \"price\": 20,\n        \"billing_cycle\": \"lifetime\",\n        \"status\": false,\n        \"associate_plans\": \"all_plans\",\n        \"plans_array\": null,\n        \"description\": \"\"\n    }\n}"}],"_postman_id":"720877c8-8638-4e36-a73e-ad4f5e6816ec"},{"name":"Delete Addon","id":"bd56a17a-8c95-49f0-b54a-2c61dad59804","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/addon/{addon_id}","description":"<p>This API can be used to delete the add-on.</p>\n<p>The API will be fired with DELETE request along with the add-on Id in the API link.</p>\n<p>In response you will get the successful message of delete Addon.</p>\n","urlObject":{"protocol":"https","path":["api","v1","addon","{addon_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0483a473-cd3b-4618-9450-9688717566b1","name":"Delete Addon","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/addon/{addon_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:15:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"3b-ovNAEibZHLMApxpZ7mfoIX8bGPk\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon deleted successfully\"\n}"}],"_postman_id":"bd56a17a-8c95-49f0-b54a-2c61dad59804"}],"id":"ddfa16d2-b9e1-40a2-bb16-feacf87cb86c","_postman_id":"ddfa16d2-b9e1-40a2-bb16-feacf87cb86c","description":""},{"name":"Add-on Category","item":[{"name":"Create Category","id":"0d52cc27-d0b8-43e6-b9e8-d5c3df28d687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"category_name\": \"Addon Category 5\",\r\n\t\"product_id\": \"5e3a95143c92e44b424b6d47\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addoncategory","description":"<p>You can use this API when you want to create a category for the added add-ons.</p>\n<p>The API will be fired in POST request and in the form data you will need to add the category name and product Id.</p>\n<p>In response a category will be created which you can add in the add-on.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>category_name</td>\n<td>Required</td>\n<td>Category name under which your add-on will be nested</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>The relatable product Id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addoncategory"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"291cc5fa-96c8-4612-a06f-2cb21c55cc45","name":"Create Category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"category_name\": \"Addon Category 5\",\r\n\t\"product_id\": \"5e3a95143c92e44b424b6d47\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addoncategory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:19:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"75"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"4b-RhdzWu+S3zCT/0vVa8CEgVLJYU4\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Category Created\",\n    \"data\": \"Category Created\"\n}"}],"_postman_id":"0d52cc27-d0b8-43e6-b9e8-d5c3df28d687"},{"name":"Get Single Category","id":"743063b4-4e4b-4568-9f72-8b525f7d5117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addoncategory/{addon_id}","description":"<p>By this API you can get the details of any particular categories.</p>\n<p>The API will be fired in get request along with the category Id in the link.</p>\n<p>In response you will get the details of that particular category.</p>\n","urlObject":{"protocol":"https","path":["api","v1","addoncategory","{addon_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e8a91054-1d51-46e3-aad6-77c663e98140","name":"Get Single Category","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addoncategory/{addon_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:22:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"301"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"12d-KeMNlFesAF1mjGG5mgiL36d8Xvc\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon category\",\n    \"data\": {\n        \"category_code\": \"category 1\",\n        \"createdAt\": \"2020-02-05T11:50:49.393Z\",\n        \"updatedAt\": \"2020-02-05T11:50:49.393Z\",\n        \"id\": \"5e3aac1924b63d4b28410d4d\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"category_name\": \"Category 1\"\n    }\n}"}],"_postman_id":"743063b4-4e4b-4568-9f72-8b525f7d5117"},{"name":"List All Addon Categories By Product Id:","id":"3a7f9c57-7ef5-4d34-8920-f7bdf7f71489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/addonlistcategory/{product_id}","description":"<p>This API is used to retrieve a list of all the available addon cagetories by product id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addonlistcategory","{product_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"5308e3b6-cec6-4762-9567-3eb68dfa2780","name":"List All Categories By Product Id:","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/addonlistcategory/5e3aac1924b63d4b28410d4d?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","addonlistcategory","5e3aac1924b63d4b28410d4d"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:25:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"256"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"100-nSCpkIbOY/GpPPC2JxfAv+TQn7A\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon category list\",\n    \"data\": [\n        {\n            \"id\": \"5e5f80af7c5aeb3675f41794\",\n            \"category_name\": \"Addon Category 5\"\n        },\n        {\n            \"id\": \"5e3aac233c92e44b424b6dfb\",\n            \"category_name\": \"Category 2\"\n        },\n        {\n            \"id\": \"5e3aac1924b63d4b28410d4d\",\n            \"category_name\": \"Category 1\"\n        }\n    ]\n}"}],"_postman_id":"3a7f9c57-7ef5-4d34-8920-f7bdf7f71489"},{"name":"Update Category","id":"0a2fa6ac-6323-4c69-a553-67eeb97343e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"category_name\": \"Subscription Management\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addoncategory/{category_id}","description":"<p>This API can be used if you want to update the name of any existing category.</p>\n<p>It will be fired in the PUT request along with the category Id in the link.</p>\n<p>In the form data you will add the new name -&gt; which you want to assign to that category and fire it.</p>\n<p>In response you will get the success message of the updated category.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>category_name</td>\n<td>Required</td>\n<td>Updated name of the category.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","addoncategory","{category_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6be5217f-a817-4110-88e6-2ffe02934c93","name":"Update Category","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"category_name\": \"Subscription Management\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/addoncategory/{category_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:28:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"329"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"149-xzyh0UqDGqeegFAEQZfnmG4zUSI\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Category Updated\",\n    \"data\": {\n        \"category_code\": \"subscription management\",\n        \"createdAt\": \"2020-03-04T10:19:27.893Z\",\n        \"updatedAt\": \"2020-03-04T10:19:27.893Z\",\n        \"id\": \"5e5f80af7c5aeb3675f41794\",\n        \"product_id\": \"5e3a95143c92e44b424b6d47\",\n        \"user_id\": \"5b961bc55dfff7797d9cd897\",\n        \"category_name\": \"Subscription Management\"\n    }\n}"}],"_postman_id":"0a2fa6ac-6323-4c69-a553-67eeb97343e0"},{"name":"Delete Addon Category","id":"e53e9ad6-bbb2-4851-bac4-9df25f321095","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/addoncategory/{categroy_id}","description":"<p>This API can be used if you want to delete the addon category.</p>\n<p>It will be fired in the DELETE request along with the category Id in the link.</p>\n<p>In response you will get the success message of the delete addon category.</p>\n","urlObject":{"protocol":"https","path":["api","v1","addoncategory","{categroy_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"86db2fbf-b632-4414-ae06-d4868b70deb7","name":"Delete Addon Category","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/addoncategory/{categroy_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 04 Mar 2020 10:30:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"ETag","value":"W/\"44-B67nRQ/hzpJYLtf1ebqogLzKBR0\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Addon category deleted successfully\"\n}"}],"_postman_id":"e53e9ad6-bbb2-4851-bac4-9df25f321095"}],"id":"d5d1e405-9ab8-472e-adaa-70a772e42761","_postman_id":"d5d1e405-9ab8-472e-adaa-70a772e42761","description":""},{"name":"Licenses","item":[{"name":"Create License","id":"ce7e52a1-d4d7-4583-bca2-48eee6ddc95d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Pabbly connect\",\r\n    \"plan_id\":\"5fa102de8a9cd93f37cd768f\",\r\n    \"method\":\"list\",\r\n    \"license_codes\":\"FIRSTCODE1\\nSECONDCODE2\\nTHIRDCODE3\",\r\n    \"status\":\"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses","description":"<p>Fire the link with POST request and fill the following details in from data.</p>\n<p>If the response status is success then a license code will be generated for that customer.</p>\n<h2 id=\"attributes-\">Attributes :</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>Required</td>\n<td>License Name</td>\n</tr>\n<tr>\n<td>Plan ID</td>\n<td>Required</td>\n<td>Add the Plan for which you want to create License codes</td>\n</tr>\n<tr>\n<td>Method</td>\n<td>Required</td>\n<td>List/Auto-generated</td>\n</tr>\n<tr>\n<td>License Codes</td>\n<td>Required</td>\n<td>Add license code names that you want to add to the list and provide it to customers</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>Required</td>\n<td>Active</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0deb115f-eb94-448e-8712-96841512a773","name":"Create License","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Pabbly connect\",\r\n    \"plan_id\":\"5fa102de8a9cd93f37cd768f\",\r\n    \"method\":\"list\",\r\n    \"license_codes\":\"FIRSTCODE1\\nSECONDCODE2\\nTHIRDCODE3\",\r\n    \"status\":\"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 05:55:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"372"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611813337"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"174-nE4/T7huwakmsArXZeupzU3wI4k\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License is created successfully\",\n    \"data\": {\n        \"createdAt\": \"2021-01-28T05:55:36.772Z\",\n        \"updatedAt\": \"2021-01-28T05:55:36.772Z\",\n        \"id\": \"601251d87948fe7864c0af15\",\n        \"product_id\": \"5f912e619ede59558fab0ab0\",\n        \"name\": \"Pabbly connect\",\n        \"method\": \"list\",\n        \"license_codes\": \"FIRSTCODE1\\nSECONDCODE2\\nTHIRDCODE3\",\n        \"plan_id\": \"5fa102de8a9cd93f37cd768f\",\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"ce7e52a1-d4d7-4583-bca2-48eee6ddc95d"},{"name":"Update License","id":"7c86256a-3708-4d9c-8042-e57090080e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Pabbly connect\",\r\n    \"plan_id\":\"5fa102de8a9cd93f37cd768f\",\r\n    \"method\":\"list\",\r\n    \"license_codes\":\"FIRSTCODE\\nSECONDCODE\\nTHIRDCODE\\nFOURTHCODE\",\r\n    \"status\":\"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}","description":"<p>Fire the link with PUT request and fill the following details in from data.</p>\n<p>If the response status is success then a license code will be generated for that customer.</p>\n<h2 id=\"attributes-\">Attributes :</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>Required</td>\n<td>License Name</td>\n</tr>\n<tr>\n<td>Plan ID</td>\n<td>Required</td>\n<td>Add the Plan ID for which you want to update License codes</td>\n</tr>\n<tr>\n<td>Method</td>\n<td>Required</td>\n<td>List/Auto-generated</td>\n</tr>\n<tr>\n<td>License Codes</td>\n<td>Required</td>\n<td>Add license code names that you want to update to the list and provide it to customers</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>Required</td>\n<td>Active</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses","{license_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0f2b7e4f-df1c-44f5-8176-a955d326fbf3","name":"Update License","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Pabbly connect\",\r\n    \"plan_id\":\"5fa102de8a9cd93f37cd768f\",\r\n    \"method\":\"list\",\r\n    \"license_codes\":\"FIRSTCODE\\nSECONDCODE\\nTHIRDCODE\\nFOURTHCODE\",\r\n    \"status\":\"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","products","{product_id}","licenses","{license_id}"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 07:14:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"357"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611818077"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"165-gvYpccs/Q7ALIMUrAzL9XD9hvLM\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License is updated successfully\",\n    \"data\": {\n        \"createdAt\": \"2021-01-28T05:55:36.772Z\",\n        \"updatedAt\": \"2021-01-28T07:14:35.704Z\",\n        \"id\": \"601251d87948fe7864c0af15\",\n        \"product_id\": \"5f912e619ede59558fab0ab0\",\n        \"name\": \"Pabbly connect\",\n        \"method\": \"list\",\n        \"license_codes\": \"FIRSTCODE\\nSECONDCODE\\nTHIRDCODE\\nFOURTHCODE\",\n        \"plan_id\": \"5fa102de8a9cd93f37cd768f\",\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"7c86256a-3708-4d9c-8042-e57090080e8e"},{"name":"List All Licenses","id":"59ba8d92-ae2c-4e50-8b84-67bca4938e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses","description":"<p>This API is used to retrieve a list of all the available license by product id.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"c1d59c0c-0438-413a-b8d6-e9a5d3b0589c","name":"Get Licenses","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 09:22:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"548"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611825779"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"224-RhsUAzBxTqA/PS0bJuh3Zo0lsvQ\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License data\",\n    \"data\": [\n        {\n            \"id\": \"601251d87948fe7864c0af15\",\n            \"name\": \"Pabbly connect\",\n            \"method\": \"list\",\n            \"status\": \"active\",\n            \"total_license\": 7,\n            \"used_license\": 0,\n            \"license_codes\": [\n                {\n                    \"code\": \"THIRDCODE3\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"FIRSTCODE1\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"SECONDCODE2\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"THIRDCODE\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"FIRSTCODE\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"SECONDCODE\",\n                    \"is_used\": \"no\"\n                },\n                {\n                    \"code\": \"FOURTHCODE\",\n                    \"is_used\": \"no\"\n                }\n            ],\n            \"plan_id\": \"\",\n            \"createdAt\": \"2021-01-28T05:55:36.772Z\",\n            \"updatedAt\": \"2021-01-28T07:14:35.704Z\"\n        }\n    ]\n}"}],"_postman_id":"59ba8d92-ae2c-4e50-8b84-67bca4938e01"},{"name":"Get Single License","id":"40466acc-c620-446b-b8a3-501bc4b23c7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}","description":"<p>This API is fired with GET request.</p>\n<p>You will need to fill the Product ID and License ID in the link and fire it.</p>\n<p>In response you will get all the details in the response like license name, method, plan ID, license codes and so on.</p>\n","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses","{license_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"2edad794-45ea-4308-9669-357d8908c6e6","name":"Get Single License","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 09:31:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"551"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611826269"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"227-PfVRxS0IMl2dW7WOp8yZ/uUxjjI\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License data\",\n    \"data\": {\n        \"createdAt\": \"2021-01-28T05:55:36.772Z\",\n        \"updatedAt\": \"2021-01-28T07:14:35.704Z\",\n        \"id\": \"601251d87948fe7864c0af15\",\n        \"product_id\": \"5f912e619ede59558fab0ab0\",\n        \"name\": \"Pabbly connect\",\n        \"method\": \"list\",\n        \"license_codes\": [\n            {\n                \"code\": \"FIRSTCODE\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"FIRSTCODE1\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"FOURTHCODE\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"SECONDCODE\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"SECONDCODE2\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"THIRDCODE\",\n                \"is_used\": \"no\"\n            },\n            {\n                \"code\": \"THIRDCODE3\",\n                \"is_used\": \"no\"\n            }\n        ],\n        \"plan_id\": \"\",\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"40466acc-c620-446b-b8a3-501bc4b23c7f"},{"name":"Get License Codes","id":"49bd15f3-baf4-4e4f-8590-1ef0d4f0d3e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}/codes","description":"<p>This API is used to retrieve a list of all the available license codes.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses","{license_id}","codes"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"2d992957-cd87-466a-815e-73c3a7577035","name":"Get License Codes","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}/codes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 09:31:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"551"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611826269"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"227-PfVRxS0IMl2dW7WOp8yZ/uUxjjI\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License codes\",\n    \"data\": [\n        {\n            \"createdAt\": \"2022-02-09T07:44:13.190Z\",\n            \"updatedAt\": \"2022-02-09T07:44:13.190Z\",\n            \"id\": \"620370cd4443335e6cb0dad7\",\n            \"product_id\": \"61d96ffc8224a468a40147a8\",\n            \"license_id\": \"620370cd4443335e6cb0dad4\",\n            \"code\": \"license3\",\n            \"is_used\": \"no\"\n        },\n        {\n            \"createdAt\": \"2022-02-09T07:44:13.187Z\",\n            \"updatedAt\": \"2022-02-09T07:44:13.187Z\",\n            \"id\": \"620370cd4443335e6cb0dad5\",\n            \"product_id\": \"61d96ffc8224a468a40147a8\",\n            \"license_id\": \"620370cd4443335e6cb0dad4\",\n            \"code\": \"license1\",\n            \"is_used\": \"no\"\n        }\n    ]\n}"}],"_postman_id":"49bd15f3-baf4-4e4f-8590-1ef0d4f0d3e2"},{"name":"Delete License","id":"2d06cb1a-a683-42af-99e5-f7e6b1d4ba9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}","description":"<p>This API can be used to delete the license.</p>\n<p>The API will be fired with DELETE request along with the product ID and license ID in the API link.</p>\n<p>In response you will get the successful message of deleted license.</p>\n","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses","{license_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"eff4c2b3-826f-4730-a310-ef6462ed5748","name":"Delete License","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 09:37:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"378"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611826665"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"17a-7vQ21bhxb+JFnh0mKp0altBjvkw\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License deleted\",\n    \"data\": {\n        \"createdAt\": \"2021-01-28T05:55:36.772Z\",\n        \"updatedAt\": \"2021-01-28T07:14:35.704Z\",\n        \"id\": \"601251d87948fe7864c0af15\",\n        \"user_id\": \"5d3041850f26256feb47242e\",\n        \"product_id\": \"5f912e619ede59558fab0ab0\",\n        \"name\": \"Pabbly connect\",\n        \"method\": \"list\",\n        \"license_codes\": \"FIRSTCODE\\nSECONDCODE\\nTHIRDCODE\\nFOURTHCODE\",\n        \"plan_id\": \"\",\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"2d06cb1a-a683-42af-99e5-f7e6b1d4ba9c"},{"name":"Delete License Code","id":"994224d4-cc6d-4a1a-8abe-9c8526ab860f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}/codes/{code}","description":"<p>This API can be used to delete the license code.</p>\n<p>The API will be fired with DELETE request along with the product ID, License code, and license ID in the API link.</p>\n<p>In response you will get the successful message of deleted license.</p>\n<p><em>Note: only unused code will be deleted.</em></p>\n","urlObject":{"protocol":"https","path":["api","v1","products","{product_id}","licenses","{license_id}","codes","{code}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e4c26895-ea07-47e8-9076-e00efc9bd399","name":"Delete License Code","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/products/{product_id}/licenses/{license_id}/codes/{code}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 09:37:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"378"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1611826665"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"17a-7vQ21bhxb+JFnh0mKp0altBjvkw\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"License code deleted\"\n}"}],"_postman_id":"994224d4-cc6d-4a1a-8abe-9c8526ab860f"}],"id":"8db36d6e-fbcc-462f-af72-4e0df67c8cd7","description":"<p>All the License related API's are available here.</p>\n","event":[{"listen":"prerequest","script":{"id":"026b008a-b854-407f-a4bf-882d5a308c0c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"db774a7d-deed-4499-8bc1-0f27bb413b4a","type":"text/javascript","exec":[""]}}],"_postman_id":"8db36d6e-fbcc-462f-af72-4e0df67c8cd7"},{"name":"Affiliate Modules","item":[{"name":"Commissions","item":[{"name":"Create Commission","id":"eee0a320-9e4e-4225-9da6-feef8a22a25f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"affiliate_id\": \"5e16c7556d73c34665ade042\", // Affiliate ID\r\n    \"invoice_id\": \"INV-1\", // invoice id\r\n    \"amount\": 9.99, // commission amount\r\n    \"manual_commission_reason\": \"Manual commission\", // manual commission reason\r\n    \"date\": \"2023-03-31\", // manual commission date\r\n    \"recurring\": false, // is recurring or not\r\n    \"multi_tier\": true // is multi_tier or not\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/commissions/create","description":"<p>Creates a new commission record for the affiliate in existing invoice.</p>\n<p>StartFragment</p>\n<h2 id=\"attributes-\">Attributes :</h2>\n<p>EndFragm</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>affiliate_id</td>\n<td>Required</td>\n<td>ID of the affiliate.</td>\n</tr>\n<tr>\n<td>affiliate_email</td>\n<td>Optional</td>\n<td>Required if affiliate_id not passed.</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>Required</td>\n<td>Number of the Invoice. eg: INV-1</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Required</td>\n<td>Commission amount.</td>\n</tr>\n<tr>\n<td>manual_commission_reason</td>\n<td>Optional</td>\n<td></td>\n</tr>\n<tr>\n<td>date</td>\n<td>Required</td>\n<td>Commission creation date.</td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>Optional</td>\n<td>Set true, if commission need to set recurring invoices.</td>\n</tr>\n<tr>\n<td>multi_tier</td>\n<td>Optional</td>\n<td>Set true, if commssion need to apply for tiered affiliates.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","commissions","create"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b303d96b-6425-47cd-a386-2ccaa493f230","name":"Create Commission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"affiliate_id\": \"5e16c7556d73c34665ade042\",\r\n    \"invoice_id\": \"INV-1\",\r\n    \"amount\": 9.99,\r\n    \"manual_commission_reason\": \"Manual commission\",\r\n    \"date\": \"2023-03-31\",\r\n    \"recurring\": false,\r\n    \"multi_tier\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/commissions/create"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Commission is created successfully.\"\r\n}"}],"_postman_id":"eee0a320-9e4e-4225-9da6-feef8a22a25f"},{"name":"List Commissions","id":"2e4213fb-1341-479d-8f5d-cfdaec1df51f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/commissions?affiliate_id={affiliate_id}","description":"<p>This API is used to retrieve a list of all the available commissions.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>affiliate_id</td>\n<td>Optional</td>\n<td>List commission by Affiliate ID.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","commissions"],"host":["payments","pabbly","com"],"query":[{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"affiliate_id","value":"{affiliate_id}"}],"variable":[]}},"response":[{"id":"78b6ab0b-c554-45b5-a534-002ef78b1455","name":"List Commissions","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/commissions?affiliate_id={affiliate_id}&limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","commissions"],"query":[{"key":"affiliate_id","value":"{affiliate_id}","type":"text"},{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 19 Feb 2021 11:28:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613734110"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"157a-q9/DV9Xyex+zcmMaIRtDvAdwy8Y\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Commission data\",\n    \"data\": [\n        {\n            \"id\": \"602f701df5a9824fd1c2213e\",\n            \"product_name\": \"Nafees Testing\",\n            \"invoice_number\": \"INV-2090\",\n            \"invoice_id\": \"602f7019f5a9824fd1c22136\",\n            \"commission_amount\": 49.9,\n            \"status\": \"Unpaid\",\n            \"createdAt\": \"2021-02-19T08:00:29.224Z\",\n            \"updatedAt\": \"2021-02-19T08:00:29.224Z\",\n            \"payout_date\": \"\",\n            \"affiliate_id\": \"602f6e84f5a9824fd1c22119\",\n            \"affiliate_email\": \"pabblytest@inboxkitten.com\",\n            \"customer_email\": \"mayanktidke+test488@gmail.com\",\n            \"is_paid\": \"no\",\n            \"currency\": \"$\",\n            \"click_id\": \"602f7003f5a9824fd1c22133\",\n            \"is_void\": false,\n            \"plan_id\": \"5fc1fc89aa1e5f68820aa758\"\n        },\n        {\n            \"id\": \"602b1b6b79fcfe38536661f6\",\n            \"product_name\": \"Paddle\",\n            \"invoice_number\": \"INV-2068\",\n            \"invoice_id\": \"602b1b6979fcfe38536661dc\",\n            \"commission_amount\": 5,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-16T01:10:03.984Z\",\n            \"updatedAt\": \"2021-02-16T01:10:03.984Z\",\n            \"payout_date\": \"2021-02-16T01:10:04.044Z\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"mayanktidke+domaintest@gmail.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"5ee7ab715de0cb59ca1f2bb1\",\n            \"is_void\": false,\n            \"plan_id\": \"5ee4d591f912ba55cede69d5\"\n        },\n        {\n            \"id\": \"6027ac505694207fb549627c\",\n            \"product_name\": \"Product B\",\n            \"invoice_number\": \"INV-2053\",\n            \"invoice_id\": \"6027ac4d5694207fb5496274\",\n            \"commission_amount\": 5.9,\n            \"status\": \"Refunded\",\n            \"createdAt\": \"2021-02-13T10:39:12.511Z\",\n            \"updatedAt\": \"2021-02-13T10:40:01.525Z\",\n            \"payout_date\": \"\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"mayanktidke@gmail.com\",\n            \"is_paid\": \"no\",\n            \"currency\": \"$\",\n            \"click_id\": \"6027ac3c5694207fb5496272\",\n            \"is_void\": true,\n            \"plan_id\": \"5eec9f8416d9f631c71eb022\"\n        },\n        {\n            \"id\": \"60226d8a769cba2dd4c0c300\",\n            \"product_name\": \"Product B\",\n            \"invoice_number\": \"INV-2022\",\n            \"invoice_id\": \"60226d8a769cba2dd4c0c2d6\",\n            \"commission_amount\": 15.9,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-09T11:10:02.721Z\",\n            \"updatedAt\": \"2021-02-09T11:11:01.657Z\",\n            \"payout_date\": \"2021-02-09T11:10:03.033Z\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"satya@inboxkitten.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"5fe05b5c99748b4a7e884bb6\",\n            \"is_void\": false,\n            \"plan_id\": \"5f4f810cca1c5e149c11b444\"\n        },\n        {\n            \"id\": \"60226d8a769cba2dd4c0c2ff\",\n            \"product_name\": \"Product B\",\n            \"invoice_number\": \"INV-2023\",\n            \"invoice_id\": \"60226d89769cba2dd4c0c2d5\",\n            \"commission_amount\": 15.9,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-09T11:10:02.685Z\",\n            \"updatedAt\": \"2021-02-09T11:11:01.665Z\",\n            \"payout_date\": \"2021-02-09T11:10:04.044Z\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"satya@inboxkitten.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"5fe05b5c99748b4a7e884bb6\",\n            \"is_void\": false,\n            \"plan_id\": \"5f4f810cca1c5e149c11b444\"\n        },\n        {\n            \"id\": \"601d43ac58ffd0698ad0b160\",\n            \"product_name\": \"Testing Product\",\n            \"invoice_number\": \"INV-1997\",\n            \"invoice_id\": \"601d43aa58ffd0698ad0b13b\",\n            \"commission_amount\": 5,\n            \"status\": \"Unpaid\",\n            \"createdAt\": \"2021-02-05T13:10:04.179Z\",\n            \"updatedAt\": \"2021-02-05T13:10:04.179Z\",\n            \"payout_date\": \"\",\n            \"affiliate_id\": \"5f7af1ea7917da0310f35f55\",\n            \"affiliate_email\": \"mayanktidke+fresttestaff@gmail.com\",\n            \"customer_email\": \"mayanktidke+commision589@gmail.com\",\n            \"is_paid\": \"no\",\n            \"currency\": \"$\",\n            \"click_id\": \"5f7af4b17917da0310f35f89\",\n            \"is_void\": false,\n            \"plan_id\": \"5ee4d477f912ba55cede69aa\"\n        },\n        {\n            \"id\": \"6019b19b7535c3244799def0\",\n            \"product_name\": \"Form Plans\",\n            \"invoice_number\": \"INV-1971\",\n            \"invoice_id\": \"6019b1997535c3244799ded7\",\n            \"commission_amount\": 10,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-02T20:10:03.997Z\",\n            \"updatedAt\": \"2021-02-02T20:11:01.786Z\",\n            \"payout_date\": \"2021-02-02T20:10:04.044Z\",\n            \"affiliate_id\": \"5eba2a38b070f62c4f3c8107\",\n            \"affiliate_email\": \"mayanktidke+afftest26@gmail.com\",\n            \"customer_email\": \"mayanktidke+testing7894566@gmail.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"5efc68a6830cce69f718516f\",\n            \"is_void\": false,\n            \"plan_id\": \"5ee9ebcf5de0cb59ca1f4690\"\n        },\n        {\n            \"id\": \"6019b19b7535c3244799deed\",\n            \"product_name\": \"Form Plans\",\n            \"invoice_number\": \"INV-1969\",\n            \"invoice_id\": \"6019b1997535c3244799decf\",\n            \"commission_amount\": 10,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-02T20:10:03.573Z\",\n            \"updatedAt\": \"2021-02-02T20:11:01.737Z\",\n            \"payout_date\": \"2021-02-02T20:10:05.055Z\",\n            \"affiliate_id\": \"5eba2a38b070f62c4f3c8107\",\n            \"affiliate_email\": \"mayanktidke+afftest26@gmail.com\",\n            \"customer_email\": \"mayanktidke+testi5958989589595@gmail.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"5efc68a6830cce69f718516f\",\n            \"is_void\": false,\n            \"plan_id\": \"5ee9ebcf5de0cb59ca1f4690\"\n        },\n        {\n            \"id\": \"601916ed7535c3244799d41c\",\n            \"product_name\": \"test\",\n            \"invoice_number\": \"INV-1960\",\n            \"invoice_id\": \"601916ea7535c3244799d3cc\",\n            \"commission_amount\": 2,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-02T09:10:05.137Z\",\n            \"updatedAt\": \"2021-02-02T09:11:02.118Z\",\n            \"payout_date\": \"2021-02-02T09:10:06.066Z\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"mayanktidke+test46925558955@gmail.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"\",\n            \"is_void\": false,\n            \"plan_id\": \"5f912e979ede59558fab0ab5\"\n        },\n        {\n            \"id\": \"601916ec7535c3244799d419\",\n            \"product_name\": \"test\",\n            \"invoice_number\": \"INV-1961\",\n            \"invoice_id\": \"601916ea7535c3244799d3cd\",\n            \"commission_amount\": 2,\n            \"status\": \"Paid\",\n            \"createdAt\": \"2021-02-02T09:10:04.848Z\",\n            \"updatedAt\": \"2021-02-02T09:11:02.179Z\",\n            \"payout_date\": \"2021-02-02T09:10:05.055Z\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"customer_email\": \"mayanktidke+appltest1@gmail.com\",\n            \"is_paid\": \"yes\",\n            \"currency\": \"$\",\n            \"click_id\": \"\",\n            \"is_void\": false,\n            \"plan_id\": \"5f912e979ede59558fab0ab5\"\n        }\n    ]\n}"}],"_postman_id":"2e4213fb-1341-479d-8f5d-cfdaec1df51f"},{"name":"Update Commission","id":"60ada6fa-2328-4b50-b86f-206d9c017c76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"status\":\"void\",\n    \"void_reason\":\"void reason\"\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/commissions/65c482fb5764f9277f75cd54","description":"<p>You can use this API to mark the commission as paid, unpaid or, void.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>Required</td>\n<td>You have to pass the status of the commission. The possible values can be paid, unpaid, or void.</td>\n</tr>\n<tr>\n<td>void_reason</td>\n<td>Optional</td>\n<td>Required only if the status is void. You have to pass the reason for voiding the commissions.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","commissions","65c482fb5764f9277f75cd54"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b4ebe3e6-965d-4195-8470-1db24b3a8f0b","name":"Update Commission","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"status\":\"void\",\n    \"void_reason\":\"void reason\"\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/commissions/void"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jan 2024 09:43:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Accept-Encoding"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1704793429"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"etag","value":"W/\"3c-QwPNcWhuia3EPWqrN0jXubASVC4\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=mf0LzvaKXKcN4BOTFfRN%2BOo8HILQATx%2BJ%2FqG3RagmLtlnpYibRqjSG8mTz47QCzYMPjVlKxkC1aSHNa6lUa5N9xDCYBq3ImlIV%2FPieiBtGARFCgtWCGbxIQAqxpPD%2B93vEufsMM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src https:; img-src * 'self' blob: data: https: 'unsafe-inline'; font-src 'self' data: https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; connect-src * 'unsafe-inline'; media-src 'self' blob: data: https:; frame-src * 'unsafe-inline' 'unsafe-eval'; worker-src * https;"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"842bbcec5ff6242f-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Commission status updated successfully.\"\n}"}],"_postman_id":"60ada6fa-2328-4b50-b86f-206d9c017c76"}],"id":"7d71b019-cc1e-4da4-a170-b046aaa37575","_postman_id":"7d71b019-cc1e-4da4-a170-b046aaa37575","description":""},{"name":"Clicks","item":[{"name":"Affiliate Clicks","id":"475cec17-11a8-4df8-98ac-6aab9f51198d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/commissions/clicks","description":"<p>This API is used to retrieve a list of all the available affiliate clicks.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","commissions","clicks"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"46940015-3516-43a0-adce-c2fbe51ab61c","name":"Affiliate Clicks","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/commissions/clicks?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","commissions","clicks"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 18 Feb 2021 12:19:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613650766"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"db5-un/oMi8KC9jfpVU8v3UADfHp+kw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Affiliate click data\",\n    \"data\": [\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2021-02-13T10:38:52.189Z\",\n            \"updatedAt\": \"2021-02-13T10:38:52.189Z\",\n            \"id\": \"6027ac3c5694207fb5496272\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"122.168.29.27\",\n            \"link_id\": \"5f844a215ec76c37c47cf799\",\n            \"link_title\": \"test\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2021-01-18T11:05:02.068Z\",\n            \"updatedAt\": \"2021-01-18T11:05:02.068Z\",\n            \"id\": \"60056b5e66c76c693575a873\",\n            \"affiliate_id\": \"60056a9066c76c693575a862\",\n            \"affiliate_email\": \"mayanktidke+forfree@gmail.com\",\n            \"ip_address\": \"182.70.156.224\",\n            \"link_id\": \"60056ad466c76c693575a869\",\n            \"link_title\": \"For FREE\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-12-21T08:22:52.194Z\",\n            \"updatedAt\": \"2020-12-21T08:22:52.194Z\",\n            \"id\": \"5fe05b5c99748b4a7e884bb6\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"47.247.154.65\",\n            \"link_id\": \"5fdc4cedf8c1e248587e0a89\",\n            \"link_title\": \"ltd test + custom domain\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-12-21T08:22:47.918Z\",\n            \"updatedAt\": \"2020-12-21T08:22:47.918Z\",\n            \"id\": \"5fe05b5799748b4a7e884bb5\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"122.168.48.10\",\n            \"link_id\": \"5fdc4cedf8c1e248587e0a89\",\n            \"link_title\": \"ltd test + custom domain\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-12-21T08:22:31.384Z\",\n            \"updatedAt\": \"2020-12-21T08:22:31.384Z\",\n            \"id\": \"5fe05b4799748b4a7e884bb4\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"66.249.88.22\",\n            \"link_id\": \"5fdc4cedf8c1e248587e0a89\",\n            \"link_title\": \"ltd test + custom domain\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-12-18T06:33:49.270Z\",\n            \"updatedAt\": \"2020-12-18T06:33:49.270Z\",\n            \"id\": \"5fdc4d4df8c1e248587e0a8d\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"122.168.48.194\",\n            \"link_id\": \"5fdc4cedf8c1e248587e0a89\",\n            \"link_title\": \"ltd test + custom domain\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-11-24T13:56:38.276Z\",\n            \"updatedAt\": \"2020-11-24T13:56:38.276Z\",\n            \"id\": \"5fbd1116b91c891bb4165961\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"122.170.210.153\",\n            \"link_id\": \"5fb77c66a9ecc901f10dbba8\",\n            \"link_title\": \"test4585\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-11-20T08:21:38.800Z\",\n            \"updatedAt\": \"2020-11-20T08:21:38.800Z\",\n            \"id\": \"5fb77c92a9ecc901f10dbbac\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"47.247.173.28\",\n            \"link_id\": \"5fb77c66a9ecc901f10dbba8\",\n            \"link_title\": \"test4585\",\n            \"referral_url\": \"https://www.google.com/\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-11-20T08:21:28.101Z\",\n            \"updatedAt\": \"2020-11-20T08:21:28.101Z\",\n            \"id\": \"5fb77c88a9ecc901f10dbbab\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"66.249.88.126\",\n            \"link_id\": \"5fb77c66a9ecc901f10dbba8\",\n            \"link_title\": \"test4585\",\n            \"referral_url\": \"\"\n        },\n        {\n            \"commission_id\": \"\",\n            \"createdAt\": \"2020-11-20T06:44:30.059Z\",\n            \"updatedAt\": \"2020-11-20T06:44:30.059Z\",\n            \"id\": \"5fb765cea9ecc901f10dba65\",\n            \"affiliate_id\": \"5e511a687afb28735caace68\",\n            \"affiliate_email\": \"mayanktidke+affiliatetest@gmail.com\",\n            \"ip_address\": \"182.70.160.118\",\n            \"link_id\": \"5f844a215ec76c37c47cf799\",\n            \"link_title\": \"test\",\n            \"referral_url\": \"\"\n        }\n    ]\n}"}],"_postman_id":"475cec17-11a8-4df8-98ac-6aab9f51198d"},{"name":"Delete Clicks","id":"7ddf5122-c672-47c9-bc99-03f52ba3ba1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/commissions/clicks/{click_id}","description":"<p>This API can be used to delete the click.</p>\n<p>The API will be fired with DELETE request along with the Click ID in the API link.</p>\n<p>In response you will get the successful message of deleted click.</p>\n","urlObject":{"protocol":"https","path":["api","v1","commissions","clicks","{click_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"4dcdea98-b0ba-4d45-ac64-2a4ed65a3137","name":"Delete Clicks","originalRequest":{"method":"DELETE","header":[],"url":"https://payments.pabbly.com/api/v1/commissions/clicks/{click_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 19 Feb 2021 11:21:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"398"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613733674"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"18e-r8Kwdt/+Zxf7ucsd2MYc6QM221Y\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Refferal click is deleted\",\n    \"data\": {\n        \"commission_id\": \"\",\n        \"createdAt\": \"2021-02-19T08:00:56.889Z\",\n        \"updatedAt\": \"2021-02-19T08:00:56.889Z\",\n        \"id\": \"602f7038f5a9824fd1c22145\",\n        \"affiliate_id\": \"602f6e84f5a9824fd1c22119\",\n        \"affiliate_email\": \"pabblytest@inboxkitten.com\",\n        \"ip_address\": \"122.168.25.34\",\n        \"link_id\": \"5f9f933717c2da5cb86ddada\",\n        \"link_title\": \"Link shortner\",\n        \"referral_url\": \"\"\n    }\n}"}],"_postman_id":"7ddf5122-c672-47c9-bc99-03f52ba3ba1f"}],"id":"5a7697cc-d3a1-4646-a5ec-3cec237bcfbd","_postman_id":"5a7697cc-d3a1-4646-a5ec-3cec237bcfbd","description":""},{"name":"Reports","item":[{"name":"Create Manual Report","id":"8fabbce8-b48b-4979-a7e6-1f6f6018e101","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"payout_date\":\"2021-02-19\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/affiliate/payout/generate","description":"<p>The POST request API. In which you will add the payout date.</p>\n<p>In response you will get the success message of the payout report generated and then you'll check the report in your Pabbly account.</p>\n","urlObject":{"protocol":"https","path":["api","v1","affiliate","payout","generate"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"25cb2629-1bec-4ab7-afdf-ba92535664be","name":"Create Manual Report","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"payout_date\":\"2021-02-19\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/affiliate/payout/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 19 Feb 2021 11:52:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613735545"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"38-3fOZuU4U0p70s1tUMqPJW/rJ4KA\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Payout report generated\"\n}"},{"id":"b467621b-7812-4cab-bc0e-e2bc1a504e6e","name":"Create Manual Report","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"payout_date\":\"2021-02-19\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/affiliate/payout/generate"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8fabbce8-b48b-4979-a7e6-1f6f6018e101"}],"id":"875a07a8-f41e-4b25-b113-cea078be0c96","_postman_id":"875a07a8-f41e-4b25-b113-cea078be0c96","description":""},{"name":"Links","item":[{"name":"Affiliate Links","id":"03175ff7-5f78-4993-b749-79567cc5cb29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"username":"<username>","password":"<password>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/affiliate/links","description":"<p>This API is used to retrieve a list of all the available affiliate links.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>affiliate_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the affiliate. It is the api identifier for the affiliate.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","affiliate","links"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"a0d8b51d-2121-4077-9d0c-e743dae62f67","name":"Affiliate Links","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/affiliate/links?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","affiliate","links"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Jan 2023 07:15:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"78debd7b0d0859bb-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"2da-Et9xnzU+mkW06+WUklgtds8dl5w\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Vary","value":"Accept-Encoding, Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-exit","value":"success"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1674458148"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=LwJZO7mr9YMTUdgnatCXyreEI%2F6v9N3dYnPccJ1jmOXZuTcenY%2BvfQB1UAlylY25L9YhG1cyfSfArgA0KtSu5CIsQ0D6FWZ4h8TX9W%2F%2BnTL%2BN%2FtIL4lNdEgEDc2Qgbje1leANAg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Affiliate links data\",\n    \"data\": [\n        {\n            \"createdAt\": \"2022-12-26T07:27:25.514Z\",\n            \"updatedAt\": \"2022-12-26T07:27:25.514Z\",\n            \"id\": \"63a94cdd8ab0b159c0de2282\",\n            \"title\": \"test\",\n            \"target_url\": \"https://webhook.site/e288471b-acf4-432d-984a-f8627bac661b\",\n            \"affiliate_url\": \"https://payments.pabbly.com/api/affurl/kMR90sOMR9BDmqZ2n/GcZ0dEFwBSdQ05B9o?target=2ayT0DlIMGoTcBWo\"\n        },\n        {\n            \"createdAt\": \"2022-09-23T07:06:13.687Z\",\n            \"updatedAt\": \"2022-09-23T07:06:13.687Z\",\n            \"id\": \"632d5ae51602146112b87587\",\n            \"title\": \"Affiliate Plan USD\",\n            \"target_url\": \"https://payments.pabbly.com/subscribe/5ff6970b57b2331ca3011f98/affiliate-plan\",\n            \"affiliate_url\": \"https://payments.pabbly.com/api/affurl/kMR90sOMR9BDmqZ2n/GcZ0dEFwBSdQ05B9o?target=7m7Ki4652ohVqROo\"\n        }\n    ]\n}"}],"_postman_id":"03175ff7-5f78-4993-b749-79567cc5cb29"}],"id":"304159f9-da5f-4e84-8538-d27d3f2b750e","_postman_id":"304159f9-da5f-4e84-8538-d27d3f2b750e","description":""},{"name":"Commission Rules","item":[{"name":"Create Commission Rule","id":"996aa738-a1f0-437a-90fb-901350c1f3f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n  \"affiliate_id\": \"all\",\r\n  \"product_id\": \"624aa3503b0ba866b0cb79ec\",\r\n  \"plan_id\": \"selected_plans\",\r\n  \"plan_array\": [ \"650ed0ec88166235e3811234\", \"64e9a8e34f908138c5099583\" ],\r\n  \"rule_title\": \"console commission\",\r\n  \"first_amount\": 34,\r\n  \"first_amount_type\": \"percent\",\r\n  \"subscription_only\": true,\r\n  \"tiers\": [ { \"first_amount\": 30, \"rebill_amount\": 10 } ],\r\n  \"no_of_tiers\": 2,\r\n  \"rebill_amount_type\": \"percent\",\r\n  \"rebill_amount\": 12\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/affiliate/commissionrule/create","description":"<p>Creates a new commission record for the affiliate in existing invoice.</p>\n<p>StartFragment</p>\n<h2 id=\"attributes-\">Attributes :</h2>\n<p>EndFragm</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rule_title</td>\n<td>Required</td>\n<td>Add any commission rule name associated with your product, plan, and affiliate partner. This name is for your reference only.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Required</td>\n<td>You can add rules for all products or for individual products. Possible values \"all\" or \"{{product_id}}\"</td>\n</tr>\n<tr>\n<td>plan_id</td>\n<td>Required</td>\n<td>You can apply rules for all plans or for an individual plan. Possible values \"selected_plans\" or \"all_plans\"</td>\n</tr>\n<tr>\n<td>plan_array</td>\n<td>Optional</td>\n<td>Required if the plan_id is \"selected_plans\". Array of plan ids</td>\n</tr>\n<tr>\n<td>affiliate_id</td>\n<td>Required</td>\n<td>You can apply rules for all affiliates or for an individual affiliate. Possible values \"all\" or \"selected_affiliates\"</td>\n</tr>\n<tr>\n<td>subscription_only</td>\n<td>Optional</td>\n<td>Check if you want to apply commissions only to the subscription fee or addon fee and not to the setup fee.  <br />Possible values true or false.</td>\n</tr>\n<tr>\n<td>no_of_tiers</td>\n<td>Required</td>\n<td>You can set up multiple tiers by entering the number of tiers that you want to set up for your Affiliate program. Note: If you do not wish to set up the multi-tiers, keep the number of tiers as 1 by default.</td>\n</tr>\n<tr>\n<td>first_amount</td>\n<td>Required</td>\n<td>Commission for the first payment.</td>\n</tr>\n<tr>\n<td>first_amount_type</td>\n<td>Required</td>\n<td>You can set the affiliate commission as a flat amount or in percentage. Possible values \"flat\" or \"percent\"</td>\n</tr>\n<tr>\n<td>rebill_amount</td>\n<td>Required</td>\n<td>Commission for the second payment.</td>\n</tr>\n<tr>\n<td>rebill_amount_type</td>\n<td>Required</td>\n<td>You can set the affiliate commission as a flat amount or in percentage. Possible values \"flat\" or \"percent\"</td>\n</tr>\n<tr>\n<td>tiers</td>\n<td>Optional</td>\n<td>Required if no_of_tiers is greater than 0.  <br />You can set the commission rule for multi-tier affiliates either for first sale or recurring sales as well. The commission rule will always be in a percentage format.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","affiliate","commissionrule","create"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"de380415-473f-4ce5-b7bf-852cfe4b8c59","name":"Create Commission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n  \"affiliate_id\": \"all\",\r\n  \"product_id\": \"624aa3503b0ba866b0cb79ec\",\r\n  \"plan_id\": \"selected_plans\",\r\n  \"plan_array\": [ \"650ed0ec88166235e3811234\", \"64e9a8e34f908138c5099583\" ],\r\n  \"rule_title\": \"console commission\",\r\n  \"first_amount\": 34,\r\n  \"first_amount_type\": \"percent\",\r\n  \"subscription_only\": true,\r\n  \"tiers\": [ { \"first_amount\": 30, \"rebill_amount\": 10 } ],\r\n  \"no_of_tiers\": 2,\r\n  \"rebill_amount_type\": \"percent\",\r\n  \"rebill_amount\": 12\r\n}","options":{"raw":{"language":"json"}}},"url":"https://payments.pabbly.com/api/v1/commissions/create"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Commission rule created\",\r\n    \"data\": {\r\n        \"first_amount\": 34,\r\n        \"first_amount_type\": \"percent\",\r\n        \"subscription_only\": true,\r\n        \"tiers\": [\r\n            {\r\n                \"first_amount\": 30,\r\n                \"rebill_amount\": 10\r\n            }\r\n        ],\r\n        \"no_of_tiers\": 2,\r\n        \"rebill_amount_type\": \"percent\",\r\n        \"createdAt\": \"2023-10-11T12:10:49.433Z\",\r\n        \"updatedAt\": \"2023-10-11T12:10:49.433Z\",\r\n        \"rule_title\": \"console commission\",\r\n        \"affiliate_id\": \"all\",\r\n        \"product_id\": \"624aa3503b0ba866b0cb79ec\",\r\n        \"plan_id\": \"selected_plans\"\r\n    }\r\n}"}],"_postman_id":"996aa738-a1f0-437a-90fb-901350c1f3f5"}],"id":"be2a5b2a-8bb3-4641-8d33-b08ef51cdfd4","_postman_id":"be2a5b2a-8bb3-4641-8d33-b08ef51cdfd4","description":""}],"id":"83d93a26-d5d9-4d6c-abe1-ecde5804e86b","description":"<p>All the Affiliate Module related Pabbly Subscription API's will come here.</p>\n","event":[{"listen":"prerequest","script":{"id":"d7f0adb2-2213-4a9a-b3c0-5bddfa9487eb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7c815aaa-e322-4dae-ae98-e811f08f4de8","type":"text/javascript","exec":[""]}}],"_postman_id":"83d93a26-d5d9-4d6c-abe1-ecde5804e86b"},{"name":"Card","item":[{"name":"Get Add Card URL","id":"e2d107db-2b3e-4738-8f33-04940ba7abf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/add_card_url/{customer_id}?Subscription_id={subscription_id}","description":"<p>This API is fired with GET request.</p>\n<p>You will need to add the link and fire it with basic auth.</p>\n<p>In response you will get all the details like title name, target URL and so on.</p>\n","urlObject":{"protocol":"https","path":["api","v1","add_card_url","{customer_id}"],"host":["payments","pabbly","com"],"query":[{"description":{"content":"<p>Optional (It will attach the card with the subscription and will charge from this card.)</p>\n","type":"text/plain"},"key":"Subscription_id","value":"{subscription_id}"}],"variable":[]}},"response":[{"id":"f71e65ae-1c80-4bdc-a429-d3788d4b324a","name":"Get Add Card URL","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/add_card_url/{customer_id}?subscription_id={subscription_id}","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","add_card_url","{customer_id}"],"query":[{"key":"subscription_id","value":"{subscription_id}","description":"Optional (It will attach the card with the subscription and will charge from this card.)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 18 Feb 2021 10:34:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613644499"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"488-DetJg6HDp5KnA0OaIjSdDjyAV9U\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Add card url\",\n    \"data\": \"http://localhost:5000/add-card/5dccce50c58d3185c3b001c2f487f943:a719b078cec91d5757e4ee6f43e119f02c6f889c24f42e83c382f851b77b884948e11e306a3b88c86336ee6d9ebd176bc296ce6130e59d1a3213ef052527c495ccf5960880a30d787ecc16b8846c463e6cae8d4dcd870634bd1fd08cb3cab91b0da00b5c4159efe76f7743c7aab4e46c3e3076a1e72a62fe87c979556d6ffe5a\"\n}"}],"_postman_id":"e2d107db-2b3e-4738-8f33-04940ba7abf0"}],"id":"35ab29c4-9611-4417-9a63-868e2d363230","description":"<p>All the Affiliate Module related Pabbly Subscription API's will come here.</p>\n","event":[{"listen":"prerequest","script":{"id":"bd01f57a-4ddd-4fed-8eb2-94115d66677b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b096a076-fe92-49d2-ab92-21c96005725a","type":"text/javascript","exec":[""]}}],"_postman_id":"35ab29c4-9611-4417-9a63-868e2d363230"},{"name":"Credit","item":[{"name":"Add Credit","id":"7aebc903-0491-4b53-bf8b-2100eaa1d994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"url":"https://payments.pabbly.com/api/v1/subscription/credit/{subscription_id}/create","description":"<p>This API is fired with POST request.</p>\n<p>You will need to add the form data and fire it with basic auth.</p>\n<p>In response you will get all the details like how much credit amount is added for this subscription.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Required</td>\n<td>Add the amount that you want to add as a credit for this subscription.</td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>Required</td>\n<td>Add the reason for adding the credit for this subscription.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","credit","{subscription_id}","create"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ea438fdd-30fc-4f60-bf34-55d1193f3758","name":"Add Credit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": \"100\",\r\n    \"credit_note\": \"test\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/subscription/credit/{subscription_id}/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 18 Feb 2021 10:34:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613644499"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"488-DetJg6HDp5KnA0OaIjSdDjyAV9U\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Credit added successfully\",\n    \"data\": {\n        \"product_id\": \"5ff696ec57b2331ca3011f96\",\n        \"credit_note_id\": \"CN-32\",\n        \"used_days\": 0,\n        \"remaining_amount\": 100,\n        \"description\": \"test\",\n        \"createdAt\": \"2021-09-24T05:11:46.725Z\",\n        \"updatedAt\": \"2021-09-24T05:11:46.725Z\",\n        \"id\": \"614d5e1241dec57d69d7fea4\",\n        \"subscription_id\": \"614c733841dec57d69d7e7db\",\n        \"customer_id\": \"614c733741dec57d69d7e7d6\",\n        \"plan_id\": \"60012f1553dc266105c2ca0c\",\n        \"name\": \"Test Plan\",\n        \"quantity\": 1,\n        \"rate\": 100,\n        \"amount\": 100,\n        \"status\": \"open\",\n        \"used\": []\n    }\n}"}],"_postman_id":"7aebc903-0491-4b53-bf8b-2100eaa1d994"},{"name":"Deduct Credit","id":"6c0f8f80-d52c-4a52-8ea7-9b0788e2c93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": \"100\",\r\n    \"credit_note\": \"test\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/subscription/credit/{subscription_id}/deduct","description":"<p>This API is fired with POST request.</p>\n<p>You will need to add the form data and fire it with basic auth.</p>\n<p>In response you will get all the details like how much credit amount is added for this subscription.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Required</td>\n<td>Add the amount that you want to add as a credit for this subscription.</td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>Required</td>\n<td>Add the reason for adding the credit for this subscription.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","subscription","credit","{subscription_id}","deduct"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"0f21bff2-2c3b-4728-91c9-ffb611208c8d","name":"Deduct Credit","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": \"100\",\r\n    \"credit_note\": \"test\"\r\n}"},"url":"https://payments.pabbly.com/api/v1/subscription/credit/{subscription_id}/deduct"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 18 Feb 2021 10:34:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-RateLimit-Limit","value":"50"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"1613644499"},{"key":"X-Powered-By","value":"Sails <sailsjs.com>"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Exit","value":"success"},{"key":"ETag","value":"W/\"488-DetJg6HDp5KnA0OaIjSdDjyAV9U\""},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Credit deducted successfully\",\n    \"data\": [\n        {\n            \"product_id\": \"5ff696ec57b2331ca3011f96\",\n            \"credit_note_id\": \"CN-32\",\n            \"used_days\": 0,\n            \"remaining_amount\": 0,\n            \"description\": \"test\",\n            \"createdAt\": \"2021-09-24T05:11:46.725Z\",\n            \"updatedAt\": \"2021-09-24T05:27:59.585Z\",\n            \"id\": \"614d5e1241dec57d69d7fea4\",\n            \"subscription_id\": \"614c733841dec57d69d7e7db\",\n            \"customer_id\": \"614c733741dec57d69d7e7d6\",\n            \"plan_id\": \"60012f1553dc266105c2ca0c\",\n            \"name\": \"Test Plan\",\n            \"quantity\": 1,\n            \"rate\": 100,\n            \"amount\": 100,\n            \"status\": \"close\",\n            \"used\": [\n                {\n                    \"transaction_id\": \"614d61df41dec57d69d7fef8\",\n                    \"used_credit\": 100,\n                    \"createdAt\": \"2021-09-24T05:27:59.5959+00:00\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"6c0f8f80-d52c-4a52-8ea7-9b0788e2c93b"}],"id":"a85d5a9d-3b0e-4336-bbf4-1edd9659ba9b","description":"<p>All the Affiliate Module related Pabbly Subscription API's will come here.</p>\n","event":[{"listen":"prerequest","script":{"id":"f0f40f9b-b5c6-426d-b740-68cefa9367c4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7a4e58de-1897-41aa-b18c-94619e41216a","type":"text/javascript","exec":[""]}}],"_postman_id":"a85d5a9d-3b0e-4336-bbf4-1edd9659ba9b"},{"name":"Multiplan","item":[{"name":"Get Multiplan Details","id":"2adad39c-837e-49b9-8155-685e922ff0e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/multiplans/{multiplan_id}","urlObject":{"protocol":"https","path":["api","v1","multiplans","{multiplan_id}"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"66151840-b0bc-4108-b5d7-673bb5a3fab2","name":"Get Multiplan Details","originalRequest":{"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/multiplans/627ceb4584f5271bd9cf30c1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 28 May 2022 12:18:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7126eecbaf7b5722-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"c39-QcBu10a3aE42gFAw9sGCkXkHvqo\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-exit","value":"success"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1653740307"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=kZqy7d6sz%2FRWEPKand%2BpDKRW04ujkR60BBl5OVk%2FY1KoHfzx5KlbGXfubS2MyjMF8apMjtHlZs3GkbhOnpvLI7cm0BobBQglL3Zm0jmg8r%2BJLDxnE1tqRySi6MGa3gOt2NS8UXI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Multi plan\",\n    \"data\": {\n        \"product_id\": \"61a21b098c4b5732e5a3437d\",\n        \"multiplan_list\": \"radio\",\n        \"page_title\": \"Multiplan\",\n        \"createdAt\": \"2022-05-12T11:11:01.224Z\",\n        \"updatedAt\": \"2022-05-12T11:11:01.224Z\",\n        \"id\": \"627ceb4584f5271bd9cf30c1\",\n        \"plans\": [\n            {\n                \"plan_type\": \"per_unit\",\n                \"plan_active\": \"true\",\n                \"failed_payment_gateway\": \"\",\n                \"failed_payment_gateway_array\": [],\n                \"setup_fee_type\": \"\",\n                \"trial_type\": \"day\",\n                \"createdAt\": \"2022-03-09T05:23:03.077Z\",\n                \"updatedAt\": \"2022-05-27T11:29:29.653Z\",\n                \"id\": \"622839b7afb3423000003b03\",\n                \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                \"plan_name\": \"Test (Inclusive Tax)\",\n                \"plan_code\": \"test\",\n                \"price\": 156,\n                \"billing_period\": \"y\",\n                \"billing_period_num\": \"1\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul>\"\n            },\n            {\n                \"plan_type\": \"flat_fee\",\n                \"plan_active\": \"true\",\n                \"createdAt\": \"2022-01-13T05:59:04.929Z\",\n                \"updatedAt\": \"2022-01-13T05:59:04.929Z\",\n                \"id\": \"61dfbfa8fa581f51d7549b37\",\n                \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                \"plan_name\": \"Euro\",\n                \"plan_code\": \"euro\",\n                \"price\": 1,\n                \"billing_period\": \"\",\n                \"billing_period_num\": \"\",\n                \"billing_cycle\": \"onetime\",\n                \"billing_cycle_num\": null,\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2022/1/vALD37H8p2Da-1641474041-chair.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li></ul><p><br></p>\"\n            },\n            {\n                \"plan_type\": \"donation\",\n                \"plan_active\": \"true\",\n                \"failed_payment_gateway\": \"\",\n                \"failed_payment_gateway_array\": [],\n                \"setup_fee_type\": \"\",\n                \"trial_type\": \"day\",\n                \"createdAt\": \"2021-12-10T12:24:23.935Z\",\n                \"updatedAt\": \"2022-05-04T13:10:32.903Z\",\n                \"id\": \"61b346f7e5dc2f756b928943\",\n                \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                \"plan_name\": \"custom field test\",\n                \"plan_code\": \"custom-field-test\",\n                \"price\": 10,\n                \"billing_period\": \"\",\n                \"billing_period_num\": \"\",\n                \"billing_cycle\": \"onetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"\"\n            },\n            {\n                \"plan_type\": \"per_unit\",\n                \"plan_active\": \"true\",\n                \"failed_payment_gateway\": \"\",\n                \"failed_payment_gateway_array\": [],\n                \"setup_fee_type\": \"\",\n                \"trial_type\": \"day\",\n                \"createdAt\": \"2021-11-27T11:48:46.257Z\",\n                \"updatedAt\": \"2022-05-27T11:32:50.477Z\",\n                \"id\": \"61a21b1e8c4b5732e5a3437e\",\n                \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                \"plan_name\": \"update\",\n                \"plan_code\": \"testing-plan-\",\n                \"price\": 264,\n                \"billing_period\": \"y\",\n                \"billing_period_num\": \"2\",\n                \"billing_cycle\": \"lifetime\",\n                \"billing_cycle_num\": \"\",\n                \"trial_period\": 0,\n                \"setup_fee\": 0,\n                \"plan_description\": \"\"\n            }\n        ],\n        \"checkout_page\": \"https://payments.pabbly.com/checkout/627ceb4584f5271bd9cf30c1\"\n    }\n}"}],"_postman_id":"2adad39c-837e-49b9-8155-685e922ff0e4"},{"name":"List All Multiplans","id":"06bf21a5-a752-4ab1-a73e-8fe2164fe526","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/multiplans","description":"<p>This API is used to retrieve a list of all the available multiplans.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n<tr>\n<td>product_id</td>\n<td>Optional</td>\n<td>Uniquely identifies the product. It is the api identifier for the product.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","multiplans"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"c019d5e4-fe9c-4c4c-a8a5-9f7226297295","name":"List All Multiplans","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/multiplans","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","multiplans"],"query":[{"key":"product_id","value":"{product_id}","description":"Optional","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 28 May 2022 12:19:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7126f0f2aa2f7fbb-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"197c-jVlueQXQ+KYgjpHkd9XvhfeF10o\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-exit","value":"success"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1653740395"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZynoRKI1Nuh0CF82GQlOmLLhW%2FkEULBOK9J%2FR6AACQKxVNntOlNAr8Wv7nDTCgS2nkxQWwGu2D0DzV7OCFzZGqMadqIIHY1KnqOwt%2FIrU01wsWK4J8xZyq%2FK3fUXDjiBVZnAF3s%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Multi plans\",\n    \"data\": [\n        {\n            \"product_id\": \"5ff696ec57b2331ca3011f96\",\n            \"multiplan_list\": \"radio\",\n            \"page_title\": \"Checkout page\",\n            \"preferred_plan_id\": \"60012f1553dc266105c2ca0c\",\n            \"createdAt\": \"2021-06-18T13:04:54.345Z\",\n            \"updatedAt\": \"2021-06-18T13:04:54.345Z\",\n            \"id\": \"60cc99f6d7dcbf7e9acddab0\",\n            \"plans\": [\n                {\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"plan_type\": \"per_unit\",\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2021-01-09T06:46:57.634Z\",\n                    \"updatedAt\": \"2021-11-29T11:23:13.339Z\",\n                    \"id\": \"5ff95161f863294e0d7df8e4\",\n                    \"product_id\": \"5ff696ec57b2331ca3011f96\",\n                    \"plan_name\": \"Test\",\n                    \"plan_code\": \"test\",\n                    \"price\": 1000,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                },\n                {\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"plan_type\": \"per_unit\",\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2021-01-15T05:58:45.035Z\",\n                    \"updatedAt\": \"2022-02-01T10:39:20.309Z\",\n                    \"id\": \"60012f1553dc266105c2ca0c\",\n                    \"product_id\": \"5ff696ec57b2331ca3011f96\",\n                    \"plan_name\": \"Lower PLan\",\n                    \"plan_code\": \"lower-plan\",\n                    \"price\": 100,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<ol><li>hellow</li><li>world</li></ol>\"\n                },\n                {\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"createdAt\": \"2021-01-15T05:58:17.366Z\",\n                    \"updatedAt\": \"2021-06-08T05:35:50.275Z\",\n                    \"id\": \"60012ef953dc266105c2ca0b\",\n                    \"product_id\": \"5ff696ec57b2331ca3011f96\",\n                    \"plan_name\": \"Higher Plan\",\n                    \"plan_code\": \"higher-plan\",\n                    \"price\": 1000,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                }\n            ],\n            \"checkout_page\": \"https://payments.pabbly.com/checkout/60cc99f6d7dcbf7e9acddab0\"\n        },\n        {\n            \"product_id\": \"600148ec53dc266105c2d567\",\n            \"multiplan_list\": \"select\",\n            \"page_title\": \"Multiplan Test\",\n            \"createdAt\": \"2021-06-18T13:05:56.231Z\",\n            \"updatedAt\": \"2022-02-18T06:32:00.483Z\",\n            \"id\": \"60cc9a34d7dcbf7e9acddab4\",\n            \"plans\": [\n                {\n                    \"plan_active\": \"true\",\n                    \"createdAt\": \"2021-01-25T06:39:24.744Z\",\n                    \"updatedAt\": \"2021-03-08T05:13:30.034Z\",\n                    \"id\": \"600e679ce72183578f82f713\",\n                    \"product_id\": \"600148ec53dc266105c2d567\",\n                    \"plan_name\": \"renew test\",\n                    \"plan_code\": \"renew-test\",\n                    \"price\": 20,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                },\n                {\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"plan_type\": \"per_unit\",\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2021-01-25T05:44:10.686Z\",\n                    \"updatedAt\": \"2022-02-23T10:02:53.524Z\",\n                    \"id\": \"600e5aaae72183578f82f665\",\n                    \"product_id\": \"600148ec53dc266105c2d567\",\n                    \"plan_name\": \"renew plan\",\n                    \"plan_code\": \"renew-plan\",\n                    \"price\": 20,\n                    \"billing_period\": \"m\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 1,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                },\n                {\n                    \"plan_active\": \"true\",\n                    \"createdAt\": \"2021-01-15T08:00:36.502Z\",\n                    \"updatedAt\": \"2021-01-15T08:00:36.502Z\",\n                    \"id\": \"60014ba453dc266105c2d69f\",\n                    \"product_id\": \"600148ec53dc266105c2d567\",\n                    \"plan_name\": \"plan1\",\n                    \"plan_code\": \"plan1\",\n                    \"price\": 10,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                }\n            ],\n            \"checkout_page\": \"https://payments.pabbly.com/checkout/60cc9a34d7dcbf7e9acddab4\"\n        },\n        {\n            \"product_id\": \"61a21b098c4b5732e5a3437d\",\n            \"multiplan_list\": \"radio\",\n            \"page_title\": \"Multiplan\",\n            \"createdAt\": \"2022-05-12T11:11:01.224Z\",\n            \"updatedAt\": \"2022-05-12T11:11:01.224Z\",\n            \"id\": \"627ceb4584f5271bd9cf30c1\",\n            \"plans\": [\n                {\n                    \"plan_type\": \"per_unit\",\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2022-03-09T05:23:03.077Z\",\n                    \"updatedAt\": \"2022-05-27T11:29:29.653Z\",\n                    \"id\": \"622839b7afb3423000003b03\",\n                    \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                    \"plan_name\": \"Test (Inclusive Tax)\",\n                    \"plan_code\": \"test\",\n                    \"price\": 156,\n                    \"billing_period\": \"y\",\n                    \"billing_period_num\": \"1\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2022/2/Y9fZRFgdHKIR-1643959680-PlandescriptionImage.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li><li>Image size should be 400W x 250H, Max Size - 100kb.</li></ul>\"\n                },\n                {\n                    \"plan_type\": \"flat_fee\",\n                    \"plan_active\": \"true\",\n                    \"createdAt\": \"2022-01-13T05:59:04.929Z\",\n                    \"updatedAt\": \"2022-01-13T05:59:04.929Z\",\n                    \"id\": \"61dfbfa8fa581f51d7549b37\",\n                    \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                    \"plan_name\": \"Euro\",\n                    \"plan_code\": \"euro\",\n                    \"price\": 1,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": null,\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"<p>This is the test plan description.</p><p><br></p><p><img src=\\\"https://s3-us-west-2.amazonaws.com/pabbly/product/images/2022/1/vALD37H8p2Da-1641474041-chair.png\\\"></p><p><br></p><p>From the checkout customizer,</p><p><br></p><ul><li>You can change the bullet type.</li><li>You can change list style.</li><li>You can change text size</li><li>You can change the bullet color.</li></ul><p><br></p>\"\n                },\n                {\n                    \"plan_type\": \"donation\",\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2021-12-10T12:24:23.935Z\",\n                    \"updatedAt\": \"2022-05-04T13:10:32.903Z\",\n                    \"id\": \"61b346f7e5dc2f756b928943\",\n                    \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                    \"plan_name\": \"custom field test\",\n                    \"plan_code\": \"custom-field-test\",\n                    \"price\": 10,\n                    \"billing_period\": \"\",\n                    \"billing_period_num\": \"\",\n                    \"billing_cycle\": \"onetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                },\n                {\n                    \"plan_type\": \"per_unit\",\n                    \"plan_active\": \"true\",\n                    \"failed_payment_gateway\": \"\",\n                    \"failed_payment_gateway_array\": [],\n                    \"setup_fee_type\": \"\",\n                    \"trial_type\": \"day\",\n                    \"createdAt\": \"2021-11-27T11:48:46.257Z\",\n                    \"updatedAt\": \"2022-05-27T11:32:50.477Z\",\n                    \"id\": \"61a21b1e8c4b5732e5a3437e\",\n                    \"product_id\": \"61a21b098c4b5732e5a3437d\",\n                    \"plan_name\": \"update\",\n                    \"plan_code\": \"testing-plan-\",\n                    \"price\": 264,\n                    \"billing_period\": \"y\",\n                    \"billing_period_num\": \"2\",\n                    \"billing_cycle\": \"lifetime\",\n                    \"billing_cycle_num\": \"\",\n                    \"trial_period\": 0,\n                    \"setup_fee\": 0,\n                    \"plan_description\": \"\"\n                }\n            ],\n            \"checkout_page\": \"https://payments.pabbly.com/checkout/627ceb4584f5271bd9cf30c1\"\n        }\n    ]\n}"}],"_postman_id":"06bf21a5-a752-4ab1-a73e-8fe2164fe526"}],"id":"5699ce3b-6053-4088-b755-6aded71cd28a","_postman_id":"5699ce3b-6053-4088-b755-6aded71cd28a","description":""},{"name":"Payment Gateway","item":[{"name":"List All Payment Gateways","id":"0a9b6292-1fe1-457e-a634-1f4451319b64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"url":"https://payments.pabbly.com/api/v1/paymentgateways","description":"<p>This API is used to retrieve a list of all the available payment gateways.</p>\n<h4 id=\"input-parameters\">INPUT PARAMETERS</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Optional</td>\n<td>Integer, default=10, min=1, max=100  <br />The number of resources to be returned.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Optional</td>\n<td>By default first page will be listed. For navigating through pages, use the page parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","paymentgateways"],"host":["payments","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e444899b-366f-4700-b3fb-d097d3a54d58","name":"List All Payment Gateway","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://payments.pabbly.com/api/v1/paymentgateways?limit=10&page=1","protocol":"https","host":["payments","pabbly","com"],"path":["api","v1","paymentgateways"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 15 Sep 2022 07:48:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"74afc204ef437fc4-IAD"},{"key":"Cache-Control","value":"no-store"},{"key":"ETag","value":"W/\"205d-2vkLv1aV4w2/OwsX9T8k3Gd89a8\""},{"key":"Set-Cookie","value":"SameSite=None; Secure"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"access-control-allow-credentials","value":"true"},{"key":"cf-apo-via","value":"origin,host"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-exit","value":"success"},{"key":"x-powered-by","value":"Sails <sailsjs.com>"},{"key":"x-ratelimit-limit","value":"40"},{"key":"x-ratelimit-remaining","value":"39"},{"key":"x-ratelimit-reset","value":"1663228086"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K3WgBsDVVYi6Vt7SIm9MJxxNWkdldPVrm9bpFsnL2zIZZrPmyO6sMTH5Y8mE3ezTtKPKU4DCgVVGzhAVONmMLgMSmNeReb%2F3mk%2FLknN1l5R7cVfgmJzeJ3StnHwNHfsipr3bS98%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Gateway data\",\n    \"data\": [\n        {\n            \"createdAt\": \"2021-01-25T06:43:50.905Z\",\n            \"updatedAt\": \"2022-04-23T08:37:35.654Z\",\n            \"id\": \"600e68a6e72183578f82f73c\",\n            \"gateway_name\": \"Stripe Gateway\",\n            \"gateway_type\": \"stripe\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2021-01-25T06:46:52.621Z\",\n            \"updatedAt\": \"2021-12-11T05:48:58.191Z\",\n            \"id\": \"600e695ce72183578f82f74d\",\n            \"gateway_name\": \"My Paypal Gateway US\",\n            \"gateway_type\": \"paypal\",\n            \"gateway_status\": true\n        },\n        {\n            \"custom_gateway_type\": \"custom\",\n            \"gateway_url\": \"https://payments.pabbly.com/paymentgateway/authorizedotnet/\",\n            \"createdAt\": \"2021-03-05T07:27:00.025Z\",\n            \"updatedAt\": \"2021-12-11T05:46:18.592Z\",\n            \"id\": \"6041dd44f299e63c79922cba\",\n            \"gateway_name\": \"Custom\",\n            \"gateway_type\": \"custom\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"adyen\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIxNDk4Ig_3D_3D\",\n            \"createdAt\": \"2021-04-09T10:44:32.201Z\",\n            \"updatedAt\": \"2021-04-09T10:44:32.201Z\",\n            \"id\": \"607030107de93e2da894164d\",\n            \"gateway_name\": \"Adyen\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"payhere\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIxMDAzIg_3D_3D\",\n            \"createdAt\": \"2021-04-09T11:46:50.969Z\",\n            \"updatedAt\": \"2021-12-11T09:37:14.548Z\",\n            \"id\": \"60703eaa7de93e2da894164e\",\n            \"gateway_name\": \"PayHere\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"flutterwave\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIxNDg1Ig_3D_3D\",\n            \"createdAt\": \"2021-04-09T14:19:48.285Z\",\n            \"updatedAt\": \"2021-04-09T14:19:48.285Z\",\n            \"id\": \"60706284626a411e4cdccb82\",\n            \"gateway_name\": \"Flutterwave\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"spektra\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIyMjcwIg_3D_3D\",\n            \"createdAt\": \"2021-04-09T14:19:57.165Z\",\n            \"updatedAt\": \"2021-04-09T14:19:57.165Z\",\n            \"id\": \"6070628d626a411e4cdccb83\",\n            \"gateway_name\": \"Spektra\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"2c2p\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI0MDM3Ig_3D_3D\",\n            \"createdAt\": \"2021-04-09T14:34:44.872Z\",\n            \"updatedAt\": \"2021-04-09T14:34:44.872Z\",\n            \"id\": \"60706604626a411e4cdccb84\",\n            \"gateway_name\": \"2C2P\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"gb-prime-pay\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI1NzMwIg_3D_3D\",\n            \"createdAt\": \"2021-04-10T06:57:27.513Z\",\n            \"updatedAt\": \"2021-04-10T06:57:27.513Z\",\n            \"id\": \"60714c57e16fcc24242e2a24\",\n            \"gateway_name\": \"GB Prime Pay\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"qlick-n-pay\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI0NzUyIg_3D_3D\",\n            \"createdAt\": \"2021-04-10T09:25:49.853Z\",\n            \"updatedAt\": \"2021-04-10T09:25:49.853Z\",\n            \"id\": \"60716f1d370be5282412b2b1\",\n            \"gateway_name\": \"Qlick n Pay\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"mercadopago\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI1NzYzIg_3D_3D\",\n            \"createdAt\": \"2021-04-10T09:29:28.437Z\",\n            \"updatedAt\": \"2021-04-10T09:29:28.437Z\",\n            \"id\": \"60716ff8370be5282412b2b2\",\n            \"gateway_name\": \"MercadoPago\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"mollie\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIxMjA4Ig_3D_3D\",\n            \"createdAt\": \"2021-04-10T09:34:56.016Z\",\n            \"updatedAt\": \"2021-04-10T09:34:56.016Z\",\n            \"id\": \"60717140370be5282412b2b3\",\n            \"gateway_name\": \"Mollie\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2021-04-30T08:00:24.006Z\",\n            \"updatedAt\": \"2022-09-03T12:44:23.337Z\",\n            \"id\": \"608bb918996ba815ec7ac5b5\",\n            \"gateway_name\": \"Testing Gateway\",\n            \"gateway_type\": \"test\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2021-05-08T06:54:50.951Z\",\n            \"updatedAt\": \"2021-05-08T06:54:50.951Z\",\n            \"id\": \"609635ba052fff38dcde9413\",\n            \"gateway_name\": \"Paypal 2\",\n            \"gateway_type\": \"paypal\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2021-05-08T07:16:44.279Z\",\n            \"updatedAt\": \"2021-05-08T07:16:44.279Z\",\n            \"id\": \"60963adc052fff38dcde946d\",\n            \"gateway_name\": \"Paypal\",\n            \"gateway_type\": \"paypal\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2021-07-05T09:19:28.243Z\",\n            \"updatedAt\": \"2022-08-13T11:03:01.676Z\",\n            \"id\": \"60e2cea0dcbb4a7b23c3159b\",\n            \"gateway_name\": \"My Stripe\",\n            \"gateway_type\": \"stripe\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"ipaymu\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIyODg2Ig_3D_3D\",\n            \"createdAt\": \"2021-07-12T06:29:50.050Z\",\n            \"updatedAt\": \"2021-07-12T06:29:50.050Z\",\n            \"id\": \"60ebe15eddc0391bbc53c5ee\",\n            \"gateway_name\": \"iPaymu\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"custom_gateway_type\": \"authorize\",\n            \"gateway_url\": \"https://payments.pabbly.com/paymentgateway/authorizedotnet/\",\n            \"createdAt\": \"2021-07-15T10:54:59.039Z\",\n            \"updatedAt\": \"2021-07-15T10:54:59.039Z\",\n            \"id\": \"60f0140341191f43bcae57c2\",\n            \"gateway_name\": \"Authorize\",\n            \"gateway_type\": \"custom\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"toyyibpay\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI1ODIzIg_3D_3D\",\n            \"createdAt\": \"2021-09-02T12:47:07.293Z\",\n            \"updatedAt\": \"2021-09-02T12:47:07.293Z\",\n            \"id\": \"6130c7cbf081b84a88e9a903\",\n            \"gateway_name\": \"toyyibPay\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"paytabs\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI1MzEyIg_3D_3D\",\n            \"createdAt\": \"2021-09-06T07:08:36.831Z\",\n            \"updatedAt\": \"2021-09-06T07:08:36.831Z\",\n            \"id\": \"6135be74cf91f4682b6c0e60\",\n            \"gateway_name\": \"PayTabs\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"paddle\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjE4NzQ5MyI_3D\",\n            \"createdAt\": \"2021-11-22T04:54:41.081Z\",\n            \"updatedAt\": \"2021-11-22T04:54:41.081Z\",\n            \"id\": \"619b22912cd4763cbc7bcbf0\",\n            \"gateway_name\": \"Paddle\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"instamojo\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIwMTIxIg_3D_3D\",\n            \"createdAt\": \"2021-12-04T06:49:34.661Z\",\n            \"updatedAt\": \"2021-12-11T05:45:39.549Z\",\n            \"id\": \"61ab0f7e5baede288f809b6b\",\n            \"gateway_name\": \"InstaMojo\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"payfast\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIwOTY0Ig_3D_3D\",\n            \"createdAt\": \"2022-02-04T13:18:35.833Z\",\n            \"updatedAt\": \"2022-02-04T13:18:35.833Z\",\n            \"id\": \"61fd27ab75b78f74c9a3696f\",\n            \"gateway_name\": \"PayFast\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"custom_gateway_type\": \"razorpay_subscription\",\n            \"gateway_url\": null,\n            \"createdAt\": \"2022-02-28T11:41:36.110Z\",\n            \"updatedAt\": \"2022-02-28T11:41:36.110Z\",\n            \"id\": \"621cb4f08462754f6d4abc26\",\n            \"gateway_name\": \"My Razorpay Subscription\",\n            \"gateway_type\": \"custom\",\n            \"gateway_status\": true\n        },\n        {\n            \"custom_gateway_type\": \"razorpay\",\n            \"gateway_url\": \"https://payments.pabbly.com/paymentgateway/razorpay-v1/\",\n            \"createdAt\": \"2022-03-12T13:09:44.141Z\",\n            \"updatedAt\": \"2022-08-24T12:34:44.768Z\",\n            \"id\": \"622c9b9849a2a7270abdbd28\",\n            \"gateway_name\": \"Razorpay Onetime\",\n            \"gateway_type\": \"custom\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"paddle\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjE4NzQ5MyI_3D\",\n            \"createdAt\": \"2022-03-15T12:37:53.778Z\",\n            \"updatedAt\": \"2022-03-15T12:37:53.778Z\",\n            \"id\": \"623088a1b843325d2da801a6\",\n            \"gateway_name\": \"Paddle Pabbly\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"custom_gateway_type\": \"authorize\",\n            \"gateway_url\": \"https://payments.pabbly.com/paymentgateway/authorizedotnet/\",\n            \"createdAt\": \"2022-03-26T12:14:34.846Z\",\n            \"updatedAt\": \"2022-03-26T12:14:34.846Z\",\n            \"id\": \"623f03aa018cd220e3aca314\",\n            \"gateway_name\": \"My Authorize\",\n            \"gateway_type\": \"custom\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"quickpay\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjIyODMzIg_3D_3D\",\n            \"createdAt\": \"2022-03-28T07:53:03.301Z\",\n            \"updatedAt\": \"2022-03-28T07:53:03.301Z\",\n            \"id\": \"6241695fa8bbf14d7f8f63f2\",\n            \"gateway_name\": \"QuickPay Azhsr\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"connect_gateway_type\": \"sslcommerz\",\n            \"gateway_url\": \"https://connect.pabbly.com/workflow/sendwebhookdata/IjI3MTM3Ig_3D_3D\",\n            \"createdAt\": \"2022-03-30T11:38:22.087Z\",\n            \"updatedAt\": \"2022-03-30T11:38:22.087Z\",\n            \"id\": \"6244412e27c67032b8770372\",\n            \"gateway_name\": \"SSLCOMMERZ\",\n            \"gateway_type\": \"connect\",\n            \"gateway_status\": true\n        },\n        {\n            \"createdAt\": \"2022-08-01T08:14:01.447Z\",\n            \"updatedAt\": \"2022-08-01T08:14:01.447Z\",\n            \"id\": \"62e78b49a849ae6d0afc67df\",\n            \"gateway_name\": \"Offline\",\n            \"gateway_type\": \"offline\",\n            \"gateway_status\": true\n        }\n    ]\n}"}],"_postman_id":"0a9b6292-1fe1-457e-a634-1f4451319b64"}],"id":"0035f11e-3462-4da5-b31b-cc4d134b72f0","_postman_id":"0035f11e-3462-4da5-b31b-cc4d134b72f0","description":""}],"id":"7d728c89-043b-4ab2-bea9-155a6b32c836","description":"<p>The REST Admin API lets you fire internal actions and intergation with different apps.<br />Our API supports all the HTTP requesting for calling an action.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the API uses <code>Basic Auth</code> as authorization channel.</p>\n<p><code>Username</code> : <strong>API Key</strong> from your Pabbly Subscription Account</p>\n<p><code>Password</code> : <strong>Secret Key</strong> from your Pabbly Subscription Account</p>\n<p><strong>Location of API Key in Pabbly Subscriptions account -</strong></p>\n<p>From your accounts dashboard go to;</p>\n<p><strong>Settings -&gt; API Settings -&gt; Generate the Keys</strong></p>\n<img src=\"https://www.pabbly.com/wp-content/uploads/2020/03/Pabbly-API.png\" alt=\"API Key\" />\n\n<p><strong>Note</strong> - The Get request API does not contain any form data</p>\n","event":[{"listen":"prerequest","script":{"id":"9d6b5ae5-12bb-4b61-b4ff-a716965c99f0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c4351b0b-9864-42ee-96f7-9d9082b7b135","type":"text/javascript","exec":[""]}}],"_postman_id":"7d728c89-043b-4ab2-bea9-155a6b32c836"},{"name":"Pabbly Hook","item":[{"name":"Folder","item":[{"name":"Create Folder","id":"3396ca21-e032-490f-a136-001576252d7b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"sample\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/folders","urlObject":{"protocol":"https","path":["api","v1","folders"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3396ca21-e032-490f-a136-001576252d7b"},{"name":"Get All Folders","id":"c6c0e9ec-c61d-4134-a0a7-fa51634f0c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/folders","urlObject":{"protocol":"https","path":["api","v1","folders"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6c0e9ec-c61d-4134-a0a7-fa51634f0c0e"},{"name":"Rename Folder Name","id":"006e96d3-7f3b-4e6a-a742-61003cc0fef5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"subfolder 5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/folders/rename/664ef8fd7db74e5fd61ae0ad","urlObject":{"protocol":"https","path":["api","v1","folders","rename","664ef8fd7db74e5fd61ae0ad"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"006e96d3-7f3b-4e6a-a742-61003cc0fef5"},{"name":"Move Connection From Folder","id":"4d421cde-662e-4a42-ac5e-77b6c3b9cc9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"connectionIds\": [\"conn_4d2890e85bc340b3be31406456a1a7a6\"],\r\n  \"fromFolderId\": \"664ef7516cf2e1f425971214\",\r\n  \"toFolderId\": \"664edfc3b2be40a4309362be\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/folders/move-connection","urlObject":{"protocol":"https","path":["api","v1","folders","move-connection"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d421cde-662e-4a42-ac5e-77b6c3b9cc9e"},{"name":"Delete Folder And Move Connections to Home Folder","id":"135a8025-dbef-4a19-b749-aaad237ba53f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"DELETE","header":[],"url":"https://hook.pabbly.com/api/v1/folders/664ef8fd7db74e5fd61ae0ad","urlObject":{"protocol":"https","path":["api","v1","folders","664ef8fd7db74e5fd61ae0ad"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"135a8025-dbef-4a19-b749-aaad237ba53f"}],"id":"3f3024e2-3afd-42dd-af14-db280d639a62","auth":{"type":"basic","basic":{},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e179062a-966d-4237-b395-37225e05819c","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"06387ac9-179c-4c41-8f1d-d16cb991d105","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"3f3024e2-3afd-42dd-af14-db280d639a62","description":""},{"name":"Connection","item":[{"name":"Create Connection","id":"4f7751ec-b38d-43ab-875d-a2096692fef8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Create Custom Response for test 1\",\r\n    \"folder_id\": \"67592783069f7717b89ba992\",\r\n    \"source\": {\r\n        \"allowed_http_methods\": [\r\n            \"PUT\",\r\n            \"POST\"\r\n        ],\r\n        \"custom_response\": {\r\n            \"status\": \"active\",\r\n            \"content_type\": \"text/plain\",\r\n            \"content\": {\r\n                \"name\": \"$request.query.name$\",\r\n                \"details\": {\r\n                    \"age\": \"$request.query.age$\"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    \"destination\": {\r\n        \"url\": \"https://webhook.site/60e71a16-e9fe-4bb0-b906-35f66277ddd1\",\r\n        \"rate_limit\": 4,\r\n        \"rate_limit_period\": \"minute\",\r\n        \"http_method\": \"POST\"\r\n    },\r\n    \"retry\": {\r\n        \"status\": \"active\",\r\n        \"limit\": 5,\r\n        \"interval\": 1,\r\n        \"time_limit_period\": \"minute\",\r\n        \"strategy\": \"linear\"\r\n    },\r\n    \"delay\": {\r\n        \"status\": \"inactive\",\r\n        \"interval\": 0\r\n    },\r\n    \"trs_id\": \"trs_672cade8d3adcf3a0d314b1b\",\r\n    \"filter\": {\r\n        \"status\": \"active\",\r\n        \"body\": {\r\n            \"amount\": {\r\n                \"$gt\": 100\r\n            },\r\n            \"category\": {\r\n                \"$eq\": \"electronics\"\r\n            }\r\n        },\r\n        \"headers\": {\r\n           \"content_type\": \"text/plain\"\r\n        },\r\n        \"query\": {\r\n            \"param1\": \"value1\",\r\n            \"param2\": \"value2\"\r\n        },\r\n        \"path\": \"/webhook/\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/connections","urlObject":{"protocol":"https","path":["api","v1","connections"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f7751ec-b38d-43ab-875d-a2096692fef8"},{"name":"Update Connection","id":"e3c8c0f3-52ed-48b2-80d7-473015dc07b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Sample\",\r\n    \"source\": {\r\n        \"allowed_http_methods\": [\r\n            \"PUT\",\r\n            \"POST\",\r\n            \"GET\"\r\n        ],\r\n        \"custom_response\": {\r\n            \"status\": \"active\",\r\n            \"content_type\": \"text/plain\",\r\n            \"content\": {\r\n                \"name\": \"$request.query.name$\",\r\n                \"details\": {\r\n                    \"age\": \"$request.query.age$\"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    \"destination\": {\r\n        \"url\": \"https://webhook.site/60e71a16-e9fe-4bb0-b906-35f66277ddd1\",\r\n        \"rate_limit\": 1,\r\n        \"rate_limit_period\": \"minute\",\r\n        \"http_method\": \"GET\"\r\n    },\r\n    \"retry\": {\r\n        \"status\": \"active\",\r\n        \"limit\": 5,\r\n        \"interval\": 1,\r\n        \"time_limit_period\": \"minute\",\r\n        \"strategy\": \"linear\"\r\n    },\r\n    \"delay\": {\r\n        \"status\": \"active\",\r\n        \"interval\": 1,\r\n        \"time_limit_period\": \"minute\"\r\n    },\r\n    \"trs_id\": \"trs_672cade8d3adcf3a0d314b1b\",\r\n    \"filter\": {\r\n        \"status\": \"active\",\r\n        \"body\": {\r\n            \"amount\": {\r\n                \"$gt\": 100\r\n            },\r\n            \"category\": {\r\n                \"$eq\": \"electronics\"\r\n            }\r\n        },\r\n        \"headers\": {\r\n            \"content_type\": \"text/plain\"\r\n        },\r\n        \"query\": {\r\n            \"param1\": \"value1\",\r\n            \"param2\": \"value2\"\r\n        },\r\n        \"path\": \"/webhook/\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/connections/conn_ee3a07ef5a574f58abc4a2d98a5c2d3b","urlObject":{"protocol":"https","path":["api","v1","connections","conn_ee3a07ef5a574f58abc4a2d98a5c2d3b"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3c8c0f3-52ed-48b2-80d7-473015dc07b0"},{"name":"Disable Connection","id":"8299239d-5923-4618-ba69-d989dd8f626a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"connection_ids\": [\"conn_ee3a07ef5a574f58abc4a2d98a5c2d3b\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/connections/disable","urlObject":{"protocol":"https","path":["api","v1","connections","disable"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8299239d-5923-4618-ba69-d989dd8f626a"},{"name":"Enable Connection","id":"fcf97b6f-3541-4c6a-8229-5351e22844d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"connection_ids\": [\"conn_ee3a07ef5a574f58abc4a2d98a5c2d3b\" ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/connections/enable","auth":{"type":"basic","basic":{},"isInherited":true,"source":{"_postman_id":"857ac587-190c-47f4-a177-b4b1a2827f36","id":"857ac587-190c-47f4-a177-b4b1a2827f36","name":"Connection","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","connections","enable"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcf97b6f-3541-4c6a-8229-5351e22844d8"},{"name":"Delete Connection And Move To Trash","id":"a24d1a8d-3585-4ef1-a0eb-9da0107c794e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"connection_ids\":[\"conn_bdafbe30d2f04625822304af01e8216e\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/connections/","urlObject":{"protocol":"https","path":["api","v1","connections",""],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a24d1a8d-3585-4ef1-a0eb-9da0107c794e"},{"name":"Filter Connection","id":"7e2f2bb8-41a3-4644-8ee2-cb2d20adba35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/connections?filter=true&status=active&folder_id=67592783069f7717b89ba992&name=Sample&page=1&limit=10","urlObject":{"protocol":"https","path":["api","v1","connections"],"host":["hook","pabbly","com"],"query":[{"key":"filter","value":"true"},{"key":"status","value":"active"},{"key":"folder_id","value":"67592783069f7717b89ba992"},{"key":"name","value":"Sample"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"7e2f2bb8-41a3-4644-8ee2-cb2d20adba35"},{"name":"Get Single Connection By Connection_id","id":"5f1d307d-f57e-49ca-8bab-eabd95c89f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/connections/conn_ee3a07ef5a574f58abc4a2d98a5c2d3b","urlObject":{"protocol":"https","path":["api","v1","connections","conn_ee3a07ef5a574f58abc4a2d98a5c2d3b"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f1d307d-f57e-49ca-8bab-eabd95c89f5b"}],"id":"857ac587-190c-47f4-a177-b4b1a2827f36","auth":{"type":"basic","basic":{},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"441558bd-6db5-42bf-9600-ba4f26964dae","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"98ec36c4-d866-4601-a9a0-eee2ee6648b3","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"857ac587-190c-47f4-a177-b4b1a2827f36","description":""},{"name":"Transformation","item":[{"name":"Create Transformation","id":"ea48d327-c5b4-4a12-9cbe-dac12719cf39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"fourth Transformation\",\r\n    \"code\": \"(request, context) => {let itemCounter = 0;request.payload.items = request.payload.items || [];request.payload.items.forEach(item => {if (item.status === 'active') {itemCounter++;item.updated_at = new Date().toISOString(); } else {  item.status = 'inactive'; } });request.payload.summary = {activeItemCount: itemCounter, totalItems: request.payload.items.length};request.headers['X-Item-Count'] = itemCounter.toString(); request.queryParams.processedAt = new Date().toISOString();try { if (!request.payload.customerId) {   throw new Error('customerId is missing');  } } catch (error) { console.error('Transformation error:', error.message);  throw error;} return request;}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/transformations","urlObject":{"protocol":"https","path":["api","v1","transformations"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea48d327-c5b4-4a12-9cbe-dac12719cf39"},{"name":"Get Single Transformation By Trs_id","id":"e106a4c6-5e59-4385-bd3a-aee8239f16ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/transformations/trs_672cad8497fc816d4e75bc44","urlObject":{"protocol":"https","path":["api","v1","transformations","trs_672cad8497fc816d4e75bc44"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e106a4c6-5e59-4385-bd3a-aee8239f16ea"},{"name":"Get All Transformation","id":"9f1e6319-8db4-4788-8fd3-70d8ac0f89d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/transformations/get-all/","urlObject":{"protocol":"https","path":["api","v1","transformations","get-all",""],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f1e6319-8db4-4788-8fd3-70d8ac0f89d5"},{"name":"Update Transformation By Trs_id","id":"e2a575f4-f276-4dd8-b4b6-ab4f9ebc6f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"five transformation\",\r\n    \"code\":\"(request, context) => {let itemCounter = 0;request.payload.items = request.payload.items || [];request.payload.items.forEach(item => {if (item.status === 'active') {itemCounter++;item.updated_at = new Date().toISOString(); } else {  item.status = 'inactive'; } });request.payload.summary = {activeItemCount: itemCounter, totalItems: request.payload.items.length};request.headers['X-Item-Count'] = itemCounter.toString(); request.queryParams.processedAt = new Date().toISOString();try { if (!request.payload.customerId) {   throw new Error('customerId is missing');  } } catch (error) { console.error('Transformation error:', error.message);  throw error;} return request;}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://hook.pabbly.com/api/v1/transformations/trs_672cad47f52796da9aa3ea17","urlObject":{"protocol":"https","path":["api","v1","transformations","trs_672cad47f52796da9aa3ea17"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2a575f4-f276-4dd8-b4b6-ab4f9ebc6f54"},{"name":"Delete Transformation Based On Trs_id","id":"68ab1bb1-9004-43d7-a350-bbb232758a26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"DELETE","header":[],"url":"https://hook.pabbly.com/api/v1/transformations/trs_672cabd81c810b809590cfc9","urlObject":{"protocol":"https","path":["api","v1","transformations","trs_672cabd81c810b809590cfc9"],"host":["hook","pabbly","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"68ab1bb1-9004-43d7-a350-bbb232758a26"}],"id":"1be81ebf-2b75-4a2d-8e23-af9b6ee7b14e","auth":{"type":"basic","basic":{},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"5eb965b5-36c1-4718-a37d-74e18d287372","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"7df861ff-5244-47c0-bb13-445262699122","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"1be81ebf-2b75-4a2d-8e23-af9b6ee7b14e","description":""},{"name":"Request","item":[{"name":"Filter Request","id":"593e5680-f5ac-43c5-bcf9-ec7258cf43c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/requests?filter=true&connection_id=conn_38657a4a43544e4fa9a911696d72a20e&requestId=req_e038786447e14a2e9282f69229d809a1&status=blocked&dateRange=2024-05-01,2024-06-31&page=220&limit=1","urlObject":{"protocol":"https","path":["api","v1","requests"],"host":["hook","pabbly","com"],"query":[{"key":"filter","value":"true"},{"key":"connection_id","value":"conn_38657a4a43544e4fa9a911696d72a20e"},{"key":"requestId","value":"req_e038786447e14a2e9282f69229d809a1"},{"key":"status","value":"blocked"},{"key":"dateRange","value":"2024-05-01,2024-06-31"},{"key":"page","value":"220"},{"key":"limit","value":"1"}],"variable":[]}},"response":[],"_postman_id":"593e5680-f5ac-43c5-bcf9-ec7258cf43c9"},{"name":"Retrieve All Request","id":"0c6046fc-d528-4eb3-aba1-5b80e468b0e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/requests?page=1&limit=100","urlObject":{"protocol":"https","path":["api","v1","requests"],"host":["hook","pabbly","com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"0c6046fc-d528-4eb3-aba1-5b80e468b0e4"}],"id":"f8ba477c-3af0-483d-8197-f47fd672b7f7","auth":{"type":"basic","basic":{},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"aa59073c-ea12-4a0a-a2fc-db86239260ed","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"5ce849a1-0dd7-49ee-a02f-cd74fbb93720","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"f8ba477c-3af0-483d-8197-f47fd672b7f7","description":""},{"name":"Event","item":[{"name":"Filter Events","id":"576c3426-6e93-46f0-9bc0-ac082d02f987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/events?filter=true&limit=10&requestId=req_cd5a26f12b4549c59247742e12e9f7ab&status=SUCCESSFUL","urlObject":{"protocol":"https","path":["api","v1","events"],"host":["hook","pabbly","com"],"query":[{"key":"filter","value":"true"},{"key":"limit","value":"10"},{"key":"requestId","value":"req_cd5a26f12b4549c59247742e12e9f7ab"},{"key":"status","value":"SUCCESSFUL"}],"variable":[]}},"response":[],"_postman_id":"576c3426-6e93-46f0-9bc0-ac082d02f987"},{"name":"Retrieve All Events","id":"b67d7644-fa1f-4439-8320-bb2644c89320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"GET","header":[],"url":"https://hook.pabbly.com/api/v1/events?page=1&limit=100","urlObject":{"protocol":"https","path":["api","v1","events"],"host":["hook","pabbly","com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"b67d7644-fa1f-4439-8320-bb2644c89320"}],"id":"ee35918a-ced7-42a1-b238-de3e21354be9","auth":{"type":"basic","basic":{},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"a94be5b1-6ab9-4d0c-88b7-4078206fa0c7","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"dc0bcf5b-3fb3-4243-960a-ad763c164100","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"ee35918a-ced7-42a1-b238-de3e21354be9","description":""}],"id":"aaca7c99-15c3-4381-a465-dbb1102d1613","description":"<p>The REST Admin API lets you fire internal actions and intergation with different apps.<br />Our API supports all the HTTP requesting for calling an action.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the API uses <code>Basic Auth</code> as authorization channel.</p>\n<p><code>Username</code> : <strong>API Key</strong> from your Pabbly Hook</p>\n<p><code>Password</code> : <strong>Secret Key</strong> from your Pabbly Hook</p>\n<p><strong>Location of API Key in Pabbly Hook Application -</strong></p>\n<p>From your application under setting go to;</p>\n<p><strong>Settings -&gt; API Settings -&gt; Generate the Keys</strong></p>\n<img src=\"https://content.pstmn.io/744d663f-be6b-4905-b379-8ce433990511/NTAwLnBuZw==\" width=\"775\" height=\"500\" />","auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"d24f8ba2-4e7f-491d-a1ae-2684d8ada172","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"a29381f2-2391-4596-9a3d-4558bb5c7db9","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"aaca7c99-15c3-4381-a465-dbb1102d1613"},{"name":"Pabbly Chatflow","item":[{"name":"Messages","item":[{"name":"Send Templates","item":[{"name":"Send Text template","id":"85132a70-5460-4243-b5c3-06a5eecec582","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"marketing_template\",\r\n    \"headerParams\": [\r\n        \"John\"\r\n    ],\r\n    \"bodyParams\": [\r\n        \"Sir\",\r\n        \"Thanks\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create a text-type template using <a href=\"https://chatflow.pabbly.com/app/template/addtemplate\">Pabbly Chatflow </a> or <a href=\"https://business.facebook.com/latest/whatsapp_manager/message_templates\">WhatsApp Manager.</a></li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send media based template message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code, e.g., <strong>15551486942</strong>.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send. It should be \"<strong>template</strong>\".</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the template you want to send.</td>\n</tr>\n<tr>\n<td>headerParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />You can add multiple parameters, which will be sent to the user according to their respective index.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"15d46b64-6053-4291-b80d-a3f4e5fffc2a","name":"Send Text template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"marketing_template\",\r\n    \"headerParams\": [\r\n        \"John\"\r\n    ],\r\n    \"bodyParams\": [\r\n        \"Sir\",\r\n        \"Bhopal\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"85132a70-5460-4243-b5c3-06a5eecec582"},{"name":"Send Media based template","id":"de449d75-da24-41b9-9b6c-2ffc951d61e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"link_docs\",\r\n    \"link\": \"https://www.antennahouse.com/hubfs/xsl-fo-sample/pdf/basic-link-1.pdf\",\r\n    \"filename\": \"Basic link info\",\r\n    \"bodyParams\": [\r\n        \"Thanks\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create a media-type template using <a href=\"https://chatflow.pabbly.com/app/template/addtemplate\">Pabbly Chatflow </a> or <a href=\"https://business.facebook.com/latest/whatsapp_manager/message_templates\">WhatsApp Manager.</a></li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send media based template message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code, e.g., <strong>15551486942</strong>.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send. It should be \"<strong>template</strong>\".</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the template you want to send.</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of your media file.</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />You can add multiple parameters, which will be sent to the user according to their respective index.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>No</td>\n<td>String</td>\n<td>Name of the file attached to the template message. Only applicable for document template messages.</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"c41573af-04cb-4eab-af1d-2de979ba7397","name":"Send Media based template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"link_docs\",\r\n    \"link\": \"https://www.antennahouse.com/hubfs/xsl-fo-sample/pdf/basic-link-1.pdf\",\r\n    \"filename\": \"Basic link info\",\r\n    \"bodyParams\": [\r\n        \"Thanks\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"de449d75-da24-41b9-9b6c-2ffc951d61e5"},{"name":"Send Authentication template","id":"80a71d69-e1e7-4ae5-a826-67ac60c9a886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"auth_template\",\r\n    \"copyCodeParam\": \"QWEASD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create a template with Authentication category through <a href=\"https://chatflow.pabbly.com/app/template/addtemplate\">Pabbly Chatflow </a> or <a href=\"https://business.facebook.com/latest/whatsapp_manager/message_templates\">WhatsApp Manager.</a></li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send authentication template message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"template\" incase you want to send template message</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of template you want to send</td>\n</tr>\n<tr>\n<td>copyCodeParam</td>\n<td>No</td>\n<td>String</td>\n<td>Code to send with auhentication template</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"fb6e165f-f916-4bac-8b61-6f6cb274a101","name":"Send Authentication template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"auth_template\",\r\n    \"copyCodeParam\": \"QWEASD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"80a71d69-e1e7-4ae5-a826-67ac60c9a886"},{"name":"Send CTA/Buttons template","id":"daa208ad-6d5f-43af-b948-4bb3959de773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"summer_time\",\r\n    \"urlVariables\": [\"?tab=repositories\"],\r\n    \"copyCodeParam\": \"QWEASD\",\r\n    \"quickReplies\": [\"Yes\", \"No\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create a template with CTA/Buttons through <a href=\"https://chatflow.pabbly.com/app/template/addtemplate\">Pabbly Chatflow </a> or <a href=\"https://business.facebook.com/latest/whatsapp_manager/message_templates\">WhatsApp Manager.</a></li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<ul>\n<li><p>CTA/Buttons are interactive elements embedded in various templates that enable recipients to take direct actions without leaving the messaging interface.</p>\n</li>\n<li><p>Hit the API with the POST method and fill the following data according to your requirements to send a CTA/Buttons template message.</p>\n</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"template\" incase you want to send template message</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of template you want to send</td>\n</tr>\n<tr>\n<td>urlVariables</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Specify path variables or query parameters you want to concatenate in the URL. This is only useful if the template has Dynamic URL CTA Buttons</td>\n</tr>\n<tr>\n<td>copyCodeParam</td>\n<td>No</td>\n<td>String</td>\n<td>Code to send with the template, includes a copy code button</td>\n</tr>\n<tr>\n<td>quickReplies</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of quick reply buttons to include with the message, allowing users to respond with predefined replies</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"c8cb7477-4264-4d75-9827-d8146a45055d","name":"Send CTA/Buttons template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"summer_time\",\r\n    \"urlVariables\": [\"?tab=repositories\"],\r\n    \"copyCodeParam\": \"QWEASD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67762380b9e6371dXXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSQTQwMTBFQkEwNDJDXXXXXXXXXX==\",\n                    \"message_status\": \"accepted\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"daa208ad-6d5f-43af-b948-4bb3959de773"},{"name":"Send Carousel template","id":"a83fa55b-3a19-4f7c-8e25-8525d16fbbca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"carousel_testing_1\",\r\n    \"languageCode\": \"en\",\r\n    \"bodyParams\": [\"John\"],\r\n    \"carouselBodies\": [\r\n        {\r\n            \"bodyParams\": [\"50\", \"Electronics\"]\r\n        },\r\n        {\r\n            \"bodyParams\": [\"30\", \"Clothing\"]\r\n        },\r\n        {\r\n            \"bodyParams\": [\"40\", \"Home Decor\"]\r\n        }\r\n    ],\r\n    \"carouselFileData\": [\r\n        {\r\n            \"fileUrl\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card1.jpg\"\r\n        },\r\n        {\r\n            \"fileUrl\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card2.jpg\"\r\n        },\r\n        {\r\n            \"fileUrl\": \"https://images.unsplash.com/photo-1772223610205-0a8f53d83b42?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card3.jpg\"\r\n        }\r\n    ],\r\n    \"urlVariables\": [\"electronics\", \"clothing\", \"home-decor\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create a carousel template through <a href=\"https://chatflow.pabbly.com/app/template/addtemplate\">Pabbly Chatflow</a> or <a href=\"https://business.facebook.com/latest/whatsapp_manager/message_templates\">WhatsApp Manager.</a></li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<ul>\n<li><p>Carousel templates allow you to send a horizontally scrollable set of cards (2–10), each containing a media header (image or video), body text with optional variables, and up to 2 interactive buttons.</p>\n</li>\n<li><p>Hit the API with the POST method and fill the following data according to your requirements to send a carousel template message.</p>\n</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send. It should be <code>\"template\"</code> in case you want to send a carousel template message</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the approved carousel template you want to send</td>\n</tr>\n<tr>\n<td>languageCode</td>\n<td>No</td>\n<td>String</td>\n<td>Language code of the template (e.g., <code>\"en\"</code>, <code>\"hi\"</code>). Defaults to the template's language if omitted</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Values for variables in the main body text (outside the carousel cards). e.g., <code>[\"John\"]</code> for <code>{{1}}</code> or <code>{{name}}</code></td>\n</tr>\n<tr>\n<td>carouselBodies</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array of objects, one per card. Each object contains variable values for that card's body text</td>\n</tr>\n<tr>\n<td>carouselFileData</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array of objects, one per card. Each object contains the media file URL for that card's header</td>\n</tr>\n<tr>\n<td>urlVariables</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Dynamic URL button parameter values, one per card. Only required if cards have dynamic URL buttons</td>\n</tr>\n<tr>\n<td>copyCodeParam</td>\n<td>No</td>\n<td>String</td>\n<td>Code to send with the template, if cards include a copy code button</td>\n</tr>\n<tr>\n<td>quickReplies</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of quick reply payload values, if cards include quick reply buttons</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"carouselbodies-object-fields\"><code>carouselBodies[]</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Object or Array</td>\n<td>Variable values for that card's body text. Can be an array <code>[\"50\", \"Electronics\"]</code> for numbered variables like <code>{{1}}</code>, <code>{{2}}</code>, or an object <code>{\"{{name}}\": \"John\", \"{{discount}}\": \"50%\"}</code> for named variables</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"carouselfiledata-object-fields\"><code>carouselFileData[]</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fileUrl</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of the media file (image or video) for the card header</td>\n</tr>\n<tr>\n<td>fileName</td>\n<td>No</td>\n<td>String</td>\n<td>Filename for the media file</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p>The number of items in <code>carouselBodies</code> and <code>carouselFileData</code> must match the number of cards defined in the template.</p>\n</li>\n<li><p>All cards in a carousel must use the same media type — either all <strong>image</strong> or all <strong>video</strong>.</p>\n</li>\n<li><p>A carousel template supports <strong>2 to 10 cards</strong>.</p>\n</li>\n<li><p>Each card can have up to <strong>2 buttons</strong> (URL, quick reply, copy code, or phone number).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"2c962914-e4d5-4998-9db6-17780a18e4a6","name":"Send Carousel template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"template\",\r\n    \"templateName\": \"carousel_testing_1\",\r\n    \"languageCode\": \"en\",\r\n    \"bodyParams\": [\"John\"],\r\n    \"carouselBodies\": [\r\n        {\r\n            \"bodyParams\": [\"50\", \"Electronics\"]\r\n        },\r\n        {\r\n            \"bodyParams\": [\"30\", \"Clothing\"]\r\n        },\r\n        {\r\n            \"bodyParams\": [\"40\", \"Home Decor\"]\r\n        }\r\n    ],\r\n    \"carouselFileData\": [\r\n        {\r\n            \"fileUrl\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card1.jpg\"\r\n        },\r\n        {\r\n            \"fileUrl\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card2.jpg\"\r\n        },\r\n        {\r\n            \"fileUrl\": \"https://images.unsplash.com/photo-1772223610205-0a8f53d83b42?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n            \"fileName\": \"card3.jpg\"\r\n        }\r\n    ],\r\n    \"urlVariables\": [\"electronics\", \"clothing\", \"home-decor\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"1123456789\",\n        \"chatId\": \"67762380b9e6371dXXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"1123456789\",\n                    \"wa_id\": \"1123456789\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSQTQwMTBFQkEwNDJDXXXXXXXXXX==\",\n                    \"message_status\": \"accepted\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"a83fa55b-3a19-4f7c-8e25-8525d16fbbca"},{"name":"Send LTO template","id":"c4b4f6c2-1cd5-48b6-be27-61e663767748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"to\": 1123456789,\r\n  \"type\": \"template\",\r\n  \"templateName\": \"lto_t\",\r\n  \"languageCode\": \"en\",\r\n  \"link\": \"https://images.unsplash.com/photo-1772223610205-0a8f53d83b42?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n  \"bodyParams\": [\r\n    \"John\",\r\n    \"50%\",\r\n    \"Thanks\"\r\n  ],\r\n  \r\n  \"copyCodeParam\": \"SAVE50\",\r\n  \"urlVariables\": [\r\n    \"flash-sale\"\r\n  ],\r\n  \"ltoFields\": {\r\n    \"unixTimestamp\": 1760000000000\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li>You need to create an LTO (Limited Time Offer) template through Pabbly Chatflow or WhatsApp Manager.</li>\n</ul>\n<h2 id=\"description\">Description</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<ul>\n<li><p>LTO templates allow you to send time-bound offers (limited-time / expiring deals) with a media header (image or video), body text variables and interactive buttons like copy code and URL.</p>\n</li>\n<li><p>Hit the API with the POST method and fill the following data according to your requirements to send an LTO template message.</p>\n</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send. It should be \"template\" in case you want to send an LTO template message</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the approved LTO template you want to send</td>\n</tr>\n<tr>\n<td>languageCode</td>\n<td>No</td>\n<td>String</td>\n<td>Language code of the template (e.g., \"en\", \"hi\"). Defaults to the template's language if omitted</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>Public file URL of the header media (image or video). LTO templates support IMAGE or VIDEO header only</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Values for variables in the main body text. e.g., [\"John\", \"50%\"] for {{1}}, {{2}}</td>\n</tr>\n<tr>\n<td>ltoFields</td>\n<td>No</td>\n<td>Object</td>\n<td>LTO expiry fields. Required if your template includes the Limited-Time Offer component with expiration enabled</td>\n</tr>\n<tr>\n<td>urlVariables</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Dynamic URL button parameter values, generally one per dynamic URL button (for LTO usually ek hi URL hota hai)</td>\n</tr>\n<tr>\n<td>copyCodeParam</td>\n<td>No</td>\n<td>String</td>\n<td>Offer / coupon code value, used by the copy code button if present</td>\n</tr>\n<tr>\n<td>quickReplies</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of quick reply payload values, if template includes quick reply buttons</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"ltofields-object-fields\">ltoFields Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>unixTimestamp</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Expiration time in Unix timestamp (milliseconds), used as expiration_time_ms for the Limited-Time Offer countdown. Required when the template expects expiration (jab template mein expiry configured ho).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\">contact Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (true or false).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (true or false).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in Settings.  <br />Note: Whatever data you send in the tags field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in Settings. Use name and value keys inside each object. If the value is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in Settings.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p>LTO templates must have header media of type image or video, so link should be a valid public URL.</p>\n</li>\n<li><p>If your LTO template has expiration configured, then ltoFields.unixTimestamp must be provided and should be a future timestamp in milliseconds.</p>\n</li>\n<li><p>If the URL button in the template is dynamic, pass urlVariables (normally one value for a single URL button). Static URL button ke liye urlVariables optional hai.</p>\n</li>\n<li><p>If your template has a copy code button and you want to send a specific coupon code, pass copyCodeParam; otherwise the template’s default/example code may be used.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e4e18bbc-6c01-4ef3-895c-426760187444","name":"Send LTO template","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"to\": 1123456789,\r\n  \"type\": \"template\",\r\n  \"templateName\": \"lto_t\",\r\n  \"languageCode\": \"en\",\r\n  \"link\": \"https://images.unsplash.com/photo-1772223610205-0a8f53d83b42?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\r\n  \"bodyParams\": [\r\n    \"John\",\r\n    \"50%\",\r\n    \"Thanks\"\r\n  ],\r\n  \r\n  \"copyCodeParam\": \"SAVE50\",\r\n  \"urlVariables\": [\r\n    \"flash-sale\"\r\n  ],\r\n  \"ltoFields\": {\r\n    \"unixTimestamp\": 1760000000000\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n  \"status\": \"success\",\r\n  \"message\": \"Message sent\",\r\n  \"data\": {\r\n    \"to\": \"1123456789\",\r\n    \"chatId\": \"68c3f35e139c7e8edeXXXXXX\",\r\n    \"metaResponse\": {\r\n      \"messaging_product\": \"whatsapp\",\r\n      \"contacts\": [\r\n        {\r\n          \"input\": \"1123456789\",\r\n          \"wa_id\": \"1123456789\"\r\n        }\r\n      ],\r\n      \"messages\": [\r\n        {\r\n          \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTEzNUUxNEQ5MEY3RkJGMEXXXX==\",\r\n          \"message_status\": \"accepted\"\r\n        }\r\n      ],\r\n      \"status\": 200\r\n    }\r\n  }\r\n}"}],"_postman_id":"c4b4f6c2-1cd5-48b6-be27-61e663767748"}],"id":"58e60c32-2e52-4a9d-9450-d1c9baf019db","_postman_id":"58e60c32-2e52-4a9d-9450-d1c9baf019db","description":""},{"name":"Send Text Message","id":"5b0d1068-f70e-467c-abfb-ccf177cf38bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"text\",\r\n    \"message\": \"Hello from API\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send text message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variables</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"text\" incase you want to send text message</td>\n</tr>\n<tr>\n<td>message</td>\n<td>Yes</td>\n<td>String</td>\n<td>Text message you want to send</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6bc74384-eaa4-46a4-8868-c7abd648bdff","name":"Send Text Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"text\",\r\n    \"message\": \"Hello from API\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"5b0d1068-f70e-467c-abfb-ccf177cf38bf"},{"name":"Send Image Message","id":"5e72b674-4ef5-4688-a73e-c6103bbc62da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"image\",\r\n    \"link\": \"https://fileinfo.com/img/ss/xl/jpg_44-2.jpg\",\r\n    \"caption\": \"Beautiful sunset in Venice\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send image message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"image\" incase you want to send image message</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of image you want to send</td>\n</tr>\n<tr>\n<td>caption</td>\n<td>No</td>\n<td>Strings</td>\n<td>Text you want to send with image message</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"4facccc2-898c-4587-80f5-bd85107cdf4a","name":"Send Image Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"image\",\r\n    \"link\": \"https://fileinfo.com/img/ss/xl/jpg_44-2.jpg\",\r\n    \"caption\": \"Beautiful sunset in Venice\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"5e72b674-4ef5-4688-a73e-c6103bbc62da"},{"name":"Send Audio Message","id":"5042e411-5993-4edb-b133-701331beb2ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"audio\",\r\n    \"link\": \"https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send audio message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"audio\" incase you want to send audio message</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of audio you want to send</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"304530d3-fca6-42d8-9f09-f47a43596de0","name":"Send Audio Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"audio\",\r\n    \"link\": \"https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"9176978XXXXX\",\r\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"9176978XXXXX\",\r\n                    \"wa_id\": \"9176978XXXXX\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"5042e411-5993-4edb-b133-701331beb2ed"},{"name":"Send Video Message","id":"8ad96bfb-e7fe-40d3-baff-1f9994bacb95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"video\",\r\n    \"link\": \"https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4\",\r\n    \"caption\": \"Lazy big bunny\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send video message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"video\" incase you want to send video message</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of video you want to send</td>\n</tr>\n<tr>\n<td>caption</td>\n<td>No</td>\n<td>Strings</td>\n<td>Text you want to send with video message</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"3c408cb4-3b32-46c6-ab25-8f5af7eb8983","name":"Send Video Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"video\",\r\n    \"link\": \"https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4\",\r\n    \"caption\": \"Lazy big bunny\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Message sent\",\n    \"data\": {\n        \"to\": \"9176978XXXXX\",\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\n        \"metaResponse\": {\n            \"messaging_product\": \"whatsapp\",\n            \"contacts\": [\n                {\n                    \"input\": \"9176978XXXXX\",\n                    \"wa_id\": \"9176978XXXXX\"\n                }\n            ],\n            \"messages\": [\n                {\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\n                }\n            ],\n            \"status\": 200\n        }\n    }\n}"}],"_postman_id":"8ad96bfb-e7fe-40d3-baff-1f9994bacb95"},{"name":"Send Document Message","id":"e9fe1efd-41e8-406d-b8d4-52529bce4073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"document\",\r\n    \"link\": \"https://www.antennahouse.com/hubfs/xsl-fo-sample/pdf/basic-link-1.pdf\",\r\n    \"caption\": \"About links in documents\",\r\n    \"filename\": \"Link in document\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send document message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"document\" incase you want to send document message</td>\n</tr>\n<tr>\n<td>link</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL of document you want to send</td>\n</tr>\n<tr>\n<td>caption</td>\n<td>No</td>\n<td>String</td>\n<td>Text you want to send with document message</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>No</td>\n<td>String</td>\n<td>Title of file you want send with document message</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>No</td>\n<td>Object</td>\n<td>An object containing contact details. This field is used to upsert the contact matched with recipient number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e922af8e-fba2-433e-bc9f-6e19e2f9b23c","name":"Send Document Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"document\",\r\n    \"link\": \"https://www.antennahouse.com/hubfs/xsl-fo-sample/pdf/basic-link-1.pdf\",\r\n    \"caption\": \"About links in documents\",\r\n    \"filename\": \"Link in document\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chatflow.pabbly.com/api/v1/messages","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","messages"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"9176978XXXXX\",\r\n        \"chatId\": \"67923764346bcdc8XXXXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"9176978XXXXX\",\r\n                    \"wa_id\": \"9176978XXXXX\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNTQ1MUEwQTRBRDYzXXXXXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"e9fe1efd-41e8-406d-b8d4-52529bce4073"},{"name":"Send Single Product Message","id":"36460864-5d03-42aa-a922-349e9411d0cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"single_product\",\r\n    \"bodyText\": \"Check out this amazing product! Limited stock available.\",\r\n    \"footerText\": \"Tap to view details\",\r\n    \"action\": {\r\n        \"catalogId\": \"123456789012XXXX\",\r\n        \"productRetailerId\": \"oozba9XXXX\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send Single Product message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"interactive\" incase you want to send Single Product message</td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"single_product\"</code></td>\n</tr>\n<tr>\n<td>bodyText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Message body text (max 1024 characters)</td>\n</tr>\n<tr>\n<td>footerText</td>\n<td>No</td>\n<td>String</td>\n<td>Optional footer text</td>\n</tr>\n<tr>\n<td>action</td>\n<td>Yes</td>\n<td>Object</td>\n<td>Product action configuration</td>\n</tr>\n<tr>\n<td>action.catalogId</td>\n<td>Yes</td>\n<td>String</td>\n<td>The catalog ID from Meta Commerce</td>\n</tr>\n<tr>\n<td>action.productRetailerId</td>\n<td>Yes</td>\n<td>String</td>\n<td>The retailer ID of the product</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6d7c3be2-43c3-4ed6-ba22-5c1a4edd6794","name":"Send Single Product Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"single_product\",\r\n    \"bodyText\": \"Check out this amazing product! Limited stock available.\",\r\n    \"footerText\": \"Tap to view details\",\r\n    \"action\": {\r\n        \"catalogId\": \"123456789012XXXX\",\r\n        \"productRetailerId\": \"oozba9XXXX\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chatflow.pabbly.com/api/v1/messages","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","messages"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"success\": true,\r\n  \"message\": \"Message sent\",\r\n  \"data\": {\r\n    \"to\": \"911123456789\",\r\n    \"chatId\": \"6789abcdef1XXXXX\",\r\n    \"metaResponse\": {\r\n      \"messaging_product\": \"whatsapp\",\r\n      \"contacts\": [\r\n        {\r\n          \"input\": \"911123456789\",\r\n          \"wa_id\": \"911123456789\"\r\n        }\r\n      ],\r\n      \"messages\": [\r\n        {\r\n          \"id\": \"wamid.HBgLOTE5ODc2NTQzMjEwFQIAERgSQTEyMzQ1Njc4OTAxMjM0NTY=\"\r\n        }\r\n      ],\r\n      \"status\": 200\r\n    }\r\n  }\r\n}"}],"_postman_id":"36460864-5d03-42aa-a922-349e9411d0cc"},{"name":"Send Multi Product Message","id":"54d3f39e-eaa0-4a62-8abe-a4885f85b0c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"product_list\",\r\n    \"header\": \"Our Top Picks\",\r\n    \"body\": \"Browse our curated selection of products\",\r\n    \"footer\": \"Tap any product to view details\",\r\n    \"action\": {\r\n        \"catalogId\": \"84745839084XXXX\"\r\n    },\r\n    \"sections\": [\r\n        {\r\n            \"title\": \"Best Sellers\",\r\n            \"products\": [\r\n                { \"productRetailerId\": \"oozba9XXXX\" },\r\n                { \"productRetailerId\": \"faz4ioXXXX\" }\r\n            ]\r\n        },\r\n        {\r\n            \"title\": \"New Arrivals\",\r\n            \"products\": [\r\n                { \"productRetailerId\": \"g4qoqiXXXX\" }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send Multi Product message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient number with dialing code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message you want to send, It should be \"interactive\" incase you want to send multi-product message</td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>string</td>\n<td>Yes</td>\n<td>Must be <code>\"product_list\"</code></td>\n</tr>\n<tr>\n<td>header</td>\n<td>Yes</td>\n<td>String</td>\n<td>Header text (max 60 chars)</td>\n</tr>\n<tr>\n<td>body</td>\n<td>Yes</td>\n<td>String</td>\n<td>Message body text (max 1024 characters)</td>\n</tr>\n<tr>\n<td>sections</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array of sections (max 10 sections, max 30 products total)</td>\n</tr>\n<tr>\n<td>action.catalogId</td>\n<td>Yes</td>\n<td>String</td>\n<td>The catalog ID from Meta Commerce</td>\n</tr>\n<tr>\n<td>sections[].title</td>\n<td>Yes</td>\n<td>String</td>\n<td>Section title (max 24 chars)</td>\n</tr>\n<tr>\n<td>sections[].products[].productRetailerId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Product retailer ID</td>\n</tr>\n<tr>\n<td>footer</td>\n<td>No</td>\n<td>String</td>\n<td>Footer text (max 60 chars)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"def3e37c-6ab4-4594-b9e4-263d537e1ae8","name":"Send Multi Product Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"product_list\",\r\n    \"header\": \"Our Top Picks\",\r\n    \"body\": \"Browse our curated selection of products\",\r\n    \"footer\": \"Tap any product to view details\",\r\n    \"action\": {\r\n        \"catalogId\": \"84745839084XXXX\"\r\n    },\r\n    \"sections\": [\r\n        {\r\n            \"title\": \"Best Sellers\",\r\n            \"products\": [\r\n                { \"productRetailerId\": \"oozba9XXXX\" },\r\n                { \"productRetailerId\": \"faz4ioXXXX\" }\r\n            ]\r\n        },\r\n        {\r\n            \"title\": \"New Arrivals\",\r\n            \"products\": [\r\n                { \"productRetailerId\": \"g4qoqiXXXX\" }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chatflow.pabbly.com/api/v1/messages","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","messages"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"success\": true,\r\n  \"message\": \"Message sent\",\r\n  \"data\": {\r\n    \"to\": \"911123456789\",\r\n    \"chatId\": \"6789abcdef1XXXXX\",\r\n    \"metaResponse\": {\r\n      \"messaging_product\": \"whatsapp\",\r\n      \"contacts\": [\r\n        {\r\n          \"input\": \"911123456789\",\r\n          \"wa_id\": \"911123456789\"\r\n        }\r\n      ],\r\n      \"messages\": [\r\n        {\r\n          \"id\": \"wamid.HBgLOTE5ODc2NTQzMjEwFQIAERgSQTEyMzQ1Njc4OTAxMjM0NTY=\"\r\n        }\r\n      ],\r\n      \"status\": 200\r\n    }\r\n  }\r\n}"}],"_postman_id":"54d3f39e-eaa0-4a62-8abe-a4885f85b0c6"},{"name":"Send Catalog Message","id":"c85be7d4-2522-4629-9e84-ec9cbd9491b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"catalog_message\",\r\n    \"bodyText\": \"Check out this amazing product! Limited stock available.\",\r\n    \"footerText\": \"Tap to view details\",\r\n    \"catalogProductId\": \"PRODUCT_RETAILER_ID_FOR_THUMBNAIL\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send Catalog message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient phone number with country code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"interactive\"</code></td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"catalog_message\"</code></td>\n</tr>\n<tr>\n<td>bodyText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Body text (max 1024 chars)</td>\n</tr>\n<tr>\n<td>footerText</td>\n<td>No</td>\n<td>String</td>\n<td>Footer text (max 60 chars)</td>\n</tr>\n<tr>\n<td>catalogProductId</td>\n<td>No</td>\n<td>String</td>\n<td>Product retailer ID to use as catalog thumbnail</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"961e827d-da21-4e7f-b33c-ea2acb7e382b","name":"Send Catalog Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"catalog_message\",\r\n    \"bodyText\": \"Check out this amazing product! Limited stock available.\",\r\n    \"footerText\": \"Tap to view details\",\r\n    \"catalogProductId\": \"oozba9XXXX\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"1123456789\",\r\n        \"chatId\": \"68c3f35e139c7e8edeXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"1123456789\",\r\n                    \"wa_id\": \"1123456789\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNEY4Q0M1RDcwMDUxQzYyXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"c85be7d4-2522-4629-9e84-ec9cbd9491b3"},{"name":"Send List Message","id":"2d59fdb3-43ce-406d-ab1e-f85f4b2727fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"list\",\r\n    \"bodyText\": \"Please select an option from the list below\",\r\n    \"buttonText\": \"View Options\",\r\n    \"headerText\": \"Our Services\",\r\n    \"footerText\": \"Powered by Pabbly\",\r\n    \"sections\": [\r\n        {\r\n            \"title\": \"Category 1\",\r\n            \"rows\": [\r\n                {\r\n                    \"id\": \"row_1\",\r\n                    \"title\": \"Option A\",\r\n                    \"description\": \"Description for option A\"\r\n                },\r\n                {\r\n                    \"id\": \"row_2\",\r\n                    \"title\": \"Option B\",\r\n                    \"description\": \"Description for option B\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send List message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient phone number with country code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"interactive\"</code></td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"cta_url\"</code></td>\n</tr>\n<tr>\n<td>message</td>\n<td>Yes</td>\n<td>String</td>\n<td>Body text (max 1024 chars)</td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array with exactly 1 button object</td>\n</tr>\n<tr>\n<td>buttons[].title</td>\n<td>Yes</td>\n<td>String</td>\n<td>Button display text (max 20 chars)</td>\n</tr>\n<tr>\n<td>buttons[].url</td>\n<td>Yes</td>\n<td>String</td>\n<td>URL to open on button click</td>\n</tr>\n<tr>\n<td>header</td>\n<td>No</td>\n<td>Object</td>\n<td>Optional media header</td>\n</tr>\n<tr>\n<td>header.type</td>\n<td>If header</td>\n<td>String</td>\n<td>One of <code>\"text\"</code>, <code>\"image\"</code>, <code>\"video\"</code>, <code>\"document\"</code></td>\n</tr>\n<tr>\n<td>header.link</td>\n<td>If media header</td>\n<td>String</td>\n<td>Media URL (required when type is image/video/document)</td>\n</tr>\n<tr>\n<td>header.filename</td>\n<td>If document header</td>\n<td>String</td>\n<td>Filename (required when header type is document)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"513dc606-8697-4f14-8269-2d886d45de18","name":"Send List Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"list\",\r\n    \"bodyText\": \"Please select an option from the list below\",\r\n    \"buttonText\": \"View Options\",\r\n    \"headerText\": \"Our Services\",\r\n    \"footerText\": \"Powered by Pabbly\",\r\n    \"sections\": [\r\n        {\r\n            \"title\": \"Category 1\",\r\n            \"rows\": [\r\n                {\r\n                    \"id\": \"row_1\",\r\n                    \"title\": \"Option A\",\r\n                    \"description\": \"Description for option A\"\r\n                },\r\n                {\r\n                    \"id\": \"row_2\",\r\n                    \"title\": \"Option B\",\r\n                    \"description\": \"Description for option B\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"1123456789\",\r\n        \"chatId\": \"68c3f35e139c7e8edeXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"1123456789\",\r\n                    \"wa_id\": \"1123456789\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNEY4Q0M1RDcwMDUxQzYyXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"2d59fdb3-43ce-406d-ab1e-f85f4b2727fe"},{"name":"Send CTA URL Message","id":"61317c87-14a3-41db-9290-485c0ccb1091","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"cta_url\",\r\n    \"message\": \"Check out our latest offer!\",\r\n    \"buttons\": [\r\n        {\r\n            \"title\": \"View Offer\",\r\n            \"url\": \"https://www.example.com/offer\"\r\n        }\r\n    ],\r\n    \"header\": {\r\n        \"type\": \"image\",\r\n        \"link\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send CTA URL message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient phone number with country code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"interactive\"</code></td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"list\"</code></td>\n</tr>\n<tr>\n<td>bodyText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Body text (max 1024 chars)</td>\n</tr>\n<tr>\n<td>buttonText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Button label text (max 20 chars)</td>\n</tr>\n<tr>\n<td>sections</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array of sections (max 10 sections, max 10 rows total)</td>\n</tr>\n<tr>\n<td>sections[].title</td>\n<td>Yes</td>\n<td>String</td>\n<td>Section title (max 24 chars)</td>\n</tr>\n<tr>\n<td>sections[].rows</td>\n<td>Yes</td>\n<td>Array of Objects</td>\n<td>Array of selectable rows (min 1 per section)</td>\n</tr>\n<tr>\n<td>sections[].rows[].id</td>\n<td>No</td>\n<td>String</td>\n<td>Row ID (auto-generated if omitted)</td>\n</tr>\n<tr>\n<td>sections[].rows[].title</td>\n<td>Yes</td>\n<td>String</td>\n<td>Row title (max 24 chars)</td>\n</tr>\n<tr>\n<td>sections[].rows[].description</td>\n<td>No</td>\n<td>String</td>\n<td>Row description (max 72 chars)</td>\n</tr>\n<tr>\n<td>headerText</td>\n<td>No</td>\n<td>String</td>\n<td>Header text (max 60 chars)</td>\n</tr>\n<tr>\n<td>footerText</td>\n<td>No</td>\n<td>String</td>\n<td>Footer text (max 60 chars)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"28c0d2d5-2fa0-4bdb-8f5f-5ec83ef280a5","name":"Send CTA URL Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"cta_url\",\r\n    \"message\": \"Check out our latest offer!\",\r\n    \"buttons\": [\r\n        {\r\n            \"title\": \"View Offer\",\r\n            \"url\": \"https://www.example.com/offer\"\r\n        }\r\n    ],\r\n    \"header\": {\r\n        \"type\": \"image\",\r\n        \"link\": \"https://plus.unsplash.com/premium_photo-1749666992791-53362d6dc507?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"1123456789\",\r\n        \"chatId\": \"68c3f35e139c7e8edeXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"1123456789\",\r\n                    \"wa_id\": \"1123456789\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNEY4Q0M1RDcwMDUxQzYyXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"61317c87-14a3-41db-9290-485c0ccb1091"},{"name":"Send Address Request Message","id":"9e0a0f71-795e-44c7-bfad-33ad9040fad1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"address_message\",\r\n    \"bodyText\": \"Please share your delivery address\",\r\n    \"isoCountryCode\": \"IN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send Address Request message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient phone number with country code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"interactive\"</code></td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"address_message\"</code></td>\n</tr>\n<tr>\n<td>bodyText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Body text (max 1024 chars)</td>\n</tr>\n<tr>\n<td>isoCountryCode</td>\n<td>Yes</td>\n<td>String</td>\n<td>2-letter ISO country code (e.g., <code>\"IN\"</code>, <code>\"SG\"</code>)</td>\n</tr>\n<tr>\n<td>values</td>\n<td>No</td>\n<td>Object</td>\n<td>Pre-filled address values</td>\n</tr>\n<tr>\n<td>validationErrors</td>\n<td>No</td>\n<td>Object</td>\n<td>Validation error messages</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"84a481f0-181d-4bf9-81d0-7fb4707dad2b","name":"Send Address Request Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"address_message\",\r\n    \"bodyText\": \"Please share your delivery address\",\r\n    \"isoCountryCode\": \"IN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"1123456789\",\r\n        \"chatId\": \"68c3f35e139c7e8edeXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"1123456789\",\r\n                    \"wa_id\": \"1123456789\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNEY4Q0M1RDcwMDUxQzYyXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"9e0a0f71-795e-44c7-bfad-33ad9040fad1"},{"name":"Send Location Request Message","id":"1726c50b-240f-42ee-8fd8-375feadeb868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"address_message\",\r\n    \"bodyText\": \"Please share your delivery address\",\r\n    \"isoCountryCode\": \"IN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send Location Request message.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Recipient phone number with country code</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"interactive\"</code></td>\n</tr>\n<tr>\n<td>interactiveType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Must be <code>\"location_request_message\"</code></td>\n</tr>\n<tr>\n<td>bodyText</td>\n<td>Yes</td>\n<td>String</td>\n<td>Body text (max 1024 chars)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-object-fields\"><code>contact</code> Object Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>Refers to Custom Fields on the Contact. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside each object. If the <code>value</code> is empty, the attribute will be removed.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in <strong>Settings</strong>.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"031b33e7-cb08-4c05-a86e-c103afb52c68","name":"Send Location Request Message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": 1123456789,\r\n    \"type\": \"interactive\",\r\n    \"interactiveType\": \"address_message\",\r\n    \"bodyText\": \"Please share your delivery address\",\r\n    \"isoCountryCode\": \"IN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Message sent\",\r\n    \"data\": {\r\n        \"to\": \"1123456789\",\r\n        \"chatId\": \"68c3f35e139c7e8edeXXXXX\",\r\n        \"metaResponse\": {\r\n            \"messaging_product\": \"whatsapp\",\r\n            \"contacts\": [\r\n                {\r\n                    \"input\": \"1123456789\",\r\n                    \"wa_id\": \"1123456789\"\r\n                }\r\n            ],\r\n            \"messages\": [\r\n                {\r\n                    \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNEY4Q0M1RDcwMDUxQzYyXXXXXX==\"\r\n                }\r\n            ],\r\n            \"status\": 200\r\n        }\r\n    }\r\n}"}],"_postman_id":"1726c50b-240f-42ee-8fd8-375feadeb868"}],"id":"66745e3b-cfb4-4d5d-9cd3-b5cf0802a7b5","_postman_id":"66745e3b-cfb4-4d5d-9cd3-b5cf0802a7b5","description":""},{"name":"Templates","item":[{"name":"Get Templates","id":"a8b15940-3810-4643-b5e3-ed851450cacb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"url":"https://chatflow.pabbly.com/api/v1/templates","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method and fill the following data according your requirments to fetch message templates.</li>\n</ul>\n<h2 id=\"query-params\">Query Params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>all</td>\n<td>No</td>\n<td>Boolean</td>\n<td>If you want to fetch all templates, pass the <code>all</code> parameter in query params with any truthy value.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>No</td>\n<td>Number</td>\n<td>If you want to fetch a limited number of templates, pass the <code>limit</code> parameter in query params with a numeric value.  <br /><strong>Default Value:</strong> 50</td>\n</tr>\n<tr>\n<td>page</td>\n<td>No</td>\n<td>Number</td>\n<td>If you want to fetch templates from a specific page, pass the <code>page</code> parameter in query params with a numeric value.  <br /><strong>Default Value:</strong> 1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","templates"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"d629553e-6074-454a-adcd-a4a96db864fb","name":"Get Paginated Templates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://chatflow.pabbly.com/api/v1/templates?limit=10&page=1","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","templates"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Templates fetched successfully\",\r\n    \"data\": {\r\n        \"templates\": [\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8bd\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"1299480884626054\",\r\n                \"name\": \"market_bros\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"IMAGE\",\r\n                        \"example\": {\r\n                            \"header_handle\": [\r\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/454641900_1299480887959387_7502014456909389945_n.jpg?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=XmjEPF_8nc0Q7kNvgG7Epcv&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIAfWpnNJzfkZqjjED3TwWEBWfMPi9Bs2gmLA19KH114n&oe=67CAA3C0\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"Some caption for marketing image\"\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.300Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.300Z\",\r\n                \"type\": \"image\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8be\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"584789171207477\",\r\n                \"name\": \"interactive_marketing\",\r\n                \"language\": \"en_GB\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"TEXT\",\r\n                        \"text\": \"Hello {{1}}\",\r\n                        \"example\": {\r\n                            \"header_text\": [\r\n                                \"Sir\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"Hope you are {{1}}.\\n\\nToday I want to introduce you to our new {{2}} {{3}}. {{4}} is our latest innovation, please do checkout and feel free to contact us.\",\r\n                        \"example\": {\r\n                            \"body_text\": [\r\n                                [\r\n                                    \"doing well\",\r\n                                    \"product\",\r\n                                    \"Shalimar\",\r\n                                    \"Shalimar\"\r\n                                ]\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"FOOTER\",\r\n                        \"text\": \"Thank You\"\r\n                    },\r\n                    {\r\n                        \"type\": \"BUTTONS\",\r\n                        \"buttons\": [\r\n                            {\r\n                                \"type\": \"COPY_CODE\",\r\n                                \"text\": \"Copy offer code\",\r\n                                \"example\": [\r\n                                    \"Shalimar\"\r\n                                ]\r\n                            },\r\n                            {\r\n                                \"type\": \"QUICK_REPLY\",\r\n                                \"text\": \"Sure I will do\"\r\n                            },\r\n                            {\r\n                                \"type\": \"QUICK_REPLY\",\r\n                                \"text\": \"Not interested\"\r\n                            },\r\n                            {\r\n                                \"type\": \"QUICK_REPLY\",\r\n                                \"text\": \"Opt-out\"\r\n                            },\r\n                            {\r\n                                \"type\": \"QUICK_REPLY\",\r\n                                \"text\": \"Okay\"\r\n                            }\r\n                        ]\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8bf\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"585273447604143\",\r\n                \"name\": \"marketing_template\",\r\n                \"language\": \"en_GB\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"TEXT\",\r\n                        \"text\": \"Hi {{1}}\",\r\n                        \"example\": {\r\n                            \"header_text\": [\r\n                                \"$Name\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"How are you {{1}}? It is to meet & discuss with you.\",\r\n                        \"example\": {\r\n                            \"body_text\": [\r\n                                [\r\n                                    \"$FirstName\"\r\n                                ]\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c0\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"858893156254595\",\r\n                \"name\": \"link_docs\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"DOCUMENT\",\r\n                        \"example\": {\r\n                            \"header_handle\": [\r\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/473399444_858893162921261_7840692266964023941_n.pdf?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=Ehtwa_m_4UYQ7kNvgGaLf8b&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIHduDzzpcec26JziX5DEo7JKW0y3-uPIkV4uopcluPMX&oe=67CA8D91\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"This is documentation about links. {{1}}\",\r\n                        \"example\": {\r\n                            \"body_text\": [\r\n                                [\r\n                                    \"Thanks\"\r\n                                ]\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"UTILITY\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"type\": \"document\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c1\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"622915550124046\",\r\n                \"name\": \"video_with_param\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"VIDEO\",\r\n                        \"example\": {\r\n                            \"header_handle\": [\r\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/473397565_622915553457379_794576164898131124_n.mp4?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=LaZmMRCrnS0Q7kNvgFgx1i4&_nc_zt=28&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaILuvux2gbuENEpezvpp-SAETv7VCa-smzd3V9Ub48_fa&oe=67CAA43A\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"Hello {{1}} Sir, {{2}} are you doing?\",\r\n                        \"example\": {\r\n                            \"body_text\": [\r\n                                [\r\n                                    \"John\",\r\n                                    \"how\"\r\n                                ]\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"type\": \"video\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c2\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"620215123719891\",\r\n                \"name\": \"a_marketing_strategy\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"Hello $Name, We hope you are doing great. Its being a while, we didn't get any order from you to recharge your $MobileNumber. \\nI will wait for your response.\"\r\n                    },\r\n                    {\r\n                        \"type\": \"FOOTER\",\r\n                        \"text\": \"Thank You\"\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c3\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"2082543462198881\",\r\n                \"name\": \"video_template\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"VIDEO\",\r\n                        \"example\": {\r\n                            \"header_handle\": [\r\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/472012574_2082543465532214_3272027660724285081_n.mp4?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=9uB8Thb9fQ8Q7kNvgEfoT0p&_nc_zt=28&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIGRmceK8Pepj-OarbUNg_zfv84tPsuFm8aFCRhXVWi1V&oe=67CA9B4B\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"some video template\"\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"type\": \"video\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c4\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"1114497243654397\",\r\n                \"name\": \"demo_text\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"Some demo text {{1}}\",\r\n                        \"example\": {\r\n                            \"body_text\": [\r\n                                [\r\n                                    \"body\"\r\n                                ]\r\n                            ]\r\n                        }\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"type\": \"text\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c5\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"598211256133695\",\r\n                \"name\": \"alpha_city\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"This is an alpha city, all you see here is alpha peoples.\"\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n            },\r\n            {\r\n                \"_id\": \"67a3182524676e664e58f8c6\",\r\n                \"settingId\": \"6764020afc60086212ad5119\",\r\n                \"waTemplateId\": \"8913023088785051\",\r\n                \"name\": \"welcome_template\",\r\n                \"language\": \"en\",\r\n                \"components\": [\r\n                    {\r\n                        \"type\": \"HEADER\",\r\n                        \"format\": \"TEXT\",\r\n                        \"text\": \"Hello {{1}}\",\r\n                        \"example\": {\r\n                            \"header_text\": [\r\n                                \"Sunny\"\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"BODY\",\r\n                        \"text\": \"How are you? hope you are doing well.\"\r\n                    },\r\n                    {\r\n                        \"type\": \"FOOTER\",\r\n                        \"text\": \"Thanks for being connected\"\r\n                    }\r\n                ],\r\n                \"status\": \"APPROVED\",\r\n                \"category\": \"MARKETING\",\r\n                \"__v\": 0,\r\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n            }\r\n        ],\r\n        \"pagination\": {\r\n            \"totalTemplates\": 12,\r\n            \"totalPages\": 2,\r\n            \"currentPage\": 1,\r\n            \"limit\": 10,\r\n            \"hasNextPage\": true,\r\n            \"hasPrevPage\": false\r\n        }\r\n    }\r\n}"},{"id":"08f2c0d9-8eb5-4825-8917-2ae8e461daba","name":"Get All Templates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://chatflow.pabbly.com/api/v1/templates?all=true","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","templates"],"query":[{"key":"all","value":"true"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Templates fetched successfully\",\n    \"data\": {\n        \"templates\": [\n            {\n                \"_id\": \"67a3182524676e664e58f8bd\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"1299480884626054\",\n                \"name\": \"market_bros\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"IMAGE\",\n                        \"example\": {\n                            \"header_handle\": [\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/454641900_1299480887959387_7502014456909389945_n.jpg?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=XmjEPF_8nc0Q7kNvgG7Epcv&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIAfWpnNJzfkZqjjED3TwWEBWfMPi9Bs2gmLA19KH114n&oe=67CAA3C0\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Some caption for marketing image\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.300Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.300Z\",\n                \"type\": \"image\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8be\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"584789171207477\",\n                \"name\": \"interactive_marketing\",\n                \"language\": \"en_GB\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"TEXT\",\n                        \"text\": \"Hello {{1}}\",\n                        \"example\": {\n                            \"header_text\": [\n                                \"Sir\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Hope you are {{1}}.\\n\\nToday I want to introduce you to our new {{2}} {{3}}. {{4}} is our latest innovation, please do checkout and feel free to contact us.\",\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"doing well\",\n                                    \"product\",\n                                    \"Shalimar\",\n                                    \"Shalimar\"\n                                ]\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"FOOTER\",\n                        \"text\": \"Thank You\"\n                    },\n                    {\n                        \"type\": \"BUTTONS\",\n                        \"buttons\": [\n                            {\n                                \"type\": \"COPY_CODE\",\n                                \"text\": \"Copy offer code\",\n                                \"example\": [\n                                    \"Shalimar\"\n                                ]\n                            },\n                            {\n                                \"type\": \"QUICK_REPLY\",\n                                \"text\": \"Sure I will do\"\n                            },\n                            {\n                                \"type\": \"QUICK_REPLY\",\n                                \"text\": \"Not interested\"\n                            },\n                            {\n                                \"type\": \"QUICK_REPLY\",\n                                \"text\": \"Opt-out\"\n                            },\n                            {\n                                \"type\": \"QUICK_REPLY\",\n                                \"text\": \"Okay\"\n                            }\n                        ]\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8bf\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"585273447604143\",\n                \"name\": \"marketing_template\",\n                \"language\": \"en_GB\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"TEXT\",\n                        \"text\": \"Hi {{1}}\",\n                        \"example\": {\n                            \"header_text\": [\n                                \"$Name\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"How are you {{1}}? It is to meet & discuss with you.\",\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"$FirstName\"\n                                ]\n                            ]\n                        }\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c0\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"858893156254595\",\n                \"name\": \"link_docs\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"DOCUMENT\",\n                        \"example\": {\n                            \"header_handle\": [\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/473399444_858893162921261_7840692266964023941_n.pdf?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=Ehtwa_m_4UYQ7kNvgGaLf8b&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIHduDzzpcec26JziX5DEo7JKW0y3-uPIkV4uopcluPMX&oe=67CA8D91\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"This is documentation about links. {{1}}\",\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"Thanks\"\n                                ]\n                            ]\n                        }\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"UTILITY\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\n                \"type\": \"document\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c1\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"622915550124046\",\n                \"name\": \"video_with_param\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"VIDEO\",\n                        \"example\": {\n                            \"header_handle\": [\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/473397565_622915553457379_794576164898131124_n.mp4?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=LaZmMRCrnS0Q7kNvgFgx1i4&_nc_zt=28&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaILuvux2gbuENEpezvpp-SAETv7VCa-smzd3V9Ub48_fa&oe=67CAA43A\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Hello {{1}} Sir, {{2}} are you doing?\",\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"John\",\n                                    \"how\"\n                                ]\n                            ]\n                        }\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\n                \"type\": \"video\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c2\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"620215123719891\",\n                \"name\": \"a_marketing_strategy\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Hello $Name, We hope you are doing great. Its being a while, we didn't get any order from you to recharge your $MobileNumber. \\nI will wait for your response.\"\n                    },\n                    {\n                        \"type\": \"FOOTER\",\n                        \"text\": \"Thank You\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c3\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"2082543462198881\",\n                \"name\": \"video_template\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"VIDEO\",\n                        \"example\": {\n                            \"header_handle\": [\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/472012574_2082543465532214_3272027660724285081_n.mp4?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=9uB8Thb9fQ8Q7kNvgEfoT0p&_nc_zt=28&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIGRmceK8Pepj-OarbUNg_zfv84tPsuFm8aFCRhXVWi1V&oe=67CA9B4B\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"some video template\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\n                \"type\": \"video\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c4\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"1114497243654397\",\n                \"name\": \"demo_text\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Some demo text {{1}}\",\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"body\"\n                                ]\n                            ]\n                        }\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\",\n                \"type\": \"text\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c5\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"598211256133695\",\n                \"name\": \"alpha_city\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"This is an alpha city, all you see here is alpha peoples.\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c6\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"8913023088785051\",\n                \"name\": \"welcome_template\",\n                \"language\": \"en\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"TEXT\",\n                        \"text\": \"Hello {{1}}\",\n                        \"example\": {\n                            \"header_text\": [\n                                \"Sunny\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"How are you? hope you are doing well.\"\n                    },\n                    {\n                        \"type\": \"FOOTER\",\n                        \"text\": \"Thanks for being connected\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c7\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"1072732384643636\",\n                \"name\": \"crypto_installations\",\n                \"language\": \"en_US\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"IMAGE\",\n                        \"example\": {\n                            \"header_handle\": [\n                                \"https://scontent.whatsapp.net/v/t61.29466-34/462460818_1072732387976969_5335450883540686871_n.jpg?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=q8JMIJAD_-AQ7kNvgGIMCfL&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIKrCeOaXTqkeCmlgHgjvLD9cT4lTcqNkoy_Od7Tgic7E&oe=67CA9DD5\"\n                            ]\n                        }\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Follow the attached document to install your product.\"\n                    },\n                    {\n                        \"type\": \"FOOTER\",\n                        \"text\": \"For more support, visit our website.\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"MARKETING\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            },\n            {\n                \"_id\": \"67a3182524676e664e58f8c8\",\n                \"settingId\": \"6764020afc60086212ad5119\",\n                \"waTemplateId\": \"1005446854678735\",\n                \"name\": \"hello_world\",\n                \"language\": \"en_US\",\n                \"components\": [\n                    {\n                        \"type\": \"HEADER\",\n                        \"format\": \"TEXT\",\n                        \"text\": \"Hello World\"\n                    },\n                    {\n                        \"type\": \"BODY\",\n                        \"text\": \"Welcome and congratulations!! This message demonstrates your ability to send a WhatsApp message notification from the Cloud API, hosted by Meta. Thank you for taking the time to test with us.\"\n                    },\n                    {\n                        \"type\": \"FOOTER\",\n                        \"text\": \"WhatsApp Business Platform sample message\"\n                    }\n                ],\n                \"status\": \"APPROVED\",\n                \"category\": \"UTILITY\",\n                \"__v\": 0,\n                \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n                \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a8b15940-3810-4643-b5e3-ed851450cacb"},{"name":"Get Template By Name/Id","id":"8729ce10-47be-4a24-be64-6bb7da708275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"url":"https://chatflow.pabbly.com/api/v1/templates/:identifier?id=","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method and fill the following data according your requirments to fetch a message template with custom fields.</li>\n</ul>\n<h2 id=\"path-variables-url-params\">Path Variables (URL Params)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identifier</td>\n<td>Yes</td>\n<td>String</td>\n<td>It should be a 24-Hex ID if the <code>by</code> query param is set with the value \"<strong>id</strong>\", otherwise you can use <code>template_name</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"query-params\">Query Params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>by</td>\n<td>No</td>\n<td>String</td>\n<td>By default, this API matches the template by name. If you want to fetch the template by 24-Hex ID, use the <code>by</code> param with the value \"<strong>id</strong>\".</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","templates",":identifier"],"host":["chatflow","pabbly","com"],"query":[{"key":"id","value":""}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"bffea9e9-8583-4bbf-8ae8-2ec3b904786a","name":"Get a Text Template","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://chatflow.pabbly.com/api/v1/templates/interactive_marketing"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Template fetched successfully\",\r\n    \"data\": {\r\n        \"template\": {\r\n            \"_id\": \"67a3182524676e664e58f8be\",\r\n            \"settingId\": \"6764020afc60086212ad5119\",\r\n            \"waTemplateId\": \"584789171207477\",\r\n            \"name\": \"interactive_marketing\",\r\n            \"language\": \"en_GB\",\r\n            \"components\": [\r\n                {\r\n                    \"type\": \"HEADER\",\r\n                    \"format\": \"TEXT\",\r\n                    \"text\": \"Hello {{1}}\",\r\n                    \"example\": {\r\n                        \"header_text\": [\r\n                            \"Sir\"\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"type\": \"BODY\",\r\n                    \"text\": \"Hope you are {{1}}.\\n\\nToday I want to introduce you to our new {{2}} {{3}}. {{4}} is our latest innovation, please do checkout and feel free to contact us.\",\r\n                    \"example\": {\r\n                        \"body_text\": [\r\n                            [\r\n                                \"doing well\",\r\n                                \"product\",\r\n                                \"Shalimar\",\r\n                                \"Shalimar\"\r\n                            ]\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"type\": \"FOOTER\",\r\n                    \"text\": \"Thank You\"\r\n                },\r\n                {\r\n                    \"type\": \"BUTTONS\",\r\n                    \"buttons\": [\r\n                        {\r\n                            \"type\": \"COPY_CODE\",\r\n                            \"text\": \"Copy offer code\",\r\n                            \"example\": [\r\n                                \"Shalimar\"\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Sure I will do\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Not interested\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Opt-out\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Okay\"\r\n                        }\r\n                    ]\r\n                }\r\n            ],\r\n            \"status\": \"APPROVED\",\r\n            \"category\": \"MARKETING\",\r\n            \"__v\": 0,\r\n            \"createdAt\": \"2025-02-05T07:49:57.301Z\",\r\n            \"updatedAt\": \"2025-02-05T07:49:57.301Z\"\r\n        },\r\n        \"customFields\": {\r\n            \"headerParams\": [\r\n                {\r\n                    \"key\": \"{{1}}\",\r\n                    \"value\": \"Sir\",\r\n                    \"helpText\": \"Enter the Header Parameter {{1}} e.g. Sir\"\r\n                }\r\n            ],\r\n            \"bodyParams\": [\r\n                {\r\n                    \"key\": \"{{1}}\",\r\n                    \"value\": \"doing well\",\r\n                    \"helpText\": \"Enter the Body Parameter {{1}} e.g. doing well\"\r\n                },\r\n                {\r\n                    \"key\": \"{{2}}\",\r\n                    \"value\": \"product\",\r\n                    \"helpText\": \"Enter the Body Parameter {{2}} e.g. product\"\r\n                },\r\n                {\r\n                    \"key\": \"{{3}}\",\r\n                    \"value\": \"Shalimar\",\r\n                    \"helpText\": \"Enter the Body Parameter {{3}} e.g. Shalimar\"\r\n                },\r\n                {\r\n                    \"key\": \"{{4}}\",\r\n                    \"value\": \"Shalimar\",\r\n                    \"helpText\": \"Enter the Body Parameter {{4}} e.g. Shalimar\"\r\n                }\r\n            ],\r\n            \"link\": [],\r\n            \"copyCodeParam\": []\r\n        }\r\n    }\r\n}"},{"id":"12ed8eee-dfeb-47db-800a-e5ac459ad4f7","name":"Get a Media Template","originalRequest":{"method":"GET","header":[],"url":"https://chatflow.pabbly.com/api/v1/templates/link_docs"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Template fetched successfully\",\n    \"data\": {\n        \"template\": {\n            \"_id\": \"67a3182524676e664e58f8c0\",\n            \"settingId\": \"6764020afc60086212ad5119\",\n            \"waTemplateId\": \"858893156254595\",\n            \"name\": \"link_docs\",\n            \"language\": \"en\",\n            \"components\": [\n                {\n                    \"type\": \"HEADER\",\n                    \"format\": \"DOCUMENT\",\n                    \"example\": {\n                        \"header_handle\": [\n                            \"https://scontent.whatsapp.net/v/t61.29466-34/473399444_858893162921261_7840692266964023941_n.pdf?ccb=1-7&_nc_sid=8b1bef&_nc_ohc=Ehtwa_m_4UYQ7kNvgGaLf8b&_nc_zt=3&_nc_ht=scontent.whatsapp.net&edm=AH51TzQEAAAA&_nc_gid=Ac2Kyb_CMTcjNzByxdal1Zp&oh=01_Q5AaIHduDzzpcec26JziX5DEo7JKW0y3-uPIkV4uopcluPMX&oe=67CA8D91\"\n                        ]\n                    }\n                },\n                {\n                    \"type\": \"BODY\",\n                    \"text\": \"This is documentation about links. {{1}}\",\n                    \"example\": {\n                        \"body_text\": [\n                            [\n                                \"Thanks\"\n                            ]\n                        ]\n                    }\n                }\n            ],\n            \"status\": \"APPROVED\",\n            \"category\": \"UTILITY\",\n            \"__v\": 0,\n            \"createdAt\": \"2025-02-05T07:49:57.301Z\",\n            \"updatedAt\": \"2025-02-05T12:15:29.109Z\",\n            \"type\": \"document\"\n        },\n        \"customFields\": {\n            \"headerParams\": [],\n            \"bodyParams\": [\n                {\n                    \"key\": \"{{1}}\",\n                    \"value\": \"Thanks\",\n                    \"helpText\": \"Enter the Body Parameter {{1}} e.g. Thanks\"\n                }\n            ],\n            \"link\": [\n                {\n                    \"key\": \"link\",\n                    \"value\": \"\",\n                    \"helpText\": \"Enter the URL of your document, e.g., https://pabbly-chatflow.s3.amazonaws.com/production/public/6666a1651c7510942a34f465/2025-01-14/video/e6773b24-d7a1-4d9c-a23b-c5d6b31fbc9f.mp4\"\n                }\n            ],\n            \"copyCodeParam\": []\n        }\n    }\n}"},{"id":"2958a0a8-d001-4e12-8592-90d4f276131e","name":"Get a Authentication Template","originalRequest":{"method":"GET","header":[],"url":"https://chatflow.pabbly.com/api/v1/templates/bearer_auth"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Template fetched successfully\",\n    \"data\": {\n        \"template\": {\n            \"_id\": \"67a35661c103833223a633b0\",\n            \"settingId\": \"6764020afc60086212ad5119\",\n            \"waTemplateId\": \"907331274893781\",\n            \"name\": \"bearer_auth\",\n            \"language\": \"en_GB\",\n            \"components\": [\n                {\n                    \"type\": \"BODY\",\n                    \"text\": \"*{{1}}* is your verification code. For your security, do not share this code.\",\n                    \"add_security_recommendation\": true,\n                    \"example\": {\n                        \"body_text\": [\n                            [\n                                \"123456\"\n                            ]\n                        ]\n                    }\n                },\n                {\n                    \"type\": \"FOOTER\",\n                    \"text\": \"This code expires in 10 minutes.\",\n                    \"code_expiration_minutes\": 10\n                },\n                {\n                    \"type\": \"BUTTONS\",\n                    \"buttons\": [\n                        {\n                            \"type\": \"URL\",\n                            \"text\": \"QWERAS\",\n                            \"url\": \"https://www.whatsapp.com/otp/code/?otp_type=COPY_CODE&code_expiration_minutes=10&code=otp{{1}}\",\n                            \"example\": [\n                                \"https://www.whatsapp.com/otp/code/?otp_type=COPY_CODE&code_expiration_minutes=10&code=otp123456\"\n                            ]\n                        }\n                    ]\n                }\n            ],\n            \"status\": \"APPROVED\",\n            \"category\": \"AUTHENTICATION\",\n            \"__v\": 0,\n            \"createdAt\": \"2025-02-05T12:15:29.111Z\",\n            \"updatedAt\": \"2025-02-05T12:15:29.111Z\"\n        },\n        \"customFields\": {\n            \"headerParams\": [],\n            \"bodyParams\": [],\n            \"link\": [],\n            \"copyCodeParam\": [\n                {\n                    \"key\": \"copyCodeParam\",\n                    \"value\": {\n                        \"type\": \"BODY\",\n                        \"text\": \"*{{1}}* is your verification code. For your security, do not share this code.\",\n                        \"add_security_recommendation\": true,\n                        \"example\": {\n                            \"body_text\": [\n                                [\n                                    \"123456\"\n                                ]\n                            ]\n                        }\n                    },\n                    \"helpText\": \"Enter the code to copy, e.g., QWERAS\"\n                }\n            ]\n        }\n    }\n}"},{"id":"8e396c92-6c1c-4947-b12f-296c788b12a0","name":"Get Template with CTA/CopyCode Buttons","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"url":"https://chatflow.pabbly.com/api/v1/templates/winter_offer"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Template fetched successfully\",\r\n    \"data\": {\r\n        \"template\": {\r\n            \"_id\": \"67c55eaf1dc8001c3d3e32f8\",\r\n            \"settingId\": \"6764020afc60086212ad5119\",\r\n            \"waTemplateId\": \"1264338004661404\",\r\n            \"name\": \"winter_offer\",\r\n            \"language\": \"en\",\r\n            \"components\": [\r\n                {\r\n                    \"type\": \"BODY\",\r\n                    \"text\": \"Hello folks, We're glad to invite you in our new workplace inauguration & check our newly launched collections\"\r\n                },\r\n                {\r\n                    \"type\": \"FOOTER\",\r\n                    \"text\": \"Thank You\"\r\n                },\r\n                {\r\n                    \"type\": \"BUTTONS\",\r\n                    \"buttons\": [\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Sure\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Sorry busy at the moment\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Not interested\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Thanks\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Thanks You\"\r\n                        },\r\n                        {\r\n                            \"type\": \"QUICK_REPLY\",\r\n                            \"text\": \"Others\"\r\n                        },\r\n                        {\r\n                            \"type\": \"URL\",\r\n                            \"text\": \"Visit new website\",\r\n                            \"url\": \"https://github.com/sunny-unik{{1}}\",\r\n                            \"example\": [\r\n                                \"https://github.com/sunny-unik\"\r\n                            ]\r\n                        },\r\n                        {\r\n                            \"type\": \"PHONE_NUMBER\",\r\n                            \"text\": \"Call phone number\",\r\n                            \"phone_number\": \"+917697862115\"\r\n                        },\r\n                        {\r\n                            \"type\": \"URL\",\r\n                            \"text\": \"Visit website\",\r\n                            \"url\": \"https://github.com/\"\r\n                        },\r\n                        {\r\n                            \"type\": \"COPY_CODE\",\r\n                            \"text\": \"Copy offer code\",\r\n                            \"example\": [\r\n                                \"EDSWRF\"\r\n                            ]\r\n                        }\r\n                    ]\r\n                }\r\n            ],\r\n            \"status\": \"APPROVED\",\r\n            \"category\": \"MARKETING\",\r\n            \"type\": \"text\",\r\n            \"__v\": 0,\r\n            \"createdAt\": \"2025-03-03T07:47:59.036Z\",\r\n            \"updatedAt\": \"2025-03-03T07:47:59.036Z\"\r\n        },\r\n        \"customFields\": {\r\n            \"headerParams\": [],\r\n            \"bodyParams\": [],\r\n            \"link\": [],\r\n            \"copyCodeParam\": [\r\n                {\r\n                    \"key\": \"urlVariables\",\r\n                    \"value\": \"EDSWRF\",\r\n                    \"helpText\": \"Enter the code to copy, e.g., QWERAS\"\r\n                }\r\n            ],\r\n            \"urlVariables\": [\r\n                {\r\n                    \"key\": \"urlVariables\",\r\n                    \"value\": \"\",\r\n                    \"helpText\": \"Enter the url variables or query params to concatenate with URL\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}"}],"_postman_id":"8729ce10-47be-4a24-be64-6bb7da708275"}],"id":"6429424c-8144-45b5-874e-8d2b61659c1f","_postman_id":"6429424c-8144-45b5-874e-8d2b61659c1f","description":""},{"name":"Broadcasts","item":[{"name":"Send Broadcast with Regular Message","id":"cf16145f-1d7d-449b-822f-c7b39ab43bc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"product_feedback\",\r\n  \"broadcastType\": \"broadcast\",\r\n  \"messageType\": \"regular\",\r\n  \"status\": \"scheduled\",\r\n  \"contactList\": [\"sups\"],\r\n  \"scheduleAt\": \"2025-03-08T07:59:45.435Z\",\r\n  \"regularMessageType\": \"text\",\r\n\t\"message\": \"Hi John, We value your feedback and would appreciate you sharing more about your experience with us by reply in this chat. This should only take 5 minutes. We appreciate your time\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to add broadcast.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>broadcastType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of the broadcast you want to create, this must be \"<strong>broadcast</strong>\".</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of Broadcast you want to create.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Yes</td>\n<td>String</td>\n<td>Status of Broadcast you want to create, this must be \"<strong>scheduled</strong>\" or \"<strong>instant</strong>\".</td>\n</tr>\n<tr>\n<td>messageType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message, this must be \"<strong>template</strong>\" or \"<strong>regular</strong>\".</td>\n</tr>\n<tr>\n<td>contactList</td>\n<td>Yes</td>\n<td>Array of String</td>\n<td>Names of contact lists to send messages to your contacts. You can include \"<strong>unassigned</strong>\" to target contacts that don't belong to any contact list.  <br /><strong>Note:</strong> This is required if <code>broadcastType</code> is \"<strong>broadcast</strong>\".</td>\n</tr>\n<tr>\n<td>scheduleAt</td>\n<td>No</td>\n<td>String</td>\n<td>Specify when you want this broadcast to be delivered to recipients. E.g. \"2025-03-13T04:20:14.007Z\"  <br /><strong>Note:</strong> This is required if <code>status</code> is \"<strong>scheduled</strong>\".</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>No</td>\n<td>String</td>\n<td>Name of the template you want to send.  <br /><strong>Note:</strong> This is required if <code>messageType</code> is \"<strong>template</strong>\".</td>\n</tr>\n<tr>\n<td>headerParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />You can add multiple parameters, which will be sent to the user according to their respective index.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>urlVariables</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Specify path variables or query parameters you want to concatenate in the URL. This is only used if <code>messageType</code> is \"<strong>template</strong>\" and the template has Dynamic URL CTA Buttons.</td>\n</tr>\n<tr>\n<td>copyCode</td>\n<td>No</td>\n<td>String</td>\n<td>Code to send with the template, includes a copy code button.</td>\n</tr>\n<tr>\n<td>regularMessageType</td>\n<td>No</td>\n<td>String</td>\n<td>Type of message you want to send, this must be \"<strong>text</strong>\", \"<strong>image</strong>\", \"<strong>audio</strong>\", \"<strong>video</strong>\", or \"<strong>document</strong>\".  <br /><strong>Note:</strong> This is required if <code>messageType</code> is \"<strong>regular</strong>\".</td>\n</tr>\n<tr>\n<td>message</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>message</code> field is required as a non-empty string if <code>regularMessageType</code> is \"<strong>text</strong>\".</td>\n</tr>\n<tr>\n<td>link</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>link</code> field is required as a valid URL if you want to send a media message.</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>filename</code> field is only used if you want to send a document-type message.</td>\n</tr>\n<tr>\n<td>caption</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>caption</code> field is only used if you want to send a media message except for an audio message.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","broadcasts"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"5eb2f2df-8363-49d3-94ec-c934e5a15f3d","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"product_feedback\",\r\n  \"broadcastType\": \"broadcast\",\r\n  \"messageType\": \"regular\",\r\n  \"status\": \"scheduled\",\r\n  \"contactList\": [\"sups\"],\r\n  \"scheduleAt\": \"2025-03-08T07:59:45.435Z\",\r\n  \"regularMessageType\": \"text\",\r\n\t\"message\": \"Hi John, We value your feedback and would appreciate you sharing more about your experience with us by reply in this chat. This should only take 5 minutes. We appreciate your time\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Broadcast created successfully\",\r\n    \"data\": {\r\n        \"name\": \"product_feedback\",\r\n        \"messageType\": \"regular\",\r\n        \"broadcastType\": \"broadcast\",\r\n        \"regularMessage\": {\r\n            \"type\": \"text\",\r\n            \"message\": \"Hi John, We value your feedback and would appreciate you sharing more about your experience with us by reply in this chat. This should only take 5 minutes. We appreciate your time\"\r\n        },\r\n        \"status\": \"scheduled\",\r\n        \"contactList\": [\r\n            \"sups\"\r\n        ],\r\n        \"scheduleAt\": \"2025-03-08T07:59:45.435Z\",\r\n        \"_id\": \"67caa9cd0131b0deggds9ff51c\",\r\n        \"createdAt\": \"2025-03-07T08:09:49.532Z\",\r\n        \"updatedAt\": \"2025-03-07T08:09:49.532Z\",\r\n        \"__v\": 0\r\n    }\r\n}"}],"_postman_id":"cf16145f-1d7d-449b-822f-c7b39ab43bc7"},{"name":"Send Broadcast with Template Message","id":"eca8c5dc-a5ca-4160-b6e6-09d502bef188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"summer_promo\",\r\n  \"broadcastType\": \"broadcast\",\r\n  \"messageType\": \"template\",\r\n  \"status\": \"instant\",\r\n  \"contactList\": [\"sups\"],\r\n  \"templateName\": \"summer_time\",\r\n  \"headerParams\": [\"Hi John\"],\r\n  \"bodyParams\": [\"Summer\", \"25%\"],\r\n  \"urlVariables\": [\"?tab=summer_zone\"],\r\n  \"copyCodeParam\": \"LGBTQ++\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to add broadcast.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>broadcastType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of the broadcast you want to create, this must be \"<strong>broadcast</strong>\".</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of Broadcast you want to create.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Yes</td>\n<td>String</td>\n<td>Status of Broadcast you want to create, this must be \"<strong>scheduled</strong>\" or \"<strong>instant</strong>\".</td>\n</tr>\n<tr>\n<td>messageType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of message, this must be \"<strong>template</strong>\" or \"<strong>regular</strong>\".</td>\n</tr>\n<tr>\n<td>contactList</td>\n<td>Yes</td>\n<td>Array of String</td>\n<td>Names of contact lists to send messages to your contacts. You can include \"<strong>unassigned</strong>\" to target contacts that don't belong to any contact list.  <br /><strong>Note:</strong> This is required if <code>broadcastType</code> is \"<strong>broadcast</strong>\".</td>\n</tr>\n<tr>\n<td>scheduleAt</td>\n<td>No</td>\n<td>String</td>\n<td>Specify when you want this broadcast to be delivered to recipients. E.g. \"2025-03-13T04:20:14.007Z\"  <br /><strong>Note:</strong> This is required if <code>status</code> is \"<strong>scheduled</strong>\".</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>No</td>\n<td>String</td>\n<td>Name of the template you want to send.  <br /><strong>Note:</strong> This is required if <code>messageType</code> is \"<strong>template</strong>\".</td>\n</tr>\n<tr>\n<td>headerParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />You can add multiple parameters, which will be sent to the user according to their respective index.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>urlVariables</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Specify path variables or query parameters you want to concatenate in the URL. This is only used if <code>messageType</code> is \"<strong>template</strong>\" and the template has Dynamic URL CTA Buttons.</td>\n</tr>\n<tr>\n<td>copyCode</td>\n<td>No</td>\n<td>String</td>\n<td>Code to send with the template, includes a copy code button.</td>\n</tr>\n<tr>\n<td>regularMessageType</td>\n<td>No</td>\n<td>String</td>\n<td>Type of message you want to send, this must be \"<strong>text</strong>\", \"<strong>image</strong>\", \"<strong>audio</strong>\", \"<strong>video</strong>\", or \"<strong>document</strong>\".  <br /><strong>Note:</strong> This is required if <code>messageType</code> is \"<strong>regular</strong>\".</td>\n</tr>\n<tr>\n<td>message</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>message</code> field is required as a non-empty string if <code>regularMessageType</code> is \"<strong>text</strong>\".</td>\n</tr>\n<tr>\n<td>link</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>link</code> field is required as a valid URL if you want to send a media message.</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>filename</code> field is only used if you want to send a document-type message.</td>\n</tr>\n<tr>\n<td>caption</td>\n<td>No</td>\n<td>String</td>\n<td>The <code>caption</code> field is only used if you want to send a media message except for an audio message.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","broadcasts"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"bb194a07-6dee-4ed4-a800-d9a9a9929ae8","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"summer_promo\",\r\n  \"broadcastType\": \"broadcast\",\r\n  \"messageType\": \"template\",\r\n  \"status\": \"instant\",\r\n  \"contactList\": [\"sups\"],\r\n  \"templateName\": \"summer_time\",\r\n  \"headerParams\": [\"Hi John\"],\r\n  \"bodyParams\": [\"Summer\", \"25%\"],\r\n  \"urlVariables\": [\"?tab=summer_zone\"],\r\n  \"copyCodeParam\": \"LGBTQ++\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Broadcast created successfully\",\r\n    \"data\": {\r\n        \"name\": \"summer_promo\",\r\n        \"messageType\": \"template\",\r\n        \"broadcastType\": \"broadcast\",\r\n        \"templateName\": \"summer_time\",\r\n        \"bodyParams\": [\r\n            \"Summer\",\r\n            \"25%\"\r\n        ],\r\n        \"headerParams\": [\r\n            \"Hi John\"\r\n        ],\r\n        \"status\": \"live\",\r\n        \"contactList\": [\r\n            \"sups\"\r\n        ],\r\n        \"_id\": \"67d164798873ae03XXXXXXXX\",\r\n        \"createdAt\": \"2025-03-12T10:39:53.298Z\",\r\n        \"updatedAt\": \"2025-03-12T10:39:53.298Z\",\r\n        \"startedAt\": \"2025-03-12T10:39:53.299Z\",\r\n        \"__v\": 0\r\n    }\r\n}"}],"_postman_id":"eca8c5dc-a5ca-4160-b6e6-09d502bef188"},{"name":"Add API Campaign","id":"f61a09e3-1fa3-4102-ab96-664e93368880","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"summer_campaign\",\r\n  \"broadcastType\": \"api\",\r\n  \"templateName\": \"summer_time\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to add API Campaign.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>broadcastType</td>\n<td>Yes</td>\n<td>String</td>\n<td>Type of the broadcast you want to create, this must be \"api\".</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of Broadcast you want to create.</td>\n</tr>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the template you want to send.  <br /><strong>Note:</strong> This is required if <code>messageType</code> is \"<strong>template</strong>\".</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","broadcasts"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"761ab24b-140c-49db-b8ca-5e15262f01f4","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"summer_campaign\",\r\n  \"broadcastType\": \"api\",\r\n  \"templateName\": \"summer_time\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Broadcast created successfully\",\r\n    \"data\": {\r\n        \"name\": \"summer_campaign\",\r\n        \"broadcastType\": \"api\",\r\n        \"templateName\": \"summer_time\",\r\n        \"bodyParams\": [\r\n            \"Summer\",\r\n            \"25%\"\r\n        ],\r\n        \"headerParams\": [\r\n            \"Hi John\"\r\n        ],\r\n        \"status\": \"live\",\r\n        \"_id\": \"67d16fdba6e04b597XXXXXXXX\",\r\n        \"createdAt\": \"2025-03-12T11:28:27.871Z\",\r\n        \"updatedAt\": \"2025-03-12T11:28:27.871Z\",\r\n        \"__v\": 0\r\n    }\r\n}"}],"_postman_id":"f61a09e3-1fa3-4102-ab96-664e93368880"},{"name":"Send API Campaign","id":"f9966939-9019-4de0-9c3a-749bb79d7eb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"templateName\": \"festival_offer_template\",\n    \"campaignName\": \"festival offer\",\n    \"destination\": \"9176978xxxxx\",\n    \"userName\": \"Jon\",\n    \"headerParams\": [\n        \"Sir\"\n    ],\n    \"bodyParams\": [\n        \"Christmas\",\n        \"Thank You\"\n    ],\n    \"source\": \"api\",\n    \"link\": \"https://placehold.co/600x400/EEE/31343C.png\",\n    \"filename\": \"filename\",\n    \"defaultContactFieldValues\": {\n        \"Country\": \"India\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts/send","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to send broadcast.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>templateName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the template you want to send.</td>\n</tr>\n<tr>\n<td>campaignName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of API Broadcast you want to send.</td>\n</tr>\n<tr>\n<td>destination</td>\n<td>Yes</td>\n<td>String</td>\n<td>Phone number followed by the dialing code.</td>\n</tr>\n<tr>\n<td>userName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Contact name used to create a contact if the destination number doesn't exist in your contacts.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>Yes</td>\n<td>String</td>\n<td><code>source</code> is used to create a contact if the destination number doesn't exist. Its value must be one of the following: '<strong>manual</strong>', '<strong>csv</strong>', '<strong>api</strong>', '<strong>user</strong>', '<strong>sync</strong>', or '<strong>wa</strong>'.</td>\n</tr>\n<tr>\n<td>headerParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>bodyParams</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Parameter values that can be dynamically inserted into the template.  <br />You can add multiple parameters, which will be sent to the user according to their respective index.  <br />E.g., Parameter <code>{{1}}</code> will be replaced in the template with the given value.</td>\n</tr>\n<tr>\n<td>link</td>\n<td>No</td>\n<td>String</td>\n<td><code>link</code> is required as a valid URL to your file if the template has an attached file.</td>\n</tr>\n<tr>\n<td>filename</td>\n<td>No</td>\n<td>String</td>\n<td><code>filename</code> is only used if you're sending a template with a document type.</td>\n</tr>\n<tr>\n<td>defaultContactFieldValues</td>\n<td>No</td>\n<td>Object</td>\n<td><code>defaultContactFieldValues</code> is a set of key-value pairs used as fallback attributes when a contact's attribute is missing or empty.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","broadcasts","send"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"f597c76f-1300-4023-ae9d-e8d7110482d4","name":"Send API Campaign","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"templateName\": \"festival_offer_template\",\n    \"campaignName\": \"festival offer\",\n    \"destination\": \"1123456789\",\n    \"userName\": \"Jon\",\n    \"headerParams\": [\n        \"Sir\"\n    ],\n    \"bodyParams\": [\n        \"Christmas\",\n        \"Thank You\"\n    ],\n    \"source\": \"api\",\n    \"link\": \"https://placehold.co/600x400/EEE/31343C.png\",\n    \"filename\": \"filename\",\n    \"defaultContactFieldValues\": {\n        \"Country\": \"India\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/broadcasts/send"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": \"true\",\r\n    \"data\": {\r\n        \"messaging_product\": \"whatsapp\",\r\n        \"contacts\": [\r\n            {\r\n                \"input\": \"9176978xxxxx\",\r\n                \"wa_id\": \"9176978xxxxx\"\r\n            }\r\n        ],\r\n        \"messages\": [\r\n            {\r\n                \"id\": \"wamid.HBgMOTE3Njk3ODYyMTE1FQIAERgSNzI5RDAyQUJBRUNBxxxxxxxxxx==\",\r\n                \"message_status\": \"accepted\"\r\n            }\r\n        ],\r\n        \"code\": 200\r\n    }\r\n}"}],"_postman_id":"f9966939-9019-4de0-9c3a-749bb79d7eb6"}],"id":"78ab0509-914e-4fa7-9f85-bfca60301847","_postman_id":"78ab0509-914e-4fa7-9f85-bfca60301847","description":""},{"name":"Contacts","item":[{"name":"Create Contacts","id":"df65ffa2-172e-4d5b-911f-98399387d418","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"mobile\": \"9179897xxxxx\",\r\n        \"name\": \"Alex cron\",\r\n        \"optin\": true,\r\n        \"incomingBlocked\": false,\r\n        \"tags\": [\r\n            \"indian\",\r\n            \"vegetarian\",\r\n            \"engineer\"\r\n        ],\r\n        \"attributes\": [\r\n            {\r\n                \"name\": \"city\",\r\n                \"value\": \"bhopal\"\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/contacts","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to create multiple contacts.</li>\n</ul>\n<h2 id=\"query-params\">Query Params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>onDuplicate</td>\n<td>No</td>\n<td>String</td>\n<td>OnDuplicate field determines whether to skip (default) or overwrite an existing contact</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mobile</td>\n<td>Yes</td>\n<td>String</td>\n<td>Phone number with the dialing code</td>\n</tr>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>)</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>\"attributes\" field refers to Custom Fields on the Contact. Key-value pairs for custom attributes. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside the object. If the <code>value</code> is empty then attribute will ignored</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","contacts"],"host":["chatflow","pabbly","com"],"query":[{"disabled":true,"description":{"content":"<p>OnDuplicate field determines whether to skip (default) or overwrite an existing contact.</p>\n","type":"text/plain"},"key":"onDuplicate","value":"skip"}],"variable":[]}},"response":[{"id":"a5994a50-23af-49f5-8792-3bc795db90ae","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"mobile\": \"9179897xxxxx\",\r\n        \"name\": \"Alex cron\",\r\n        \"optin\": true,\r\n        \"incomingBlocked\": false,\r\n        \"tags\": [\r\n            \"indian\",\r\n            \"vegetarian\",\r\n            \"engineer\"\r\n        ],\r\n        \"attributes\": [\r\n            {\r\n                \"name\": \"city\",\r\n                \"value\": \"bhopal\"\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/contacts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"1 contact saved successfully\",\r\n    \"data\": {\r\n        \"createdContacts\": [\r\n            {\r\n                \"mobile\": \"917697xxxxx\",\r\n                \"name\": \"Alex cron\",\r\n                \"optin\": true,\r\n                \"incomingBlocked\": false,\r\n                \"tags\": [\r\n                    \"indian\",\r\n                    \"vegetarian\",\r\n                    \"engineer\"\r\n                ],\r\n                \"attributes\": [\r\n                    {\r\n                        \"name\": \"city\",\r\n                        \"value\": \"bhopal\"\r\n                    }\r\n                ],\r\n                \"source\": \"api\",\r\n                \"list\": [\r\n                    \"all\",\r\n                    \"sups\"\r\n                ]\r\n            }\r\n        ],\r\n        \"failedCount\": 0,\r\n        \"failedContacts\": []\r\n    }\r\n}"}],"_postman_id":"df65ffa2-172e-4d5b-911f-98399387d418"},{"name":"Update Contact","id":"57667397-567d-4211-9ea0-b2f9ef05fa53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"mobile\": \"917989xxxxx\",\r\n    \"name\": \"Alex cron\",\r\n    \"optin\": true,\r\n    \"incomingBlocked\": false,\r\n    \"tags\": [\r\n        \"swedish\",\r\n        \"non-vegetarian\",\r\n        \"architect\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/contacts/:id","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with PUT method and fill the following data according your requirments to update a contact.</li>\n</ul>\n<h2 id=\"path-variables-url-params\">Path Variables (URL Params)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th><strong>Required</strong></th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes</td>\n<td>String</td>\n<td>24-character Hexadecimal <strong><code>id</code></strong> to identify and update the specific contact</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mobile</td>\n<td>No</td>\n<td>String</td>\n<td>Phone number with the dialing code.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Full name of the contact.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Indicates if the contact has opted in (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Specifies if messages are blocked for this contact (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>List of tags to assign to the contact. Ensure these tags exist in <strong>Settings</strong>.  <br /><strong>Note:</strong> Whatever data you send in the <code>tags</code> field will replace all existing tags in your contact.</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>No</td>\n<td>Array of Object</td>\n<td>\"attributes\" field refers to Custom Fields on the Contact. Key-value pairs for custom attributes. Attributes must exist in <strong>Settings</strong>. Use <code>name</code> and <code>value</code> keys inside the object. If the <code>value</code> is empty then attribute will removed</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to add. Tags must exist in Settings.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Tags you want to remove</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","contacts",":id"],"host":["chatflow","pabbly","com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"048a38bf-aae2-40b2-a24e-5d5788b05d91","name":"Success Response","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"mobile\": \"917989xxxxx\",\r\n    \"name\": \"Alex cron\",\r\n    \"optin\": true,\r\n    \"incomingBlocked\": false,\r\n    \"tags\": [\r\n        \"swedish\",\r\n        \"non-vegetarian\",\r\n        \"architect\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://chatflow.pabbly.com/api/v1/contacts/67ab34b8251203ad797ee76f"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Contact updated successfully\",\r\n    \"data\": {\r\n        \"_id\": \"67ab34b8251203ad797ee76f\",\r\n        \"name\": \"Alex cron\",\r\n        \"countryCode\": \"91\",\r\n        \"mobile\": \"917989xxxxx\",\r\n        \"status\": \"active\",\r\n        \"source\": \"api\",\r\n        \"optin\": true,\r\n        \"attributes\": [\r\n            {\r\n                \"name\": \"city\",\r\n                \"value\": \"las vegas\",\r\n                \"_id\": \"67ab3557251203ad797ee529\"\r\n            }\r\n        ],\r\n        \"incomingBlocked\": false,\r\n        \"list\": [\r\n            \"all\",\r\n            \"sups\"\r\n        ],\r\n        \"tags\": [\r\n            \"swedish\",\r\n            \"non-vegetarian\",\r\n            \"architect\"\r\n        ],\r\n        \"__v\": 1,\r\n        \"createdAt\": \"2025-02-11T11:30:00.894Z\",\r\n        \"updatedAt\": \"2025-02-11T11:32:39.589Z\"\r\n    }\r\n}"}],"_postman_id":"57667397-567d-4211-9ea0-b2f9ef05fa53"},{"name":"Get Contacts","id":"9fa39210-485f-4f4e-98e2-3d1b5eabcbab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/contacts/","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method to retrieve the list of contacts.</li>\n</ul>\n<h2 id=\"query-params\">Query Params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>String</td>\n<td>Name of the contact to search for.</td>\n</tr>\n<tr>\n<td>mobile</td>\n<td>No</td>\n<td>String</td>\n<td>Mobile number of the contact to search for.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>String</td>\n<td>Tags associated with the contact, separated by commas (e.g., <code>tag1,tag2</code>).</td>\n</tr>\n<tr>\n<td>order</td>\n<td>No</td>\n<td>Number</td>\n<td>Sorting order of the results. Use <code>-1</code> for descending and <code>1</code> for ascending.</td>\n</tr>\n<tr>\n<td>optin</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Filter contacts by opt-in status. Use <code>true</code> or <code>false</code>.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>No</td>\n<td>String</td>\n<td>Source of contact creation. Allowed values: <code>api</code>, <code>csv</code>, <code>user</code>, <code>sync</code>, <code>wa</code>, <code>manual</code>.</td>\n</tr>\n<tr>\n<td>incomingBlocked</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Filter by incoming blocked status. Use <code>true</code> or <code>false</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","contacts",""],"host":["chatflow","pabbly","com"],"query":[{"disabled":true,"description":{"content":"<p>Name of contact</p>\n","type":"text/plain"},"key":"name","value":"Abhishek"},{"disabled":true,"description":{"content":"<p>Number of contact</p>\n","type":"text/plain"},"key":"mobile","value":"9176978XXXXX"},{"disabled":true,"description":{"content":"<p>Tags of contact separated by comma</p>\n","type":"text/plain"},"key":"tags","value":"bhopal,developer"},{"disabled":true,"description":{"content":"<p>Order field for sorting. It's value can be -1 or 1</p>\n","type":"text/plain"},"key":"order","value":"-1"},{"disabled":true,"description":{"content":"<p>Optin field for filter contact via optin status. It's value can be true or false</p>\n","type":"text/plain"},"key":"optin","value":"true"},{"disabled":true,"description":{"content":"<p>Source of contact. It's value can be api, csv, user, sync, wa or manual</p>\n","type":"text/plain"},"key":"source","value":"api"},{"disabled":true,"description":{"content":"<p>IncomingBlocked field for filter contact via Incoming Blocked. It's value can be true or false</p>\n","type":"text/plain"},"key":"incomingBlocked","value":"false"}],"variable":[]}},"response":[{"id":"d4b3d44f-5e75-4174-a481-ffa075410e89","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/contacts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Contacts retrieved successfully\",\r\n    \"data\": {\r\n        \"contacts\": [\r\n            {\r\n                \"_id\": \"677d07cda3005d94XXXXXXXX\",\r\n                \"name\": \"John Wrapper\",\r\n                \"countryCode\": \"91\",\r\n                \"mobile\": \"9176978XXXXX\",\r\n                \"status\": \"active\",\r\n                \"source\": \"manual\",\r\n                \"optin\": true,\r\n                \"attributes\": [],\r\n                \"incomingBlocked\": false,\r\n                \"broadcastIds\": [],\r\n                \"list\": [\r\n                    \"testing\",\r\n                    \"sups\"\r\n                ],\r\n                \"tags\": [\r\n                    \"sup\"\r\n                ],\r\n                \"__v\": 1,\r\n                \"createdAt\": \"2024-12-11T06:54:55.969Z\",\r\n                \"updatedAt\": \"2025-03-11T06:08:46.567Z\",\r\n                \"lastActive\": \"2025-03-11T06:08:46.563Z\"\r\n            }\r\n        ],\r\n        \"totalCount\": 1\r\n    }\r\n}"}],"_postman_id":"9fa39210-485f-4f4e-98e2-3d1b5eabcbab"},{"name":"Get Contact by Id","id":"0c901050-2058-4815-ba16-7424d7113d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":""},{"key":"Content-Type","value":"application/json"}],"url":"https://chatflow.pabbly.com/api/v1/contacts/:id","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method to retrieve details of a specific contact.</li>\n</ul>\n<h2 id=\"path-variables-url-params\">Path Variables (URL Params)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th><strong>Required</strong></th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes</td>\n<td>String</td>\n<td>24-character Hexadecimal <strong><code>id</code></strong> to identify the specific contact</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","contacts",":id"],"host":["chatflow","pabbly","com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"551162ae-ebfb-4684-b6bb-a720f095731e","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":""},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://chatflow.pabbly.com/api/v1/contacts/:id","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","contacts",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Contact retrieved successfully.\",\r\n    \"data\": {\r\n        \"_id\": \"677d07cda3005d94XXXXXXXX\",\r\n        \"name\": \"John Maverick\",\r\n        \"settingId\": \"6764020afc600862XXXXXXXX\",\r\n        \"userId\": \"668e6cd7aacce525XXXXXXXX\",\r\n        \"countryCode\": \"91\",\r\n        \"mobile\": \"9176978XXXXX\",\r\n        \"status\": \"active\",\r\n        \"source\": \"manual\",\r\n        \"optin\": true,\r\n        \"attributes\": [\r\n            {\r\n                \"name\": \"city\",\r\n                \"value\": \"bhopal\",\r\n                \"_id\": \"67d01f30a2dc6b66XXXXXXXX\"\r\n            },\r\n            {\r\n                \"name\": \"taxes\",\r\n                \"value\": \"30\",\r\n                \"_id\": \"67d01f30a2dc6b66XXXXXXXX\"\r\n            },\r\n            {\r\n                \"name\": \"price\",\r\n                \"value\": \"70\",\r\n                \"_id\": \"67d01f30a2dc6b66XXXXXXXX\"\r\n            }\r\n        ],\r\n        \"incomingBlocked\": false,\r\n        \"broadcastIds\": [],\r\n        \"list\": [\r\n            \"testing\",\r\n            \"sups\"\r\n        ],\r\n        \"tags\": [\r\n            \"sup\"\r\n        ],\r\n        \"__v\": 3,\r\n        \"createdAt\": \"2024-12-11T06:54:55.969Z\",\r\n        \"updatedAt\": \"2025-03-11T11:37:39.954Z\",\r\n        \"lastActive\": \"2025-03-11T06:08:46.563Z\"\r\n    }\r\n}"}],"_postman_id":"0c901050-2058-4815-ba16-7424d7113d36"},{"name":"Get Contact-lists","id":"1f296a18-5dc2-49b8-9d85-71f898645406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/contacts/lists","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method to retrieve the all contact-lists</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","contacts","lists"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ae179b2b-db31-4ade-a3ac-e1d78119f418","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/contacts/lists"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Lists retrieved successfully.\",\r\n    \"data\": {\r\n        \"lists\": [\r\n            {\r\n                \"_id\": \"67a0b5f5d32f4becXXXXXXXX\",\r\n                \"name\": \"sups\",\r\n                \"createdAt\": \"2025-02-03T12:26:29.843Z\",\r\n                \"incomingBlocked\": false,\r\n                \"tags\": [],\r\n                \"optin\": true,\r\n                \"attributes\": []\r\n            },\r\n            {\r\n                \"_id\": \"6776248db9e6371dXXXXXXXX\",\r\n                \"name\": \"partners\",\r\n                \"createdAt\": \"2025-01-02T05:30:53.028Z\",\r\n                \"incomingBlocked\": false,\r\n                \"tags\": [],\r\n                \"optin\": true,\r\n                \"attributes\": []\r\n            }\r\n        ],\r\n        \"total\": 2\r\n    }\r\n}"}],"_postman_id":"1f296a18-5dc2-49b8-9d85-71f898645406"}],"id":"fb68b4ed-7158-44b3-a666-d089d9d93786","_postman_id":"fb68b4ed-7158-44b3-a666-d089d9d93786","description":""},{"name":"Settings","item":[{"name":"Get All Tags","id":"31470762-6aff-4e91-91b6-982c7d8b9304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/settings/tags","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method to retrieve all tags</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","settings","tags"],"host":["chatflow","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"063ec083-b067-4ada-8b46-3c0dee907c1f","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":""}],"url":"https://chatflow.pabbly.com/api/v1/settings/tags"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Tags retrieved successfully.\",\r\n    \"data\": {\r\n        \"tags\": [\r\n            {\r\n                \"_id\": \"67ab344a251203adXXXXXXXX\",\r\n                \"name\": \"engineer\",\r\n                \"createdAt\": \"2025-02-11T11:28:09.238Z\",\r\n                \"firstMessage\": false,\r\n                \"keywords\": []\r\n            },\r\n            {\r\n                \"_id\": \"67ab3437251203adXXXXXXXX\",\r\n                \"name\": \"vegetarian\",\r\n                \"createdAt\": \"2025-02-11T11:27:50.289Z\",\r\n                \"firstMessage\": false,\r\n                \"keywords\": []\r\n            },\r\n            {\r\n                \"_id\": \"67ab342d251203adXXXXXXXX\",\r\n                \"name\": \"indian\",\r\n                \"createdAt\": \"2025-02-11T11:27:40.880Z\",\r\n                \"firstMessage\": false,\r\n                \"keywords\": []\r\n            }\r\n        ],\r\n        \"total\": 3\r\n    }\r\n}"}],"_postman_id":"31470762-6aff-4e91-91b6-982c7d8b9304"}],"id":"cfc5e5a3-5a49-4c87-bfff-fb9b25fb35e2","_postman_id":"cfc5e5a3-5a49-4c87-bfff-fb9b25fb35e2","description":""},{"name":"Media","item":[{"name":"Retrieve Media Url","id":"096b89fd-a909-48cf-af53-acac439e3769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[],"url":"https://chatflow.pabbly.com/api/v1/media?id=1279244293838655","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with GET method to retrieve media content using the media ID.</li>\n</ul>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<blockquote>\n<p>Below parameters should be included in the URL query string. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes</td>\n<td>String</td>\n<td>Unique identifier of the media file you want to retrieve</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","media"],"host":["chatflow","pabbly","com"],"query":[{"key":"id","value":"1279244293838655"}],"variable":[]}},"response":[{"id":"114350d8-4b04-4c3c-9239-b6ba7f341db1","name":"Success Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://chatflow.pabbly.com/api/v1/media?id=1279244293838655","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","media"],"query":[{"key":"id","value":"1279244293838655"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Media retrieved successfully\",\r\n    \"data\": {\r\n        \"mediaId\": \"1279244293838655\",\r\n        \"mediaUrl\": \"https://pabbly-chatflow-public.dece388354cb6f838a312b78bdcf709b.r2.cloudflarestorage.com/production/public/6666a1651c7510942a34f465/2025-08-06/image/0629b099-e3a1-458d-b699-b93ac4b4425a.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=4702b560e487b827eb0e093d308ce641%2F20250806%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20250806T113711Z&X-Amz-Expires=3600&X-Amz-Signature=80135c526229bb4e962156405811384d8c5dd7a74b5616edfaa91a7d6c761236&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject\",\r\n        \"mimeType\": \"image/jpeg\",\r\n        \"expiresAt\": \"2025-08-06T12:37:11.027Z\"\r\n    }\r\n}"},{"id":"d9ab9b59-826d-443e-85b8-ea74477e080f","name":"Failed Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://chatflow.pabbly.com/api/v1/media?id=1279244293838655","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","media"],"query":[{"key":"id","value":"1279244293838655"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"message\": \"Failed to download media from Meta API\",\r\n    \"data\": {\r\n        \"message\": \"Unsupported get request. Object with ID '1279244293838655' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api\",\r\n        \"type\": \"GraphMethodException\",\r\n        \"code\": 100,\r\n        \"error_subcode\": 33,\r\n        \"fbtrace_id\": \"AUGEjltrF8FSNzUWjZBLJSX\"\r\n    }\r\n}"}],"_postman_id":"096b89fd-a909-48cf-af53-acac439e3769"}],"id":"5b28483a-b372-4eae-a0b1-40538992e4a1","_postman_id":"5b28483a-b372-4eae-a0b1-40538992e4a1","description":""},{"name":"Catalogs","item":[{"name":"List Catalogs","id":"903afec6-32a2-419f-be47-e228db02a38a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}"}],"url":"https://chatflow.pabbly.com/api/v1/catalogs?page=1&limit=10&search=<catalog-name>","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Fetch all catalogs linked to the WhatsApp Business Account.</li>\n</ul>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>number</td>\n<td>No</td>\n<td>Page number for pagination</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td>number</td>\n<td>No</td>\n<td>Number of results per page</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>No</td>\n<td>Search catalogs by name</td>\n</tr>\n<tr>\n<td><code>all</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Set to true to fetch all results without pagination</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","catalogs"],"host":["chatflow","pabbly","com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"search","value":"<catalog-name>"}],"variable":[]}},"response":[{"id":"c9df4fc4-543b-473f-824b-d3c091daad4d","name":"List Catalogs API","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <your_api_token>"}],"url":{"raw":"https://chatflow.pabbly.com/api/v1/catalogs?page=1&limit=10&search=","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","catalogs"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"search","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Catalogs fetched successfully\",\r\n    \"data\": {\r\n        \"catalogs\": [\r\n            {\r\n                \"catalogId\": \"76367686964XXXX\",\r\n                \"name\": \"Catalogue_Products\",\r\n                \"productCount\": 0,\r\n                \"type\": \"commerce\"\r\n            },\r\n            {\r\n                \"catalogId\": \"84745839084XXXX\",\r\n                \"name\": \"Shoes_Catalog\",\r\n                \"productCount\": 6,\r\n                \"type\": \"commerce\"\r\n            },\r\n            {\r\n                \"catalogId\": \"97081196837XXXX\",\r\n                \"name\": \"computer_parts\",\r\n                \"productCount\": 0,\r\n                \"type\": \"commerce\"\r\n            },\r\n            {\r\n                \"catalogId\": \"137486662368XXXX\",\r\n                \"name\": \"Local ecommerce\",\r\n                \"productCount\": 1,\r\n                \"type\": \"commerce\"\r\n            },\r\n            {\r\n                \"catalogId\": \"900171118329XXXX\",\r\n                \"name\": \"garments\",\r\n                \"productCount\": 5,\r\n                \"type\": \"commerce\"\r\n            },\r\n            {\r\n                \"catalogId\": \"919815366029XXXX\",\r\n                \"name\": \"Watches_catalog\",\r\n                \"productCount\": 6,\r\n                \"type\": \"commerce\"\r\n            }\r\n        ],\r\n        \"selectedCatalogId\": \"84745839084XXXX\",\r\n        \"waBusinessPortfolioId\": \"121524073981XXXX\",\r\n        \"pagination\": {\r\n            \"totalResults\": 6,\r\n            \"totalPages\": 1,\r\n            \"currentPage\": 1,\r\n            \"limit\": 10,\r\n            \"hasNextPage\": false,\r\n            \"hasPrevPage\": false\r\n        }\r\n    }\r\n}"}],"_postman_id":"903afec6-32a2-419f-be47-e228db02a38a"},{"name":"List Products","id":"9604d103-6d62-4019-b7ec-2230f2f34e47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{chatflow-api-token}}"}],"url":"https://chatflow.pabbly.com/api/v1/catalogs/:catalogId/products?page=1&limit=20&search=<product-name>","description":"<h2 id=\"description\">Description</h2>\n<p>Fetch all products under a specific catalog. Products are returned as flat items (variants unwound).</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>catalogId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The catalog ID from Meta Commerce</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>number</td>\n<td>No</td>\n<td>Page number for pagination</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td>number</td>\n<td>No</td>\n<td>Number of results per page</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>No</td>\n<td>Search products by name</td>\n</tr>\n<tr>\n<td><code>all</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Set to true to fetch all results without pagination</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","catalogs",":catalogId","products"],"host":["chatflow","pabbly","com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"search","value":"<product-name>"}],"variable":[{"type":"any","value":"","key":"catalogId"}]}},"response":[{"id":"33d6f959-0aa0-4e61-83de-4bd7940f6808","name":"List Products","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <your_api_token>"}],"url":{"raw":"https://chatflow.pabbly.com/api/v1/catalogs/:catalogId/products?page=1&limit=20","protocol":"https","host":["chatflow","pabbly","com"],"path":["api","v1","catalogs",":catalogId","products"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[{"key":"catalogId","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n  \"success\": true,\r\n  \"message\": \"Products fetched successfully\",\r\n  \"data\": {\r\n    \"products\": [\r\n      {\r\n        \"productId\": \"789012345678XXXX\",\r\n        \"retailerId\": \"SKU-TSHIRT-001\",\r\n        \"retailerProductGroupId\": \"GROUP-TSHIRT\",\r\n        \"catalogId\": \"123456789012XXXX\",\r\n        \"name\": \"Classic T-Shirt - Blue - Large\",\r\n        \"description\": \"Premium cotton t-shirt, comfortable fit\",\r\n        \"price\": \"2999\",\r\n        \"salePrice\": \"2499\",\r\n        \"currency\": \"INR\",\r\n        \"availability\": \"in stock\",\r\n        \"status\": \"active\",\r\n        \"imageUrl\": \"https://example.com/images/tshirt-blue-l.jpg\",\r\n        \"url\": \"https://example.com/products/tshirt-blue-l\",\r\n        \"brand\": \"MyBrand\",\r\n        \"condition\": \"new\"\r\n      },\r\n      {\r\n        \"productId\": \"789012345678XXXX\",\r\n        \"retailerId\": \"SKU-TSHIRT-002\",\r\n        \"retailerProductGroupId\": \"GROUP-TSHIRT\",\r\n        \"catalogId\": \"123456789012XXXX\",\r\n        \"name\": \"Classic T-Shirt - Red - Medium\",\r\n        \"description\": \"Premium cotton t-shirt, comfortable fit\",\r\n        \"price\": \"2999\",\r\n        \"salePrice\": null,\r\n        \"currency\": \"INR\",\r\n        \"availability\": \"in stock\",\r\n        \"status\": \"active\",\r\n        \"imageUrl\": \"https://example.com/images/tshirt-red-m.jpg\",\r\n        \"url\": \"https://example.com/products/tshirt-red-m\",\r\n        \"brand\": \"MyBrand\",\r\n        \"condition\": \"new\"\r\n      }\r\n    ],\r\n    \"catalogId\": \"123456789012XXXX\",\r\n    \"catalogName\": \"Fashion Store\",\r\n    \"pagination\": {\r\n      \"totalResults\": 150,\r\n      \"totalPages\": 8,\r\n      \"currentPage\": 1,\r\n      \"limit\": 20,\r\n      \"hasNextPage\": true,\r\n      \"hasPrevPage\": false\r\n    }\r\n  }\r\n}"}],"_postman_id":"9604d103-6d62-4019-b7ec-2230f2f34e47"}],"id":"5ae366c8-8d5d-461c-a267-39615657bc71","_postman_id":"5ae366c8-8d5d-461c-a267-39615657bc71","description":""}],"id":"693f1708-225c-4b3b-be76-134bd8548606","description":"<p>The REST Admin API lets you fire internal actions and intergation with different apps.<br />Our API supports all the HTTP requesting for calling an action.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the following API requests uses <code>Bearer Token</code> as authorization channel.</p>\n<p>You can get the <strong>Bearer Token</strong> from your Pabbly Chatflow account under <code>Settings</code> &gt; <code>API &amp; Webhooks</code> as shown in the below screenshot and is use it as your <code>Bearer Token</code></p>\n<img src=\"https://content.pstmn.io/7aed524b-aac7-4913-b47f-ab5f34a34ebd/Q2hhdGZsb3cgQVBJIFRva2VuIFNTIC5wbmc=\" alt=\"Bearer%20Token\" />","_postman_id":"693f1708-225c-4b3b-be76-134bd8548606"},{"name":"Pabbly Email Verification","item":[{"name":"Verify Email","item":[{"name":"Verify Single Email","id":"2b7935e8-31de-4c09-8b6f-25c2c8007196","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"johnfabric@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://verify.pabbly.com/api/v1/email-lists/verify-single","description":"<h2 id=\"description\">Description</h2>\n<ul>\n<li>Hit the API with POST method and fill the following data according your requirments to verify single email.</li>\n</ul>\n<h2 id=\"body-fields\">Body Fields</h2>\n<blockquote>\n<p>Below variables should be inserted in the body of the request. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variables</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>True</td>\n<td>String</td>\n<td>Email to verify</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","email-lists","verify-single"],"host":["verify","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"7e21c73f-78fb-46b8-bd6a-e6dff7ed7c22","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"johnfabric@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://verify.pabbly.com/api/v1/email-lists/verify-single"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"success\",\r\n    \"message\": \"Email validation result\",\r\n    \"data\": {\r\n        \"email\": \"nohan@drggf.hg\",\r\n        \"result\": \"undeliverable\",\r\n        \"message\": \"Unreachable mail server. Emails sent to this address will bounce. \",\r\n        \"accept_all\": 0,\r\n        \"disposable\": 0,\r\n        \"spamtrap\": 0,\r\n        \"role\": 0,\r\n        \"free_email\": 0,\r\n        \"success\": true,\r\n        \"user\": \"nohan\",\r\n        \"domain\": \"drggf.hg\"\r\n    }\r\n}"},{"id":"cda617b7-2296-481a-bd11-3a4c663f07ce","name":"Unauthorized Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"johnfabric@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://verify.pabbly.com/api/email-lists/verify-single"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"message\": \"Please login first!\"\r\n}"},{"id":"d317183e-1532-410c-9d80-345ce90ae771","name":"Insufficient Credits Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"johnfabric@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://verify.pabbly.com/api/email-lists/verify-single"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"error\",\r\n    \"message\": \"Please login first!\"\r\n}"}],"_postman_id":"2b7935e8-31de-4c09-8b6f-25c2c8007196"}],"id":"0241e1c4-ab04-4ebc-b1cc-807dbc9cd1f5","_postman_id":"0241e1c4-ab04-4ebc-b1cc-807dbc9cd1f5","description":""}],"id":"4e3d3340-5daa-4bf6-862f-4372a5ad44c2","description":"<p>The REST Admin API lets you fire internal actions and intergation with different apps.<br />Our API supports all the HTTP requesting for calling an action.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the API uses <code>Basic Auth</code> as authorization channel.</p>\n<p><code>Username</code> : <strong>API Key</strong> from your Pabbly Hook</p>\n<p><code>Password</code> : <strong>Secret Key</strong> from your Pabbly Hook</p>\n<p><strong>Location of API Key in Pabbly Email Verification Application -</strong></p>\n<p>From your application under setting go to;</p>\n<p><strong>Settings -&gt; API -&gt; Generate API Keys</strong></p>\n<img src=\"https://content.pstmn.io/94cf1352-8fb3-44c1-955d-d85f7e83b62a/aW1hZ2UucG5n\" width=\"1201\" height=\"950\" />","_postman_id":"4e3d3340-5daa-4bf6-862f-4372a5ad44c2"},{"name":"Pabbly Email Marketing v2","item":[{"name":"Subscribers","item":[{"name":"Create Subscriber","id":"e45122cc-5fc5-47db-bbf8-123bfb1b8ffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"jocghn.doe@example.com\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"mobile\": \"+1234567890\",\r\n  \"leadScore\": 85,\r\n  \"status\": \"subscribed\",\r\n  \"country\": \"USA\",\r\n  \"city\": \"New York\",\r\n  \"tags\": [\"temp\"],\r\n  \"customFields\": {\r\n  \"company\": \"Acme Corporation\",\r\n  \"position\": \"Software Engineer\"\r\n  },\r\n  \"lists\": [\"Temp List\"]\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Creates a new subscriber or updates an existing subscriber (upsert operation). If the email already exists, the subscriber will be updated; otherwise, a new subscriber will be created. You can assign tags, segments, lists, and custom fields during creation</p>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Yes</td>\n<td>String</td>\n<td>Valid email address of the subscriber.</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>No</td>\n<td>String</td>\n<td>First name of the subscriber.</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>No</td>\n<td>String</td>\n<td>Last name of the subscriber.</td>\n</tr>\n<tr>\n<td>mobile</td>\n<td>No</td>\n<td>String</td>\n<td>Phone number with country code (e.g., +1234567890).</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>String</td>\n<td>Subscription status. Valid values: subscribed, unsubscribed, bounced, complaint. Default: subscribed.</td>\n</tr>\n<tr>\n<td>leadScore</td>\n<td>No</td>\n<td>Number</td>\n<td>Lead score value between 0-100.</td>\n</tr>\n<tr>\n<td>country</td>\n<td>No</td>\n<td>String</td>\n<td>Country name of the subscriber.</td>\n</tr>\n<tr>\n<td>city</td>\n<td>No</td>\n<td>String</td>\n<td>City name of the subscriber.</td>\n</tr>\n<tr>\n<td>dateOfBirth</td>\n<td>No</td>\n<td>String</td>\n<td>Date of birth in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Array of tag names to assign to the subscriber. Tags must exist in Settings.</td>\n</tr>\n<tr>\n<td>lists</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Array of list names to assign to the subscriber.</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>No</td>\n<td>Object</td>\n<td>Custom field key-value pairs. Custom fields must exist in Settings.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>No</td>\n<td>String</td>\n<td>Source of the subscriber (e.g., \"api\", \"form\", \"csv\").</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","subscribers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"d173317b-1164-4294-8ce8-f563acf6700f","name":"Create Subscriber","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"jocghn.doe@example.com\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"mobile\": \"+1234567890\",\r\n  \"leadScore\": 85,\r\n  \"status\": \"subscribed\",\r\n  \"country\": \"USA\",\r\n  \"city\": \"New York\",\r\n  \"tags\": [\"temp\"],\r\n  \"customFields\": {\r\n  \"company\": \"Acme Corporation\",\r\n  \"position\": \"Software Engineer\"\r\n  },\r\n  \"lists\": [\"Temp List\"]\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 14 Jan 2026 06:00:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-s6VMHCIfuqguGPjEkfqmyw==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=VWjgUHMhZRmeAKHpO6g489jC3CRUe6WCv%2Fo9scoyLx98PCk9gA030tu5IeylT9hfWK9eXmrLA%2FYWFl1IA5ZvteFEpU%2FukDm6X3L9kAWgMYg%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9bdaea7d3bd272d4-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber created successfully\",\n    \"data\": {\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"695b6aabf58d3822ac852e28\",\n        \"email\": \"jocghn.doe@example.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"mobile\": \"+1234567890\",\n        \"leadScore\": 85,\n        \"dateOfBirth\": null,\n        \"status\": \"subscribed\",\n        \"country\": \"USA\",\n        \"city\": \"New York\",\n        \"tags\": [\n            \"temp\"\n        ],\n        \"source\": \"manual\",\n        \"segments\": [],\n        \"customFields\": {},\n        \"activity\": [],\n        \"automationWorkflows\": [],\n        \"lists\": [\n            \"Temp List\"\n        ],\n        \"totalSent\": 0,\n        \"totalDelivered\": 0,\n        \"totalOpens\": 0,\n        \"totalUniqueOpens\": 0,\n        \"totalUniqueClick\": 0,\n        \"totalClicks\": 0,\n        \"deleteAfter\": null,\n        \"suppressionDetail\": {\n            \"createdAt\": \"2026-01-14T06:00:57.540Z\",\n            \"updatedAt\": \"2026-01-14T06:00:57.540Z\"\n        },\n        \"_id\": \"6967311955b46d5df8e4a7c3\",\n        \"campaignDetails\": [],\n        \"createdAt\": \"2026-01-14T06:00:57.540Z\",\n        \"updatedAt\": \"2026-01-14T06:00:57.540Z\"\n    }\n}"}],"_postman_id":"e45122cc-5fc5-47db-bbf8-123bfb1b8ffb"},{"name":"Get All Subscribers","id":"13e28e7b-9d35-4916-b4a4-36d1ce1f5d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers??page=1&limit=20","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves a paginated list of subscribers with optional filtering and search capabilities. Supports filtering by status, tags, segments, lists, and lead score range. Also supports searching by email, first name, or last name.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>No</td>\n<td>Number</td>\n<td>Page number for pagination. Default: 1.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>No</td>\n<td>Number</td>\n<td>Number of items per page. Default: 10. Maximum: 100.</td>\n</tr>\n<tr>\n<td>search</td>\n<td>No</td>\n<td>String</td>\n<td>Search term to filter by email, firstName, or lastName.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>String</td>\n<td>Filter by subscription status. Valid values: subscribed, unsubscribed, bounced, complaint.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>String/Array</td>\n<td>Filter by tag names. Can be comma-separated string or array.</td>\n</tr>\n<tr>\n<td>segments</td>\n<td>No</td>\n<td>String/Array</td>\n<td>Filter by segment names. Can be comma-separated string or array.</td>\n</tr>\n<tr>\n<td>lists</td>\n<td>No</td>\n<td>String/Array</td>\n<td>Filter by list names. Can be comma-separated string or array.</td>\n</tr>\n<tr>\n<td>leadScoreMin</td>\n<td>No</td>\n<td>Number</td>\n<td>Minimum lead score for filtering.</td>\n</tr>\n<tr>\n<td>leadScoreMax</td>\n<td>No</td>\n<td>Number</td>\n<td>Maximum lead score for filtering.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","subscribers"],"host":["emails","pabbly","com"],"query":[{"key":"?page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[{"id":"eb9e7e3c-c0c3-43e4-9050-034f3c570918","name":"Get All Subscribers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://emails.pabbly.com/api/v2/subscribers??page=1&limit=20","protocol":"https","host":["emails","pabbly","com"],"path":["api","v2","subscribers"],"query":[{"key":"?page","value":"1"},{"key":"limit","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:06:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-nzf/LIkDjTIFq6ugFKH11A==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=h5Ma7QLB%2FzhsQ0b7G5XBlAA5yUDZZ56miOu%2FRBQecIWK6gK8a2nexfIOa0P%2BZf7m%2B%2FZrx29oP0DNQZklccty6jjcJxGxSsNbV11%2F1%2F5ZQF4%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58d3cea8d382f8-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscribers retrieved successfully\",\n    \"data\": {\n        \"subscribers\": [\n            {\n                \"_id\": \"69525f392011e7f242b57684\",\n                \"userId\": \"682db2da6ef7e93a3eceb126\",\n                \"businessId\": \"69398c24e90b87748e209d9b\",\n                \"email\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe Updated\",\n                \"mobile\": \"+1234567890\",\n                \"leadScore\": 90,\n                \"dateOfBirth\": null,\n                \"status\": \"subscribed\",\n                \"country\": \"USA\",\n                \"city\": \"New York\",\n                \"tags\": [\n                    \"VIP\",\n                    \"Premium\",\n                    \"New Tag\"\n                ],\n                \"source\": \"manual\",\n                \"segments\": [\n                    \"Temp Customer\"\n                ],\n                \"customFields\": {\n                    \"company\": \"Updated Company Name\",\n                    \"position\": \"Senior Software Engineer\"\n                },\n                \"activity\": [],\n                \"automationWorkflows\": [],\n                \"lists\": [\n                    \"Temp List\"\n                ],\n                \"totalSent\": 0,\n                \"totalDelivered\": 0,\n                \"totalOpens\": 0,\n                \"totalUniqueOpens\": 0,\n                \"totalUniqueClick\": 0,\n                \"totalClicks\": 0,\n                \"deleteAfter\": null,\n                \"suppressionDetail\": {\n                    \"createdAt\": \"2025-12-29T11:00:09.547Z\",\n                    \"updatedAt\": \"2025-12-29T11:00:09.547Z\"\n                },\n                \"campaignDetails\": [],\n                \"createdAt\": \"2025-12-29T11:00:09.547Z\",\n                \"updatedAt\": \"2025-12-29T11:00:39.970Z\"\n            }\n        ],\n        \"suppressionList\": [],\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"itemsPerPage\": 20,\n            \"totalItems\": 1,\n            \"totalPages\": 1,\n            \"hasNextPage\": false,\n            \"hasPrevPage\": false\n        }\n    }\n}"}],"_postman_id":"13e28e7b-9d35-4916-b4a4-36d1ce1f5d72"},{"name":"Get Subscriber Statistics","id":"864ae432-8161-47f8-9900-4e7aadd0bfbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers/stats","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves subscriber statistics for your business, including total subscriber count and status-wise breakdown (subscribed, unsubscribed, bounced, complaint).</p>\n","urlObject":{"protocol":"https","path":["api","v2","subscribers","stats"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"b3cfd5d4-4fc2-45a5-ab57-82c229cb9100","name":"Get Subscriber Statistics","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":"https://emails.pabbly.com/api/v2/subscribers/stats"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:04:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-PUk8DjQilYpDzQ9t1LMJzA==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=9%2B7rDgGbR7WsKvn7Br9LBP6OaVDn2leI7G1J4lDHolWVrIDhP8mUMGnq7QEqRZWmBgbvRxJ5u8KP0nEOFGBUrctGGIJZRrVAfxhZxmSfT7s%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58d1b34edec938-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscribers record retrieved successfully\",\n    \"data\": {\n        \"totalSubscribersInBusiness\": 1,\n        \"totalSubscribersAcrossAllLists\": 1,\n        \"listWiseCounts\": [\n            {\n                \"_id\": \"1022247\",\n                \"listName\": \"Default List\",\n                \"count\": 0,\n                \"totalSubscribers\": 0,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0\n            },\n            {\n                \"_id\": \"1024200\",\n                \"listName\": \"Segment_10 number\",\n                \"count\": 0,\n                \"totalSubscribers\": 0,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0\n            },\n            {\n                \"_id\": \"693a5a165ed8605a12f04d10\",\n                \"listName\": \"Temp List\",\n                \"count\": 1,\n                \"totalSubscribers\": 1,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0\n            }\n        ],\n        \"leadScoreAnalytics\": {\n            \"averageLeadScore\": 90,\n            \"hotLeads\": 1,\n            \"coldLeads\": 0\n        },\n        \"leadScoreConfig\": {\n            \"emailOpen\": {\n                \"value\": 5,\n                \"status\": \"active\"\n            },\n            \"emailClick\": {\n                \"value\": 10,\n                \"status\": \"active\"\n            },\n            \"emailBounce\": {\n                \"value\": -20,\n                \"status\": \"active\"\n            },\n            \"unsubscribe\": {\n                \"value\": -50,\n                \"status\": \"active\"\n            },\n            \"createdAt\": \"2025-12-16T20:32:02.930Z\",\n            \"updatedAt\": \"2025-12-16T20:32:02.930Z\"\n        },\n        \"statusAnalytics\": {\n            \"subscribed\": 1,\n            \"unsubscribed\": 0,\n            \"bounced\": 0,\n            \"spam\": 0\n        },\n        \"engagedSubscribers\": 0,\n        \"isListSpecific\": false,\n        \"selectedListName\": \"All Subscribers\"\n    }\n}"}],"_postman_id":"864ae432-8161-47f8-9900-4e7aadd0bfbe"},{"name":"Get Subscriber by ID","id":"583fc7c8-329d-4644-bc90-388748274d0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers/{subscriber ID}","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves complete details of a specific subscriber by their unique ID. Returns all subscriber information including custom fields, tags, segments, lists, and timestamps.</p>\n","urlObject":{"protocol":"https","path":["api","v2","subscribers","{subscriber ID}"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"65a10130-a90a-4396-b528-dcb60e183c42","name":"Get Subscriber by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers/{subscriber ID}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 10:48:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-8jjjopPKqMECl+RV9oab/w==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=TnEH4SXQQYS6990yEAQKww15FDeeW8iNvxJPJubj4pjxI5RM0VS6e0u10dLZTcCjc2tVuC%2F%2Bd4Z88ZGHPfO8VLR9ODpydYz7bs6QL4h7RXs%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58b912ccab9e01-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber retrieved successfully\",\n    \"data\": {\n        \"suppressionDetail\": {\n            \"createdAt\": \"2025-12-26T10:52:24.301Z\",\n            \"updatedAt\": \"2025-12-26T10:52:24.301Z\"\n        },\n        \"_id\": \"694e68e83dd13469d1326278\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"69398c24e90b87748e209d9b\",\n        \"email\": \"john.doe@example.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"mobile\": \"+1234567890\",\n        \"leadScore\": 85,\n        \"dateOfBirth\": null,\n        \"status\": \"subscribed\",\n        \"country\": \"USA\",\n        \"city\": \"New York\",\n        \"tags\": [\n            \"VIP\",\n            \"Premium\",\n            \"New Tag\",\n            \"temp\"\n        ],\n        \"source\": \"manual\",\n        \"segments\": [\n            \"Temp Customer\"\n        ],\n        \"customFields\": {\n            \"company\": \"Acme Corporation\",\n            \"position\": \"Software Engineer\"\n        },\n        \"activity\": [],\n        \"automationWorkflows\": [],\n        \"lists\": [\n            \"Temp List\"\n        ],\n        \"totalSent\": 0,\n        \"totalDelivered\": 0,\n        \"totalOpens\": 0,\n        \"totalUniqueOpens\": 0,\n        \"totalUniqueClick\": 0,\n        \"totalClicks\": 0,\n        \"deleteAfter\": null,\n        \"campaignDetails\": [],\n        \"createdAt\": \"2025-12-26T10:52:24.301Z\",\n        \"updatedAt\": \"2025-12-27T07:43:17.294Z\"\n    }\n}"}],"_postman_id":"583fc7c8-329d-4644-bc90-388748274d0c"},{"name":"Update Subscriber by ID","id":"3cddfe99-4fe3-4db2-b3a5-345be141a6f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe Updated\",\r\n  \"leadScore\": 90,\r\n  \"status\": \"subscribed\",\r\n    \"tagsToAdd\": [\"hot lead\", \"Premium\", \"New Tag\"],\r\n  \"tagsToRemove\": [\"cold lead\"],\r\n  \"customFields\": {\r\n    \"company\": \"Updated Company Name\",\r\n    \"position\": \"Senior Software Engineer\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers/{ subscriber Id}","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Updates an existing subscriber's information by their unique ID or email address. The API automatically detects whether you're using a subscriber ID or email address. All provided fields will be updated; omitted fields remain unchanged.</p>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's first name.</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's last name.</td>\n</tr>\n<tr>\n<td>mobile</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's phone number.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscription status. Valid values: subscribed, unsubscribed, bounced, complaint.</td>\n</tr>\n<tr>\n<td>leadScore</td>\n<td>No</td>\n<td>Number</td>\n<td>Update lead score value (0-100).</td>\n</tr>\n<tr>\n<td>country</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's country.</td>\n</tr>\n<tr>\n<td>city</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's city.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Update tags. Note: This replaces all existing tags. Tags must exist in Settings.</td>\n</tr>\n<tr>\n<td>lists</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Update lists. Note: This replaces all existing lists.</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>No</td>\n<td>Object</td>\n<td>Update custom fields. Custom fields must exist in Settings.</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Add tags to existing subscriber tags. Tags will be merged with existing tags (duplicates are automatically removed). Tags must exist in Settings. This field is ignored if <code>tags</code> field is also provided.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Remove specific tags from subscriber. Tags specified in this array will be removed from existing tags. This field is ignored if <code>tags</code> field is also provided.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: If tags, tagsToAdd, and tagsToRemove are all provided together, the tags field takes highest priority and will replace all existing tags. tagsToAdd and tagsToRemove will be ignored in this case.</p>\n","urlObject":{"protocol":"https","path":["api","v2","subscribers","{ subscriber Id}"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ceae6a97-4007-4d01-93e5-49df79041292","name":"Update Subscriber by ID","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe Updated\",\r\n  \"leadScore\": 90,\r\n  \"status\": \"subscribed\",\r\n  \"tagsToAdd\": [\"hot lead\", \"Premium\", \"New Tag\"],\r\n  \"tagsToRemove\": [\"cold lead\"],\r\n  \"customFields\": {\r\n    \"company\": \"Updated Company Name\",\r\n    \"position\": \"Senior Software Engineer\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers/{ subscriber Id}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 14 Jan 2026 05:47:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-gdculBUEOI08UM69INCBGg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=npuVV3e6jUPCc7U%2BtklsVk4Xr6qtFAQfvSbyIU1ofydaqQa7rBLM%2Bj%2FPTI7v6MfpQKsOEozUU4Ki8ZsNE43IA9%2BTIjWe%2BiiqcIAaKhrM9hY%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9bdad6918cc83b4e-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber updated successfully\",\n    \"data\": {\n        \"suppressionDetail\": {\n            \"createdAt\": \"2026-01-06T06:19:07.546Z\",\n            \"updatedAt\": \"2026-01-06T07:15:45.730Z\",\n            \"reason\": \"bounced\",\n            \"type\": \"bounced\"\n        },\n        \"_id\": \"695ca95b9a8ed4e65738d1c5\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"695b6aabf58d3822ac852e28\",\n        \"email\": \"s001gourav@gmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe Updated\",\n        \"mobile\": \"\",\n        \"leadScore\": 90,\n        \"dateOfBirth\": null,\n        \"status\": \"subscribed\",\n        \"country\": \"Not Specified\",\n        \"city\": \"Not Specified\",\n        \"tags\": [\n            \"hot lead\",\n            \"Premium\",\n            \"New Tag\"\n        ],\n        \"source\": \"manual\",\n        \"segments\": [],\n        \"customFields\": {\n            \"company\": \"Updated Company Name\",\n            \"position\": \"Senior Software Engineer\"\n        },\n        \"activity\": [],\n        \"automationWorkflows\": [],\n        \"lists\": [\n            \"Pabbly Email Marketing\",\n            \"cvbcbbc\"\n        ],\n        \"totalSent\": 2,\n        \"totalDelivered\": 0,\n        \"totalOpens\": 0,\n        \"totalUniqueOpens\": 0,\n        \"totalUniqueClick\": 0,\n        \"totalClicks\": 0,\n        \"deleteAfter\": null,\n        \"campaignDetails\": [\n            {\n                \"_id\": \"69672de955b46d5df8e456e7\",\n                \"campaignId\": \"695ca9729a8ed4e65738d2d9\",\n                \"campaignName\": \"gfgf\"\n            },\n            {\n                \"_id\": \"69672de955b46d5df8e456e8\",\n                \"campaignId\": \"695caafb9a8ed4e6573906ac\",\n                \"campaignName\": \"pp\"\n            },\n            {\n                \"_id\": \"69672de955b46d5df8e456e9\",\n                \"campaignId\": \"695cb3d29a8ed4e6573a0430\",\n                \"campaignName\": \"tr\"\n            },\n            {\n                \"_id\": \"69672de955b46d5df8e456ea\",\n                \"campaignId\": \"695cb6579a8ed4e6573a05fd\",\n                \"campaignName\": \"d\"\n            }\n        ],\n        \"createdAt\": \"2026-01-06T06:19:07.546Z\",\n        \"updatedAt\": \"2026-01-14T05:47:21.327Z\",\n        \"isSuppressed\": true\n    }\n}"}],"_postman_id":"3cddfe99-4fe3-4db2-b3a5-345be141a6f3"},{"name":"Delete Subscriber","id":"31713e0b-5cd8-4d2a-b11c-af3dc926f814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"ids\": [\r\n   \"694e68e83dd13469d1326278\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Deletes one or more subscribers from your account. Supports bulk deletion by providing multiple subscriber IDs in the request body. Warning: Deleted subscribers cannot be recovered.</p>\n<h3 id=\"body-fields\">Body Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ids</td>\n<td>Yes</td>\n<td>Array of String</td>\n<td>Array of subscriber IDs to delete. Must contain at least one ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","subscribers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ae4896ae-eaa0-4cf7-9d01-71085964b7a3","name":"Delete Subscriber","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"ids\": [\r\n   \"694e68e83dd13469d1326278\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 10:58:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-RbvzWfzocpTskhTELjFRng==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=6tFChm%2Bc89mIPWm4YGUmQrOdXYs4LqASer724xSFot1lUkcNFJMpsQcQXnyUHLNYr1ivjiUGXwWWhTgKkiwqxUbkGNQJEkO93IbYciCybrc%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58c8355cf71320-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \" subscriber deleted successfully\",\n    \"data\": {\n        \"shouldRefreshStats\": true,\n        \"deletedCount\": 1\n    }\n}"}],"_postman_id":"31713e0b-5cd8-4d2a-b11c-af3dc926f814"},{"name":"Update Subscriber by Email","id":"b2ca98b5-b331-4915-b55b-4bc8054a0e0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe Updated\",\r\n  \"leadScore\": 90,\r\n  \"status\": \"subscribed\",\r\n  \"tagsToAdd\": [\"hot lead\", \"Premium\", \"New Tag\"],\r\n  \"tagsToRemove\": [\"cold lead\"],\r\n  \"customFields\": {\r\n    \"company\": \"Updated Company Name\",\r\n    \"position\": \"Senior Software Engineer\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers/{email}","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h3 id=\"description\">Description</h3>\n<p>Updates an existing subscriber's information using their email address. Allows updating any subscriber field including tags, segments, lists, custom fields, lead score, and status. All provided fields will be updated; omitted fields will remain unchanged. The email address must be a valid, properly formatted email.</p>\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Yes</td>\n<td>String</td>\n<td>Subscriber's email address (must be valid email format)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body-fields\">Body Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's first name</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's last name</td>\n</tr>\n<tr>\n<td>mobile</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's phone number</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscription status. Valid values: subscribed, unsubscribed, bounced, complaint</td>\n</tr>\n<tr>\n<td>leadScore</td>\n<td>No</td>\n<td>Number</td>\n<td>Update lead score value (0-100)</td>\n</tr>\n<tr>\n<td>country</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's country</td>\n</tr>\n<tr>\n<td>city</td>\n<td>No</td>\n<td>String</td>\n<td>Update subscriber's city</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Update tags. Note: This replaces all existing tags. Tags must exist in Settings</td>\n</tr>\n<tr>\n<td>segments</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Update segments. Note: This replaces all existing segments</td>\n</tr>\n<tr>\n<td>lists</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Update lists. Note: This replaces all existing lists</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>No</td>\n<td>Object</td>\n<td>Update custom fields. Custom fields must exist in Settings</td>\n</tr>\n<tr>\n<td>tagsToAdd</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Add tags to existing subscriber tags. Tags will be merged with existing tags (duplicates are automatically removed). Tags must exist in Settings. This field is ignored if <code>tags</code> field is also provided.</td>\n</tr>\n<tr>\n<td>tagsToRemove</td>\n<td>No</td>\n<td>Array of String</td>\n<td>Remove specific tags from subscriber. Tags specified in this array will be removed from existing tags. This field is ignored if <code>tags</code> field is also provided.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: If tags, tagsToAdd, and tagsToRemove are all provided together, the tags field takes highest priority and will replace all existing tags. tagsToAdd and tagsToRemove will be ignored in this case.</p>\n","urlObject":{"protocol":"https","path":["api","v2","subscribers","{email}"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"7782cbb4-dc1a-4220-8900-468e049e4288","name":"Update Subscriber by Email","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe Updated\",\r\n  \"leadScore\": 90,\r\n  \"status\": \"subscribed\",\r\n    \"tagsToAdd\": [\"hot lead\", \"Premium\", \"New Tag\"],\r\n  \"tagsToRemove\": [\"cold lead\"],\r\n  \"customFields\": {\r\n    \"company\": \"Updated Company Name\",\r\n    \"position\": \"Senior Software Engineer\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/subscribers/{email}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 14 Jan 2026 05:38:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-dDBKT2LcdXesykKieURU5Q==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Set-Cookie","value":"user.sid=s%3AmJ1GUX5hl8Tsft1HoE0NhGg2t1eYxKor.jvj4WWNbFKCyqppHG7qTAM8rbO0I91UEwcQMYh3%2BlVs; Path=/; Expires=Thu, 15 Jan 2026 05:38:39 GMT; HttpOnly; SameSite=Lax"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=s2NagSBvJKkGjGkP5V2o8liBCqErIPFo2YLl7ik5i8mCtQDr4Ejl789A8grXtVw23o91U5ytnSV4lNN0C8Q9OXFZWSLOb9fnWW7cSJ3Reoc%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9bdac9d389c4aa75-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber updated successfully\",\n    \"data\": {\n        \"suppressionDetail\": {\n            \"createdAt\": \"2026-01-06T06:19:07.546Z\",\n            \"updatedAt\": \"2026-01-06T07:15:45.730Z\",\n            \"reason\": \"bounced\",\n            \"type\": \"bounced\"\n        },\n        \"_id\": \"695ca95b9a8ed4e65738d1c5\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"695b6aabf58d3822ac852e28\",\n        \"email\": \"s001gourav@gmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe Updated\",\n        \"mobile\": \"\",\n        \"leadScore\": 90,\n        \"dateOfBirth\": null,\n        \"status\": \"subscribed\",\n        \"country\": \"Not Specified\",\n        \"city\": \"Not Specified\",\n        \"tags\": [\n            \"hot lead\",\n            \"Premium\",\n            \"New Tag\"\n        ],\n        \"source\": \"manual\",\n        \"segments\": [],\n        \"customFields\": {\n            \"company\": \"Updated Company Name\",\n            \"position\": \"Senior Software Engineer\"\n        },\n        \"activity\": [],\n        \"automationWorkflows\": [],\n        \"lists\": [\n            \"Pabbly Email Marketing\",\n            \"cvbcbbc\"\n        ],\n        \"totalSent\": 2,\n        \"totalDelivered\": 0,\n        \"totalOpens\": 0,\n        \"totalUniqueOpens\": 0,\n        \"totalUniqueClick\": 0,\n        \"totalClicks\": 0,\n        \"deleteAfter\": null,\n        \"campaignDetails\": [\n            {\n                \"_id\": \"69672bdf55b46d5df8e4284c\",\n                \"campaignId\": \"695ca9729a8ed4e65738d2d9\",\n                \"campaignName\": \"gfgf\"\n            },\n            {\n                \"_id\": \"69672bdf55b46d5df8e4284d\",\n                \"campaignId\": \"695caafb9a8ed4e6573906ac\",\n                \"campaignName\": \"pp\"\n            },\n            {\n                \"_id\": \"69672bdf55b46d5df8e4284e\",\n                \"campaignId\": \"695cb3d29a8ed4e6573a0430\",\n                \"campaignName\": \"tr\"\n            },\n            {\n                \"_id\": \"69672bdf55b46d5df8e4284f\",\n                \"campaignId\": \"695cb6579a8ed4e6573a05fd\",\n                \"campaignName\": \"d\"\n            }\n        ],\n        \"createdAt\": \"2026-01-06T06:19:07.546Z\",\n        \"updatedAt\": \"2026-01-14T05:38:39.423Z\",\n        \"isSuppressed\": true\n    }\n}"}],"_postman_id":"b2ca98b5-b331-4915-b55b-4bc8054a0e0f"},{"name":"Get Subscriber by Email","id":"2074f57c-5af1-48ac-98b9-1ffc3644c2db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers/{email}","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves complete details of a specific subscriber by their Email ID. Returns all subscriber information including custom fields, tags, segments, lists, and timestamps.</p>\n","urlObject":{"protocol":"https","path":["api","v2","subscribers","{email}"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"7523f329-78fd-46ca-bb08-b4ad09dd0be8","name":"Get Subscriber by Email","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/subscribers/{email}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:16:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-dZzgPT3mwbr1HXhjWIjhWg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=yQ9QmjO%2Fr55UfIbdqUvU0%2BNuJuZIKjnyEv9DVCuTHLCg5ZvMLz1JrV8V2lpO6haX8%2FsWTvg1yyRxeE7ceV1s3FaXudhI1GCE5JWVcFe5jt4%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58e3249fa305cb-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber retrieved successfully\",\n    \"data\": {\n        \"suppressionDetail\": {\n            \"createdAt\": \"2025-12-29T11:00:09.547Z\",\n            \"updatedAt\": \"2025-12-29T11:00:09.547Z\"\n        },\n        \"_id\": \"69525f392011e7f242b57684\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"69398c24e90b87748e209d9b\",\n        \"email\": \"john.doe@example.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"mobile\": \"+1234567890\",\n        \"leadScore\": 85,\n        \"dateOfBirth\": null,\n        \"status\": \"subscribed\",\n        \"country\": \"USA\",\n        \"city\": \"New York\",\n        \"tags\": [\n            \"VIP\",\n            \"Premium\",\n            \"New Tag\",\n            \"temp\"\n        ],\n        \"source\": \"manual\",\n        \"segments\": [\n            \"Temp Customer\"\n        ],\n        \"customFields\": {\n            \"company\": \"Acme Corporation\",\n            \"position\": \"Software Engineer\"\n        },\n        \"activity\": [],\n        \"automationWorkflows\": [],\n        \"lists\": [\n            \"Temp List\"\n        ],\n        \"totalSent\": 0,\n        \"totalDelivered\": 0,\n        \"totalOpens\": 0,\n        \"totalUniqueOpens\": 0,\n        \"totalUniqueClick\": 0,\n        \"totalClicks\": 0,\n        \"deleteAfter\": null,\n        \"campaignDetails\": [],\n        \"createdAt\": \"2025-12-29T11:00:09.547Z\",\n        \"updatedAt\": \"2025-12-29T11:00:39.970Z\"\n    }\n}"}],"_postman_id":"2074f57c-5af1-48ac-98b9-1ffc3644c2db"},{"name":"Get All Custom Fields","id":"edca57e6-bb3d-4c8b-ad6e-0f46da1a93cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/custom-fields","description":"<h3 id=\"prerequites\">Prerequites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves all custom fields defined for a specific business. Returns custom field names and personalization tags. Custom fields are sorted alphabetically by name. Use this endpoint to get valid custom field names before creating or updating subscribers.</p>\n","urlObject":{"protocol":"https","path":["api","v2","custom-fields"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"55ad52a0-442c-4a42-ad1d-534239016068","name":"Get All Custom Fields","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/custom-fields"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 09 Feb 2026 08:13:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-sOVpH4TggddhiQqt5VB+mg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Set-Cookie","value":"user.sid=s%3AToYNpbBJardwt9_4gyyE7O4GyJHwdHRy.fWSTHq9BlWDT%2BMZ6JOZDQzxlx1vmD5AhpHN9iVPpiq4; Path=/; Expires=Tue, 10 Feb 2026 08:13:35 GMT; HttpOnly; SameSite=Lax"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(self), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=zrtPHKv3eEtTZAnpYdq2bdp0sswxeOllvopeX1rVq104Offf%2B53xyM3YHHcm34Op5vXiywAx9%2B4VV3Pv7oAUQmliLfDDE8M8eUaFrZ%2BHIh0%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9cb1e8844d533b90-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Custom fields retrieved successfully\",\n    \"data\": {\n        \"businessId\": \"695b6aabf58d3822ac852e28\",\n        \"customFields\": [\n            {\n                \"name\": \"NewLead\",\n                \"personalizationTag\": \"{newlead}\"\n            }\n        ],\n        \"total\": 1\n    }\n}"}],"_postman_id":"edca57e6-bb3d-4c8b-ad6e-0f46da1a93cc"}],"id":"bc2f0fbb-9f66-4c45-a43f-95001d57eed1","_postman_id":"bc2f0fbb-9f66-4c45-a43f-95001d57eed1","description":""},{"name":"Campaigns","item":[{"name":"Create Campaign","id":"56f74797-abf5-4691-acc0-637fac7b2347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"campaignDetails\": {\r\n    \"campaignName\": \"Welcome Newsletddter\",\r\n    \"senderName\": \"John Doe\",\r\n    \"subject\": \"Welcome to our newsletter\",\r\n    \"preheaderText\": \"Check out our latest updates\"\r\n  },\r\n  \"builderType\": \"HTML\",\r\n  \"content\": \"<!DOCTYPE html><html><head><meta charset='UTF-8'><title>Welcome</title></head><body style='font-family: Arial, sans-serif; padding: 20px; background-color: #f4f4f4;'><div style='max-width: 600px; margin: 0 auto; background-color: #ffffff; padding: 30px; border-radius: 8px;'><h1 style='color: #333; margin-bottom: 20px;'>Welcome to Our Newsletter!</h1><p style='color: #666; line-height: 1.6;'>Thank you for subscribing. We're excited to share amazing content with you.</p><a href='#' style='display: inline-block; margin-top: 20px; padding: 12px 24px; background-color: #007bff; color: #ffffff; text-decoration: none; border-radius: 4px;'>Get Started</a></div></body></html>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account</p>\n<h3 id=\"description\">Description</h3>\n<p>Creates a new \"API / Workflow Campaign\" via Public API. Only HTML builder type is supported. The campaign is automatically set to \"live\" status and \"API / Workflow Campaign\" type. You can paste HTML content directly to create the campaign.EndFragment</p>\n<p>Body Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignDetails</td>\n<td>Yes</td>\n<td>Object</td>\n<td>Campaign details object</td>\n</tr>\n<tr>\n<td>campaignDetails.campaignName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the campaign (must be unique within business)</td>\n</tr>\n<tr>\n<td>campaignDetails.senderName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Name of the sender</td>\n</tr>\n<tr>\n<td>campaignDetails.subject</td>\n<td>Yes</td>\n<td>String</td>\n<td>Email subject line</td>\n</tr>\n<tr>\n<td>campaignDetails.preheaderText</td>\n<td>No</td>\n<td>String</td>\n<td>Preheader text (optional)</td>\n</tr>\n<tr>\n<td>builderType</td>\n<td>No</td>\n<td>String</td>\n<td>Builder type (optional, defaults to \"HTML\"). Only \"HTML\" is allowed</td>\n</tr>\n<tr>\n<td>content</td>\n<td>Yes</td>\n<td>String</td>\n<td>HTML content for the email (required, must not be empty)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: campaignType is automatically set to \"API / Workflow Campaign\" - you don't need to provide it.</p>\n","urlObject":{"protocol":"https","path":["api","v2","campaigns"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"77556788-94c5-4c8b-b5ff-38d503d32f09","name":"Create Campaign","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"campaignDetails\": {\r\n    \"campaignName\": \"Welcome Newsletddter\",\r\n    \"senderName\": \"John Doe\",\r\n    \"subject\": \"Welcome to our newsletter\",\r\n    \"preheaderText\": \"Check out our latest updates\"\r\n  },\r\n  \"builderType\": \"HTML\",\r\n  \"content\": \"<!DOCTYPE html><html><head><meta charset='UTF-8'><title>Welcome</title></head><body style='font-family: Arial, sans-serif; padding: 20px; background-color: #f4f4f4;'><div style='max-width: 600px; margin: 0 auto; background-color: #ffffff; padding: 30px; border-radius: 8px;'><h1 style='color: #333; margin-bottom: 20px;'>Welcome to Our Newsletter!</h1><p style='color: #666; line-height: 1.6;'>Thank you for subscribing. We're excited to share amazing content with you.</p><a href='#' style='display: inline-block; margin-top: 20px; padding: 12px 24px; background-color: #007bff; color: #ffffff; text-decoration: none; border-radius: 4px;'>Get Started</a></div></body></html>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:23:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-9nuhVriO+08nGQV9zCmDMg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=B%2BRG3d%2BjmMe5bwQFrw%2BVH%2B1mPLTLo%2FOIspjD%2BuHa%2FpLP5gT5WHmgMjxgtsDHKWyZFa0qsx9bBeyjzRz4FzDd3tPyrUfmB4b5kn02UWTn9ko%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58ec58cda7c9a1-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Campaign created successfully via public API.\",\n    \"data\": {\n        \"campaignDetails\": {\n            \"campaignType\": \"API / Workflow Campaign\",\n            \"campaignName\": \"Welcome Newsletddter\",\n            \"senderName\": \"John Doe\",\n            \"subject\": \"Welcome to our newsletter\",\n            \"preheaderText\": \"Check out our latest updates\"\n        },\n        \"sendDetails\": {\n            \"deliveryServerRouting\": false,\n            \"deliveryServerRoutingConfig\": []\n        },\n        \"recipientDetails\": {\n            \"includedList\": [],\n            \"excludedList\": [],\n            \"sentToIndividuals\": [],\n            \"autoFollow\": false\n        },\n        \"totalStats\": {\n            \"sent\": 0,\n            \"delivered\": 0,\n            \"failed\": 0,\n            \"queued\": 0,\n            \"opened\": 0,\n            \"uniqueOpens\": 0,\n            \"clicked\": 0,\n            \"unsubscribed\": 0,\n            \"bounced\": 0,\n            \"softBounced\": 0,\n            \"hardBounced\": 0\n        },\n        \"linksStats\": {\n            \"clicks\": 0\n        },\n        \"batchProcessing\": {\n            \"currentListIndex\": 0,\n            \"currentBatchSkip\": 0,\n            \"batchSize\": 10000,\n            \"isInitialized\": false,\n            \"processedSubscribers\": 0,\n            \"allSubscribersQueued\": false,\n            \"totalUniqueEmails\": 0,\n            \"completionRetryCount\": 0,\n            \"validationMismatch\": false,\n            \"forceCompleted\": false\n        },\n        \"_id\": \"695264982011e7f242b9cd9c\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"69398c24e90b87748e209d9b\",\n        \"campaignFolder\": null,\n        \"status\": \"live\",\n        \"templateId\": \"695264982011e7f242b9cd9e\",\n        \"totalSubscribers\": 0,\n        \"isDeleted\": false,\n        \"deletedAt\": null,\n        \"permanentDeleteAt\": null,\n        \"countryStats\": [],\n        \"deviceStats\": [],\n        \"osStats\": [],\n        \"createdAt\": \"2025-12-29T11:23:04.838Z\",\n        \"updatedAt\": \"2025-12-29T11:23:04.841Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"56f74797-abf5-4691-acc0-637fac7b2347"},{"name":"Get All Campaigns","id":"c87cbf5b-0b9f-4029-896b-3189f2a39195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/campaigns?page=1&limit=10&campaignType=regular","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves a paginated list of campaigns for your business. Supports filtering by campaign type (Regular, API / Workflow Campaign, or All). Returns campaigns with template information and pagination metadata.Filter Options:</p>\n<ul>\n<li><p>\"all\" (default): Returns all campaigns regardless of type - includes both Regular campaigns and API / Workflow Campaigns mixed together. Use this when you want to see all your campaigns without any type-based filtering.</p>\n</li>\n<li><p>\"Regular\": Returns only Regular type campaigns. These are traditional email campaigns created through the dashboard interface using Drag-&amp;-Drop or Rich-Text builders. Regular campaigns are manually created and managed through the UI, and they can have different statuses like draft, scheduled, or live.</p>\n</li>\n<li><p>\"API / Workflow Campaign\": Returns only API / Workflow Campaign type campaigns. These are campaigns created programmatically via API or integrated with workflows. They typically use HTML builder type, are automatically set to \"live\" status, and are designed for programmatic use and workflow integrations. Use this filter when you want to manage only API-created campaigns separately from Regular campaigns.</p>\n</li>\n</ul>\n<p>Pagination:</p>\n<ul>\n<li><p>Default page size is 10 campaigns per page</p>\n</li>\n<li><p>Maximum limit is 100 campaigns per page (automatically capped if exceeded)</p>\n</li>\n<li><p>Page numbers start from 1</p>\n</li>\n<li><p>Response includes pagination metadata: totalCount, totalPages, hasNextPage, hasPrevPage</p>\n</li>\n</ul>\n<p>Response Structure:</p>\n<p>Each campaign in the response includes complete campaign details (campaignName, senderName, subject, preheaderText), status, associated template information (name, htmlContent, builderType), and timestamps (createdAt, updatedAt). The response also includes pagination object with current page, limit, total count, total pages, and navigation flags.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>No</td>\n<td>Number</td>\n<td>1</td>\n<td>Page number (must be positive integer)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>No</td>\n<td>Number</td>\n<td>10</td>\n<td>Items per page (must be positive integer, maximum: 100)</td>\n</tr>\n<tr>\n<td>campaignType</td>\n<td>No</td>\n<td>String</td>\n<td>\"all\"</td>\n<td>Filter campaigns by type. Options: \"Regular\" (returns only Regular campaigns), \"API / Workflow Campaign\" (returns only API/Workflow campaigns), or \"all\" (returns all campaigns).</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p>Default Behavior: If no campaignType parameter is provided, the API defaults to \"all\" and returns all campaigns.</p>\n</li>\n<li><p>Pagination Limits: The limit parameter is automatically capped at 100. If you provide a value greater than 100, it will be set to 100 without error.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","campaigns"],"host":["emails","pabbly","com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"campaignType","value":"regular"}],"variable":[]}},"response":[{"id":"0810d168-ef95-4c9b-8b28-c7625dad1eba","name":"Get All Campaigns","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://emails.pabbly.com/api/v2/campaigns?page=1&limit=10&campaignType=regular","protocol":"https","host":["emails","pabbly","com"],"path":["api","v2","campaigns"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"campaignType","value":"regular"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:24:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-IHuO/tOWsiVNYXbRqJJ0OQ==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=%2BqyZ8%2B9EH2sD2UV1wlURApQXpwAT%2Bc%2F1fU6gjOnvZv%2BajPp60I799oxdK97Bzm24805WGVA38ZA3UgNenXWqzmxemjeot4uopR9l4lr8jck%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b58edc4ea24c960-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Campaigns retrieved successfully\",\n    \"data\": {\n        \"campaigns\": [\n            {\n                \"_id\": \"694eddfb5b445a55127ce174\",\n                \"campaignDetails\": {\n                    \"campaignType\": \"Regular\",\n                    \"campaignName\": \"ff\",\n                    \"senderName\": \"fwef\",\n                    \"subject\": \"ef\",\n                    \"preheaderText\": \"dbfff\"\n                },\n                \"status\": \"draft\",\n                \"templateId\": {\n                    \"_id\": \"694eddfb5b445a55127ce172\",\n                    \"name\": \"sdds Copy\",\n                    \"builderType\": \"HTML\",\n                    \"htmlContent\": \"<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n<head>\\n    <meta charset=\\\"UTF-8\\\">\\n    <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n    <title>Email Template</title>\\n    <style>\\n        .email-container {\\n            max-width: 600px;\\n            margin: 0 auto;\\n            font-family: Arial, sans-serif;\\n            background-color: #ffffff;\\n            color: #333333;\\n        }\\n        .header {\\n            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\\n            color: white;\\n            padding: 30px;\\n            text-align: center;\\n        }\\n        .content {\\n            padding: 30px;\\n            line-height: 1.6;\\n            background-color: #ffffff;\\n            color: #333333;\\n        }\\n        .cta-button {\\n            display: inline-block;\\n            background-color: #0D68E9;\\n            color: white;\\n            padding: 15px 30px;\\n            text-decoration: none;\\n            border-radius: 5px;\\n            margin: 20px 0;\\n        }\\n        .footer {\\n            background-color: #f5f5f5;\\n            padding: 20px;\\n            text-align: center;\\n            font-size: 12px;\\n            color: #666;\\n        }\\n        \\n        /* Dark mode support */\\n        @media (prefers-color-scheme: dark) {\\n            .email-container {\\n                background-color: #2d2d2d;\\n                color: #ffffff;\\n            }\\n            .content {\\n                background-color: #2d2d2d;\\n                color: #ffffff;\\n            }\\n            .footer {\\n                background-color: #1a1a1a;\\n                color: #cccccc;\\n            }\\n        }\\n    </style>\\n</head>\\n<body>\\n    <div class=\\\"email-container\\\">\\n        <div class=\\\"header\\\">\\n            <h1>Welcome to Our Newsletter!</h1>\\n            <p>Stay updated with our latest news and offers</p>\\n        </div>\\n        \\n        <div class=\\\"content\\\">\\n            <h2>Hello there!</h2>\\n            <p>Thank you for subscribing to our newsletter. We're excited to share amazing content with you.</p>\\n            \\n            <a href=\\\"#\\\" class=\\\"cta-button\\\">Get Started</a>\\n            \\n            <h3>What you can expect:</h3>\\n            <ul>\\n                <li>Weekly updates</li>\\n                <li>Exclusive offers</li>\\n                <li>Industry insights</li>\\n                <li>Product announcements</li>\\n            </ul>\\n        </div>\\n        \\n        <div class=\\\"footer\\\" style=\\\"background-color: #f5f5f5; padding: 20px; font-size: 12px; color: #666; text-align: center;\\\">\\n          <div style=\\\"text-align: center;\\\">\\n            <p style=\\\"margin: 0; display: inline-block;\\\">This email was sent to {email}</p>\\n            <span style=\\\"margin: 0 5px;\\\">|</span>\\n            <div style=\\\"display: inline-block;\\\">\\n              <a href=\\\"#unsubscribe\\\">Unsubscribe</a>\\n              <span>|</span>\\n              <a href=\\\"#view-in-browser\\\">View in Browser</a>   \\n            </div>\\n          </div>\\n          <p style=\\\"text-align: center; margin-top: 10px;\\\">\\n            You are receiving this email because you have signed up on our website or subscribed to our email list.\\n          </p>\\n          <div style=\\\"text-align: center; margin-top: 10px;\\\">\\n            <img src=\\\"https://assets-emails.pabbly.com/assets/email-builder/send-with-pabbly-light.png\\\" alt=\\\"Google Logo\\\" width=\\\"150px\\\" height=\\\"20px\\\"/>\\n          </div>\\n        </div>\\n    </div>\\n</body>\\n</html>\"\n                },\n                \"createdAt\": \"2025-12-26T19:11:55.131Z\",\n                \"updatedAt\": \"2025-12-26T19:11:55.131Z\"\n            }\n        ],\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 10,\n            \"totalCount\": 1,\n            \"totalPages\": 1,\n            \"hasNextPage\": false,\n            \"hasPrevPage\": false\n        }\n    }\n}"}],"_postman_id":"c87cbf5b-0b9f-4029-896b-3189f2a39195"},{"name":"Get Campaign by ID","id":"1e3fbb71-ef4c-42b8-96bb-68b1b075e3f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/campaigns/{Campaign ID}","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves complete details of a specific campaign by its unique ID. Returns campaign information including template details, campaign details, status, and timestamps. Only returns campaigns belonging to your authenticated business.</p>\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes</td>\n<td>String</td>\n<td>Campaign ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","campaigns","{Campaign ID}"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e18c885e-5ec1-4104-8fa9-9fc20b8bbaf6","name":"Get Campaign by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/campaigns/{Campaign ID}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 29 Dec 2025 11:40:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-z4ftw5buZH77rkKg3rRFuw==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=r12d6fY%2BxJIPeq1iKPOQpq1wM9INRgrvArSNSyYjqggmFRy%2BDiaPX3B1Ihleka2h9yjWcntK4KOp0zkDvJbaH9bCo7KnBxkl5yeYYxJSg8o%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b5905725dd6e5fb-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Campaign fetched successfully\",\n    \"data\": {\n        \"_id\": \"694eddfb5b445a55127ce174\",\n        \"userId\": \"682db2da6ef7e93a3eceb126\",\n        \"businessId\": \"69398c24e90b87748e209d9b\",\n        \"campaignDetails\": {\n            \"campaignType\": \"Regular\",\n            \"campaignName\": \"ff\",\n            \"senderName\": \"fwef\",\n            \"subject\": \"ef\",\n            \"preheaderText\": \"dbfff\"\n        },\n        \"campaignFolder\": \"Home\",\n        \"status\": \"draft\",\n        \"templateId\": {\n            \"_id\": \"694eddfb5b445a55127ce172\",\n            \"name\": \"sdds Copy\",\n            \"builderType\": \"HTML\",\n            \"htmlContent\": \"<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n<head>\\n    <meta charset=\\\"UTF-8\\\">\\n    <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n    <title>Email Template</title>\\n    <style>\\n        .email-container {\\n            max-width: 600px;\\n            margin: 0 auto;\\n            font-family: Arial, sans-serif;\\n            background-color: #ffffff;\\n            color: #333333;\\n        }\\n        .header {\\n            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\\n            color: white;\\n            padding: 30px;\\n            text-align: center;\\n        }\\n        .content {\\n            padding: 30px;\\n            line-height: 1.6;\\n            background-color: #ffffff;\\n            color: #333333;\\n        }\\n        .cta-button {\\n            display: inline-block;\\n            background-color: #0D68E9;\\n            color: white;\\n            padding: 15px 30px;\\n            text-decoration: none;\\n            border-radius: 5px;\\n            margin: 20px 0;\\n        }\\n        .footer {\\n            background-color: #f5f5f5;\\n            padding: 20px;\\n            text-align: center;\\n            font-size: 12px;\\n            color: #666;\\n        }\\n        \\n        /* Dark mode support */\\n        @media (prefers-color-scheme: dark) {\\n            .email-container {\\n                background-color: #2d2d2d;\\n                color: #ffffff;\\n            }\\n            .content {\\n                background-color: #2d2d2d;\\n                color: #ffffff;\\n            }\\n            .footer {\\n                background-color: #1a1a1a;\\n                color: #cccccc;\\n            }\\n        }\\n    </style>\\n</head>\\n<body>\\n    <div class=\\\"email-container\\\">\\n        <div class=\\\"header\\\">\\n            <h1>Welcome to Our Newsletter!</h1>\\n            <p>Stay updated with our latest news and offers</p>\\n        </div>\\n        \\n        <div class=\\\"content\\\">\\n            <h2>Hello there!</h2>\\n            <p>Thank you for subscribing to our newsletter. We're excited to share amazing content with you.</p>\\n            \\n            <a href=\\\"#\\\" class=\\\"cta-button\\\">Get Started</a>\\n            \\n            <h3>What you can expect:</h3>\\n            <ul>\\n                <li>Weekly updates</li>\\n                <li>Exclusive offers</li>\\n                <li>Industry insights</li>\\n                <li>Product announcements</li>\\n            </ul>\\n        </div>\\n        \\n        <div class=\\\"footer\\\" style=\\\"background-color: #f5f5f5; padding: 20px; font-size: 12px; color: #666; text-align: center;\\\">\\n          <div style=\\\"text-align: center;\\\">\\n            <p style=\\\"margin: 0; display: inline-block;\\\">This email was sent to {email}</p>\\n            <span style=\\\"margin: 0 5px;\\\">|</span>\\n            <div style=\\\"display: inline-block;\\\">\\n              <a href=\\\"#unsubscribe\\\">Unsubscribe</a>\\n              <span>|</span>\\n              <a href=\\\"#view-in-browser\\\">View in Browser</a>   \\n            </div>\\n          </div>\\n          <p style=\\\"text-align: center; margin-top: 10px;\\\">\\n            You are receiving this email because you have signed up on our website or subscribed to our email list.\\n          </p>\\n          <div style=\\\"text-align: center; margin-top: 10px;\\\">\\n            <img src=\\\"https://assets-emails.pabbly.com/assets/email-builder/send-with-pabbly-light.png\\\" alt=\\\"Google Logo\\\" width=\\\"150px\\\" height=\\\"20px\\\"/>\\n          </div>\\n        </div>\\n    </div>\\n</body>\\n</html>\"\n        },\n        \"sendDetails\": {\n            \"deliveryServerRouting\": false,\n            \"deliveryServerRoutingConfig\": []\n        },\n        \"recipientDetails\": {\n            \"sentToIndividuals\": [],\n            \"autoFollow\": false,\n            \"includedList\": [],\n            \"excludedList\": []\n        },\n        \"totalStats\": {\n            \"sent\": 0,\n            \"delivered\": 0,\n            \"failed\": 0,\n            \"queued\": 0,\n            \"opened\": 0,\n            \"uniqueOpens\": 0,\n            \"clicked\": 0,\n            \"unsubscribed\": 0,\n            \"bounced\": 0,\n            \"softBounced\": 0,\n            \"hardBounced\": 0\n        },\n        \"linksStats\": {\n            \"clicks\": 0\n        },\n        \"totalSubscribers\": 0,\n        \"batchProcessing\": {\n            \"currentListIndex\": 0,\n            \"currentBatchSkip\": 0,\n            \"batchSize\": 10000,\n            \"isInitialized\": false,\n            \"processedSubscribers\": 0,\n            \"allSubscribersQueued\": false,\n            \"totalUniqueEmails\": 0,\n            \"completionRetryCount\": 0,\n            \"validationMismatch\": false,\n            \"forceCompleted\": false\n        },\n        \"isDeleted\": false,\n        \"deletedAt\": null,\n        \"permanentDeleteAt\": null,\n        \"countryStats\": [],\n        \"deviceStats\": [],\n        \"osStats\": [],\n        \"createdAt\": \"2025-12-26T19:11:55.131Z\",\n        \"updatedAt\": \"2025-12-26T19:11:55.131Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"1e3fbb71-ef4c-42b8-96bb-68b1b075e3f2"},{"name":"Send Campaign to Individual","id":"4813faf0-76cc-4d63-8e2f-58a3d6e2a92e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"campaignId\": \"507f1f77bcf86cd799439011\",\r\n    \"emails\": [\"user1@example.com\", \"user2@example.com\"],\r\n    \"deliveryServerId\": \"server123\",\r\n    \"senderEmail\": \"noreply@example.com\",\r\n    \"fromName\": \"John Doe\",\r\n    \"subject\": \"Custom Subject Line\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns/send-to-individual","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account. The token must be included in the Authorization header as a Bearer token. The campaign must exist and belong to your business.</p>\n<h3 id=\"description\">Description</h3>\n<p>Sends a campaign to one or more individual email addresses using the campaign's template. This endpoint allows you to send personalized emails to specific recipients without requiring them to be in a subscriber list. The campaign template content is used, but you can optionally override the subject line. Emails are queued for sending asynchronously. Only campaigns with status \"live\" can be sent. All specified email addresses must be in a valid format.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Campaign ID (MongoDB ObjectId format)</td>\n</tr>\n<tr>\n<td>emails</td>\n<td>Yes</td>\n<td>Array</td>\n<td>Array of email addresses to send to (must not be empty)</td>\n</tr>\n<tr>\n<td>deliveryServerId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Delivery server ID to use for sending</td>\n</tr>\n<tr>\n<td>senderEmail</td>\n<td>Yes</td>\n<td>String</td>\n<td>Sender email address (must be non-empty)</td>\n</tr>\n<tr>\n<td>fromName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Sender display name (must be non-empty)</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>No</td>\n<td>String</td>\n<td>Custom subject line (uses campaign subject if not provided)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","campaigns","send-to-individual"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"984e7850-9315-4200-aacd-d0ca6d2dbfe4","name":"Campaign Send to Individual","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"campaignId\": \"693a741cb1dd9aa1a3c770eb\",\r\n    \"emails\": [\"tanish.mangal@pabbly.com\"],\r\n    \"deliveryServerId\": \"6939a325e90b87748e20a505\",\r\n    \"senderEmail\": \"noreply@example.com\",\r\n    \"fromName\": \"John Doe\",\r\n    \"subject\": \"Custom Subject Line\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns/send-to-individual"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 02 Feb 2026 12:04:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-t7UO5XrWuX6zOWkEfaBm9w==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=Y%2BqSEV%2FoNWEEX7e0oqs3qnvWkpmGXJ9B%2F0kItnKNgzYbKkxNCjjoj%2B077p%2F6DJ5BbABkxn4kL1z2OSIN2HwOJ%2Begp10TIHigvW3%2FaMkFO2E%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9c798ca5ccdd5bfb-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"All emails queued successfully\",\n    \"data\": {\n        \"campaignId\": \"693a741cb1dd9aa1a3c770eb\",\n        \"campaignName\": \"Sarah Mcgowan\",\n        \"totalEmails\": 1,\n        \"queued\": 1,\n        \"message\": \"1 email(s) queued for sending\"\n    }\n}"}],"_postman_id":"4813faf0-76cc-4d63-8e2f-58a3d6e2a92e"},{"name":"Send Campaign to Lists","id":"2daa7c44-164d-429a-a162-75d19a026dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"campaignId\": \"507f1f77bcf86cd799439011\",\r\n    \"includedList\": [\r\n      { \"listName\": \"All Subscribers\" },\r\n      { \"listName\": \"VIP Customers\" }\r\n    ],\r\n    \"excludedList\": [\r\n      { \"listName\": \"Unsubscribed\" }\r\n    ],\r\n    \"deliveryServerId\": \"server123\",\r\n    \"senderEmail\": \"noreply@example.com\",\r\n    \"fromName\": \"John Doe\",\r\n    \"subject\": \"Special Offer for You\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns/send-to-list","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account. The token must be included in the Authorization header as a Bearer token. The campaign must exist, belong to your business, and have a status of \"live\". The specified lists/segments must exist in your account.</p>\n<h3 id=\"description\">Description</h3>\n<p>Sends a campaign to all active subscribers in one or more subscriber lists or segments using the campaign's template. Supports advanced filtering with included lists (required) and excluded lists (optional). Subscribers must have status \"subscribed\", not be deleted, and not be suppressed. The endpoint processes emails asynchronously in the background and returns immediately. Emails are queued in batches to handle large lists efficiently. Supports both regular subscriber lists and segments. Duplicate email addresses across multiple lists are automatically deduplicated.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Campaign ID (MongoDB ObjectId format)</td>\n</tr>\n<tr>\n<td>includedList</td>\n<td>Yes</td>\n<td>Array/Object/String</td>\n<td>List(s) to send to. Can be: array of objects `[{listId: \"id\"}]` or `[{listName: \"name\"}]`, array of strings `[\"list1\", \"list2\"]`, or single string `\"list1\"`</td>\n</tr>\n<tr>\n<td>excludedList</td>\n<td>No</td>\n<td>Array/Object/String</td>\n<td>List(s) to exclude. Same format as includedList. Optional.</td>\n</tr>\n<tr>\n<td>deliveryServerId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Delivery server ID to use for sending</td>\n</tr>\n<tr>\n<td>senderEmail</td>\n<td>Yes</td>\n<td>String</td>\n<td>Sender email address (must be non-empty)</td>\n</tr>\n<tr>\n<td>fromName</td>\n<td>Yes</td>\n<td>String</td>\n<td>Sender display name (must be non-empty)</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>No</td>\n<td>String</td>\n<td>Custom subject line (uses campaign subject if not provided)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","campaigns","send-to-list"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"4a3a853e-5425-4b88-bb01-1373f78b7b06","name":"Campaign Send to Lists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"campaignId\": \"693a741cb1dd9aa1a3c770eb\",\r\n    \"includedList\": [\r\n      { \"listName\": \"pem-dev\" }\r\n    ],\r\n    \"deliveryServerId\": \"6939a325e90b87748e20a505\",\r\n    \"senderEmail\": \"tanish@pabbly.com\",\r\n    \"fromName\": \"John Doe\",\r\n    \"subject\": \"Special Offer for You\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/campaigns/send-to-list"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 02 Feb 2026 12:06:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-agvDI6gDGX9zy2dS7eYpbg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=2N33CPg2mp0i%2FzsAh1Eh6J2Il2gfXOa15BVt92TENb%2FnZUNOWpcsA3tchTPUiJl3oBXX654KRH%2Fp%2BGmf9yBlX%2BkJjrkb3zM2FJ6LvGGD5Po%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9c7990327af9ff80-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Email sending initiated successfully\",\n    \"data\": {\n        \"campaignId\": \"693a741cb1dd9aa1a3c770eb\",\n        \"campaignName\": \"Sarah Mcgowan\",\n        \"includedList\": [\n            \"pem-dev\"\n        ],\n        \"excludedList\": [],\n        \"totalSubscribers\": 6,\n        \"message\": \"6 email(s) are being queued in the background. Processing may take a few minutes.\",\n        \"note\": \"Emails are being processed asynchronously. Check campaign status for delivery updates.\"\n    }\n}"}],"_postman_id":"2daa7c44-164d-429a-a162-75d19a026dc3"}],"id":"2c701323-4bf9-4b4e-81ee-c7bada66a590","_postman_id":"2c701323-4bf9-4b4e-81ee-c7bada66a590","description":""},{"name":"Subscriber Lists","item":[{"name":"Get All Subscriber Lists","id":"3c0e5f68-f4ad-4525-8188-428edd26fb7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves all subscriber lists associated with your account. Returns list IDs, names, subscriber counts, and metadata for each list. Lists are sorted alphabetically by name.</p>\n","urlObject":{"protocol":"https","path":["api","v2","lists"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"f74fcba1-915f-4cb0-9fe3-84d336747368","name":"Get All Subscriber Lists","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 09:50:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-qNmOh0qxItELqNgc2doIFw==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=bDffIcHyDDzYKuZU8HG%2FlbOLOOjszFzcHg1ryn7bX0F27lNsJ4ktYaGi3ns20bsrFU2J5YVxKWw1GaX4cfbfTd2E1BwfDZNRnM7PDfLu89M%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9a50627a6b3b74-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber lists retrieved successfully\",\n    \"data\": {\n        \"subscriberLists\": [\n            {\n                \"id\": \"695ca9409a8ed4e65738c3b7\",\n                \"name\": \"New User\",\n                \"count\": 1,\n                \"counts\": {\n                    \"totalSubscribers\": 1,\n                    \"unsubscribedCount\": 0,\n                    \"engagedCount\": 0,\n                    \"lastUpdated\": \"2026-01-06T09:50:35.504Z\"\n                },\n                \"createdAt\": \"2026-01-06T06:18:40.487Z\",\n                \"updatedAt\": \"2026-01-06T06:18:40.487Z\"\n            },\n            {\n                \"id\": \"695cdac06fa49c6ac63dca11\",\n                \"name\": \"Pabbly Email Marketing \",\n                \"count\": 0,\n                \"counts\": {\n                    \"totalSubscribers\": 0,\n                    \"unsubscribedCount\": 0,\n                    \"engagedCount\": 0,\n                    \"lastUpdated\": \"2026-01-06T09:50:35.511Z\"\n                },\n                \"createdAt\": \"2026-01-06T09:49:52.925Z\",\n                \"updatedAt\": \"2026-01-06T09:49:52.925Z\"\n            }\n        ],\n        \"total\": 2\n    }\n}"}],"_postman_id":"3c0e5f68-f4ad-4525-8188-428edd26fb7c"},{"name":"Get Single Subscriber List by ID","id":"4e86839a-4ae4-46c0-b766-b4fcf2447548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists/695ca9409a8ed4e65738c3b7","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves a single subscriber list by its unique ID or name. The API automatically detects whether you're using a list ID or list name (via query parameter). Returns detailed information including subscriber counts and metadata.</p>\n<h2 id=\"url-parameters\">URL Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>listId</td>\n<td>Yes</td>\n<td>String</td>\n<td>The ID of the subscriber list to retrieve</td>\n</tr>\n<tr>\n<td>listName</td>\n<td>No</td>\n<td>String</td>\n<td>The name of the subscriber list (case-insensitive, query parameter)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","lists","695ca9409a8ed4e65738c3b7"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"e038a18e-7830-4a7f-a2f9-0ebc1799621c","name":"Get Single Subscriber List by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists/695ca9409a8ed4e65738c3b7"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 10:16:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-totXGH7/9GUIdDVo3MUbVg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=ibFNicDfXRlRAzo4tFZlm0vSITKmHArnCYlwR5eEGdl8l5ZKXnR6R1KbdcfiSmnZsSg1jSPnq%2FD8TLaMP1F4XS15iCcB5rSVgAKJ5zPJnKE%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9a76021a3c5a69-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"List retrieved successfully\",\n    \"data\": {\n        \"list\": {\n            \"id\": \"695ca9409a8ed4e65738c3b7\",\n            \"name\": \"New User\",\n            \"count\": 1,\n            \"counts\": {\n                \"totalSubscribers\": 1,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0,\n                \"lastUpdated\": \"2026-01-06T09:50:35.504Z\"\n            },\n            \"createdAt\": \"2026-01-06T06:18:40.487Z\",\n            \"updatedAt\": \"2026-01-06T06:18:40.487Z\"\n        }\n    }\n}"}],"_postman_id":"4e86839a-4ae4-46c0-b766-b4fcf2447548"},{"name":"Add Subscriber to Lists","id":"d7603212-0fca-4720-8ecf-f62422a666ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"s001gourav@gmail.com\",\r\n  \"listIds\": [\"695ca9409a8ed4e65738c3b7\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/add-subscriber","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Adds an existing subscriber to one or more subscriber lists. You can identify the subscriber by email address or subscriber ID. The subscriber will be added to all valid lists provided. If the subscriber is already in a list, that list will be skipped. List counts are automatically updated.</p>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>No</td>\n<td>String</td>\n<td>Email address of the subscriber (required if subscriberId is not provided)</td>\n</tr>\n<tr>\n<td>subscriberId</td>\n<td>No</td>\n<td>String</td>\n<td>ID of the subscriber (required if email is not provided)</td>\n</tr>\n<tr>\n<td>listIds</td>\n<td>Yes</td>\n<td>Array of String</td>\n<td>Array of list IDs to add the subscriber to (must contain at least one list ID)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","lists","add-subscriber"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6ec7225e-f209-4da7-804a-480b72c4cbf6","name":"Add Subscriber to Lists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"s001gourav@gmail.com\",\r\n  \"listIds\": [\"695ca9409a8ed4e65738c3b7\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/add-subscriber"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 10:31:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-qFCNXasOhyIQM8OByMzwig==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=WscnbGMTSx2qjwuFB6IzTjGN%2FcTlSG2Hr4vUMcHMI%2BciXTAjv3CY7PCGDYyyEEAvjOIXvN2i8UeAUJsfos%2FgRIap5%2FMLb243RSV3IuLl\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9a8bdc6d8e0a11-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber added to lists successfully\",\n    \"data\": {\n        \"subscriberId\": \"695ca95b9a8ed4e65738d1c5\",\n        \"email\": \"s001gourav@gmail.com\",\n        \"addedLists\": [\n            \"New User\"\n        ],\n        \"currentLists\": [\n            \"Pabbly Email Marketing\",\n            \"New User\"\n        ]\n    }\n}"}],"_postman_id":"d7603212-0fca-4720-8ecf-f62422a666ab"},{"name":"Remove Subscriber from Lists","id":"b0afedff-d3c6-4f32-8f40-85d110d9c3a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n \"email\": \"s001gourav@gmail.com\",\r\n\"listIds\": [\"695ca9409a8ed4e65738c3b7\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/remove-subscriber","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Removes an existing subscriber from one or more subscriber lists. You can identify the subscriber by email address or subscriber ID. The subscriber will be removed from all valid lists provided. If the subscriber is not in a list, that list will be skipped. List counts are automatically updated.</p>\n<h3 id=\"body-fields\">Body Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>No</td>\n<td>String</td>\n<td>Email address of the subscriber (required if subscriberId is not provided)</td>\n</tr>\n<tr>\n<td>subscriberId</td>\n<td>No</td>\n<td>String</td>\n<td>ID of the subscriber (required if email is not provided)</td>\n</tr>\n<tr>\n<td>listIds</td>\n<td>Yes</td>\n<td>Array of String</td>\n<td>Array of list IDs to remove the subscriber from (must contain at least one list ID)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","lists","remove-subscriber"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"f5d55af6-5d24-4e3e-a57a-0a51146f7e2a","name":"Remove Subscriber from Lists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n \"email\": \"s001gourav@gmail.com\",\r\n\"listIds\": [\"695ca9409a8ed4e65738c3b7\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/remove-subscriber"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 10:37:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-wiq/JgWnweJ2Zg4lK1PbEA==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=BAGYgPVdB1ALodn4VXsHpB52x8lAOcVXxu7wOtc57WTx%2BaUMSSdju8JGcvi8cmPOFiiwi7bdLnpoOJc75kq%2FfrJZKhbno2SzbZHckx%2Bw%2Bvo%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9a94dbbdd9f27e-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber removed from lists successfully\",\n    \"data\": {\n        \"subscriberId\": \"695ca95b9a8ed4e65738d1c5\",\n        \"email\": \"s001gourav@gmail.com\",\n        \"removedLists\": [\n            \"New User\"\n        ],\n        \"currentLists\": [\n            \"Pabbly Email Marketing\"\n        ]\n    }\n}"}],"_postman_id":"b0afedff-d3c6-4f32-8f40-85d110d9c3a4"},{"name":"Create Subscriber List","id":"50d0a01d-0b89-42a9-bf05-1b65c0cbf3a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Newsletter Subscribers\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Creates a new subscriber list in your account. The list name must be unique (case-insensitive) and cannot conflict with existing segment names. List name must be between 1 and 100 characters.</p>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Yes</td>\n<td>String</td>\n<td>The name of the subscriber list to create (1-100 characters)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","lists"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"6413febb-cce3-4164-94b7-7967ac4519e8","name":"Create Subscriber List","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Newsletter Subscribers\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 10:23:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-e39Hve02a7aFHLA/x2qnhA==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=WqbFfNTQ36Ha2tS8qa59xZwrOXb2gzlxF%2BXZj4Uc%2B5H9shYNj56IrHRJbZVmaYieztNkM6fknB%2FDzXXhteqkVnSKKDjKtmcqOifToYYKQr8%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9a7f5da99d059c-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber list created successfully\",\n    \"data\": {\n        \"list\": {\n            \"id\": \"695ce285efb6f84c1a193d2a\",\n            \"name\": \"Newsletter Subscribers\",\n            \"count\": 0,\n            \"counts\": {\n                \"totalSubscribers\": 0,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0,\n                \"lastUpdated\": \"2026-01-06T10:23:01.285Z\"\n            },\n            \"createdAt\": \"2026-01-06T10:23:01.285Z\",\n            \"updatedAt\": \"2026-01-06T10:23:01.285Z\"\n        }\n    }\n}"}],"_postman_id":"50d0a01d-0b89-42a9-bf05-1b65c0cbf3a1"},{"name":"Get Single Subscriber List by List Name","id":"31bc045f-20f4-421a-bf1f-50883502576c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists?listName={listName}","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Retrieves a single subscriber list by its name. The list name search is case-insensitive and will match the exact name (trimmed). Returns detailed information including subscriber counts and metadata.</p>\n<h2 id=\"url-parameters\">URL Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>listName</td>\n<td>Yes</td>\n<td>String</td>\n<td>The name of the subscriber list to retrieve (case-insensitive)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id></h2>\n","urlObject":{"protocol":"https","path":["api","v2","lists"],"host":["emails","pabbly","com"],"query":[{"key":"listName","value":"{listName}"}],"variable":[]}},"response":[{"id":"b95617f4-7559-476b-b372-5fa2fc04689d","name":"Get Single Subscriber List by List Name","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://emails.pabbly.com/api/v2/lists?listName={listName}","protocol":"https","host":["emails","pabbly","com"],"path":["api","v2","lists"],"query":[{"key":"listName","value":"{listName}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 10:55:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-sIMLEVDYyYovnuPGQgSLJQ==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=OTbUhaBghNcf%2FUcrDtVrLPKqQ9Hehfp8sMm4dMqBqQmRKZ8Xrwti3T3aK7VH%2BrRRShFylfdO8LpF7v9WXXWsrMIxEwe2vS%2FaIfeDYOlc3dg%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9aae727892c975-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"List retrieved successfully\",\n    \"data\": {\n        \"list\": {\n            \"id\": \"695ca9409a8ed4e65738c3b7\",\n            \"name\": \"new\",\n            \"count\": 0,\n            \"counts\": {\n                \"totalSubscribers\": 0,\n                \"unsubscribedCount\": 0,\n                \"engagedCount\": 0,\n                \"lastUpdated\": \"2026-01-06T10:37:41.525Z\"\n            },\n            \"createdAt\": \"2026-01-06T06:18:40.487Z\",\n            \"updatedAt\": \"2026-01-06T06:18:40.487Z\"\n        }\n    }\n}"}],"_postman_id":"31bc045f-20f4-421a-bf1f-50883502576c"},{"name":"Move Subscriber Between Lists","id":"c4a57b7d-6564-4fb0-94cc-bd8f9d58ddfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"s001gourav@gmail.com\",\r\n  \"fromListId\": \"695ca9409a8ed4e65738c3b7\",\r\n  \"toListId\": \"695cf4e01b66bf088e1b4a92\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/move-subscriber","description":"<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>You need a valid API token generated from your Pabbly Email Marketing account.</p>\n<h2 id=\"description\">Description</h2>\n<p>Moves an existing subscriber from one subscriber list to another. The subscriber will be removed from the source list and added to the target list. If the subscriber is already in the target list, they will only be removed from the source list. List counts are automatically updated for both lists.</p>\n<h2 id=\"body-fields\">Body Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Required</th>\n<th>Type</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>No</td>\n<td>String</td>\n<td>Email address of the subscriber (required if subscriberId is not provided)</td>\n</tr>\n<tr>\n<td>subscriberId</td>\n<td>No</td>\n<td>String</td>\n<td>ID of the subscriber (required if email is not provided)</td>\n</tr>\n<tr>\n<td>fromListId</td>\n<td>Yes</td>\n<td>String</td>\n<td>ID of the source list to move subscriber from</td>\n</tr>\n<tr>\n<td>toListId</td>\n<td>Yes</td>\n<td>String</td>\n<td>ID of the target list to move subscriber to</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","lists","move-subscriber"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"ede5fdb6-0b0c-49ec-8e02-5a1884bcac79","name":"Move Subscriber Between Lists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"s001gourav@gmail.com\",\r\n  \"fromListId\": \"695ca9409a8ed4e65738c3b7\",\r\n  \"toListId\": \"695cf4e01b66bf088e1b4a92\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://emails.pabbly.com/api/v2/lists/move-subscriber"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 11:43:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-2ckSZqNZjuPtZxKe88ln3w==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=JECt7dGLl4AgWEod7INALbLU0eyKSxuTD0gASpmWAaZVsxPtjgxIYipJIkRvNLJrxpYZm6DLI1sY%2FtaPJaeJ6alHPxgZMxRJhj80wOPsbVI%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9b9af4f179ed8206-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Subscriber moved between lists successfully\",\n    \"data\": {\n        \"subscriberId\": \"695ca95b9a8ed4e65738d1c5\",\n        \"email\": \"s001gourav@gmail.com\",\n        \"movedFrom\": \"new\",\n        \"movedTo\": \"cvbcbbc\",\n        \"alreadyInToList\": false,\n        \"currentLists\": [\n            \"Pabbly Email Marketing\",\n            \"cvbcbbc\"\n        ]\n    }\n}"}],"_postman_id":"c4a57b7d-6564-4fb0-94cc-bd8f9d58ddfe"},{"name":"Get all Lists and Segments","id":"0d9e87e2-68ed-4a08-8eb9-7bbc831b6be7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists-and-segments","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account. The token must be included in the Authorization header as a Bearer token.</p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves a complete list of all subscriber lists and segments belonging to your authenticated business. Returns both lists and segments with their IDs, names, subscriber counts, and metadata. Lists and segments are sorted alphabetically by name (A-Z). This endpoint is useful for selecting target lists or segments when sending campaigns via the API. The response includes separate arrays for lists and segments, along with total counts for each type.</p>\n","urlObject":{"protocol":"https","path":["api","v2","lists-and-segments"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"60863f4b-90f8-4515-9504-8975dcd9461c","name":"Get all Lists and Segments","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://emails.pabbly.com/api/v2/lists-and-segments"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 02 Feb 2026 12:20:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-KcNjJ6S1IpUUqJIeb9r0PA==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=5Orz02uN8A8tHCaxP0BsOrtsyKkwY2hhGSwZgcPYxHGpkuD5cBeQt3pK%2B41nfBRUQ%2B0AFuKvpkOYipeaqBLuBSKjHuRDIX%2FeL%2Ft%2FJjFBHj4%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9c79a4acfad316de-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Lists and segments retrieved successfully\",\n    \"data\": {\n        \"lists\": [\n            {\n                \"id\": \"1024158\",\n                \"name\": \"Default list\",\n                \"type\": \"list\",\n                \"count\": 9156,\n                \"counts\": {\n                    \"totalSubscribers\": 9156,\n                    \"unsubscribedCount\": 6,\n                    \"engagedCount\": 5,\n                    \"lastUpdated\": \"2026-02-02T06:47:24.447Z\"\n                },\n                \"createdAt\": \"2025-12-16T10:57:37.141Z\",\n                \"updatedAt\": \"2025-12-16T10:57:37.141Z\"\n            },\n            {\n                \"id\": \"1024165\",\n                \"name\": \"new demo\",\n                \"type\": \"list\",\n                \"count\": 0,\n                \"counts\": {\n                    \"totalSubscribers\": 0,\n                    \"unsubscribedCount\": 0,\n                    \"engagedCount\": 0,\n                    \"lastUpdated\": \"2026-02-02T06:47:24.447Z\"\n                },\n                \"createdAt\": \"2025-12-16T10:57:37.170Z\",\n                \"updatedAt\": \"2025-12-16T10:57:37.170Z\"\n            },\n            {\n                \"id\": \"69412881c231c8db46a01b23\",\n                \"name\": \"pem-dev\",\n                \"type\": \"list\",\n                \"count\": 6,\n                \"counts\": {\n                    \"totalSubscribers\": 6,\n                    \"unsubscribedCount\": 0,\n                    \"engagedCount\": 6,\n                    \"lastUpdated\": \"2026-02-02T06:47:24.447Z\"\n                },\n                \"createdAt\": \"2025-12-16T09:38:09.224Z\",\n                \"updatedAt\": \"2025-12-16T09:38:09.224Z\"\n            },\n            {\n                \"id\": \"6965320222f445bcaacb5ef8\",\n                \"name\": \"test-1\",\n                \"type\": \"list\",\n                \"count\": 0,\n                \"counts\": {\n                    \"totalSubscribers\": 0,\n                    \"unsubscribedCount\": 0,\n                    \"engagedCount\": 0,\n                    \"lastUpdated\": \"2026-02-02T06:47:24.447Z\"\n                },\n                \"createdAt\": \"2026-01-12T17:40:18.139Z\",\n                \"updatedAt\": \"2026-01-12T17:40:18.139Z\"\n            }\n        ],\n        \"segments\": [\n            {\n                \"id\": \"6952345b2011e7f242a11836\",\n                \"name\": \"test\",\n                \"type\": \"segment\",\n                \"conditions\": [\n                    [\n                        {\n                            \"filterBy\": \"Custom Field\",\n                            \"customField\": \"firstName\",\n                            \"filterType\": \"Contains\",\n                            \"value\": \"user\",\n                            \"_id\": \"695234652011e7f242a11a2a\"\n                        }\n                    ]\n                ],\n                \"createdAt\": \"2025-12-29T07:57:15.811Z\",\n                \"updatedAt\": \"2026-01-13T07:35:42.766Z\"\n            },\n            {\n                \"id\": \"695255f52011e7f242adc8bf\",\n                \"name\": \"test1\",\n                \"type\": \"segment\",\n                \"conditions\": [\n                    [\n                        {\n                            \"filterBy\": \"Custom Field\",\n                            \"customField\": \"email\",\n                            \"filterType\": \"Contains\",\n                            \"value\": \"user\",\n                            \"_id\": \"695256002011e7f242add121\"\n                        }\n                    ]\n                ],\n                \"createdAt\": \"2025-12-29T10:20:37.265Z\",\n                \"updatedAt\": \"2026-01-13T07:35:42.765Z\"\n            }\n        ],\n        \"totalLists\": 4,\n        \"totalSegments\": 2,\n        \"total\": 6\n    }\n}"}],"_postman_id":"0d9e87e2-68ed-4a08-8eb9-7bbc831b6be7"}],"id":"6cf7c9ed-5c48-44dc-a8e6-785ddc22ed8a","_postman_id":"6cf7c9ed-5c48-44dc-a8e6-785ddc22ed8a","description":""},{"name":"Delivery server","item":[{"name":"Get Delivery Servers","id":"090514c4-fc38-41dc-83dd-fb25baa12ec3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{PEM_API_TOKEN}}"},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://emails.pabbly.com/api/v2/delivery-servers","description":"<h3 id=\"prerequisites\">Prerequisites</h3>\n<p>You need a valid API token generated from your Pabbly Email Marketing account. The token must be included in the Authorization header as a Bearer token.</p>\n<h3 id=\"description\">Description</h3>\n<p>Retrieves a list of all active delivery servers belonging to your authenticated business. Only returns delivery servers with status \"active\". Supports search functionality to filter servers by server name, from email, or server type. Returns essential server information including server name, type, from email, verification status, and creation timestamp. Results are sorted by creation date (newest first). This endpoint is useful for selecting a delivery server when sending campaigns via the API.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>No</td>\n<td>String</td>\n<td></td>\n<td>Search term to filter servers by name, email, or type (case-insensitive)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","delivery-servers"],"host":["emails","pabbly","com"],"query":[],"variable":[]}},"response":[{"id":"052caeca-87be-49a6-a729-ec4e03f36c2b","name":"Get Delivery Servers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://emails.pabbly.com/api/v2/delivery-servers"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 02 Feb 2026 12:02:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-Permissions-Policy","value":"clipboard-read=(self), clipboard-write=(self), filesystem=()"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Security-Policy","value":"default-src 'self';style-src 'self' 'nonce-2iWjT5/nXfJiNx8W78T9pg==' maxcdn.bootstrapcdn.com cdn.jsdelivr.net;font-src 'self' use.fontawesome.com *.cloudfront.net;form-action 'self' accounts.pabbly.com payments.pabbly.com connect.pabbly.com emails.pabbly.com forms.pabbly.com verify.pabbly.com cdn.heapanalytics.com;frame-src 'self';base-uri 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, private"},{"key":"Cache-Control","value":"no-store"},{"key":"RateLimit-Policy","value":"10;w=1"},{"key":"RateLimit-Limit","value":"10"},{"key":"RateLimit-Remaining","value":"9"},{"key":"RateLimit-Reset","value":"1"},{"key":"Permissions-Policy","value":"geolocation=(self), microphone=(), camera=(), payment=()"},{"key":"Content-Encoding","value":"gzip"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=hD5wjoa0AbRZgkT3%2BXvGl00JV2sqdlZ3ubK1WNo1f9r0xe%2FZhx%2FFQgxFZ7xyqekSP8O2nyXClosq2LHyDttRiJ5fjWT7JOb%2BML5bT3lGLWg%3D\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"CF-RAY","value":"9c798a1e9e2d81a3-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"status\": \"success\",\n    \"message\": \"Delivery servers fetched successfully\",\n    \"data\": [\n        {\n            \"_id\": \"696b3fd5b8426ea8d11c14f5\",\n            \"serverName\": \"gmail\",\n            \"serverType\": \"custom\",\n            \"fromEmail\": \"tanish.mangal@pabbly.com\",\n            \"status\": \"active\",\n            \"verified\": true,\n            \"createdAt\": \"2026-01-17T07:52:53.181Z\"\n        },\n        {\n            \"_id\": \"694fc94248ead5fec68f71bd\",\n            \"serverName\": \"ethereal\",\n            \"serverType\": \"custom\",\n            \"fromEmail\": \"misael.homenick@ethereal.email\",\n            \"status\": \"active\",\n            \"verified\": true,\n            \"createdAt\": \"2025-12-27T11:55:46.672Z\"\n        },\n        {\n            \"_id\": \"694a3c492be0f610781f9eb0\",\n            \"serverName\": \"smtp\",\n            \"serverType\": \"custom\",\n            \"fromEmail\": \"tanish@pabbly.com\",\n            \"status\": \"active\",\n            \"verified\": true,\n            \"createdAt\": \"2025-12-23T06:52:57.889Z\"\n        },\n        {\n            \"_id\": \"6942576598c9f014dc02f062\",\n            \"serverName\": \"brevo\",\n            \"serverType\": \"sendinblue\",\n            \"fromEmail\": \"abemailmark@gmail.com\",\n            \"status\": \"active\",\n            \"verified\": true,\n            \"createdAt\": \"2025-12-17T07:10:29.117Z\"\n        },\n        {\n            \"_id\": \"6939a325e90b87748e20a505\",\n            \"serverName\": \"smtp-pool\",\n            \"serverType\": \"custom\",\n            \"fromEmail\": \"tanish@pabbly.com\",\n            \"status\": \"active\",\n            \"verified\": true,\n            \"createdAt\": \"2025-12-10T16:43:17.230Z\"\n        }\n    ]\n}"}],"_postman_id":"090514c4-fc38-41dc-83dd-fb25baa12ec3"}],"id":"88774404-7271-4969-8bb4-65b1bf293804","_postman_id":"88774404-7271-4969-8bb4-65b1bf293804","description":""}],"id":"660443a0-f3b1-4b6f-a654-48a9c2eabc92","description":"<p>The REST Admin API lets you fire internal actions and intergation with different apps.<br />Our API supports all the HTTP requesting for calling an action.</p>\n<p>Every call is revealed with an URL. The URL of each resource can be obtained by accessing the API Root Endpoint.</p>\n<h2 id=\"authentication-type-\">Authentication Type –</h2>\n<p>All the following API requests uses <code>Bearer Token</code> as authorization channel.</p>\n<p>You can get the <strong>Bearer Token</strong> from your Pabbly Email Marketing v2 account under <code>Settings</code> &gt; <code>API &amp; Webhooks</code> as shown in the below screenshot and is use it as your <code>Bearer Token</code></p>\n<img src=\"https://content.pstmn.io/2091bd47-bbc3-497a-9864-2c9439f0f061/MjAyNS0xMi0yNl8xM2g0Ml8xMS5wbmc=\" alt />","_postman_id":"660443a0-f3b1-4b6f-a654-48a9c2eabc92"}],"event":[{"listen":"prerequest","script":{"id":"d00f0e85-6047-4535-bc31-e92b3e0386f5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"143ffbc2-b218-42a3-ab36-83a82b6b1734","type":"text/javascript","exec":[""]}}],"variable":[{"id":"3769d25f-5131-4c16-a889-52defd198b3c","key":"apikey","value":"6ce7d1d1225c099d2a5f"},{"id":"bedcd706-9a85-4d0f-8a05-bd2d0eccccb2","key":"apisecretkey","value":"03d9f83f3d367aad945152c501ff2f47"}]}